RealtimeStyleTransferRuntime/Source/LyraGame/Teams/LyraTeamPublicInfo.h

34 lines
784 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "LyraTeamInfoBase.h"
#include "LyraTeamPublicInfo.generated.h"
class ULyraTeamDisplayAsset;
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;
};