CommonLibSSE NG
Loading...
Searching...
No Matches
TESForm.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSAtomic.h"
5#include "RE/B/BSTArray.h"
6#include "RE/B/BSTHashMap.h"
8#include "RE/F/FormTypes.h"
9#include "RE/T/TESFile.h"
10
11namespace RE
12{
13 class BGSLoadFormBuffer;
14 class BGSSaveFormBuffer;
15 class TESBoundObject;
16 class TESFile;
17 struct FORM;
18 struct FORM_GROUP;
19
20 class TESFileArray : public BSStaticArray<TESFile*>
21 {
22 public:
23 };
24 static_assert(sizeof(TESFileArray) == 0x10);
25
27 {
28 public:
29 // members
31 };
32 static_assert(sizeof(TESFileContainer) == 0x8);
33
35 {
36 public:
37 inline static constexpr auto RTTI = RTTI_TESForm;
38 inline static constexpr auto FORMTYPE = FormType::None;
39
41 {
42 enum ChangeFlag : std::uint32_t
43 {
45 kFlags = 1 << 0
46 };
47 };
48
50 {
51 enum RecordFlag : std::uint32_t
52 {
53 kDestructible = 1 << 0,
54 kMaster = 1 << 0,
55 kUnlocked = 1 << 0,
56
57 kAltered = 1 << 1,
58 kPlayable = 1 << 2,
59 kInitialized = 1 << 3,
60 kNonOccluder = 1 << 4,
61 kDeleted = 1 << 5,
62
63 kBorderRegion = 1 << 6,
66 kKnown = 1 << 6,
68
69 kFireOff = 1 << 7,
70 kMustUpdate = 1 << 8,
71 kOnLocalMap = 1 << 9,
72 kPersistent = 1 << 10,
73
74 kDisabled = 1 << 11,
76
77 kIgnored = 1 << 12,
78
79 kEmpty = 1 << 13,
81
82 kTemporary = 1 << 14,
84 kRandomAnim = 1 << 16,
85 kDangerous = 1 << 17,
86 kHasCurrents = 1 << 19,
88 kStillLoading = 1 << 21,
89 kFormRetainsID = 1 << 22,
90 kDestroyed = 1 << 23,
91
92 kUnk24 = 1 << 24,
93
94 kNoAIAcquire = 1 << 25,
95 kObstacle = 1 << 25,
96
98 kDisableFade = 1 << 27,
99
102
103 kChildCanUse = 1 << 29
104 };
105 };
106
107 enum class InGameFormFlag
108 {
109 kNone = 0,
110 kWantsDelete = 1 << 0,
111 kForcedPersistent = 1 << 1,
112 kNoFavorAllowed = 1 << 4,
113 kIsSkyObject = 1 << 5,
114 kRefOriginalPersistent = 1 << 6,
116 };
117
118 ~TESForm() override; // 00
119
120 // override (BaseFormComponent)
121 void InitializeDataComponent() override; // 01 - { return; }
122 void ClearDataComponent() override; // 02 - { SetEditorID(""); }
123 void CopyComponent(BaseFormComponent* a_rhs) override; // 03
124
125 // add
126 virtual void InitializeData(); // 04 - { return; }
127 virtual void ClearData(); // 05 - { return; }
128 virtual bool Load(TESFile* a_mod); // 06 - { return true; }
129 virtual bool LoadPartial(TESFile* a_mod); // 07 - { return true; }
130 virtual bool LoadEdit(TESFile* a_mod); // 08 - { return Load(a_mod); }
131 virtual TESForm* CreateDuplicateForm(bool a_createEditorID, void* a_arg2); // 09
132 virtual bool AddChange(std::uint32_t a_changeFlags); // 0A
133 virtual void RemoveChange(std::uint32_t a_changeFlags); // 0B
134 virtual bool FindInFileFast(TESFile* a_mod); // 0C - { return false; }
135 virtual bool CheckSaveGame(BGSSaveFormBuffer* a_buf); // 0D - { return true; }
136 virtual void SaveGame(BGSSaveFormBuffer* a_buf); // 0E
137 virtual void LoadGame(BGSLoadFormBuffer* a_buf); // 0F
138 virtual void InitLoadGame(BGSLoadFormBuffer* a_buf); // 10 - { return; }
139 virtual void FinishLoadGame(BGSLoadFormBuffer* a_buf); // 11 - { return; }
140 virtual void Revert(BGSLoadFormBuffer* a_buf); // 12 - { return; }
141 virtual void InitItemImpl(); // 13 - { return; }
142 [[nodiscard]] virtual TESFile* GetDescriptionOwnerFile() const; // 14 - returns the file that last modified this form
143 [[nodiscard]] virtual FormType GetSavedFormType() const; // 15 - { return formType; }
144 virtual void GetFormDetailedString(char* a_buf, std::uint32_t a_bufLen); // 16 - { return std::sprintf_s(a_buf, a_bufLen, "%s Form '%s' (%08X)", g_formStrings[3 * formID], "", formID); }
145 [[nodiscard]] virtual bool GetKnown() const; // 17 - { return (flags >> 6 ) & 1; }
146 [[nodiscard]] virtual bool GetRandomAnim() const; // 18 - { return (flags >> 16) & 1; }
147 [[nodiscard]] virtual bool GetPlayable() const; // 19 - { return (flags >> 2) & 1; }
148 [[nodiscard]] virtual bool IsHeadingMarker() const; // 1A - { return false; }
149 [[nodiscard]] virtual bool GetDangerous() const; // 1B - { return (flags >> 17) & 1; }
150 [[nodiscard]] virtual bool QHasCurrents() const; // 1C - { return (flags >> 19) & 1; }
151 [[nodiscard]] virtual bool GetObstacle() const; // 1D - { return (flags >> 25) & 1; }
152 [[nodiscard]] virtual bool QIsLODLandObject() const; // 1E - { return false; }
153 [[nodiscard]] virtual bool GetOnLocalMap() const; // 1F - { return (flags >> 9) & 1; }
154 [[nodiscard]] virtual bool GetMustUpdate() const; // 20 - { return (flags >> 8) & 1; }
155 virtual void SetOnLocalMap(bool a_set); // 21 - { if (a_set) flags &= 0xFFFFFDFF; else flags |= 0x200; }
156 [[nodiscard]] virtual bool GetIgnoredBySandbox() const; // 22 - { return false; }
157 virtual void SetDelete(bool a_set); // 23 - { bool result = (flags >> 5) & 1; if (result != a_set) { if (a_set) flags |= 0x20; else flags &= 0xFFFFFFDF; AddChange(1); return result; }
158 virtual void SetAltered(bool a_set); // 24
159 virtual void SaveObjectBound(); // 25 - { return; }
160 virtual void LoadObjectBound(TESFile* a_mod); // 26 - { return; }
161 [[nodiscard]] virtual bool IsBoundObject() const; // 27 - { return false; }
162 [[nodiscard]] virtual bool IsObject() const; // 28 - { return false; }
163 [[nodiscard]] virtual bool IsMagicItem() const; // 29 - { return false; }
164 [[nodiscard]] virtual bool IsWater() const; // 2A - { return false; }
165 virtual TESObjectREFR* AsReference1(); // 2B - { return 0; }
166 [[nodiscard]] virtual const TESObjectREFR* AsReference2() const; // 2C - { return 0; }
167 [[nodiscard]] virtual std::uint32_t GetRefCount() const; // 2D - { return 0; }
168 [[nodiscard]] virtual const char* GetTextForParsedSubTag(const BSFixedString& a_tag) const; // 2E
169 virtual void Copy(TESForm* a_srcForm); // 2F - { return; }
170 virtual bool BelongsInGroup(FORM* a_form, bool a_allowParentGroups, bool a_currentOnly); // 30
171 virtual void CreateGroupData(FORM* a_form, FORM_GROUP* a_group); // 31
172 [[nodiscard]] virtual const char* GetFormEditorID() const; // 32 - { return ""; }
173 virtual bool SetFormEditorID(const char* a_str); // 33 - { return true; }
174 virtual bool IsParentForm(); // 34 - { return false; }
175 virtual bool IsParentFormTree(); // 35 - { return false; }
176 virtual bool IsFormTypeChild(FormType a_type); // 36 - { return false; }
177 virtual bool Activate(TESObjectREFR* a_targetRef, TESObjectREFR* a_activatorRef, std::uint8_t a_arg3, TESBoundObject* a_object, std::int32_t a_targetCount); // 37 - { return false; }
178 virtual void SetFormID(FormID a_id, bool a_updateFile); // 38
179 [[nodiscard]] virtual const char* GetObjectTypeName() const; // 39 - { return ""; }
180 [[nodiscard]] virtual bool QAvailableInGame() const; // 3A - { return true; }
181
182 static void AddCompileIndex(FormID& a_id, TESFile* a_file)
183 {
184 using func_t = decltype(&TESForm::AddCompileIndex);
185 REL::Relocation<func_t> func{ RELOCATION_ID(14509, 14667) };
186 return func(a_id, a_file);
187 }
188
189 [[nodiscard]] static auto GetAllForms()
190 -> std::pair<
192 std::reference_wrapper<BSReadWriteLock>>
193 {
194 REL::Relocation<BSTHashMap<FormID, TESForm*>**> allForms{ RELOCATION_ID(514351, 400507) };
195 REL::Relocation<BSReadWriteLock*> allFormsMapLock{ RELOCATION_ID(514360, 400517) };
196 return { *allForms, std::ref(*allFormsMapLock) };
197 }
198
199 [[nodiscard]] static auto GetAllFormsByEditorID()
200 -> std::pair<
202 std::reference_wrapper<BSReadWriteLock>>
203 {
204 REL::Relocation<BSTHashMap<BSFixedString, TESForm*>**> allFormsByEditorID{ RELOCATION_ID(514352, 400509) };
205 REL::Relocation<BSReadWriteLock*> allFormsEditorIDMapLock{ RELOCATION_ID(514361, 400518) };
206 return { *allFormsByEditorID, std::ref(*allFormsEditorIDMapLock) };
207 }
208
209 [[nodiscard]] static TESForm* LookupByID(FormID a_formID)
210 {
211 const auto& [map, lock] = GetAllForms();
212 [[maybe_unused]] const BSReadWriteLock l{ lock };
213 if (map) {
214 const auto it = map->find(a_formID);
215 return it != map->end() ? it->second : nullptr;
216 } else {
217 return nullptr;
218 }
219 }
220
221 template <class T>
222 [[nodiscard]] static T* LookupByID(FormID a_formID)
223 {
224 const auto form = LookupByID(a_formID);
225 return form ? form->As<T>() : nullptr;
226 }
227
228 [[nodiscard]] static TESForm* LookupByEditorID(const std::string_view& a_editorID)
229 {
230 const auto& [map, lock] = GetAllFormsByEditorID();
231 [[maybe_unused]] const BSReadWriteLock l{ lock };
232 if (map) {
233 const auto it = map->find(a_editorID);
234 return it != map->end() ? it->second : nullptr;
235 } else {
236 return nullptr;
237 }
238 }
239
240 template <class T>
241 [[nodiscard]] static T* LookupByEditorID(const std::string_view& a_editorID)
242 {
243 const auto form = LookupByEditorID(a_editorID);
244 return form ? form->As<T>() : nullptr;
245 }
246
247 template <
248 class T,
249 class = std::enable_if_t<
250 std::negation_v<
251 std::disjunction<
252 std::is_pointer<T>,
253 std::is_reference<T>,
254 std::is_const<T>,
255 std::is_volatile<T>>>>>
256 [[nodiscard]] T* As() noexcept;
257
258 template <
259 class T,
260 class = std::enable_if_t<
261 std::negation_v<
262 std::disjunction<
263 std::is_pointer<T>,
264 std::is_reference<T>,
265 std::is_const<T>,
266 std::is_volatile<T>>>>>
267 [[nodiscard]] const T* As() const noexcept;
268
269 [[nodiscard]] TESObjectREFR* AsReference() { return AsReference1(); }
270 [[nodiscard]] const TESObjectREFR* AsReference() const { return AsReference2(); }
271
272 [[nodiscard]] TESFile* GetFile(std::int32_t a_idx = -1) const
273 {
274 const auto array = sourceFiles.array;
275 if (!array || array->empty()) {
276 return nullptr;
277 }
278
279 if (a_idx < 0 || static_cast<std::uint32_t>(a_idx) >= array->size()) {
280 return array->back();
281 } else {
282 return (*array)[a_idx];
283 }
284 }
285
286 [[nodiscard]] std::uint32_t GetFormFlags() const noexcept { return formFlags; }
287 [[nodiscard]] FormID GetFormID() const noexcept { return formID; }
288 [[nodiscard]] FormType GetFormType() const noexcept { return *formType; }
289 [[nodiscard]] std::int32_t GetGoldValue() const;
290
291 [[nodiscard]] FormID GetRawFormID() const;
292 [[nodiscard]] FormID GetLocalFormID() const
293 {
294 auto file = GetFile(0);
295
296 RE::FormID fileIndex = file->compileIndex << (3 * 8);
297 fileIndex += file->smallFileCompileIndex << ((1 * 8) + 4);
298
299 return formID & ~fileIndex;
300 }
301
302 [[nodiscard]] const char* GetName() const;
303 [[nodiscard]] float GetWeight() const;
304 [[nodiscard]] bool HasKeywordInArray(const std::vector<BGSKeyword*>& a_keywords, bool a_matchAll) const;
305 [[nodiscard]] bool HasKeywordInList(BGSListForm* a_keywordList, bool a_matchAll) const;
306 [[nodiscard]] bool HasVMAD() const;
307 [[nodiscard]] bool HasWorldModel() const noexcept;
308 void InitItem() { InitItemImpl(); }
309
310 [[nodiscard]] bool Is(FormType a_type) const noexcept { return GetFormType() == a_type; }
311
312 template <class... Args>
313 [[nodiscard]] bool Is(Args... a_args) const noexcept //
314 requires(std::same_as<Args, FormType>&&...)
315 {
316 return (Is(a_args) || ...);
317 }
318
319 [[nodiscard]] bool IsAmmo() const noexcept { return Is(FormType::Ammo); }
320 [[nodiscard]] bool IsArmor() const noexcept { return Is(FormType::Armor); }
321 [[nodiscard]] bool IsBook() const noexcept { return Is(FormType::Book); }
322 [[nodiscard]] bool IsDeleted() const noexcept { return (GetFormFlags() & RecordFlags::kDeleted) != 0; }
323 [[nodiscard]] bool IsDynamicForm() const noexcept { return GetFormID() >= 0xFF000000; }
324 [[nodiscard]] bool IsGold() const noexcept { return GetFormID() == 0x0000000F; }
325 [[nodiscard]] bool IsIgnored() const noexcept { return (GetFormFlags() & RecordFlags::kIgnored) != 0; }
326 [[nodiscard]] bool IsInventoryObject() const;
327 [[nodiscard]] bool IsInitialized() const noexcept { return (GetFormFlags() & RecordFlags::kInitialized) != 0; }
328 [[nodiscard]] bool IsKey() const noexcept { return Is(FormType::KeyMaster); }
329 [[nodiscard]] bool IsLockpick() const noexcept { return GetFormID() == 0x0000000A; }
330
331 [[nodiscard]] bool IsNot(FormType a_type) const noexcept { return !Is(a_type); }
332
333 template <class... Args>
334 [[nodiscard]] bool IsNot(Args... a_args) const noexcept //
335 requires(std::same_as<Args, FormType>&&...)
336 {
337 return (IsNot(a_args) && ...);
338 }
339
340 [[nodiscard]] bool IsNote() const noexcept { return Is(FormType::Note); }
341 [[nodiscard]] bool IsPlayer() const noexcept { return GetFormID() == 0x00000007; }
342 [[nodiscard]] bool IsPlayerRef() const noexcept { return GetFormID() == 0x00000014; }
343 [[nodiscard]] bool IsSoulGem() const noexcept { return Is(FormType::SoulGem); }
344 [[nodiscard]] bool IsWeapon() const noexcept { return Is(FormType::Weapon); }
345
346 // members
348 std::uint32_t formFlags; // 10
352 std::uint8_t pad1B; // 1B
353 std::uint32_t pad1C; // 1C
354 };
355 static_assert(sizeof(TESForm) == 0x20);
356}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BGSListForm.h:11
Definition BGSLoadFormBuffer.h:11
Definition BSAtomic.h:69
Definition BSTArray.h:656
constexpr reference back() noexcept
Definition BSTArray.h:682
Definition BSTHashMap.h:21
Definition BaseFormComponent.h:8
Definition TESBoundObject.h:24
Definition TESForm.h:21
Definition TESForm.h:27
TESFileArray * array
Definition TESForm.h:30
Definition TESFile.h:15
Definition TESForm.h:35
bool IsLockpick() const noexcept
Definition TESForm.h:329
virtual void InitItemImpl()
static TESForm * LookupByEditorID(const std::string_view &a_editorID)
Definition TESForm.h:228
virtual void SaveGame(BGSSaveFormBuffer *a_buf)
virtual bool LoadEdit(TESFile *a_mod)
virtual bool IsFormTypeChild(FormType a_type)
virtual void LoadGame(BGSLoadFormBuffer *a_buf)
virtual bool IsBoundObject() const
virtual void SetAltered(bool a_set)
virtual bool QAvailableInGame() const
virtual void SetFormID(FormID a_id, bool a_updateFile)
static void AddCompileIndex(FormID &a_id, TESFile *a_file)
Definition TESForm.h:182
void CopyComponent(BaseFormComponent *a_rhs) override
virtual bool QHasCurrents() const
virtual void InitializeData()
virtual bool GetIgnoredBySandbox() const
virtual bool GetMustUpdate() const
virtual bool GetDangerous() const
virtual bool SetFormEditorID(const char *a_str)
bool HasKeywordInArray(const std::vector< BGSKeyword * > &a_keywords, bool a_matchAll) const
bool IsDeleted() const noexcept
Definition TESForm.h:322
InGameFormFlag
Definition TESForm.h:108
std::uint8_t pad1B
Definition TESForm.h:352
bool IsWeapon() const noexcept
Definition TESForm.h:344
virtual bool GetPlayable() const
virtual void SetOnLocalMap(bool a_set)
virtual const char * GetFormEditorID() const
virtual bool AddChange(std::uint32_t a_changeFlags)
bool HasWorldModel() const noexcept
stl::enumeration< FormType, std::uint8_t > formType
Definition TESForm.h:351
FormID GetLocalFormID() const
Definition TESForm.h:292
virtual TESFile * GetDescriptionOwnerFile() const
virtual void Copy(TESForm *a_srcForm)
virtual void RemoveChange(std::uint32_t a_changeFlags)
virtual bool IsParentFormTree()
static T * LookupByID(FormID a_formID)
Definition TESForm.h:222
bool IsInitialized() const noexcept
Definition TESForm.h:327
virtual void CreateGroupData(FORM *a_form, FORM_GROUP *a_group)
bool IsArmor() const noexcept
Definition TESForm.h:320
virtual void InitLoadGame(BGSLoadFormBuffer *a_buf)
FormType GetFormType() const noexcept
Definition TESForm.h:288
virtual bool IsHeadingMarker() const
virtual bool IsObject() const
virtual void Revert(BGSLoadFormBuffer *a_buf)
virtual void LoadObjectBound(TESFile *a_mod)
virtual bool IsWater() const
bool Is(Args... a_args) const noexcept
Definition TESForm.h:313
static constexpr auto RTTI
Definition TESForm.h:37
bool IsAmmo() const noexcept
Definition TESForm.h:319
virtual void FinishLoadGame(BGSLoadFormBuffer *a_buf)
virtual bool GetRandomAnim() const
virtual TESObjectREFR * AsReference1()
virtual bool Activate(TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount)
const char * GetName() const
static auto GetAllFormsByEditorID() -> std::pair< BSTHashMap< BSFixedString, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
Definition TESForm.h:199
virtual bool BelongsInGroup(FORM *a_form, bool a_allowParentGroups, bool a_currentOnly)
stl::enumeration< InGameFormFlag, std::uint16_t > inGameFormFlags
Definition TESForm.h:350
virtual void GetFormDetailedString(char *a_buf, std::uint32_t a_bufLen)
virtual bool IsParentForm()
void ClearDataComponent() override
virtual void SetDelete(bool a_set)
virtual bool CheckSaveGame(BGSSaveFormBuffer *a_buf)
bool IsIgnored() const noexcept
Definition TESForm.h:325
FormID formID
Definition TESForm.h:349
virtual std::uint32_t GetRefCount() const
const TESObjectREFR * AsReference() const
Definition TESForm.h:270
bool IsNot(FormType a_type) const noexcept
Definition TESForm.h:331
virtual void ClearData()
FormID GetFormID() const noexcept
Definition TESForm.h:287
std::uint32_t pad1C
Definition TESForm.h:353
static auto GetAllForms() -> std::pair< BSTHashMap< FormID, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
Definition TESForm.h:189
bool Is(FormType a_type) const noexcept
Definition TESForm.h:310
std::int32_t GetGoldValue() const
bool IsInventoryObject() const
bool IsPlayerRef() const noexcept
Definition TESForm.h:342
virtual bool FindInFileFast(TESFile *a_mod)
float GetWeight() const
bool IsNot(Args... a_args) const noexcept
Definition TESForm.h:334
virtual const char * GetObjectTypeName() const
TESFile * GetFile(std::int32_t a_idx=-1) const
Definition TESForm.h:272
virtual bool GetKnown() const
virtual void SaveObjectBound()
bool HasVMAD() const
virtual bool GetObstacle() const
virtual bool IsMagicItem() const
virtual bool Load(TESFile *a_mod)
virtual bool QIsLODLandObject() const
bool HasKeywordInList(BGSListForm *a_keywordList, bool a_matchAll) const
virtual const TESObjectREFR * AsReference2() const
bool IsDynamicForm() const noexcept
Definition TESForm.h:323
TESFileContainer sourceFiles
Definition TESForm.h:347
std::uint32_t GetFormFlags() const noexcept
Definition TESForm.h:286
void InitItem()
Definition TESForm.h:308
FormID GetRawFormID() const
std::uint32_t formFlags
Definition TESForm.h:348
static constexpr auto FORMTYPE
Definition TESForm.h:38
bool IsGold() const noexcept
Definition TESForm.h:324
virtual FormType GetSavedFormType() const
void InitializeDataComponent() override
bool IsSoulGem() const noexcept
Definition TESForm.h:343
bool IsNote() const noexcept
Definition TESForm.h:340
static TESForm * LookupByID(FormID a_formID)
Definition TESForm.h:209
T * As() noexcept
Definition FormTraits.h:146
bool IsPlayer() const noexcept
Definition TESForm.h:341
static T * LookupByEditorID(const std::string_view &a_editorID)
Definition TESForm.h:241
TESObjectREFR * AsReference()
Definition TESForm.h:269
bool IsBook() const noexcept
Definition TESForm.h:321
virtual TESForm * CreateDuplicateForm(bool a_createEditorID, void *a_arg2)
virtual const char * GetTextForParsedSubTag(const BSFixedString &a_tag) const
~TESForm() override
virtual bool LoadPartial(TESFile *a_mod)
virtual bool GetOnLocalMap() const
bool IsKey() const noexcept
Definition TESForm.h:328
Definition TESObjectREFR.h:112
Definition Relocation.h:1638
Definition PCH.h:223
Definition AbsorbEffect.h:6
FormType
Definition FormTypes.h:139
std::uint32_t FormID
Definition BSCoreTypes.h:5
constexpr REL::VariantID RTTI_TESForm(513848, 392216, 0x1ed6d20)
Definition ActorValueList.h:28
Definition FORM.h:20
Definition FORM.h:6
Definition TESForm.h:41
ChangeFlag
Definition TESForm.h:43
@ kCreated
Definition TESForm.h:44
@ kFlags
Definition TESForm.h:45
Definition TESForm.h:50
RecordFlag
Definition TESForm.h:52
@ kTemporary
Definition TESForm.h:82
@ kStillLoading
Definition TESForm.h:88
@ kOnLocalMap
Definition TESForm.h:71
@ kMaster
Definition TESForm.h:54
@ kRandomAnim
Definition TESForm.h:84
@ kResetDestruction
Definition TESForm.h:80
@ kUsedAsMovingPlatform
Definition TESForm.h:75
@ kFireOff
Definition TESForm.h:69
@ kDeleted
Definition TESForm.h:61
@ kUnlocked
Definition TESForm.h:55
@ kMustBeVisibleDistant
Definition TESForm.h:83
@ kReflectedByAutoWater
Definition TESForm.h:100
@ kInPlaceableWater
Definition TESForm.h:67
@ kVATSTargetOverride
Definition TESForm.h:97
@ kDisabled
Definition TESForm.h:74
@ kNoAIAcquire
Definition TESForm.h:94
@ kAltered
Definition TESForm.h:57
@ kIgnoreFriendlyHits
Definition TESForm.h:87
@ kDisableFade
Definition TESForm.h:98
@ kFormRetainsID
Definition TESForm.h:89
@ kShowOnWorldMap
Definition TESForm.h:101
@ kInitialized
Definition TESForm.h:59
@ kDangerous
Definition TESForm.h:85
@ kUnk24
Definition TESForm.h:92
@ kEmpty
Definition TESForm.h:79
@ kMustUpdate
Definition TESForm.h:70
@ kDestructible
Definition TESForm.h:53
@ kIgnored
Definition TESForm.h:77
@ kObstacle
Definition TESForm.h:95
@ kChildCanUse
Definition TESForm.h:103
@ kHasCurrents
Definition TESForm.h:86
@ kBorderRegion
Definition TESForm.h:63
@ kGlobalConstant
Definition TESForm.h:64
@ kPlayable
Definition TESForm.h:58
@ kKnown
Definition TESForm.h:66
@ kPersistent
Definition TESForm.h:72
@ kDestroyed
Definition TESForm.h:90
@ kNonOccluder
Definition TESForm.h:60
@ kHasSpokenFlag
Definition TESForm.h:65