示例#1
0
        public PlayerBaseSimulator(int maxServerCapacity, IPlayerFactory playerFactory, TimeSimulatorTickInfo tickInfo)
        {
            var players = playerFactory.CreatePlayerBase();

            _offlinePlayers.AddRange(players);
            _tickInfo         = tickInfo;
            MaxServerCapacity = maxServerCapacity;
        }