mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-09-03 04:23:31 +00:00
19 lines
602 B
C++
19 lines
602 B
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Components/ActorComponent.h"
|
|
#include "EasyAntiCheatNetComponent.generated.h"
|
|
|
|
UCLASS(Blueprintable, Transient, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
|
|
class EASYANTICHEATCOMMON_API UEasyAntiCheatNetComponent : public UActorComponent {
|
|
GENERATED_BODY()
|
|
public:
|
|
UEasyAntiCheatNetComponent();
|
|
UFUNCTION(BlueprintCallable, Reliable, Server, WithValidation)
|
|
void ServerMessage(const TArray<uint8>& MESSAGE);
|
|
|
|
UFUNCTION(BlueprintCallable, Client, Reliable)
|
|
void ClientMessage(const TArray<uint8>& MESSAGE);
|
|
|
|
};
|
|
|