Files
pubg/SDK/PUBGM_Landscape_functions.cpp
T
2026-05-02 14:30:03 +08:00

84 lines
3.4 KiB
C++
Executable File

//PUBGM(0.13.5)32位SDK
//作者:清华
//Telegram:@qinghuanb666
//生成时间:Fri Apr 18 20:44:40 2025
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function Landscape.LandscapeProxy.EditorApplySpline
// (Final, Native, Public, BlueprintCallable)
// Parameters:
// class USplineComponent* InSplineComponent (Parm, ZeroConstructor, InstancedReference, IsPlainOldData)
// float StartWidth (Parm, ZeroConstructor, IsPlainOldData)
// float EndWidth (Parm, ZeroConstructor, IsPlainOldData)
// float StartSideFalloff (Parm, ZeroConstructor, IsPlainOldData)
// float EndSideFalloff (Parm, ZeroConstructor, IsPlainOldData)
// float StartRoll (Parm, ZeroConstructor, IsPlainOldData)
// float EndRoll (Parm, ZeroConstructor, IsPlainOldData)
// int NumSubdivisions (Parm, ZeroConstructor, IsPlainOldData)
// bool bRaiseHeights (Parm, ZeroConstructor, IsPlainOldData)
// bool bLowerHeights (Parm, ZeroConstructor, IsPlainOldData)
// class ULandscapeLayerInfoObject* PaintLayer (Parm, ZeroConstructor, IsPlainOldData)
void ALandscapeProxy::EditorApplySpline(class USplineComponent* InSplineComponent, float StartWidth, float EndWidth, float StartSideFalloff, float EndSideFalloff, float StartRoll, float EndRoll, int NumSubdivisions, bool bRaiseHeights, bool bLowerHeights, class ULandscapeLayerInfoObject* PaintLayer)
{
static UFunction *pFunc = 0;
if (!pFunc)
pFunc = UObject::FindObject<UFunction>("Function Landscape.LandscapeProxy.EditorApplySpline");
ALandscapeProxy_EditorApplySpline_Params params;
params.InSplineComponent = InSplineComponent;
params.StartWidth = StartWidth;
params.EndWidth = EndWidth;
params.StartSideFalloff = StartSideFalloff;
params.EndSideFalloff = EndSideFalloff;
params.StartRoll = StartRoll;
params.EndRoll = EndRoll;
params.NumSubdivisions = NumSubdivisions;
params.bRaiseHeights = bRaiseHeights;
params.bLowerHeights = bLowerHeights;
params.PaintLayer = PaintLayer;
auto flags = pFunc->FunctionFlags;
pFunc->FunctionFlags |= 0x400;
UObject *currentObj = (UObject *) this;
currentObj->ProcessEvent(pFunc, &params);
pFunc->FunctionFlags = flags;
}
// Function Landscape.LandscapeProxy.ChangeLODDistanceFactor
// (Native, Public, BlueprintCallable)
// Parameters:
// float InLODDistanceFactor (Parm, ZeroConstructor, IsPlainOldData)
void ALandscapeProxy::ChangeLODDistanceFactor(float InLODDistanceFactor)
{
static UFunction *pFunc = 0;
if (!pFunc)
pFunc = UObject::FindObject<UFunction>("Function Landscape.LandscapeProxy.ChangeLODDistanceFactor");
ALandscapeProxy_ChangeLODDistanceFactor_Params params;
params.InLODDistanceFactor = InLODDistanceFactor;
auto flags = pFunc->FunctionFlags;
pFunc->FunctionFlags |= 0x400;
UObject *currentObj = (UObject *) this;
currentObj->ProcessEvent(pFunc, &params);
pFunc->FunctionFlags = flags;
}
}