Files
ReshadePluginsCore/SilentHillF/UETools.hpp

16 lines
355 B
C++
Raw Normal View History

2026-01-19 18:53:31 +01:00
#pragma once
namespace SDK {
class UWorld;
class APawn;
class UGameInstance;
class ULocalPlayer;
class APlayerController;
}
// Unreal Engine functions
/**
* @brief Gets the current player Pawn from the world.
* @param world Optional UWorld pointer.
* @return Player Pawn or nullptr.
*/
SDK::APawn* GetPawnFromWorld(SDK::UWorld* world = nullptr);