Table of Contents

Class SpawnData

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

Represents data for spawning an entity in the game world.

public record SpawnData : IData, IEquatable<SpawnData>
Inheritance
SpawnData
Implements
Inherited Members
Extension Methods

Constructors

SpawnData(Dictionary<Entity, (int, int)>)

public SpawnData(Dictionary<Entity, (int, int)> State)

Parameters

State Dictionary<Entity, (int, int)>

SpawnData(Entity, LifeTime?, Dictionary<Entity, (int, int)>?)

Represents data for spawning an entity in the game world.

public SpawnData(Entity Entity, LifeTime? LifeTime, Dictionary<Entity, (int, int)>? State = null)

Parameters

Entity Entity
LifeTime LifeTime?
State Dictionary<Entity, (int, int)>

Properties

Entity

public Entity Entity { get; init; }

Property Value

Entity

LifeTime

public LifeTime? LifeTime { get; init; }

Property Value

LifeTime?

State

public Dictionary<Entity, (int, int)>? State { get; init; }

Property Value

Dictionary<Entity, (int, int)>