Ejemplo n.º 1
0
 public static PingLoadInfo Create(float _loaded, float _ping, UInt64 user)
 {
     PingLoadInfo ping = new PingLoadInfo();
     ping.header = PacketHeader.Create(PacketCommand.C2S_Ping_Load_Info, 0);
     ping.loaded = _loaded;
     ping.ping = _ping;
     ping.userId = user;
     return ping;
 }
Ejemplo n.º 2
0
        public static PingLoadInfo Create(float _loaded, float _ping, UInt64 user)
        {
            PingLoadInfo ping = new PingLoadInfo();

            ping.header = PacketHeader.Create(PacketCommand.C2S_Ping_Load_Info, 0);
            ping.loaded = _loaded;
            ping.ping   = _ping;
            ping.userId = user;
            return(ping);
        }