Table of Contents

Class EventBridge.SpawnUnitEvent

Namespace
RisingV.Core
Assembly
RisingV.Core.dll

Event triggered when a unit is spawned.

public record EventBridge.SpawnUnitEvent : Event<EventBridge.SpawnUnitEvent>, IEvent, IEquatable<Event>, IEquatable<Event<EventBridge.SpawnUnitEvent>>, IEquatable<EventBridge.SpawnUnitEvent>
Inheritance
EventBridge.SpawnUnitEvent
Implements
Inherited Members
Extension Methods

Constructors

SpawnUnitEvent(UnitAspect, SpawnData)

Event triggered when a unit is spawned.

public SpawnUnitEvent(UnitAspect Aspect, SpawnData Data)

Parameters

Aspect UnitAspect

The aspect of the unit being spawned.

Data SpawnData

The data associated with the spawn event.

Properties

Aspect

The aspect of the unit being spawned.

public UnitAspect Aspect { get; init; }

Property Value

UnitAspect

Data

The data associated with the spawn event.

public SpawnData Data { get; init; }

Property Value

SpawnData