Skip to content

Cmd_LobbyTimeAck

GigaToni edited this page May 4, 2017 · 2 revisions

Server -> Client = Cmd_LobbyTimeAck (47)

Not much information here currently.

Raw packet data sent by server

000000: 2F 00 EB 2F 8D 00 EB 2F 8D 00  / · · / · · · / · · 

Pseudo struct

typedef struct
{
    int LocalTime;
    int TimeT;
};

Pseudo C# Class

public class LobbyTimeAckPacket
{
    public int LocalTime;
    public int TimeT;

    public LobbyTimeAckPacket()
    {
        LocalTime = Environment.TickCount;
        TimeT = Environment.TickCount;
    }
    
    public void Send(ushort packetId, Client client)
    {
        Packet packet = new Packet(packetId);
        packet.Writer.Write(LocalTime);
        packet.Writer.Write(TimeT);
        client.Send(packet);
    }
}
Clone this wiki locally