mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-04-28 18:37:16 +09:00
139 lines
4.6 KiB
C++
139 lines
4.6 KiB
C++
#pragma once
|
|
|
|
// Dumped with Dumper-7!
|
|
|
|
|
|
#include "../SDK.hpp"
|
|
|
|
namespace SDK
|
|
{
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
// FUNCTIONS
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
// Class AndroidFileServer.AndroidFileServerBPLibrary
|
|
// (None)
|
|
|
|
class UClass* UAndroidFileServerBPLibrary::StaticClass()
|
|
{
|
|
static class UClass* Clss = nullptr;
|
|
|
|
if (!Clss)
|
|
Clss = UObject::FindClassFast("AndroidFileServerBPLibrary");
|
|
|
|
return Clss;
|
|
}
|
|
|
|
|
|
// AndroidFileServerBPLibrary AndroidFileServer.Default__AndroidFileServerBPLibrary
|
|
// (Public, ClassDefaultObject, ArchetypeObject)
|
|
|
|
class UAndroidFileServerBPLibrary* UAndroidFileServerBPLibrary::GetDefaultObj()
|
|
{
|
|
static class UAndroidFileServerBPLibrary* Default = nullptr;
|
|
|
|
if (!Default)
|
|
Default = static_cast<UAndroidFileServerBPLibrary*>(UAndroidFileServerBPLibrary::StaticClass()->DefaultObject);
|
|
|
|
return Default;
|
|
}
|
|
|
|
|
|
// Function AndroidFileServer.AndroidFileServerBPLibrary.StopFileServer
|
|
// (Final, Native, Static, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// bool bUSB (Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// bool bNetwork (Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
|
|
bool UAndroidFileServerBPLibrary::StopFileServer(bool bUSB, bool bNetwork)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (!Func)
|
|
Func = Class->GetFunction("AndroidFileServerBPLibrary", "StopFileServer");
|
|
|
|
Params::UAndroidFileServerBPLibrary_StopFileServer_Params Parms{};
|
|
|
|
Parms.bUSB = bUSB;
|
|
Parms.bNetwork = bNetwork;
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
UObject::ProcessEvent(Func, &Parms);
|
|
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
|
|
return Parms.ReturnValue;
|
|
|
|
}
|
|
|
|
|
|
// Function AndroidFileServer.AndroidFileServerBPLibrary.StartFileServer
|
|
// (Final, Native, Static, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// bool bUSB (Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// bool bNetwork (Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// int32 Port (Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
|
|
bool UAndroidFileServerBPLibrary::StartFileServer(bool bUSB, bool bNetwork, int32 Port)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (!Func)
|
|
Func = Class->GetFunction("AndroidFileServerBPLibrary", "StartFileServer");
|
|
|
|
Params::UAndroidFileServerBPLibrary_StartFileServer_Params Parms{};
|
|
|
|
Parms.bUSB = bUSB;
|
|
Parms.bNetwork = bNetwork;
|
|
Parms.Port = Port;
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
UObject::ProcessEvent(Func, &Parms);
|
|
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
|
|
return Parms.ReturnValue;
|
|
|
|
}
|
|
|
|
|
|
// Function AndroidFileServer.AndroidFileServerBPLibrary.IsFileServerRunning
|
|
// (Final, Native, Static, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// enum class EAFSActiveType ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
|
|
enum class EAFSActiveType UAndroidFileServerBPLibrary::IsFileServerRunning()
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (!Func)
|
|
Func = Class->GetFunction("AndroidFileServerBPLibrary", "IsFileServerRunning");
|
|
|
|
Params::UAndroidFileServerBPLibrary_IsFileServerRunning_Params Parms{};
|
|
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
UObject::ProcessEvent(Func, &Parms);
|
|
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
|
|
return Parms.ReturnValue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|