mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
some ai stuff
might have completely broke ai but idk
This commit is contained in:
@@ -6,4 +6,17 @@ class AController : public AActor
|
||||
{
|
||||
public:
|
||||
AActor* GetViewTarget();
|
||||
void Possess(class APawn* Pawn);
|
||||
|
||||
class APawn*& GetPawn()
|
||||
{
|
||||
static auto PawnOffset = this->GetOffset("Pawn");
|
||||
return this->Get<class APawn*>(PawnOffset);
|
||||
}
|
||||
|
||||
class APlayerState*& GetPlayerState()
|
||||
{
|
||||
static auto PlayerStateOffset = this->GetOffset("PlayerState");
|
||||
return this->Get<class APlayerState*>(PlayerStateOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user