Esempio n. 1
0
        public async void Awake()
        {
            Ins = this;
            AllMatchRoomConfigs = await Game.Scene.GetComponent <GameMatchRoomConfigComponent>().GetAllRoomConfig();

            foreach (var config in AllMatchRoomConfigs)
            {
                mAllQueueDics.Add(config.MatchRoomId, new List <User>());
            }
        }
Esempio n. 2
0
        public Dictionary <long, MatchRoom> UserIdInRoomDic = new Dictionary <long, MatchRoom>(); //用户ID对应房间


        public void Awake()
        {
            Ins = this;
        }