Пример #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;
 }
Пример #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);
        }