PowerQuest 0.19.0
Loading...
Searching...
No Matches
SystemParser Class Reference

Inherits Singleton< SystemParser >, and IParser.

Classes

class  WordGroup
 

Properties

bool ParserReady [get]
 
WordGroup[] EditorWords [get, set]
 
WordGroup EditorIgnoredWords [get, set]
 
string Text [get]
 
bool HasUnknownWord [get]
 
string UnknownWord [get]
 
bool HasWildcard [get]
 
string WildcardWord [get]
 
bool HasTarget [get]
 
IQuestClickable Target [get]
 
List< string > UnhandledPhrases [get]
 
- Properties inherited from IParser

Public Member Functions

void OnParserHandled ()
 
void ParseText (string input, bool runParserScripts=true)
 
void RunParserScripts ()
 
bool Said (string query)
 
bool Said (string query, IQuestClickableInterface target)
 
void OnUnhandledEvent ()
 Call this if a line was not handled, it will copy the line to clipboard for pasting into your script if you want to add it, and save out a list of what people typed too.
 
string SaidUnknownWord ()
 
string SaidAnyword ()
 
void InitDictionaries ()
 

Property Documentation

◆ Text

string Text
get

Implements IParser.

◆ HasUnknownWord

bool HasUnknownWord
get

Implements IParser.

◆ UnknownWord

string UnknownWord
get

Implements IParser.

◆ HasWildcard

bool HasWildcard
get

Implements IParser.

◆ WildcardWord

string WildcardWord
get

Implements IParser.

◆ HasTarget

bool HasTarget
get

Implements IParser.

◆ Target

IQuestClickable Target
get

Implements IParser.

Member Function Documentation

◆ ParseText()

void ParseText ( string input,
bool runParserScripts = true )
inline

Implements IParser.

◆ RunParserScripts()

void RunParserScripts ( )
inline

Implements IParser.

◆ Said() [1/2]

bool Said ( string query)
inline

Implements IParser.

◆ Said() [2/2]

bool Said ( string query,
IQuestClickableInterface target )
inline

Implements IParser.

◆ OnUnhandledEvent()

void OnUnhandledEvent ( )
inline

Call this if a line was not handled, it will copy the line to clipboard for pasting into your script if you want to add it, and save out a list of what people typed too.

Implements IParser.