Table of Contents

Class AdminAuthProcessor

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

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

public abstract class AdminAuthProcessor : DefaultProcessor<ulong>, IProcessor<ulong, bool?>, IProcessor, IManageable<ProcessorManager>, IManageable
Inheritance
AdminAuthProcessor
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.

IsAdmin(PlayerAspect)

protected abstract bool? IsAdmin(PlayerAspect player)

Parameters

player PlayerAspect

Returns

bool?

PostProcess(ulong, out bool?)

Processes the admin 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 admin check.

Returns

ProcessToken

A ProcessToken indicating the processing status.