Example #1
0
 /// <summary>
 /// 初始化发送网络消息包事件的新实例。
 /// </summary>
 /// <param name="e">内部事件。</param>
 public NetworkSendPacketEventArgs(ZFramework.Network.NetworkSendPacketEventArgs e)
 {
     NetworkChannel = e.NetworkChannel;
     BytesSent      = e.BytesSent;
     UserData       = e.UserData;
 }
 private void OnNetworkSendPacket(object sender, ZFramework.Network.NetworkSendPacketEventArgs e)
 {
     m_EventComponent.Fire(this, new NetworkSendPacketEventArgs(e));
 }