Esempio n. 1
0
 public override void DoDestroy()
 {
     if (_noNetwork)
     {
         return;
     }
     _roomMsgMgr?.DoDestroy();
     _roomMsgMgr = null;
 }
Esempio n. 2
0
 public override void DoAwake(IServiceContainer services)
 {
     _noNetwork = _constStateService.IsVideoMode || _constStateService.IsClientMode;
     if (_noNetwork)
     {
         return;
     }
     _roomMsgMgr = new RoomMsgManager();
     _msgHandler = new NetworkMsgHandler();
     _roomMsgMgr.Init(_msgHandler);
 }
Esempio n. 3
0
        // Token: 0x060001C1 RID: 449 RVA: 0x00006180 File Offset: 0x00004380
        public void DoUpdate(LFloat deltaTime)
        {
            bool noNetwork = this._noNetwork;

            if (!noNetwork)
            {
                RoomMsgManager roomMsgMgr = this._roomMsgMgr;
                if (roomMsgMgr != null)
                {
                    roomMsgMgr.DoUpdate(deltaTime);
                }
            }
        }
Esempio n. 4
0
        // Token: 0x060001C2 RID: 450 RVA: 0x000061B0 File Offset: 0x000043B0
        public override void DoDestroy()
        {
            bool noNetwork = this._noNetwork;

            if (!noNetwork)
            {
                RoomMsgManager roomMsgMgr = this._roomMsgMgr;
                if (roomMsgMgr != null)
                {
                    roomMsgMgr.DoDestroy();
                }
                this._roomMsgMgr = null;
            }
        }