프로퍼티 | 타입 | 설명 | |
---|---|---|---|
NUM_QUEST_IDS | int |
메소드 | 설명 | |
---|---|---|
addQuestState ( QuestID id, QuestState state ) : void |
Adds the given state(s) to the quest with the given ID (keeping any old states)
|
|
getQuestState ( QuestID id ) : QuestState |
Returns the state(s) of the given quests. Check what states are active using bitwise operations (&).
|
|
getQuestStateSave ( ) : QuestState[] |
Used for saving purposes only
|
|
isQuestAccepted ( QuestID id ) : bool | ||
isQuestAvailable ( QuestID id ) : bool | ||
isQuestComplete ( QuestID id ) : bool | ||
isQuestStateActive ( QuestID id, QuestState state ) : bool |
Checks a given quest for the given quest state(s)
|
|
isQuestStateInactive ( QuestID id, QuestState state ) : bool |
Checks a given quest for whether the given state(s) is switched off
|
|
loadQuestStateSave ( QuestState loadableTriggers ) : void |
Used for loading in quest states when restoring a saved game
|
|
overwriteQuestState ( QuestID id, QuestState state ) : void |
Sets the quest with the given ID to a given state (overwrites any old states!)
|
|
removeQuestState ( QuestID id, QuestState state ) : void |
Removes the given state(s) from the quest with the given ID (keeping other states)
|
|
setQuestAccepted ( QuestID id ) : void | ||
setQuestAvailable ( QuestID id ) : void | ||
setQuestComplete ( QuestID id ) : void |
메소드 | 설명 | |
---|---|---|
nullCheck ( ) : void | ||
pushEvent ( |
public static addQuestState ( QuestID id, QuestState state ) : void | ||
id | QuestID | The particular quest |
state | QuestState | The state(s) to add |
리턴 | void |
public static getQuestState ( QuestID id ) : QuestState | ||
id | QuestID | The particular quest |
리턴 | QuestState |
public static isQuestAvailable ( QuestID id ) : bool | ||
id | QuestID | |
리턴 | bool |
public static isQuestStateActive ( QuestID id, QuestState state ) : bool | ||
id | QuestID | The particular quest |
state | QuestState | The quest state(s) to check |
리턴 | bool |
public static isQuestStateInactive ( QuestID id, QuestState state ) : bool | ||
id | QuestID | The particular quest |
state | QuestState | The quest state(s) to check |
리턴 | bool |
public static loadQuestStateSave ( QuestState loadableTriggers ) : void | ||
loadableTriggers | QuestState | A QuestState[] representation of the states to load |
리턴 | void |
public static overwriteQuestState ( QuestID id, QuestState state ) : void | ||
id | QuestID | The particular quest |
state | QuestState | The new state(s) of the quest |
리턴 | void |
public static removeQuestState ( QuestID id, QuestState state ) : void | ||
id | QuestID | The particular quest |
state | QuestState | The state(s) to remove |
리턴 | void |
public static setQuestAccepted ( QuestID id ) : void | ||
id | QuestID | |
리턴 | void |
public static setQuestAvailable ( QuestID id ) : void | ||
id | QuestID | |
리턴 | void |
public static setQuestComplete ( QuestID id ) : void | ||
id | QuestID | |
리턴 | void |