mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-14 16:34:42 +02:00
Started removing all target actor id references.
This commit is contained in:
parent
c09471ed43
commit
a264745207
64 changed files with 141 additions and 136 deletions
|
@ -9,11 +9,11 @@ namespace FFXIVClassic_Map_Server.packets.send.player
|
|||
public const ushort OPCODE = 0x0198;
|
||||
public const uint PACKET_SIZE = 0x40;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, uint targetActorID, string name)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, string name)
|
||||
{
|
||||
if (Encoding.Unicode.GetByteCount(name) >= 0x20)
|
||||
name = "ERR: Too Long";
|
||||
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.ASCII.GetBytes(name));
|
||||
return new SubPacket(OPCODE, sourceActorId, Encoding.ASCII.GetBytes(name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue