mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Implemented the player portion of the new actor system.
This commit is contained in:
@@ -25,10 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor
|
||||
|
||||
if (displayNameID == 0xFFFFFFFF)
|
||||
{
|
||||
if (customName.Length <= 0x20)
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(customName));
|
||||
else
|
||||
binWriter.Write(Encoding.ASCII.GetBytes("ERROR: NAME TO BIG"));
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(customName), 0, Encoding.ASCII.GetByteCount(customName) >= 0x20 ? 0x19 : Encoding.ASCII.GetByteCount(customName));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -25,6 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
||||
public const int MAIN_STATE_UNKNOWN4 = 0x20;
|
||||
|
||||
//What is this for?
|
||||
public const int SUB_STATE_NONE = 0x00;
|
||||
public const int SUB_STATE_PLAYER = 0xBF;
|
||||
public const int SUB_STATE_MONSTER = 0x03;
|
||||
|
||||
|
Reference in New Issue
Block a user