コード例 #1
0
 /// <summary>
 /// 初始化网络心跳包丢失事件的新实例。
 /// </summary>
 /// <param name="e">内部事件。</param>
 public NetworkMissHeartBeatEventArgs(ZFramework.Network.NetworkMissHeartBeatEventArgs e)
 {
     NetworkChannel = e.NetworkChannel;
     MissCount      = e.MissCount;
 }
コード例 #2
0
 private void OnNetworkMissHeartBeat(object sender, ZFramework.Network.NetworkMissHeartBeatEventArgs e)
 {
     m_EventComponent.Fire(this, new NetworkMissHeartBeatEventArgs(e));
 }