Table of Contents

Struct SpawnNpcData

Namespace
RisingV.Shared.Data
Assembly
RisingV.Shared.dll

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 float
entityIndex int
entityVersion int
options SpawnOptions
process bool

Properties

Duration

public float Duration { readonly get; set; }

Property Value

float

EntityIndex

public int EntityIndex { readonly get; set; }

Property Value

int

EntityVersion

public int EntityVersion { readonly get; set; }

Property Value

int

Options

public SpawnOptions Options { readonly get; set; }

Property Value

SpawnOptions

Process

public bool Process { readonly get; set; }

Property Value

bool

Methods

GetEntity()

public Entity GetEntity()

Returns

Entity