Abstract base class for quest actions, which are executed when quests or quest nodes become active. More...
Inherits PixelCrushers.QuestMachine.QuestSubasset.
Inherited by PixelCrushers.QuestMachine.ActivateGameObjectQuestAction, PixelCrushers.QuestMachine.AddInventoryEngineItemQuestAction, PixelCrushers.QuestMachine.AddInventoryEngineItemQuestAction, PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.AnimatorQuestAction, PixelCrushers.QuestMachine.ArticyQuestAction, PixelCrushers.QuestMachine.AudioQuestAction, PixelCrushers.QuestMachine.CompassProPOIQuestAction, PixelCrushers.QuestMachine.ControlSpawnerQuestAction, PixelCrushers.QuestMachine.Demo.DemoUpdateItemCounterQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIDamageQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIEmoteQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIFollowQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIKillQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetBehaviorQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetConfidenceQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetDestinationQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetFactionRelation, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetItemQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetWanderQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetWeaponQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIUpdateTargetTagsQuestAction, PixelCrushers.QuestMachine.GiveQuestToQuesterQuestAction, PixelCrushers.QuestMachine.InstantiatePrefabQuestAction, PixelCrushers.QuestMachine.InventoryProCurrencyQuestAction, PixelCrushers.QuestMachine.InventoryProItemQuestAction, PixelCrushers.QuestMachine.InventoryProStatQuestAction, PixelCrushers.QuestMachine.InventoryProXPQuestAction, PixelCrushers.QuestMachine.MessageQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKCombatantQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKEventQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKSetVariableQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.AddUCCItemQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.SetUCCAttributeQuestAction, PixelCrushers.QuestMachine.SceneEventQuestAction, PixelCrushers.QuestMachine.SetCounterValueQuestAction, PixelCrushers.QuestMachine.SetDMMapIconQuestAction, PixelCrushers.QuestMachine.SetIndicatorQuestAction, PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction, PixelCrushers.QuestMachine.SetQuestStateQuestAction, PixelCrushers.QuestMachine.SetTrackingQuestAction, PixelCrushers.QuestMachine.UnityEventQuestAction, PixelCrushers.QuestMachine.uMMORPGAddExpQuestAction, PixelCrushers.QuestMachine.uMMORPGAddGoldQuestAction, PixelCrushers.QuestMachine.uMMORPGAddItemQuestAction, PixelCrushers.QuestMachine.uMMORPGAddSkillExpQuestAction, PixelCrushers.QuestMachine.uMMORPGSetSkillLevelQuestAction, PixelCrushers.QuestMachine.uSurvivalAddItemQuestAction, and PixelCrushers.QuestMachine.uSurvivalModifyStatQuestAction.
Public Member Functions | |
virtual void | Execute () |
Performs the quest action. | |
Public Member Functions inherited from PixelCrushers.QuestMachine.QuestSubasset | |
virtual string | GetEditorName () |
Returns the name to show in the editor for this subasset. | |
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. | |
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. | |
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. | |
Abstract base class for quest actions, which are executed when quests or quest nodes become active.
|
inlinevirtual |
Performs the quest action.
Reimplemented in PixelCrushers.QuestMachine.ArticyQuestAction, PixelCrushers.QuestMachine.AddInventoryEngineItemQuestAction, PixelCrushers.QuestMachine.CompassProPOIQuestAction, PixelCrushers.QuestMachine.SetDMMapIconQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIDamageQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIEmoteQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIFollowQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIKillQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetBehaviorQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetConfidenceQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetDestinationQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetFactionRelation, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetItemQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetWanderQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAISetWeaponQuestAction, PixelCrushers.QuestMachine.EmeraldAISupport.EmeraldAIUpdateTargetTagsQuestAction, PixelCrushers.QuestMachine.AddInventoryEngineItemQuestAction, PixelCrushers.QuestMachine.InventoryProCurrencyQuestAction, PixelCrushers.QuestMachine.InventoryProItemQuestAction, PixelCrushers.QuestMachine.InventoryProStatQuestAction, PixelCrushers.QuestMachine.InventoryProXPQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKCurrencyQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKEventQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKGiveExpQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKItemQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKSetVariableQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.AddUCCItemQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.SetUCCAttributeQuestAction, PixelCrushers.QuestMachine.uMMORPGAddExpQuestAction, PixelCrushers.QuestMachine.uMMORPGAddGoldQuestAction, PixelCrushers.QuestMachine.uMMORPGAddItemQuestAction, PixelCrushers.QuestMachine.uMMORPGAddSkillExpQuestAction, PixelCrushers.QuestMachine.uMMORPGSetSkillLevelQuestAction, PixelCrushers.QuestMachine.uSurvivalAddItemQuestAction, PixelCrushers.QuestMachine.uSurvivalModifyStatQuestAction, PixelCrushers.QuestMachine.Demo.DemoUpdateItemCounterQuestAction, PixelCrushers.QuestMachine.ActivateGameObjectQuestAction, PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.AnimatorQuestAction, PixelCrushers.QuestMachine.AudioQuestAction, PixelCrushers.QuestMachine.ControlSpawnerQuestAction, PixelCrushers.QuestMachine.GiveQuestToQuesterQuestAction, PixelCrushers.QuestMachine.InstantiatePrefabQuestAction, PixelCrushers.QuestMachine.MessageQuestAction, PixelCrushers.QuestMachine.SceneEventQuestAction, PixelCrushers.QuestMachine.SetCounterValueQuestAction, PixelCrushers.QuestMachine.SetIndicatorQuestAction, PixelCrushers.QuestMachine.SetQuestNodeStateQuestAction, PixelCrushers.QuestMachine.SetQuestStateQuestAction, PixelCrushers.QuestMachine.SetTrackingQuestAction, and PixelCrushers.QuestMachine.UnityEventQuestAction.