This commit is contained in:
2026-02-08 16:20:50 +08:00
parent 0ae47e5d6a
commit 8b88904ef7
72 changed files with 5963 additions and 2038 deletions

View File

@@ -3,6 +3,7 @@
#include "Global/Script/CharacterConfig.h"
#include "Global/Script/EquipmentConfig.h"
#include "Global/Script/MonsterConfig.h"
#include "Global/Script/TownConfig.h"
#include "Global/Save/SavaManager.h"
#include "Global/GameCamera.h"
class Global_Game
@@ -43,6 +44,12 @@ public:
std::map<int, GlobalMonsterScript::MonsterConfig> MonsterInfoMap; // 信息
GlobalMonsterScript::MonsterConfig GetMonsterInfo(int id); // 获取怪物信息
// 城镇相关
std::map<int, std::string> TownPathMap; // 路径
std::map<int, GlobalTownScript::TownConfig *> TownInfoMap; // 信息
const std::map<int, std::string>& GetTownMap() const; // 获取城镇路径
GlobalTownScript::TownConfig *GetTownInfo(int id); // 获取城镇信息
// 游戏摄像机
RefPtr<GameCamera> _GameCamera = nullptr;