-
Notifications
You must be signed in to change notification settings - Fork 13
Cmd_UdpTimeSyncAck
GigaToni edited this page Jul 14, 2017
·
2 revisions
This is the answer packet to Cmd_UdpTimeSync (540)
typedef struct
{
unsigned int GlobalTime;
unsigned int SystemTick;
};
public class TimeSyncAnswerPacket
{
public uint GlobalTime;
public uint SystemTick = 0;
public void Send(Client client)
{
var ack = new Packet(Packets.UdpTimeSyncAck);
ack.Writer.Write(GlobalTime); // Relay?
ack.Writer.Write(SystemTick); // System Tick.
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)