Files
Project-Reboot-3.0/Project Reboot 3.0/FortGameplayAbilityAthena_PeriodicItemGrant.cpp
Milxnor f49f166c2d great
pickup combining, almost finish shadow stones, fix some bugs with gadgets, clean up some code.
2023-05-02 23:48:05 -04:00

15 lines
665 B
C++

#include "FortGameplayAbilityAthena_PeriodicItemGrant.h"
void UFortGameplayAbilityAthena_PeriodicItemGrant::StopItemAwardTimersHook(UObject* Context, FFrame& Stack, void* Ret)
{
// (Milxnor) We need clear all the timers in ActiveTimers.
return StopItemAwardTimersOriginal(Context, Stack, Ret);
}
void UFortGameplayAbilityAthena_PeriodicItemGrant::StartItemAwardTimersHook(UObject* Context, FFrame& Stack, void* Ret)
{
// (Milxnor) We need to loop through ItemsToGrant, and then using the Pair.Value we set a timer and then the Pair.Key for the item to grant, then we add the timer to ActiveTimers.
return StartItemAwardTimersOriginal(Context, Stack, Ret);
}