Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction Class Reference

Sets a quest node state. More...

Inheritance diagram for PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction:
Collaboration diagram for PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction:

Public Member Functions

override string GetEditorName ()
 Returns the name to show in the editor for this subasset.
 
override void Execute ()
 Performs the quest action.
 
- Public Member Functions inherited from PixelCrushers.QuestMachine.QuestSubasset
virtual void SetRuntimeReferences (Quest quest, QuestNode questNode)
 Sets quest references, as some subassets might need to refer to their containing quest and/or quest node.
 
virtual void AddTagsToDictionary ()
 Records the static tags used in this asset's text content into the quest's staticTags property.
 
virtual Sprite[] GetImages ()
 Override to return any images that this content references.
 
virtual AudioClip[] GetAudioClips ()
 Overide to return any audio clips that this content references.
 
virtual void OnBeforeProxySerialization ()
 Allows a subasset to save information in a serializable format prior to being serialized to a proxy object for saving.
 
virtual void OnAfterProxyDeserialization ()
 Applies saved information from a proxy object.
 
virtual void CloneSubassetsInto (QuestSubasset copy)
 Allows subclasses to deep copy their own subassets by instantiating copies.
 
virtual void DestroySubassets ()
 Allows subclasses to destroy their subassets, usually when a runtime instance of a quest is being destroyed.
 

Properties

Quest questToSet [get, set]
 Quest to set.
 
StringField questID [get, set]
 ID of quest.
 
StringField questNodeID [get, set]
 ID of quest node.
 
QuestNodeState state [get, set]
 
StringField questIDToSet [get]
 
- Properties inherited from PixelCrushers.QuestMachine.QuestSubasset
Quest quest [get, protected set]
 (Runtime) The quest that this condition belongs to.
 
QuestNode questNode [get, protected set]
 (Runtime) The quest node that this condition belongs to.
 
TagDictionary tagDictionary [get]
 (Runtime) The quest's tag dictionary.
 

Additional Inherited Members

- Static Public Member Functions inherited from PixelCrushers.QuestMachine.QuestSubasset
static List< T > CloneList< T > (List< T > original, Quest quest=null)
 Returns a deep copy of a QuestSubasset list.
 
static void DestroyList< T > (List< T > list)
 
- Protected Member Functions inherited from PixelCrushers.QuestMachine.QuestSubasset
virtual void AddTagsToDictionary (StringField stringField)
 Adds any tags in the StringField to the tags dictionary.
 
virtual void AddTagsToDictionary (string s)
 Adds any tags in the string to the tags dictionary.
 

Detailed Description

Sets a quest node state.

Member Function Documentation

◆ Execute()

override void PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.Execute ( )
inlinevirtual

Performs the quest action.

Reimplemented from PixelCrushers.QuestMachine.QuestAction.

◆ GetEditorName()

override string PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.GetEditorName ( )
inlinevirtual

Returns the name to show in the editor for this subasset.

Reimplemented from PixelCrushers.QuestMachine.QuestSubasset.

Property Documentation

◆ questID

StringField PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.questID
getset

ID of quest.

Used if Quest To Set is unassigned. Leave both blank to set this quest's state.

◆ questIDToSet

StringField PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.questIDToSet
get

◆ questNodeID

StringField PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.questNodeID
getset

ID of quest node.

Leave blank to set this quest node's state.

◆ questToSet

Quest PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.questToSet
getset

Quest to set.

If assigned, this takes priority over Quest ID. If neither is set, uses this quest.

◆ state

QuestNodeState PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction.state
getset

The documentation for this class was generated from the following file: