Esempio n. 1
0
        /// <summary>
        /// 填充用户自定义网络错误事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>用户自定义网络错误事件。</returns>
        public NetworkCustomErrorEventArgs Fill(Ash.Core.Network.NetworkCustomErrorEventArgs e)
        {
            NetworkChannel  = e.NetworkChannel;
            CustomErrorData = e.CustomErrorData;

            return(this);
        }
Esempio n. 2
0
 private void OnNetworkCustomError(object sender, Ash.Core.Network.NetworkCustomErrorEventArgs e)
 {
     m_EventComponent.Fire(this, ReferencePool.Acquire <NetworkCustomErrorEventArgs>().Fill(e));
 }