714 lines
23 KiB
C++
Executable File
714 lines
23 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 OceanPlugin.AdvancedBuoyancyComponent.TriangleArea
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FVector A (Parm, IsPlainOldData)
|
|
// struct FVector B (Parm, IsPlainOldData)
|
|
// struct FVector C (Parm, IsPlainOldData)
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float UAdvancedBuoyancyComponent::TriangleArea(const struct FVector& A, const struct FVector& B, const struct FVector& C)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.TriangleArea");
|
|
|
|
UAdvancedBuoyancyComponent_TriangleArea_Params params;
|
|
params.A = A;
|
|
params.B = B;
|
|
params.C = C;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.SplitTriangle
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FBuoyancyVertex H (Parm)
|
|
// struct FBuoyancyVertex M (Parm)
|
|
// struct FBuoyancyVertex L (Parm)
|
|
// struct FVector InArrow (Parm, IsPlainOldData)
|
|
// TArray<struct FForceTriangle> ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm)
|
|
|
|
TArray<struct FForceTriangle> UAdvancedBuoyancyComponent::SplitTriangle(const struct FBuoyancyVertex& H, const struct FBuoyancyVertex& M, const struct FBuoyancyVertex& L, const struct FVector& InArrow)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.SplitTriangle");
|
|
|
|
UAdvancedBuoyancyComponent_SplitTriangle_Params params;
|
|
params.H = H;
|
|
params.M = M;
|
|
params.L = L;
|
|
params.InArrow = InArrow;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.SetMeshDensity
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// float NewDensity (Parm, ZeroConstructor, IsPlainOldData)
|
|
// float NewWaterDensity (Parm, ZeroConstructor, IsPlainOldData)
|
|
|
|
void UAdvancedBuoyancyComponent::SetMeshDensity(float NewDensity, float NewWaterDensity)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.SetMeshDensity");
|
|
|
|
UAdvancedBuoyancyComponent_SetMeshDensity_Params params;
|
|
params.NewDensity = NewDensity;
|
|
params.NewWaterDensity = NewWaterDensity;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.GetOceanDepthFromGrid
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FVector Position (Parm, IsPlainOldData)
|
|
// bool bJustGetHeightAtLocation (Parm, ZeroConstructor, IsPlainOldData)
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float UAdvancedBuoyancyComponent::GetOceanDepthFromGrid(const struct FVector& Position, bool bJustGetHeightAtLocation)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.GetOceanDepthFromGrid");
|
|
|
|
UAdvancedBuoyancyComponent_GetOceanDepthFromGrid_Params params;
|
|
params.Position = Position;
|
|
params.bJustGetHeightAtLocation = bJustGetHeightAtLocation;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.GetOcean
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
|
|
void UAdvancedBuoyancyComponent::GetOcean()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.GetOcean");
|
|
|
|
UAdvancedBuoyancyComponent_GetOcean_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.DrawDebugStuff
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FForceTriangle TriForce (Parm)
|
|
// struct FColor debugColor (Parm, IsPlainOldData)
|
|
|
|
void UAdvancedBuoyancyComponent::DrawDebugStuff(const struct FForceTriangle& TriForce, const struct FColor& debugColor)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.DrawDebugStuff");
|
|
|
|
UAdvancedBuoyancyComponent_DrawDebugStuff_Params params;
|
|
params.TriForce = TriForce;
|
|
params.debugColor = debugColor;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.ApplySlamForce
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FVector SlamForce (Parm, IsPlainOldData)
|
|
// struct FVector TriCenter (Parm, IsPlainOldData)
|
|
|
|
void UAdvancedBuoyancyComponent::ApplySlamForce(const struct FVector& SlamForce, const struct FVector& TriCenter)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.ApplySlamForce");
|
|
|
|
UAdvancedBuoyancyComponent_ApplySlamForce_Params params;
|
|
params.SlamForce = SlamForce;
|
|
params.TriCenter = TriCenter;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.AdvancedBuoyancyComponent.ApplyForce
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FForceTriangle TriForce (Parm)
|
|
|
|
void UAdvancedBuoyancyComponent::ApplyForce(const struct FForceTriangle& TriForce)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.AdvancedBuoyancyComponent.ApplyForce");
|
|
|
|
UAdvancedBuoyancyComponent_ApplyForce_Params params;
|
|
params.TriForce = TriForce;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.FlockFish.OnEndOverlap
|
|
// (Final, Native, Protected)
|
|
// Parameters:
|
|
// class UPrimitiveComponent* activatedComp (Parm, ZeroConstructor, InstancedReference, IsPlainOldData)
|
|
// class AActor* OtherActor (Parm, ZeroConstructor, IsPlainOldData)
|
|
// class UPrimitiveComponent* OtherComp (Parm, ZeroConstructor, InstancedReference, IsPlainOldData)
|
|
// int OtherBodyIndex (Parm, ZeroConstructor, IsPlainOldData)
|
|
|
|
void AFlockFish::OnEndOverlap(class UPrimitiveComponent* activatedComp, class AActor* OtherActor, class UPrimitiveComponent* OtherComp, int OtherBodyIndex)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.FlockFish.OnEndOverlap");
|
|
|
|
AFlockFish_OnEndOverlap_Params params;
|
|
params.activatedComp = activatedComp;
|
|
params.OtherActor = OtherActor;
|
|
params.OtherComp = OtherComp;
|
|
params.OtherBodyIndex = OtherBodyIndex;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.FlockFish.OnBeginOverlap
|
|
// (Final, Native, Protected, HasOutParms)
|
|
// Parameters:
|
|
// class UPrimitiveComponent* activatedComp (Parm, ZeroConstructor, InstancedReference, IsPlainOldData)
|
|
// class AActor* OtherActor (Parm, ZeroConstructor, IsPlainOldData)
|
|
// class UPrimitiveComponent* OtherComp (Parm, ZeroConstructor, InstancedReference, IsPlainOldData)
|
|
// int OtherBodyIndex (Parm, ZeroConstructor, IsPlainOldData)
|
|
// bool bFromSweep (Parm, ZeroConstructor, IsPlainOldData)
|
|
// struct FHitResult SweepResult (ConstParm, Parm, OutParm, ReferenceParm, IsPlainOldData)
|
|
|
|
void AFlockFish::OnBeginOverlap(class UPrimitiveComponent* activatedComp, class AActor* OtherActor, class UPrimitiveComponent* OtherComp, int OtherBodyIndex, bool bFromSweep, const struct FHitResult& SweepResult)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.FlockFish.OnBeginOverlap");
|
|
|
|
AFlockFish_OnBeginOverlap_Params params;
|
|
params.activatedComp = activatedComp;
|
|
params.OtherActor = OtherActor;
|
|
params.OtherComp = OtherComp;
|
|
params.OtherBodyIndex = OtherBodyIndex;
|
|
params.bFromSweep = bFromSweep;
|
|
params.SweepResult = SweepResult;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.OceanManager.LoadLandscapeHeightmap
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// class UTexture2D* Tex2D (Parm, ZeroConstructor, IsPlainOldData)
|
|
|
|
void AOceanManager::LoadLandscapeHeightmap(class UTexture2D* Tex2D)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.OceanManager.LoadLandscapeHeightmap");
|
|
|
|
AOceanManager_LoadLandscapeHeightmap_Params params;
|
|
params.Tex2D = Tex2D;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.OceanManager.GetWaveHeightValue
|
|
// (Final, Native, Public, HasOutParms, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FVector Location (ConstParm, Parm, OutParm, ReferenceParm, IsPlainOldData)
|
|
// class UWorld* World (ConstParm, Parm, ZeroConstructor, IsPlainOldData)
|
|
// bool HeightOnly (Parm, ZeroConstructor, IsPlainOldData)
|
|
// bool TwoIterations (Parm, ZeroConstructor, IsPlainOldData)
|
|
// struct FVector ReturnValue (Parm, OutParm, ReturnParm, IsPlainOldData)
|
|
|
|
struct FVector AOceanManager::GetWaveHeightValue(const struct FVector& Location, class UWorld* World, bool HeightOnly, bool TwoIterations)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.OceanManager.GetWaveHeightValue");
|
|
|
|
AOceanManager_GetWaveHeightValue_Params params;
|
|
params.Location = Location;
|
|
params.World = World;
|
|
params.HeightOnly = HeightOnly;
|
|
params.TwoIterations = TwoIterations;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.OceanManager.GetHeightmapPixel
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable, BlueprintPure, Const)
|
|
// Parameters:
|
|
// float U (Parm, ZeroConstructor, IsPlainOldData)
|
|
// float V (Parm, ZeroConstructor, IsPlainOldData)
|
|
// struct FLinearColor ReturnValue (Parm, OutParm, ReturnParm, IsPlainOldData)
|
|
|
|
struct FLinearColor AOceanManager::GetHeightmapPixel(float U, float V)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.OceanManager.GetHeightmapPixel");
|
|
|
|
AOceanManager_GetHeightmapPixel_Params params;
|
|
params.U = U;
|
|
params.V = V;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.SetCurrentLocalTime
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// float Time (Parm, ZeroConstructor, IsPlainOldData)
|
|
|
|
void ATimeManager::SetCurrentLocalTime(float Time)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.SetCurrentLocalTime");
|
|
|
|
ATimeManager_SetCurrentLocalTime_Params params;
|
|
params.Time = Time;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.IsLeapYear
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// int Year (Parm, ZeroConstructor, IsPlainOldData)
|
|
// bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
bool ATimeManager::IsLeapYear(int Year)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.IsLeapYear");
|
|
|
|
ATimeManager_IsLeapYear_Params params;
|
|
params.Year = Year;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.InitializeCalendar
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FTimeDate Time (Parm)
|
|
|
|
void ATimeManager::InitializeCalendar(const struct FTimeDate& Time)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.InitializeCalendar");
|
|
|
|
ATimeManager_InitializeCalendar_Params params;
|
|
params.Time = Time;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.IncrementTime
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// float DeltaSeconds (Parm, ZeroConstructor, IsPlainOldData)
|
|
|
|
void ATimeManager::IncrementTime(float DeltaSeconds)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.IncrementTime");
|
|
|
|
ATimeManager_IncrementTime_Params params;
|
|
params.DeltaSeconds = DeltaSeconds;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetYearPhase
|
|
// (Final, Native, Public, BlueprintCallable, BlueprintPure)
|
|
// Parameters:
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float ATimeManager::GetYearPhase()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetYearPhase");
|
|
|
|
ATimeManager_GetYearPhase_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetElapsedDayInMinutes
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float ATimeManager::GetElapsedDayInMinutes()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetElapsedDayInMinutes");
|
|
|
|
ATimeManager_GetElapsedDayInMinutes_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetDaysInYear
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// int Year (Parm, ZeroConstructor, IsPlainOldData)
|
|
// int ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
int ATimeManager::GetDaysInYear(int Year)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetDaysInYear");
|
|
|
|
ATimeManager_GetDaysInYear_Params params;
|
|
params.Year = Year;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetDaysInMonth
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// int Year (Parm, ZeroConstructor, IsPlainOldData)
|
|
// int Month (Parm, ZeroConstructor, IsPlainOldData)
|
|
// int ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
int ATimeManager::GetDaysInMonth(int Year, int Month)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetDaysInMonth");
|
|
|
|
ATimeManager_GetDaysInMonth_Params params;
|
|
params.Year = Year;
|
|
params.Month = Month;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetDayPhase
|
|
// (Final, Native, Public, BlueprintCallable, BlueprintPure)
|
|
// Parameters:
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float ATimeManager::GetDayPhase()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetDayPhase");
|
|
|
|
ATimeManager_GetDayPhase_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.GetDayOfYear
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FTimeDate Time (Parm)
|
|
// int ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
int ATimeManager::GetDayOfYear(const struct FTimeDate& Time)
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.GetDayOfYear");
|
|
|
|
ATimeManager_GetDayOfYear_Params params;
|
|
params.Time = Time;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.CalculateSunAngle
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FRotator ReturnValue (Parm, OutParm, ReturnParm, IsPlainOldData)
|
|
|
|
struct FRotator ATimeManager::CalculateSunAngle()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.CalculateSunAngle");
|
|
|
|
ATimeManager_CalculateSunAngle_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.CalculateMoonPhase
|
|
// (Final, Native, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// float ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData)
|
|
|
|
float ATimeManager::CalculateMoonPhase()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.CalculateMoonPhase");
|
|
|
|
ATimeManager_CalculateMoonPhase_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function OceanPlugin.TimeManager.CalculateMoonAngle
|
|
// (Final, Native, Public, HasDefaults, BlueprintCallable)
|
|
// Parameters:
|
|
// struct FRotator ReturnValue (Parm, OutParm, ReturnParm, IsPlainOldData)
|
|
|
|
struct FRotator ATimeManager::CalculateMoonAngle()
|
|
{
|
|
static UFunction *pFunc = 0;
|
|
if (!pFunc)
|
|
pFunc = UObject::FindObject<UFunction>("Function OceanPlugin.TimeManager.CalculateMoonAngle");
|
|
|
|
ATimeManager_CalculateMoonAngle_Params params;
|
|
|
|
auto flags = pFunc->FunctionFlags;
|
|
pFunc->FunctionFlags |= 0x400;
|
|
|
|
UObject *currentObj = (UObject *) this;
|
|
currentObj->ProcessEvent(pFunc, ¶ms);
|
|
|
|
pFunc->FunctionFlags = flags;
|
|
|
|
return params.ReturnValue;
|
|
}
|
|
|
|
|
|
}
|
|
|