Navigation
API > API/Plugins > API/Plugins/MassSpawner
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UWorldSubsystem
- UMassSpawnerSubsystem
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassSpawnerSubsystem.h |
| Include | #include "MassSpawnerSubsystem.h" |
Syntax
UCLASS&40;&41;
class UMassSpawnerSubsystem : public UWorldSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMassEntityManager > | EntityManager | ||
| TArray< TObjectPtr< UMassProcessor > > | SpawnDataInitializers | ||
| FMassEntityTemplateRegistry | TemplateRegistryInstance |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyEntities
(
TConstArrayView< FMassEntityHandle > Entities |
||
| void | DoSpawning
(
const FMassEntityTemplate& EntityTemplate, |
||
| const FMassEntityTemplate * | GetMassEntityTemplate
(
FMassEntityTemplateID TemplateID |
||
| FMassEntityTemplateRegistry & | |||
| UMassProcessor * | GetSpawnDataInitializer
(
TSubclassOf< UMassProcessor > InitializerClass |
||
| const FMassEntityTemplateRegistry & | |||
| void | SpawnEntities
(
const FMassEntityTemplate& EntityTemplate, |
Spawns entities of the kind described by the given EntityTemplate. | |
| void | SpawnEntities
(
FMassEntityTemplateID TemplateID, |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyEntities
(
const FMassEntityTemplateID TemplateID, |
This flavor of DestroyEntities has been deprecated. Use the one without the FMassEntityTemplateID parameter |