We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TESConditionItem
1 parent 503330d commit 6a77502Copy full SHA for 6a77502
1 file changed
CommonLibF4/include/RE/Bethesda/TESCondition.h
@@ -80,11 +80,18 @@ namespace RE
80
81
[[nodiscard]] bool IsTrue(TESObjectREFR* a_actionRef, TESObjectREFR* a_targetRef)
82
{
83
- using func_t = decltype(&TESConditionItem::IsTrue);
+ using func_t = bool(*)(TESConditionItem*, TESObjectREFR*, TESObjectREFR*);
84
static REL::Relocation<func_t> func{ REL::ID(2212008) };
85
return func(this, a_actionRef, a_targetRef);
86
}
87
88
+ [[nodiscard]] bool IsTrue(ConditionCheckParams& a_params)
89
+ {
90
+ using func_t = bool(*)(TESConditionItem*, ConditionCheckParams&);
91
+ static REL::Relocation<func_t> func{ REL::ID(2212009) };
92
+ return func(this, a_params);
93
+ }
94
+
95
// members
96
TESConditionItem* next; // 00
97
CONDITION_ITEM_DATA data; // 08
0 commit comments