Abstract base class for quest subassets (ScriptableObjects) such as QuestCondition, QuestAction, and QuestContent. More...
Public Member Functions | |
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. | |
Static Public Member Functions | |
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 | |
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 | |
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 subassets (ScriptableObjects) such as QuestCondition, QuestAction, and QuestContent.
Adds references to a Quest and QuestNode, and handles serialization and instance management.
|
inlinevirtual |
Records the static tags used in this asset's text content into the quest's staticTags property.
Reimplemented in PixelCrushers.QuestMachine.MessageQuestAction, PixelCrushers.QuestMachine.MessageQuestCondition, and PixelCrushers.QuestMachine.QuestContent.
|
inlineprotectedvirtual |
Adds any tags in the string to the tags dictionary.
s |
|
inlineprotectedvirtual |
Adds any tags in the StringField to the tags dictionary.
stringField |
|
inlinestatic |
Returns a deep copy of a QuestSubasset list.
T | : | QuestSubasset |
|
inlinevirtual |
Allows subclasses to deep copy their own subassets by instantiating copies.
copy | The copy to instantiate subasset copies into. Assumes the copy has already been instantiated and contains an accurate copy of everything except subassets. |
Reimplemented in PixelCrushers.QuestMachine.AlertQuestAction, and PixelCrushers.QuestMachine.ButtonQuestContent.
|
inlinestatic |
T | : | QuestSubasset |
|
inlinevirtual |
Allows subclasses to destroy their subassets, usually when a runtime instance of a quest is being destroyed.
Reimplemented in PixelCrushers.QuestMachine.AlertQuestAction.
|
inlinevirtual |
Overide to return any audio clips that this content references.
Reimplemented in PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.AudioQuestAction, and PixelCrushers.QuestMachine.AudioClipQuestContent.
|
inlinevirtual |
Returns the name to show in the editor for this subasset.
Reimplemented in PixelCrushers.QuestMachine.ArticyQuestAction, PixelCrushers.QuestMachine.ArticyQuestCondition, PixelCrushers.QuestMachine.ArticyLocalizedQuestContent, PixelCrushers.QuestMachine.AddInventoryEngineItemQuestAction, PixelCrushers.QuestMachine.InventoryEngineHasItemsQuestCondition, 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.InventoryEngineHasItemsQuestCondition, PixelCrushers.QuestMachine.InventoryProCurrencyQuestAction, PixelCrushers.QuestMachine.InventoryProItemQuestAction, PixelCrushers.QuestMachine.InventoryProStatQuestAction, PixelCrushers.QuestMachine.InventoryProXPQuestAction, PixelCrushers.QuestMachine.InventoryProCurrencyQuestCondition, PixelCrushers.QuestMachine.InventoryProItemQuestCondition, PixelCrushers.QuestMachine.InventoryProStatQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKCurrencyQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKEventQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKGiveExpQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKItemQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKSetVariableQuestAction, PixelCrushers.QuestMachine.ORKSupport.ORKHasCurrencyQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKHasFactionSympathyQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKHasItemQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKLevelQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKVariableQuestCondition, PixelCrushers.QuestMachine.ORKSupport.ORKIconQuestContent, PixelCrushers.QuestMachine.OpsiveUCCSupport.AddUCCItemQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.SetUCCAttributeQuestAction, PixelCrushers.QuestMachine.OpsiveUCCSupport.UCCAttributeQuestCondition, PixelCrushers.QuestMachine.OpsiveUCCSupport.UCCItemCountQuestCondition, PixelCrushers.QuestMachine.uMMORPGAddExpQuestAction, PixelCrushers.QuestMachine.uMMORPGAddGoldQuestAction, PixelCrushers.QuestMachine.uMMORPGAddItemQuestAction, PixelCrushers.QuestMachine.uMMORPGAddSkillExpQuestAction, PixelCrushers.QuestMachine.uMMORPGSetSkillLevelQuestAction, PixelCrushers.QuestMachine.uMMORPGCanLearnSkillQuestCondition, PixelCrushers.QuestMachine.uMMORPGClassQuestCondition, PixelCrushers.QuestMachine.uMMORPGItemAmountQuestCondition, PixelCrushers.QuestMachine.uMMORPGLevelQuestCondition, PixelCrushers.QuestMachine.uMMORPGSkillLevelQuestCondition, PixelCrushers.QuestMachine.uSurvivalAddItemQuestAction, PixelCrushers.QuestMachine.uSurvivalModifyStatQuestAction, PixelCrushers.QuestMachine.uSurvivalHasItemsQuestCondition, PixelCrushers.QuestMachine.Demo.DemoItemCountQuestCondition, 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, PixelCrushers.QuestMachine.UnityEventQuestAction, PixelCrushers.QuestMachine.CounterQuestCondition, PixelCrushers.QuestMachine.MessageQuestCondition, PixelCrushers.QuestMachine.ParentQuestCondition, PixelCrushers.QuestMachine.QuestNodeStateQuestCondition, PixelCrushers.QuestMachine.QuestStateQuestCondition, PixelCrushers.QuestMachine.TimerQuestCondition, PixelCrushers.QuestMachine.AudioClipQuestContent, PixelCrushers.QuestMachine.BodyTextQuestContent, PixelCrushers.QuestMachine.ButtonQuestContent, PixelCrushers.QuestMachine.HeadingTextQuestContent, PixelCrushers.QuestMachine.IconQuestContent, and PixelCrushers.QuestMachine.LinkQuestContent.
|
inlinevirtual |
Override to return any images that this content references.
Reimplemented in PixelCrushers.QuestMachine.AlertQuestAction.
|
inlinevirtual |
Applies saved information from a proxy object.
The base method doesn't do anything, but subclasses may need to.
Implements PixelCrushers.QuestMachine.IProxySerializationCallbackReceiver.
Reimplemented in PixelCrushers.QuestMachine.SetDMMapIconQuestAction, PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.AudioQuestAction, PixelCrushers.QuestMachine.AudioClipQuestContent, PixelCrushers.QuestMachine.ButtonQuestContent, and PixelCrushers.QuestMachine.IconQuestContent.
|
inlinevirtual |
Allows a subasset to save information in a serializable format prior to being serialized to a proxy object for saving.
The base method doesn't do anything, but subclasses may need to.
Implements PixelCrushers.QuestMachine.IProxySerializationCallbackReceiver.
Reimplemented in PixelCrushers.QuestMachine.SetDMMapIconQuestAction, PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.AudioQuestAction, PixelCrushers.QuestMachine.AudioClipQuestContent, PixelCrushers.QuestMachine.ButtonQuestContent, and PixelCrushers.QuestMachine.IconQuestContent.
|
inlinevirtual |
Sets quest references, as some subassets might need to refer to their containing quest and/or quest node.
Reimplemented in PixelCrushers.QuestMachine.AlertQuestAction, PixelCrushers.QuestMachine.QuestCondition, and PixelCrushers.QuestMachine.ButtonQuestContent.
|
getprotected set |
(Runtime) The quest that this condition belongs to.
|
getprotected set |
(Runtime) The quest node that this condition belongs to.
|
getprotected |
(Runtime) The quest's tag dictionary.