26 lines
591 B
C++
26 lines
591 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "MassEntityTraitBase.h"
|
|
#include "MassReplicationFragments.h"
|
|
#include "MassReplicationTrait.generated.h"
|
|
|
|
#define UE_API MASSREPLICATION_API
|
|
|
|
|
|
UCLASS(MinimalAPI, meta=(DisplayName="Replication"))
|
|
class UMassReplicationTrait : public UMassEntityTraitBase
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UE_API virtual void BuildTemplate(FMassEntityTemplateBuildContext& BuildContext, const UWorld& World) const override;
|
|
|
|
UPROPERTY(EditAnywhere, Category = "Mass|Replication")
|
|
FMassReplicationParameters Params;
|
|
};
|
|
|
|
#undef UE_API
|