mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Reboot Living up to its name
almost finish rebooting (im going insane), performance, increase llama spawn radius, remove auto restart for a little bit
This commit is contained in:
21
Project Reboot 3.0/AthenaResurrectionComponent.h
Normal file
21
Project Reboot 3.0/AthenaResurrectionComponent.h
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