public void NotifyNetConnected(NetMessageEvent e)
 {
     // 处理收到的网络消息
     foreach (var frame in currentFrames)
     {
         if (!e.Handled)
         {
             frame.NotifyNetConnected(e);
         }
     }
 }
Example #2
0
 public void NotifyNetConnected(NetMessageEvent e)
 {
 }
Example #3
0
 public void NotifyNetConnected(NetMessageEvent e)
 {
     btnOK.Enable();
 }
Example #4
0
 void messageListener_NetDisconnected(object sender, NetMessageEvent e)
 {
     GameFrameManager.Instance.NotifyNetDisconnected(e);
 }
Example #5
0
 void messageListener_NetConnectTimeout(object sender, NetMessageEvent e)
 {
     GameFrameManager.Instance.NotifyNetConnectTimeout(e);
 }
 public void NotifyNetDisconnected(NetMessageEvent e)
 {
     // todo: 处理重新连接
     //CurrentFrameType = GameFrameType.AccountLogin;
 }
 public void NotifyNetConnectTimeout(NetMessageEvent e)
 {
     // todo: 处理超时重新连接
 }
 public void NotifyNetConnectAborted(NetMessageEvent e)
 {
     CurrentFrameType = GameFrameType.AccountLogin;
 }