Use private fields + getters for CEntity

Former-commit-id: 3e2ea84c7e
This commit is contained in:
2022-10-22 11:56:07 -04:00
parent 1a5a013158
commit 3df1cc45b6
25 changed files with 59 additions and 59 deletions

View File

@@ -61,9 +61,9 @@ public:
int IGetAreaCount() const override;
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(); }
const CGameArea* GetArea(TAreaId id) const { return x18_areas[id.Value()].get(); }
bool IsAreaValid(TAreaId id) const { return GetArea(id)->IsLoaded(); }
CAssetId GetWorldAssetId() const { return x8_mlvlId; }
TAreaId GetAreaIdForSaveId(int saveId) const;