| 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected