Struct SpawnNpcData
Represents data for spawning an NPC in the game world.
public struct SpawnNpcData : IData
- Implements
- Inherited Members
- Extension Methods
Constructors
SpawnNpcData(float, int, int, SpawnOptions, bool)
Represents data for spawning an NPC in the game world.
public SpawnNpcData(float duration = 0, int entityIndex = 0, int entityVersion = 0, SpawnOptions options = default, bool process = true)
Parameters
duration
floatentityIndex
intentityVersion
intoptions
SpawnOptionsprocess
bool
Properties
Duration
public float Duration { readonly get; set; }
Property Value
EntityIndex
public int EntityIndex { readonly get; set; }
Property Value
EntityVersion
public int EntityVersion { readonly get; set; }
Property Value
Options
public SpawnOptions Options { readonly get; set; }
Property Value
Process
public bool Process { readonly get; set; }
Property Value
Methods
GetEntity()
public Entity GetEntity()
Returns
- Entity