Files
FNGameProj/Source/EasyAntiCheatCommon/Public/EasyAntiCheatNetComponent.h
2024-01-21 00:41:14 +01:00

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);
};