#pragma once #include "ActorComponent.h" #include "reboot.h" class UAthenaResurrectionComponent : public UActorComponent { public: TWeakObjectPtr& GetResurrectionLocation() { static auto ResurrectionLocationOffset = GetOffset("ResurrectionLocation"); return Get>(ResurrectionLocationOffset); } int& GetClosestSpawnMachineIndex() { static auto ClosestSpawnMachineIndexOffset = GetOffset("ClosestSpawnMachineIndex"); return Get(ClosestSpawnMachineIndexOffset); } };