public bool SendHeartBeat()
 {
     if (m_NetworkChannel != null)
     {
         m_NetworkChannel.Send(CSHeartBeat.Create());
     }
     return(false);
 }
Exemple #2
0
        public static CSHeartBeat Create()
        {
            CSHeartBeat packet = ReferencePool.Acquire <CSHeartBeat>();

            if (packet.m_ExtensionObject == null)
            {
                packet.m_ExtensionObject = new HeartRequest();
            }
            return(packet);
        }