示例#1
0
        public void Load(ICoreManager coreManager)
        {
            serverManager = coreManager.ServerManager;

            serverManager.AddRule("Gamemode", "Deathmath");
            Debug.Assert(serverManager.GetRule("Gamemode") == "Deathmath");
            Debug.Assert(serverManager.ForceWind(123f));
            Debug.Assert(serverManager.GetVehicleName(VehicleModels.Predator) == "Predator");
        }