References a literal value or quest counter value. More...
Public Types | |
enum | ValueType { Literal , CounterValue , CounterMinValue , CounterMaxValue } |
Public Member Functions | |
int | GetValue (Quest quest) |
Returns the current value of this quest number. | |
QuestNumber () | |
QuestNumber (int literalValue) | |
Creates a quest number corresponding to a literal integer value. | |
QuestNumber (Quest quest, string counterName) | |
Creates a quest number corresponding to the current counter value of a quest counter. | |
QuestNumber (Quest quest, StringField counterName, ValueType valueType) | |
Creates a quest number corresponding to a specified type of value of a quest counter. | |
string | GetEditorName (Quest quest) |
Properties | |
ValueType | valueType [get, set] |
The source of this number's value. | |
int | literalValue [get, set] |
Literal value. | |
int | counterIndex [get, set] |
A counter defined in the quest. | |
References a literal value or quest counter value.
|
inline |
|
inline |
Creates a quest number corresponding to a literal integer value.
literalValue |
|
inline |
Creates a quest number corresponding to the current counter value of a quest counter.
quest | Quest containing the counter. |
counterName | Name of the counter. |
|
inline |
Creates a quest number corresponding to a specified type of value of a quest counter.
quest | Quest containing the counter. |
counterName | Name of the counter. |
valueType | The value type (current, min, or max). |
|
inline |
|
inline |
Returns the current value of this quest number.
quest | The quest to which this quest number pertains. |
|
getset |
A counter defined in the quest.
|
getset |
Literal value.
|
getset |
The source of this number's value.