-
Notifications
You must be signed in to change notification settings - Fork 13
Cmd_CreateChar
GigaToni edited this page May 4, 2017
·
2 revisions
This packet get sends when the user hits the create character button.
- Unicode string containing the character name
- The avatar / character
- The car type
- The car color
Answer Packet: Cmd_CreateCharAck (83)
000000: 4C 00 79 00 73 00 65 00 72 00 67 00 69 00 63 00 L · y · s · e · r · g · i · c ·
000016: 00 00 00 00 C0 FF 00 00 00 00 00 00 00 00 00 00 · · · · · · · · · · · · · · · ·
000032: 00 00 00 00 00 00 00 00 00 00 00 00 5F 00 00 00 · · · · · · · · · · · · _ · · ·
000048: 02 00 00 01 · · · ·
typedef struct
{
wstring_t CharacterName;
short Avatar;
unsigned int CarType;
unsigned int Color;
};
public class CreateCharPacket
{
public string CharacterName;
public short Avatar;
public uint CarType;
public uint Color;
public CreateCharPacket(Packet packet)
{
CharacterName = packet.Reader.ReadUnicodeStatic(21);
Avatar = packet.Reader.ReadInt16();
CarType = packet.Reader.ReadUInt32();
Color = packet.Reader.ReadUInt32();
}
}
DCNC Copyright ©️ 2017 GigaToni
- Home
- Cmd_UserAuth (20)
- Cmd_ServerList (23)
- Cmd_UserAuthAck (22)
- Cmd_ServerMessage (24)
- Cmd_ServerMessageAck (25)
- Home
- Cmd_AreaChat (571)
- Cmd_AreaChatAck (572)
- Cmd_AreaStatus (682)
- Cmd_AreaStatusAck (683)
- Cmd_EnterArea (562)
- Cmd_EnterAreaAck (563)
- Cmd_UdpTimeSync (540)
- Cmd_UdpTimeSyncAck (540)