Table of Contents

Class DownedProcessor

Namespace
RisingV.Core.Processors
Assembly
RisingV.Core.DeathEngine.dll

Processor for routing downed events for the entity types involved.

public class DownedProcessor : TargetEntityProcessor<DownedEvent>, IProcessor<DownedEvent, bool?>, IProcessor, IManageable<ProcessorManager>, IManageable
Inheritance
ProcessorBase<DownedEvent, bool?>
DefaultProcessor<DownedEvent>
DownedProcessor
Implements
IProcessor<DownedEvent, bool?>
Inherited Members
Extension Methods

Properties

Log

protected override Logger Log { get; }

Property Value

Logger

Methods

CanProcess(DownedEvent, bool)

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

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

Parameters

event DownedEvent

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.

GetDamageDealerData(DownedEvent, Entity)

Gets the damage dealer data for the target entity involved in the downed event.

protected virtual List<EntityDamageEntry> GetDamageDealerData(DownedEvent @event, Entity target)

Parameters

event DownedEvent

The downed event containing the target entity.

target Entity

The target entity that was downed.

Returns

List<EntityDamageEntry>

A list of damage dealer entries associated with the target entity.

GetTargetEntity(DownedEvent)

protected override Entity GetTargetEntity(DownedEvent @event)

Parameters

event DownedEvent

Returns

Entity

OnAnyTarget(Entity, DownedEvent, bool)

Called for any target entity when an event occurs.

protected override void OnAnyTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

OnBossTarget(Entity, DownedEvent, bool)

Called for boss target entities when an event occurs.

protected override bool OnBossTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnGatherableTarget(Entity, DownedEvent, bool)

Called for gatherable target entities when an event occurs.

protected override bool OnGatherableTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnMinionTarget(Entity, DownedEvent, bool)

Called for minion target entities when an event occurs.

protected override bool OnMinionTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnPlayerTarget(Entity, DownedEvent, bool)

Called for player target entities when an event occurs.

protected override bool OnPlayerTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.

OnUnitTarget(Entity, DownedEvent, bool)

Called for unit target entities when an event occurs.

protected override bool OnUnitTarget(Entity targetEntity, DownedEvent downedEvent, bool isPost)

Parameters

targetEntity Entity

The target entity.

downedEvent DownedEvent
isPost bool

Indicates if the event is post-processing.

Returns

bool

True if the event was handled, otherwise false.