public static void MsgPing(ClientState c, MsgBase msgBase) { c.lastPingTime = NetManager.GetTimeStamp(); MsgPong msgPong = new MsgPong(); NetManager.Send(c, msgPong); }
public static void MsgPing(ClientState c, MsgBase msg) { Debug.WriteLine("MsgPing"); c.lastPingTime = NetManager.GetTimeStamp(); MsgPong msgPong = new MsgPong(); NetManager.Send(c, msgPong); }
public static void MsgPing(ClientState state, MsgBase msgBase) { Console.WriteLine(" Successfully Called --MsgPing-- Processing function "); Console.WriteLine(" Please Wait Patiently......... "); Console.WriteLine("-----------MsgPing----------"); state.lastPingTime = NetManager.GetTimerStamp(); MsgPong msgPong = new MsgPong(); NetManager.Send(state, msgPong); }