private void OnConnected(Session session, SessionParam args)
 {
     LogHelper.Print("[NetMgr]Session Connected.");
     ProtoHelper.Register();
     if (!GameMgr.singleton.CheckUpdateState)
     {
         GameMgr.singleton.CheckUpdateState = true;
         _checkUpdateState = true;
     }
 }
Exemple #2
0
 private void OnConnected(Session session, SessionParam args)
 {
     LogHelper.Print(string.Format("[NetMgr]Session Connected!"));
     ProtoHelper.Register();
     if (!GameMgr.Instance.CheckUpdateState)
     {
         GameMgr.Instance.CheckUpdateState = true;
         _checkUpdateState = true;
     }
 }