mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-07 22:59:14 +08:00

* Optimize: Chapter 3 not done * Optimize: Chapter 3 not done * Update FormMain.en-us.resx * Update FormMain.ru-ru.resx * Update FormMain.Designer.cs * Update FormMain.resx * Update GameData.cs * Update FormMain.cs * Delete Ornament.txt * Delete Ornament.txt * Delete Ornament.txt * Update FormMain.cs * Update FormMain.Designer.cs * Update FormMain.resx * Update FormMain.ru-ru.resx * Update FormMain.en-us.resx * Update FormMain Fix Weapons search result id issue Fix Resources errors * Fix .csproj error * Add /Announcement command Co-authored-by: 筱傑 <jie65535@qq.com>
75 lines
2.7 KiB
C#
75 lines
2.7 KiB
C#
/**
|
|
* Grasscutter Tools
|
|
* Copyright (C) 2022 jie65535
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published
|
|
* by the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*
|
|
**/
|
|
using GrasscutterTools.Properties;
|
|
|
|
namespace GrasscutterTools.Game
|
|
{
|
|
internal static class GameData
|
|
{
|
|
public static void LoadResources()
|
|
{
|
|
Animals = new ItemMap(Resources.Animal);
|
|
Artifacts = new ItemMap(Resources.Artifact);
|
|
ArtifactCats = new ItemMap(Resources.ArtifactCat);
|
|
ArtifactMainAttribution = new ItemMap(Resources.ArtifactMainAttribution);
|
|
ArtifactSubAttribution = new ItemMap(Resources.ArtifactSubAttribution);
|
|
Avatars = new ItemMap(Resources.Avatar);
|
|
AvatarColors = new ItemMap(Resources.AvatarColor);
|
|
Items = new ItemMap(Resources.Item);
|
|
Monsters = new ItemMap(Resources.Monster);
|
|
NPCs = new ItemMap(Resources.NPC);
|
|
Scenes = new ItemMap(Resources.Scene);
|
|
Weapons = new ItemMap(Resources.Weapon);
|
|
WeaponColors = new ItemMap(Resources.WeaponColor);
|
|
GachaBannerPrefabs = new ItemMap(Resources.GachaBennerPrefab);
|
|
Quests = new ItemMap(Resources.Quest);
|
|
}
|
|
|
|
public static ItemMap Animals { get; private set; }
|
|
|
|
public static ItemMap Artifacts { get; private set; }
|
|
|
|
public static ItemMap ArtifactCats { get; private set; }
|
|
|
|
public static ItemMap ArtifactMainAttribution { get; private set; }
|
|
|
|
public static ItemMap ArtifactSubAttribution { get; private set; }
|
|
|
|
public static ItemMap Avatars { get; private set; }
|
|
|
|
public static ItemMap AvatarColors { get; private set; }
|
|
|
|
public static ItemMap Items { get; private set; }
|
|
|
|
public static ItemMap Monsters { get; private set; }
|
|
|
|
public static ItemMap NPCs { get; private set; }
|
|
|
|
public static ItemMap Scenes { get; private set; }
|
|
|
|
public static ItemMap Weapons { get; private set; }
|
|
|
|
public static ItemMap WeaponColors { get; private set; }
|
|
|
|
public static ItemMap GachaBannerPrefabs { get; private set; }
|
|
|
|
public static ItemMap Quests { get; private set; }
|
|
}
|
|
}
|