// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "LyraTeamInfoBase.h" #include "UObject/ObjectPtr.h" #include "UObject/UObjectGlobals.h" #include "LyraTeamPublicInfo.generated.h" class ULyraTeamCreationComponent; class ULyraTeamDisplayAsset; class UObject; struct FFrame; 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 NewDisplayAsset); private: UPROPERTY(ReplicatedUsing=OnRep_TeamDisplayAsset) TObjectPtr TeamDisplayAsset; };