mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
pickup combining, almost finish shadow stones, fix some bugs with gadgets, clean up some code.
15 lines
665 B
C++
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);
|
|
} |