public bool SendHeartBeat() { if (m_NetworkChannel != null) { m_NetworkChannel.Send(CSHeartBeat.Create()); } return(false); }
public static CSHeartBeat Create() { CSHeartBeat packet = ReferencePool.Acquire <CSHeartBeat>(); if (packet.m_ExtensionObject == null) { packet.m_ExtensionObject = new HeartRequest(); } return(packet); }