Example #1
0
 /// <summary>
 /// 初始化用户自定义网络错误事件的新实例。
 /// </summary>
 /// <param name="e">内部事件。</param>
 public NetworkCustomErrorEventArgs(ZFramework.Network.NetworkCustomErrorEventArgs e)
 {
     NetworkChannel  = e.NetworkChannel;
     CustomErrorData = e.CustomErrorData;
 }
 private void OnNetworkCustomError(object sender, ZFramework.Network.NetworkCustomErrorEventArgs e)
 {
     m_EventComponent.Fire(this, new NetworkCustomErrorEventArgs(e));
 }