mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-26 19:33:43 +00:00
71 lines
1.8 KiB
C++
71 lines
1.8 KiB
C++
#pragma once
|
|
|
|
/*
|
|
* SDK generated by Dumper-7
|
|
*
|
|
* https://github.com/Encryqed/Dumper-7
|
|
*/
|
|
|
|
// Package: EasyAntiCheatCommon
|
|
|
|
#include "Basic.hpp"
|
|
|
|
#include "EasyAntiCheatCommon_classes.hpp"
|
|
#include "EasyAntiCheatCommon_parameters.hpp"
|
|
|
|
|
|
namespace SDK
|
|
{
|
|
|
|
// Function EasyAntiCheatCommon.EasyAntiCheatNetComponent.ClientMessage
|
|
// (Net, NetReliable, Native, Event, Public, NetClient)
|
|
// Parameters:
|
|
// TArray<uint8> MESSAGE (ConstParm, Parm, ZeroConstructor, ReferenceParm, NativeAccessSpecifierPublic)
|
|
|
|
void UEasyAntiCheatNetComponent::ClientMessage(const TArray<uint8>& MESSAGE)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (Func == nullptr)
|
|
Func = Class->GetFunction("EasyAntiCheatNetComponent", "ClientMessage");
|
|
|
|
Params::EasyAntiCheatNetComponent_ClientMessage Parms{};
|
|
|
|
Parms.MESSAGE = std::move(MESSAGE);
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
UObject::ProcessEvent(Func, &Parms);
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
}
|
|
|
|
|
|
// Function EasyAntiCheatCommon.EasyAntiCheatNetComponent.ServerMessage
|
|
// (Net, NetReliable, Native, Event, Public, NetServer, NetValidate)
|
|
// Parameters:
|
|
// TArray<uint8> MESSAGE (ConstParm, Parm, ZeroConstructor, ReferenceParm, NativeAccessSpecifierPublic)
|
|
|
|
void UEasyAntiCheatNetComponent::ServerMessage(const TArray<uint8>& MESSAGE)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (Func == nullptr)
|
|
Func = Class->GetFunction("EasyAntiCheatNetComponent", "ServerMessage");
|
|
|
|
Params::EasyAntiCheatNetComponent_ServerMessage Parms{};
|
|
|
|
Parms.MESSAGE = std::move(MESSAGE);
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
UObject::ProcessEvent(Func, &Parms);
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
}
|
|
|
|
}
|
|
|