#pragma once #include "Actor.h" class AController : public AActor { public: AActor* GetViewTarget(); void Possess(class APawn* Pawn); FName& GetStateName() { static auto StateNameOffset = GetOffset("StateName"); return Get(StateNameOffset); } class APawn*& GetPawn() { static auto PawnOffset = this->GetOffset("Pawn"); return this->Get(PawnOffset); } class APlayerState*& GetPlayerState() { static auto PlayerStateOffset = this->GetOffset("PlayerState"); return this->Get(PlayerStateOffset); } };