RealtimeStyleTransferRuntime/Source/LyraGame/Teams/LyraTeamPublicInfo.h

38 lines
894 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "LyraTeamInfoBase.h"
2022-09-13 07:18:28 +00:00
#include "UObject/ObjectPtr.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraTeamPublicInfo.generated.h"
2022-09-13 07:18:28 +00:00
class ULyraTeamCreationComponent;
2022-05-23 18:41:30 +00:00
class ULyraTeamDisplayAsset;
2022-09-13 07:18:28 +00:00
class UObject;
struct FFrame;
2022-05-23 18:41:30 +00:00
UCLASS()
class ALyraTeamPublicInfo : public ALyraTeamInfoBase
{
GENERATED_BODY()
friend ULyraTeamCreationComponent;
public:
ALyraTeamPublicInfo(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
ULyraTeamDisplayAsset* GetTeamDisplayAsset() const { return TeamDisplayAsset; }
private:
UFUNCTION()
void OnRep_TeamDisplayAsset();
void SetTeamDisplayAsset(TObjectPtr<ULyraTeamDisplayAsset> NewDisplayAsset);
private:
UPROPERTY(ReplicatedUsing=OnRep_TeamDisplayAsset)
TObjectPtr<ULyraTeamDisplayAsset> TeamDisplayAsset;
};