5#include "CoreMinimal.h"
6#include "GameFramework/LocalMessage.h"
8#include "BroadcastMessage.generated.h"
18 GENERATED_UCLASS_BODY()
22 virtual void ClientReceive(
const FClientReceiveData& ClientData)
const override;
28 virtual void ReceiveMessage(
AProjectXPlayerController* PlayerController, int32 Data, APlayerState* PlayerStateA, APlayerState* PlayerStateB, UObject* Object)
const;
30 UFUNCTION(BlueprintImplementableEvent, Category = LocalMessage, meta = (DisplayName =
"Receive Message", ScriptName =
"ReceiveMessage"))
31 void K2_ReceiveMessage(
AProjectXPlayerController* PlayerController, int32 Data, APlayerState* PlayerStateA, APlayerState* PlayerStateB, UObject* Object) const;
35 UFUNCTION(BlueprintCallable, BlueprintAuthorityOnly, Category = LocalMessage, meta = (WorldContext = "WorldContextObject", CallableWithoutWorldContext))
36 static
void BroadcastServerMessage(const UObject* WorldContextObject, TSubclassOf<class ULocalMessage> Message, const int32 Data, APlayerState* PlayerStateA, APlayerState* PlayerStateB, UObject* Object);
38 UFUNCTION(BlueprintCallable, BlueprintAuthorityOnly, Category = LocalMessage, meta = (WorldContext = "WorldContextObject", CallableWithoutWorldContext))
39 static
void SendServerMessage(APlayerController* PlayerController, TSubclassOf<class ULocalMessage> Message, const int32 Data, APlayerState* PlayerStateA, APlayerState* PlayerStateB, UObject* Object);
Definition: ProjectXPlayerController.h:83
Definition: BroadcastMessage.h:17