Add CScriptAreaAttributes

Former-commit-id: 62e9ad1c54
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-14 19:03:05 +03:00
parent aa5ec0fac4
commit add73abd49
10 changed files with 109 additions and 17 deletions

View File

@@ -11,6 +11,7 @@
#include "rstl/string.hpp"
class CMapWorld;
class CModel;
class IGameArea;
class IWorld {
@@ -60,6 +61,7 @@ public:
const CGameArea& GetAreaAlways(TAreaId id) const { return *x18_areas[id.Value()]; }
const CGameArea* GetArea(TAreaId id) const { return x18_areas[id.Value()].get(); }
CGameArea* Area(TAreaId id) { return x18_areas[id.Value()].get(); }
bool IsAreaValid(TAreaId id) const { return x18_areas[id.Value()]->IsLoaded(); }
CAssetId GetWorldAssetId() const { return x8_mlvlId; }
TAreaId GetAreaIdForSaveId(int saveId) const;