-
Notifications
You must be signed in to change notification settings - Fork 13
Cmd_CheckCharNameAck
GigaToni edited this page May 4, 2017
·
2 revisions
- The character name that was checked. Max 42-Bytes long
- If the name is available or not
- true/1 = Available
- false/0 = Not Available
This is the answer packet to Cmd_CheckCharName (80)
000000: 51 00 4C 00 79 00 73 00 65 00 72 00 67 00 69 00 Q · L · y · s · e · r · g · i ·
000016: 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c · · · · · · · · · · · · · · ·
000032: 00 00 00 00 00 00 00 00 00 00 00 00 01 · · · · · · · · · · · · ·
typedef struct
{
wstring_t CharacterName;
byte Availability;
};
public class CheckCharacterNameAckPacket
{
public string CharacterName;
public bool Availability;
public void Send(Client client)
{
var ack = new Packet(Packets.CheckCharNameAck);
ack.Writer.WriteUnicodeStatic(CharacterName, 21);
ack.Writer.Write(Availability);
client.Send(ack);
}
}
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)