Table of Contents

Class ScriptDespawnProcessor

Namespace
RisingV.Core.Processors
Assembly
RisingV.Core.SpawnEngine.dll
public class ScriptDespawnProcessor : TargetEntityProcessor<ScriptSpawnData>, IProcessor<ScriptSpawnData, bool?>, IProcessor, IManageable<ProcessorManager>, IManageable
Inheritance
ScriptDespawnProcessor
Implements
Inherited Members
Extension Methods

Properties

Log

protected override Logger Log { get; }

Property Value

Logger

Methods

CanProcess(ScriptSpawnData, bool)

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

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

Parameters

event ScriptSpawnData

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(ScriptSpawnData)

protected override Entity GetTargetEntity(ScriptSpawnData @event)

Parameters

event ScriptSpawnData

Returns

Entity

OnAnyTarget(Entity, ScriptSpawnData, bool)

Called for any target entity when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

The event containing the source entity.

isPost bool

Indicates if the event is post-processing.

OnBossTarget(Entity, ScriptSpawnData, bool)

Called for boss target entities when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

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, ScriptSpawnData, bool)

Called for gatherable target entities when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

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, ScriptSpawnData, bool)

Called for minion target entities when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

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, ScriptSpawnData, bool)

Called for player target entities when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

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, ScriptSpawnData, bool)

Called for unit target entities when an event occurs.

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

Parameters

targetEntity Entity

The target entity.

event ScriptSpawnData

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.