Пример #1
0
        /// <summary>
        /// Gets the Asset Key of the Base Farm Map. Only does work on the base
        /// farm map of any custom map.
        /// </summary>
        /// <param name="map">The base farm map, loaded.</param>
        /// <returns>The Actual Asset Key</returns>
        public string GetAssetKey(out Map map, string type)
        {
            switch (type)
            {
            case "Farm":
                return(FarmManager.GetAssetKey(out map));

            case "Greenhouse":
                return(GreenhouseManager.GetAssetKey(out map));

            default:
                map = null;
                return(null);
            }
        }