FLifetimeProperty

[FLifetimeProperty](API\Runtime\CoreUObject\UObject\FLifetimeProperty) This class is used to track a property that is marked to be replicated for the lifetime of the actor channel.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/CoreNet.h

Include

#include "UObject/CoreNet.h"

Syntax

class FLifetimeProperty

Remarks

FLifetimeProperty This class is used to track a property that is marked to be replicated for the lifetime of the actor channel. This doesn't mean the property will necessarily always be replicated, it just means: "check this property for replication for the life of the actor, and I don't want to think about it anymore" A secondary condition can also be used to skip replication based on the condition results

Variables

Name Description

Public variable

ELifetimeCondit...

 

Condition

Public variable

uint16

 

RepIndex

Public variable

ELifetimeRepNot...

 

RepNotifyCondition

Constructors

Name Description

Public function

FLifetimeProperty()

Public function

FLifetimeProperty

(
    int32 InRepIndex
)

Public function

FLifetimeProperty

(
    int32 InRepIndex,
    ELifetimeCondition InCondition,
    ELifetimeRepNotifyCondition InRepNo...
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FLifetimeProperty& Other
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback