Table of Contents

Class BanProcessor

Namespace
RisingV.Core.Processors
Assembly
RisingV.Core.AdminEngine.dll

Abstract class for processing ban status of players. Inherit to implement specific ban logic.

public abstract class BanProcessor : DefaultProcessor<ulong>, IProcessor<ulong, bool?>, IProcessor, IManageable<ProcessorManager>, IManageable
Inheritance
BanProcessor
Implements
Inherited Members
Extension Methods

Methods

CanProcess(ulong, bool)

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

public override bool CanProcess(ulong steamId, bool isPost)

Parameters

steamId ulong
isPost bool

Indicates whether the event is a post-processing event.

Returns

bool

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

IsBanned(PlayerAspect)

protected abstract bool? IsBanned(PlayerAspect player)

Parameters

player PlayerAspect

Returns

bool?

PostProcess(ulong, out bool?)

Processes the ban status of a player based on their Steam ID.

public override ProcessToken PostProcess(ulong steamId, out bool? result)

Parameters

steamId ulong

Steam ID of the player.

result bool?

Output parameter to hold the result of the ban check.

Returns

ProcessToken

Token indicating the result of the processing.