Class ParserExtension
- Namespace
- Exiled.CustomRoles.API.Features.Extensions
- Assembly
- Exiled.CustomRoles.dll
Extensions for ParsingEventBuffer.
public static class ParserExtension
- Inheritance
-
ParserExtension
- Inherited Members
Methods
TryFindMappingEntry(ParsingEventBuffer, Func<Scalar, bool>, out Scalar?, out ParsingEvent?)
Tries to find a valid mapping entry.
public static bool TryFindMappingEntry(this ParsingEventBuffer parser, Func<Scalar, bool> selector, out Scalar? key, out ParsingEvent? value)
Parameters
parser
ParsingEventBufferThe ParsingEventBuffer parser.
selector
Func<Scalar, bool>The selector.
key
ScalarThe key found.
value
ParsingEventThe value found.