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
Methods
TryResolve(ParsingEventBuffer, out Type?)
Tries to resolve a mapping into a specific Type.
bool TryResolve(ParsingEventBuffer buffer, out Type? suggestedType)
Parameters
buffer
ParsingEventBufferThe ParsingEventBuffer parser buffer.
suggestedType
TypeThe Type to resolve the mapping key.