Files
pubg/SDK/PUBGM_GeometryCache_classes.hpp
2026-05-02 14:30:03 +08:00

178 lines
6.6 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 GeometryCache.GeometryCache
// 0x002C (0x0048 - 0x001C)
class UGeometryCache : public UObject
{
public:
unsigned char UnknownData00[0x4]; // 0x001C(0x0004) MISSED OFFSET
TArray<class UMaterialInterface*> Materials; // 0x0020(0x000C) (Edit, ZeroConstructor, EditConst)
TArray<class UGeometryCacheTrack*> Tracks; // 0x002C(0x000C) (Edit, ZeroConstructor, EditConst)
unsigned char UnknownData01[0x10]; // 0x0038(0x0010) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCache");
return pStaticClass;
}
};
// Class GeometryCache.GeometryCacheActor
// 0x0008 (0x02C0 - 0x02B8)
class AGeometryCacheActor : public AActor
{
public:
class UGeometryCacheComponent* GeometryCacheComponent; // 0x02B8(0x0004) (Edit, BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, EditConst, InstancedReference, IsPlainOldData)
unsigned char UnknownData00[0x4]; // 0x02BC(0x0004) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheActor");
return pStaticClass;
}
class UGeometryCacheComponent* GetGeometryCacheComponent();
};
// Class GeometryCache.GeometryCacheComponent
// 0x0060 (0x0670 - 0x0610)
class UGeometryCacheComponent : public UMeshComponent
{
public:
bool bRunning; // 0x0610(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool bLooping; // 0x0611(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData00[0x2]; // 0x0612(0x0002) MISSED OFFSET
float StartTimeOffset; // 0x0614(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float PlaybackSpeed; // 0x0618(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
int NumTracks; // 0x061C(0x0004) (Edit, ZeroConstructor, EditConst, IsPlainOldData)
float ElapsedTime; // 0x0620(0x0004) (Edit, ZeroConstructor, EditConst, IsPlainOldData)
unsigned char UnknownData01[0x4C]; // 0x0624(0x004C) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheComponent");
return pStaticClass;
}
void Stop();
void SetStartTimeOffset(float NewStartTimeOffset);
void SetPlaybackSpeed(float NewPlaybackSpeed);
void SetLooping(bool bNewLooping);
bool SetGeometryCache(class UGeometryCache* NewGeomCache);
void PlayReversedFromEnd();
void PlayReversed();
void PlayFromStart();
void Play();
void Pause();
bool IsPlayingReversed();
bool IsPlaying();
bool IsLooping();
float GetStartTimeOffset();
float GetPlaybackSpeed();
};
// Class GeometryCache.GeometryCacheTrack
// 0x001C (0x0038 - 0x001C)
class UGeometryCacheTrack : public UObject
{
public:
unsigned char UnknownData00[0x1C]; // 0x001C(0x001C) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheTrack");
return pStaticClass;
}
};
// Class GeometryCache.GeometryCacheTrack_FlipbookAnimation
// 0x0020 (0x0058 - 0x0038)
class UGeometryCacheTrack_FlipbookAnimation : public UGeometryCacheTrack
{
public:
uint32_t NumMeshSamples; // 0x0038(0x0004) (Edit, ZeroConstructor, EditConst, IsPlainOldData)
unsigned char UnknownData00[0x1C]; // 0x003C(0x001C) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheTrack_FlipbookAnimation");
return pStaticClass;
}
void AddMeshSample(const struct FGeometryCacheMeshData& MeshData, float SampleTime);
};
// Class GeometryCache.GeometryCacheTrack_TransformAnimation
// 0x0040 (0x0078 - 0x0038)
class UGeometryCacheTrack_TransformAnimation : public UGeometryCacheTrack
{
public:
unsigned char UnknownData00[0x40]; // 0x0038(0x0040) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheTrack_TransformAnimation");
return pStaticClass;
}
void SetMesh(const struct FGeometryCacheMeshData& NewMeshData);
};
// Class GeometryCache.GeometryCacheTrack_TransformGroupAnimation
// 0x0040 (0x0078 - 0x0038)
class UGeometryCacheTrack_TransformGroupAnimation : public UGeometryCacheTrack
{
public:
unsigned char UnknownData00[0x40]; // 0x0038(0x0040) MISSED OFFSET
static UClass* StaticClass()
{
static UClass *pStaticClass = 0;
if (!pStaticClass)
pStaticClass = UObject::FindClass("Class GeometryCache.GeometryCacheTrack_TransformGroupAnimation");
return pStaticClass;
}
void SetMesh(const struct FGeometryCacheMeshData& NewMeshData);
};
}