Describes the events available for reading an SMC stream.
More...
#include <public/ITextParsers.h>
Describes the events available for reading an SMC stream.
virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_KeyValue |
( |
const SMCStates * |
states, |
|
|
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
|
inlinevirtual |
Called when encountering a key/value pair in a section.
- Parameters
-
states | Parsing states. |
key | Key string. |
value | Value string. If no quotes were specified, this will be NULL, and key will contain the entire string. |
- Returns
- SMCResult directive.
virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_LeavingSection |
( |
const SMCStates * |
states | ) |
|
|
inlinevirtual |
Called when leaving the current section.
- Parameters
-
- Returns
- SMCResult directive.
virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_NewSection |
( |
const SMCStates * |
states, |
|
|
const char * |
name |
|
) |
| |
|
inlinevirtual |
Called when entering a new section.
- Parameters
-
states | Parsing states. |
name | Name of section, with the colon omitted. |
- Returns
- SMCResult directive.
virtual void SourceMod::ITextListener_SMC::ReadSMC_ParseEnd |
( |
bool |
halted, |
|
|
bool |
failed |
|
) |
| |
|
inlinevirtual |
Called when ending parsing.
- Parameters
-
halted | True if abnormally halted, false otherwise. |
failed | True if parsing failed, false otherwise. |
virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_RawLine |
( |
const SMCStates * |
states, |
|
|
const char * |
line |
|
) |
| |
|
inlinevirtual |
Called after an input line has been preprocessed.
- Parameters
-
states | Parsing states. |
line | Contents of the line, null terminated at the position of the newline character (thus, no newline will exist). |
- Returns
- SMCResult directive.
The documentation for this class was generated from the following file: