Navigation
API > API/Plugins > API/Plugins/MassReplication
Helper struct to be used as CRTP to supply types with SpawnQuery creation and caching functionality
| Name | TCachedSpawnQuery |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassReplication/Public/MassReplicationTemplates.h |
| Include Path | #include "MassReplicationTemplates.h" |
Syntax
template<typename THandlers>
struct TCachedSpawnQuery
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SpawnQuery | FMassEntityQuery | Entity query used to configure entities added to the client | MassReplicationTemplates.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassEntityQuery & GetSpawnQuery
(
const TSharedRef< FMassEntityManager >& EntityManager |
Returns the cached SpawnQuery. | MassReplicationTemplates.h |