Add Unreal Engine library
This commit is contained in:
16
SilentHillF/UETools.hpp
Normal file
16
SilentHillF/UETools.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user