Files
UnrealEngine/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/TurnBasedMatchInterface.h
2025-05-18 13:04:45 +08:00

25 lines
588 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Interface.h"
#include "TurnBasedMatchInterface.generated.h"
UINTERFACE(Blueprintable)
class UTurnBasedMatchInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class ITurnBasedMatchInterface
{
GENERATED_IINTERFACE_BODY()
public:
UFUNCTION(BlueprintImplementableEvent, Category = "Online|TurnBased")
void OnMatchReceivedTurn(const FString& Match, bool bDidBecomeActive);
UFUNCTION(BlueprintImplementableEvent, Category = "Online|TurnBased")
void OnMatchEnded(const FString& Match);
};