Table of Contents

Class SpawnProcessor

Namespace
RisingV.Core.Processors
Assembly
RisingV.Core.SpawnEngine.dll

Processes and routes spawn events for various entity types involved.

public class SpawnProcessor : TargetEntityProcessor<SpawnData>, IProcessor<SpawnData, bool?>, IProcessor, IManageable<ProcessorManager>, IManageable
Inheritance
SpawnProcessor
Implements
Inherited Members
Extension Methods

Properties

Log

protected override Logger Log { get; }

Property Value

Logger

Methods

CanProcess(SpawnData, bool)

Determines whether the processor can handle the given event and whether it is a post-processing event.

public override bool CanProcess(SpawnData @event, bool isPost)

Parameters

event SpawnData

The event to process.

isPost bool

Indicates whether the event is a post-processing event.

Returns

bool

true if the processor can handle the event; otherwise, false.

GetTargetEntity(SpawnData)

protected override Entity GetTargetEntity(SpawnData @event)

Parameters

event SpawnData

Returns

Entity

OnAnyTarget(Entity, SpawnData, bool)

Called for any target entity when an event occurs.

protected override void OnAnyTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

OnBossTarget(Entity, SpawnData, bool)

Called for boss target entities when an event occurs.

protected override bool OnBossTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnGatherableTarget(Entity, SpawnData, bool)

Called for gatherable target entities when an event occurs.

protected override bool OnGatherableTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnMinionTarget(Entity, SpawnData, bool)

Called for minion target entities when an event occurs.

protected override bool OnMinionTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnPlayerTarget(Entity, SpawnData, bool)

Called for player target entities when an event occurs.

protected override bool OnPlayerTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnUnitTarget(Entity, SpawnData, bool)

Called for unit target entities when an event occurs.

protected override bool OnUnitTarget(Entity targetEntity, SpawnData @event, bool isPost)

Parameters

targetEntity Entity

The target entity.

event SpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.