Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.QuestContent Class Referenceabstract

Abstract base class for UI content. More...

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

Public Member Functions

override void AddTagsToDictionary ()
 Records the static tags used in this asset's text content into the quest's staticTags property.
 
virtual void SetDefaultTextTable (TextTable textTable)
 
- 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 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 void SetRuntimeReferences (List< QuestContent > contentList, Quest quest, QuestNode questNode)
 
- 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)
 

Properties

int contentID [get, set]
 
virtual StringField originalText [get, set]
 
virtual string runtimeText [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

- 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

Abstract base class for UI content.

Member Function Documentation

◆ AddTagsToDictionary()

override void PixelCrushers.QuestMachine.QuestContent.AddTagsToDictionary ( )
inlinevirtual

Records the static tags used in this asset's text content into the quest's staticTags property.

Reimplemented from PixelCrushers.QuestMachine.QuestSubasset.

◆ SetDefaultTextTable()

virtual void PixelCrushers.QuestMachine.QuestContent.SetDefaultTextTable ( TextTable  textTable)
inlinevirtual

◆ SetRuntimeReferences()

static void PixelCrushers.QuestMachine.QuestContent.SetRuntimeReferences ( List< QuestContent contentList,
Quest  quest,
QuestNode  questNode 
)
inlinestatic

Property Documentation

◆ contentID

int PixelCrushers.QuestMachine.QuestContent.contentID
getset

◆ originalText

virtual StringField PixelCrushers.QuestMachine.QuestContent.originalText
getset

◆ runtimeText

virtual string PixelCrushers.QuestMachine.QuestContent.runtimeText
get

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