138 lines
7.1 KiB
C++
Executable File
138 lines
7.1 KiB
C++
Executable File
#pragma once
|
|
|
|
//PUBGM(0.13.5)32位SDK
|
|
//作者:清华
|
|
//Telegram:@qinghuanb666
|
|
//生成时间:Fri Apr 18 20:44:40 2025
|
|
|
|
namespace SDK
|
|
{
|
|
//---------------------------------------------------------------------------
|
|
//Classes
|
|
//---------------------------------------------------------------------------
|
|
|
|
// Class HeadMountedDisplay.HeadMountedDisplayFunctionLibrary
|
|
// 0x0000 (0x0020 - 0x0020)
|
|
class UHeadMountedDisplayFunctionLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
public:
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static UClass *pStaticClass = 0;
|
|
if (!pStaticClass)
|
|
pStaticClass = UObject::FindClass("Class HeadMountedDisplay.HeadMountedDisplayFunctionLibrary");
|
|
return pStaticClass;
|
|
}
|
|
|
|
|
|
static void SetWorldToMetersScale(class UObject* WorldContext, float NewScale);
|
|
static void SetTrackingOrigin(TEnumAsByte<EHMDTrackingOrigin> Origin);
|
|
static void SetSpectatorScreenTexture(class UTexture* InTexture);
|
|
static void SetSpectatorScreenModeTexturePlusEyeLayout(const struct FVector2D& EyeRectMin, const struct FVector2D& EyeRectMax, const struct FVector2D& TextureRectMin, const struct FVector2D& TextureRectMax, bool bDrawEyeFirst, bool bClearBlack);
|
|
static void SetSpectatorScreenMode(ESpectatorScreenMode Mode);
|
|
static void SetClippingPlanes(float Near, float Far);
|
|
static void ResetOrientationAndPosition(float Yaw, TEnumAsByte<EOrientPositionSelector> Options);
|
|
static bool IsSpectatorScreenModeControllable();
|
|
static bool IsInLowPersistenceMode();
|
|
static bool IsHeadMountedDisplayEnabled();
|
|
static bool IsHeadMountedDisplayConnected();
|
|
static bool HasValidTrackingPosition();
|
|
static float GetWorldToMetersScale(class UObject* WorldContext);
|
|
static void GetVRFocusState(bool* bUseFocus, bool* bHasFocus);
|
|
static void GetTrackingSensorParameters(int Index, struct FRotator* Rotation, float* LeftFOV, float* RightFOV, float* TopFOV, struct FVector* Origin, float* Distance, float* NearPlane, float* FarPlane, bool* IsActive, float* BottomFOV);
|
|
static TEnumAsByte<EHMDTrackingOrigin> GetTrackingOrigin();
|
|
static float GetScreenPercentage();
|
|
static void GetPositionalTrackingCameraParameters(struct FVector* CameraOrigin, struct FRotator* CameraRotation, float* HFOV, float* VFOV, float* CameraDistance, float* NearPlane, float* FarPlane);
|
|
static void GetOrientationAndPosition(struct FRotator* DeviceRotation, struct FVector* DevicePosition);
|
|
static int GetNumOfTrackingSensors();
|
|
static TEnumAsByte<EHMDWornState> GetHMDWornState();
|
|
static struct FName GetHMDDeviceName();
|
|
static void EnableLowPersistenceMode(bool bEnable);
|
|
static bool EnableHMD(bool bEnable);
|
|
};
|
|
|
|
|
|
// Class HeadMountedDisplay.MotionControllerComponent
|
|
// 0x0060 (0x0650 - 0x05F0)
|
|
class UMotionControllerComponent : public UPrimitiveComponent
|
|
{
|
|
public:
|
|
int PlayerIndex; // 0x05F0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
|
|
EControllerHand Hand; // 0x05F4(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
|
|
unsigned char bDisableLowLatencyUpdate : 1; // 0x05F5(0x0001) (Edit, BlueprintVisible)
|
|
ETrackingStatus CurrentTrackingStatus; // 0x05F6(0x0001) (BlueprintVisible, BlueprintReadOnly, ZeroConstructor, IsPlainOldData)
|
|
unsigned char UnknownData00[0x59]; // 0x05F7(0x0059) MISSED OFFSET
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static UClass *pStaticClass = 0;
|
|
if (!pStaticClass)
|
|
pStaticClass = UObject::FindClass("Class HeadMountedDisplay.MotionControllerComponent");
|
|
return pStaticClass;
|
|
}
|
|
|
|
|
|
bool IsTracked();
|
|
};
|
|
|
|
|
|
// Class HeadMountedDisplay.MotionTrackedDeviceFunctionLibrary
|
|
// 0x0000 (0x0020 - 0x0020)
|
|
class UMotionTrackedDeviceFunctionLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
public:
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static UClass *pStaticClass = 0;
|
|
if (!pStaticClass)
|
|
pStaticClass = UObject::FindClass("Class HeadMountedDisplay.MotionTrackedDeviceFunctionLibrary");
|
|
return pStaticClass;
|
|
}
|
|
|
|
|
|
static void SetIsControllerMotionTrackingEnabledByDefault(bool Enable);
|
|
static bool IsMotionTrackingEnabledForDevice(int PlayerIndex, EControllerHand Hand);
|
|
static bool IsMotionTrackingEnabledForComponent(class UMotionControllerComponent* MotionControllerComponent);
|
|
static bool IsMotionTrackedDeviceCountManagementNecessary();
|
|
static int GetMotionTrackingEnabledControllerCount();
|
|
static int GetMaximumMotionTrackedControllerCount();
|
|
static bool EnableMotionTrackingOfDevice(int PlayerIndex, EControllerHand Hand);
|
|
static bool EnableMotionTrackingForComponent(class UMotionControllerComponent* MotionControllerComponent);
|
|
static void DisableMotionTrackingOfDevice(int PlayerIndex, EControllerHand Hand);
|
|
static void DisableMotionTrackingOfControllersForPlayer(int PlayerIndex);
|
|
static void DisableMotionTrackingOfAllControllers();
|
|
static void DisableMotionTrackingForComponent(class UMotionControllerComponent* MotionControllerComponent);
|
|
};
|
|
|
|
|
|
// Class HeadMountedDisplay.VRNotificationsComponent
|
|
// 0x0068 (0x0128 - 0x00C0)
|
|
class UVRNotificationsComponent : public UActorComponent
|
|
{
|
|
public:
|
|
unsigned char UnknownData00[0x8]; // 0x00C0(0x0008) MISSED OFFSET
|
|
struct FScriptMulticastDelegate HMDTrackingInitializedDelegate; // 0x00C8(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDRecenteredDelegate; // 0x00D4(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDLostDelegate; // 0x00E0(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDReconnectedDelegate; // 0x00EC(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDConnectCanceledDelegate; // 0x00F8(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDPutOnHeadDelegate; // 0x0104(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate HMDRemovedFromHeadDelegate; // 0x0110(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
struct FScriptMulticastDelegate VRControllerRecenteredDelegate; // 0x011C(0x000C) (ZeroConstructor, InstancedReference, BlueprintAssignable)
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static UClass *pStaticClass = 0;
|
|
if (!pStaticClass)
|
|
pStaticClass = UObject::FindClass("Class HeadMountedDisplay.VRNotificationsComponent");
|
|
return pStaticClass;
|
|
}
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|