FMassReplicatedAgentHandle

Handle of each Agent per Client (bubble), these handles are not consistent between different client bubbles.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FCompactIndexedHandleBase

FMassReplicatedAgentHandle

References

Module

MassReplication

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassReplication/Public/MassReplicationTypes.h

Include

#include "MassReplicationTypes.h"

Syntax

USTRUCT()
struct FMassReplicatedAgentHandle : public FCompactIndexedHandleBase

Remarks

Handle of each Agent per Client (bubble), these handles are not consistent between different client bubbles. Using the compact handle here will make the memory footprint smaller and help the ECS system be more cache friendly. TODO: in the long run we can probably use a non serial number handle here, I'd like to stick with the serial number for now though

Constructors

Name Description

Public function

FMassReplicatedAgentHandle()

Public function

FMassReplicatedAgentHandle

(
    int32 InIndex,
    uint32 InSerialNumber
)