Skip to content

Commit 8c6425f

Browse files
authored
Update (#2)
* chore: Remove type specifiers. * feat: More misc. IDs updated.
1 parent 23a6c5b commit 8c6425f

File tree

7 files changed

+32
-32
lines changed

7 files changed

+32
-32
lines changed

CommonLibF4/include/RE/Bethesda/BGSSceneAction.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@ namespace RE
117117

118118
// members
119119
TESTopic* topic; // 20
120-
float fMaxLoopTime; // 28
121-
float fMinLoopTime; // 2C
122-
BSTArray<std::uint32_t> iHeadTrackTargetA; // 30
123-
float fCurrentLoopTimer; // 48
120+
float maxLoopTime; // 28
121+
float minLoopTime; // 2C
122+
BSTArray<std::uint32_t> headTrackTargetA; // 30
123+
float currentLoopTimer; // 48
124124
BGSKeyword* pAnimFaceArchType; // 50
125125
BGSKeyword* pSubtypeKeyword; // 58
126126
BGSSoundOutput* outputModel; // 60
127127
BSTSmartPointer<BSInputEnableLayer> pInputLayer; // 68
128-
std::uint32_t iHeadTargetValue; // 74
129-
float fHeadTrackChangeTimer; // 78
128+
std::uint32_t headTargetValue; // 74
129+
float headTrackChangeTimer; // 78
130130
};
131131
static_assert(sizeof(BGSSceneActionDialogue) == 0x78);
132132

@@ -140,9 +140,9 @@ namespace RE
140140
TESTopic* responseTopics[4]; // 20
141141
BGSKeyword* pResponseSubtypeKeywords[4]; // 40
142142
BGSSoundOutput* pOutputModel; // 60
143-
BSTArray<std::uint32_t> iHeadTrackTargetA; // 68
144-
std::uint32_t iHeadTargetValue; // 80
145-
float fHeadTrackChangeTimer; // 84
143+
BSTArray<std::uint32_t> headTrackTargetA; // 68
144+
std::uint32_t headTargetValue; // 80
145+
float headTrackChangeTimer; // 84
146146
TESTopic* currentTopic; // 88
147147
};
148148
static_assert(sizeof(BGSSceneActionConversationBase) == 0x90);
@@ -185,12 +185,12 @@ namespace RE
185185
static constexpr auto RTTI{ RTTI::BGSSceneActionTimer };
186186
static constexpr auto VTABlE{ VTABLE::BGSSceneActionTimer };
187187

188-
float fSeconds; // 20
189-
float fMinSeconds; // 24
190-
float fTimer; // 28
188+
float seconds; // 20
189+
float minSeconds; // 24
190+
float timer; // 28
191191
bool scriptEndRun; // 2C
192192
bool runEnd; // 2D
193-
float fCurrentSeconds; // 30
193+
float currentSeconds; // 30
194194
};
195195
static_assert(sizeof(BGSSceneActionTimer) == 0x38);
196196

@@ -206,11 +206,11 @@ namespace RE
206206
BGSSoundOutput* outputModel; // 30
207207
BGSKeyword* subtypeKeyword; // 38
208208
BGSSoundDescriptorForm* topicSound; // 40
209-
float fSoundDuration; // 48
209+
float soundDuration; // 48
210210
std::uint32_t soundID; // 4C
211211
bool soundDone; // 50
212212
TESTopic* currentTopic; // 58
213-
float fFailTimer; // 60
213+
float failTimer; // 60
214214
};
215215
static_assert(sizeof(BGSSceneActionRadio) == 0x68);
216216

CommonLibF4/include/RE/Bethesda/PlayerCharacter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ namespace RE
289289
bool IsGodMode()
290290
{
291291
using func_t = decltype(&PlayerCharacter::IsGodMode);
292-
REL::Relocation<func_t> func{ REL::ID(1032309) };
292+
REL::Relocation<func_t> func{ REL::ID(2232986) };
293293
return func(this);
294294
}
295295

CommonLibF4/include/RE/Bethesda/SWFToCodeFunctionHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ namespace RE
2323
void MapCodeMethodToASFunction(const char* a_functionName, std::int32_t a_functionID)
2424
{
2525
using func_t = decltype(&SWFToCodeFunctionHandler::MapCodeMethodToASFunction);
26-
REL::Relocation<func_t> func{ REL::ID(1263128) };
26+
REL::Relocation<func_t> func{ REL::ID(2287419) };
2727
return func(this, a_functionName, a_functionID);
2828
}
2929

3030
void RegisterCodeObject(Scaleform::GFx::Movie& a_movie, Scaleform::GFx::Value& a_menuObj)
3131
{
3232
using func_t = decltype(&SWFToCodeFunctionHandler::RegisterCodeObject);
33-
REL::Relocation<func_t> func{ REL::ID(67637) };
33+
REL::Relocation<func_t> func{ REL::ID(2287415) };
3434
return func(this, a_movie, a_menuObj);
3535
}
3636
};

CommonLibF4/include/RE/Bethesda/TESBoundAnimObjects.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ namespace RE
281281
[[nodiscard]] TESContainer* GetContainer()
282282
{
283283
using func_t = decltype(&TESFurniture::GetContainer);
284-
REL::Relocation<func_t> func{ REL::ID(1049933) };
284+
REL::Relocation<func_t> func{ REL::ID(2198043) };
285285
return func(this);
286286
}
287287

@@ -443,7 +443,7 @@ namespace RE
443443
[[nodiscard]] uint32_t GetSex() noexcept
444444
{
445445
using func_t = decltype(&TESNPC::GetSex);
446-
REL::Relocation<func_t> func{ REL::ID(1257181) };
446+
REL::Relocation<func_t> func{ REL::ID(2207107) };
447447
return func(this);
448448
}
449449

@@ -563,21 +563,21 @@ namespace RE
563563
LOCK_LEVEL GetHackDifficultyLockLevel(TESObjectREFR* a_refr)
564564
{
565565
using func_t = decltype(&BGSTerminal::GetHackDifficultyLockLevel);
566-
REL::Relocation<func_t> func{ REL::ID(537273) };
566+
REL::Relocation<func_t> func{ REL::ID(2197777) };
567567
return func(this, a_refr);
568568
}
569569

570570
static bool IsTerminalRefInUse(TESObjectREFR* a_refr)
571571
{
572572
using func_t = decltype(&BGSTerminal::IsTerminalRefInUse);
573-
REL::Relocation<func_t> func{ REL::ID(1093565) };
573+
REL::Relocation<func_t> func{ REL::ID(2197779) };
574574
return func(a_refr);
575575
}
576576

577577
static void Show(TESObjectREFR* a_refr)
578578
{
579579
using func_t = decltype(&BGSTerminal::Show);
580-
REL::Relocation<func_t> func{ REL::ID(1069012) };
580+
REL::Relocation<func_t> func{ REL::ID(2197776) };
581581
return func(a_refr);
582582
}
583583

CommonLibF4/include/RE/Bethesda/TESBoundObjects.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ namespace RE
102102
void ApplyMods(BSTSmartPointer<TBO_InstanceData>& a_dest, const BGSObjectInstanceExtra* a_extra) const
103103
{
104104
using func_t = decltype(&TESBoundObject::ApplyMods);
105-
REL::Relocation<func_t> func{ REL::ID(113585) };
105+
REL::Relocation<func_t> func{ REL::ID(2198325) };
106106
return func(this, a_dest, a_extra);
107107
}
108108

@@ -655,7 +655,7 @@ namespace RE
655655
[[nodiscard]] static bool GetReloadsWithAmmoRef(const TESAmmo* a_ammo)
656656
{
657657
using func_t = decltype(&TESAmmo::GetReloadsWithAmmoRef);
658-
REL::Relocation<func_t> func{ REL::ID(1035622) };
658+
REL::Relocation<func_t> func{ REL::ID(2197864) };
659659
return func(a_ammo);
660660
}
661661

@@ -793,7 +793,7 @@ namespace RE
793793
bool CollidesWithSmallTransparentLayer()
794794
{
795795
using func_t = decltype(&BGSProjectile::CollidesWithSmallTransparentLayer);
796-
REL::Relocation<func_t> func{ REL::ID(1115694) };
796+
REL::Relocation<func_t> func{ REL::ID(2197620) };
797797
return func(this);
798798
}
799799

CommonLibF4/include/RE/Bethesda/TESForms.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,9 +1698,9 @@ namespace RE
16981698
public:
16991699
struct RespData
17001700
{
1701-
std::uint16_t uiPercent;
1702-
std::uint8_t ucResponseID;
1703-
bool bUseEmotion;
1701+
std::uint16_t percent;
1702+
std::uint8_t responseID;
1703+
bool useEmotion;
17041704
};
17051705
static_assert(sizeof(RespData) == 0x4);
17061706

CommonLibF4/include/RE/Bethesda/Workshop.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,21 +200,21 @@ namespace RE
200200
[[nodiscard]] inline TESObjectREFR* FindNearestValidWorkshop(const TESObjectREFR& a_refr)
201201
{
202202
using func_t = decltype(&Workshop::FindNearestValidWorkshop);
203-
REL::Relocation<func_t> func{ REL::ID(905705) };
203+
REL::Relocation<func_t> func{ REL::ID(2194970) };
204204
return func(a_refr);
205205
}
206206

207207
[[nodiscard]] inline bool FreeBuild()
208208
{
209209
using func_t = decltype(&Workshop::FreeBuild);
210-
REL::Relocation<func_t> func{ REL::ID(1583365) };
210+
REL::Relocation<func_t> func{ REL::ID(2194924) };
211211
return func();
212212
}
213213

214214
[[nodiscard]] inline WorkshopMenuNode* GetSelectedWorkshopMenuNode(std::uint32_t a_row, std::uint32_t& a_column)
215215
{
216216
using func_t = decltype(&Workshop::GetSelectedWorkshopMenuNode);
217-
REL::Relocation<func_t> func{ REL::ID(763948) };
217+
REL::Relocation<func_t> func{ REL::ID(2195024) };
218218
return func(a_row, a_column);
219219
}
220220

0 commit comments

Comments
 (0)