mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
21
dependencies/reboot/Project Reboot 3.0/AthenaResurrectionComponent.h
vendored
Normal file
21
dependencies/reboot/Project Reboot 3.0/AthenaResurrectionComponent.h
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "ActorComponent.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
class UAthenaResurrectionComponent : public UActorComponent
|
||||
{
|
||||
public:
|
||||
TWeakObjectPtr<AActor>& GetResurrectionLocation()
|
||||
{
|
||||
static auto ResurrectionLocationOffset = GetOffset("ResurrectionLocation");
|
||||
return Get<TWeakObjectPtr<AActor>>(ResurrectionLocationOffset);
|
||||
}
|
||||
|
||||
int& GetClosestSpawnMachineIndex()
|
||||
{
|
||||
static auto ClosestSpawnMachineIndexOffset = GetOffset("ClosestSpawnMachineIndex");
|
||||
return Get<int>(ClosestSpawnMachineIndexOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user