コード例 #1
0
ファイル: Init.cs プロジェクト: Salty-Pigeon/Salty-Gamemodes
        public void StartGame(int id, int team, double duration, Vector3 mapPos, Vector3 mapSize, string mapName, Vector3 startPos, ExpandoObject gunSpawns)
        {
            GetScreenActiveResolution(ref ScreenWidth, ref ScreenHeight);
            if (voteMenu != null)
            {
                voteMenu.Close();
            }
            voteMenu = null;
            Map map = new Map(mapPos, mapSize, mapName);

            Salty.StartGame(id, team, duration, map, startPos, ExpandoToDictionary(gunSpawns));
        }