Table of Contents

Interface ITypeDiscriminator

Namespace
Exiled.CustomRoles.API.Features.Interfaces
Assembly
Exiled.CustomRoles.dll

A Type discriminator.

public interface ITypeDiscriminator
Extension Methods

Properties

BaseType

Gets the base Type.

Type BaseType { get; }

Property Value

Type

Methods

TryResolve(ParsingEventBuffer, out Type?)

Tries to resolve a mapping into a specific Type.

bool TryResolve(ParsingEventBuffer buffer, out Type? suggestedType)

Parameters

buffer ParsingEventBuffer

The ParsingEventBuffer parser buffer.

suggestedType Type

The Type to resolve the mapping key.

Returns

bool

true if resolution is successful; otherwise, false.