Crossfire Server, Trunk
|
Public Member Functions | |
def | __init__ (self, character, speaker, location) |
def | addRule (self, rule, index) |
def | getNPCStatus (self, key) |
def | getStatus (self, key) |
def | isAnswer (self, msg, keywords) |
def | keyName (self) |
def | matchConditions (self, rule) |
def | setConditions (self, rule) |
def | setNPCStatus (self, key, value) |
def | setStatus (self, key, value) |
def | speak (self, msg) |
def | uniqueKey (self) |
Private Attributes | |
__character | |
__location | |
__rules | |
__speaker | |
Definition at line 183 of file CFDialog.py.
def CFDialog.Dialog.__init__ | ( | self, | |
character, | |||
speaker, | |||
location | |||
) |
Definition at line 187 of file CFDialog.py.
def CFDialog.Dialog.addRule | ( | self, | |
rule, | |||
index | |||
) |
Definition at line 197 of file CFDialog.py.
References CFDialog.Dialog.__rules.
def CFDialog.Dialog.getNPCStatus | ( | self, | |
key | |||
) |
Definition at line 366 of file CFDialog.py.
References CFDialog.Dialog.__character, CFDialog.Dialog.__speaker, and CFDialog.Dialog.keyName().
def CFDialog.Dialog.getStatus | ( | self, | |
key | |||
) |
Definition at line 324 of file CFDialog.py.
References CFDialog.Dialog.__character, and CFDialog.Dialog.keyName().
def CFDialog.Dialog.isAnswer | ( | self, | |
msg, | |||
keywords | |||
) |
Definition at line 258 of file CFDialog.py.
Referenced by CFDialog.Dialog.speak().
def CFDialog.Dialog.keyName | ( | self | ) |
Definition at line 316 of file CFDialog.py.
References CFDialog.Dialog.__location.
Referenced by CFDialog.Dialog.getNPCStatus(), CFDialog.Dialog.getStatus(), CFDialog.Dialog.setNPCStatus(), CFDialog.Dialog.setStatus(), and CFDialog.Dialog.speak().
def CFDialog.Dialog.matchConditions | ( | self, | |
rule | |||
) |
Definition at line 268 of file CFDialog.py.
References CFDialog.Dialog.__character, CFDialog.Dialog.__location, CFDialog.Dialog.__speaker, CFBank.open(), and make_face_from_files.str.
Referenced by CFDialog.Dialog.speak().
def CFDialog.Dialog.setConditions | ( | self, | |
rule | |||
) |
Definition at line 298 of file CFDialog.py.
References CFDialog.Dialog.__character, CFDialog.Dialog.__location, CFDialog.Dialog.__speaker, and CFBank.open().
Referenced by CFDialog.Dialog.speak().
def CFDialog.Dialog.setNPCStatus | ( | self, | |
key, | |||
value | |||
) |
Definition at line 382 of file CFDialog.py.
References CFDialog.Dialog.__character, CFDialog.Dialog.__speaker, and CFDialog.Dialog.keyName().
def CFDialog.Dialog.setStatus | ( | self, | |
key, | |||
value | |||
) |
Definition at line 339 of file CFDialog.py.
References CFDialog.Dialog.__character, and CFDialog.Dialog.keyName().
def CFDialog.Dialog.speak | ( | self, | |
msg | |||
) |
Definition at line 208 of file CFDialog.py.
References CFDialog.Dialog.__character, CFDialog.Dialog.__rules, CFDialog.Dialog.__speaker, make_face_from_files.int, CFDialog.Dialog.isAnswer(), CFDialog.Dialog.keyName(), CFDialog.Dialog.matchConditions(), CFDialog.Dialog.setConditions(), and CFDialog.Dialog.uniqueKey().
def CFDialog.Dialog.uniqueKey | ( | self | ) |
Definition at line 251 of file CFDialog.py.
References CFDialog.Dialog.__character, and CFDialog.Dialog.__location.
Referenced by CFDialog.Dialog.speak().
|
private |
Definition at line 188 of file CFDialog.py.
Referenced by CFDialog.Dialog.getNPCStatus(), CFDialog.Dialog.getStatus(), CFDialog.Dialog.matchConditions(), CFDialog.Dialog.setConditions(), CFDialog.Dialog.setNPCStatus(), CFDialog.Dialog.setStatus(), CFDialog.Dialog.speak(), and CFDialog.Dialog.uniqueKey().
|
private |
Definition at line 189 of file CFDialog.py.
Referenced by CFDialog.Dialog.keyName(), CFDialog.Dialog.matchConditions(), CFDialog.Dialog.setConditions(), and CFDialog.Dialog.uniqueKey().
|
private |
Definition at line 191 of file CFDialog.py.
Referenced by CFDialog.Dialog.addRule(), and CFDialog.Dialog.speak().
|
private |
Definition at line 190 of file CFDialog.py.
Referenced by CFDialog.Dialog.getNPCStatus(), CFDialog.Dialog.matchConditions(), CFDialog.Dialog.setConditions(), CFDialog.Dialog.setNPCStatus(), and CFDialog.Dialog.speak().