MCPcopy Create free account
hub / github.com/Norbyte/ositools / CustomFunctionLibrary

Class CustomFunctionLibrary

OsiInterface/Functions/FunctionLibrary.h:120–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 };
119
120 class CustomFunctionLibrary
121 {
122 public:
123 CustomFunctionLibrary(class OsirisProxy & osiris);
124
125 void Register();
126 void RegisterHelperFunctions();
127 void RegisterMathFunctions();
128 void RegisterStatFunctions();
129 void RegisterStatusFunctions();
130 void RegisterGameActionFunctions();
131 void RegisterProjectileFunctions();
132 void RegisterHitFunctions();
133 void RegisterPlayerFunctions();
134 void RegisterItemFunctions();
135 void RegisterCharacterFunctions();
136 void RegisterCustomStatFunctions();
137
138 void PostStartup();
139
140 void OnStatusHitEnter(esv::Status * status);
141 void OnStatusHealEnter(esv::Status * status);
142 void OnCharacterHit(esv::Character__Hit wrappedHit, esv::Character * self, CDivinityStats_Character * attackerStats,
143 CDivinityStats_Item * itemStats, DamagePairList * damageList, HitType hitType, bool rollForDamage,
144 HitDamageInfo * damageInfo, int forceReduceDurability, void * skillProperties, HighGroundBonus highGroundFlag,
145 bool procWindWalker, CriticalRoll criticalRoll);
146 void OnApplyStatus(esv::StatusMachine__ApplyStatus wrappedApply, esv::StatusMachine * self, esv::Status * status);
147
148 private:
149 OsirisProxy & osiris_;
150 bool PostLoaded{ false };
151 };
152
153}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected