Information about a specific quest state (Inactive, Active, etc.). More...
Public Member Functions | |
QuestStateInfo () | |
Constructs a new QuestStateInfo instance with empty lists for each content category. | |
void | SetRuntimeReferences (Quest quest, QuestNode questNode) |
bool | HasContent (QuestContentCategory category) |
Checks if the quest state has any UI content for a specified category. | |
List< QuestContent > | GetContentList (QuestContentCategory category) |
Gets the UI content for a specified category. | |
void | CloneSubassetsInto (QuestStateInfo copy, Quest quest=null) |
void | DestroySubassets () |
Static Public Member Functions | |
static int | GetNumQuestStates () |
static int | GetNumQuestNodeStates () |
static QuestStateInfo | GetStateInfo (List< QuestStateInfo > stateInfoList, QuestState questState) |
static QuestStateInfo | GetStateInfo (List< QuestStateInfo > stateInfoList, QuestNodeState questNodeState) |
static void | ValidateStateInfoListCount (List< QuestStateInfo > stateInfoList, int numStates=-1) |
static void | ValidateCategorizedContentListCount (List< QuestContentSet > categorizedContentList, int numStates=-1) |
static void | CloneSubassets (List< QuestStateInfo > original, List< QuestStateInfo > copy, Quest quest=null) |
static void | DestroyListSubassets (List< QuestStateInfo > list) |
Static Public Attributes | |
static int | NumContentCategories = Enum.GetNames(typeof(QuestContentCategory)).Length - 3 |
Properties | |
List< QuestAction > | actionList [get, set] |
Run these actions when this state becomes active. | |
List< QuestContentSet > | categorizedContentList [get, set] |
Contents for each UI category (dialogue, journal, etc.). | |
Information about a specific quest state (Inactive, Active, etc.).
|
inline |
Constructs a new QuestStateInfo instance with empty lists for each content category.
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Gets the UI content for a specified category.
category | The content category for which to get content. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Checks if the quest state has any UI content for a specified category.
category | The content category to check. |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
static |
|
getset |
Run these actions when this state becomes active.
|
getset |
Contents for each UI category (dialogue, journal, etc.).
This list is indexed by the int value of the QuestContentCategory enum, such as stateInfoList[(int)QuestContentCategory.Dialogue]
.