PixelCrushers.DialogueSystem.Wrappers.DialogueSystemTrigger Class Reference

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...

Inheritance diagram for PixelCrushers.DialogueSystem.Wrappers.DialogueSystemTrigger:
Collaboration diagram for PixelCrushers.DialogueSystem.Wrappers.DialogueSystemTrigger:

Additional Inherited Members

- Public Types inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
enum  BarkSource { None , Conversation , Text }
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
virtual void Awake ()
 
virtual void Start ()
 
void OnBarkStart (Transform actor)
 
void OnBarkEnd (Transform actor)
 
void OnConversationStart (Transform actor)
 
void OnConversationEnd (Transform actor)
 
void OnSequenceStart (Transform actor)
 
void OnSequenceEnd (Transform actor)
 
void OnSequenceEnd ()
 
void OnUse (Transform actor)
 
void OnUse (string message)
 
void OnUse ()
 
void OnTriggerEnter (Collider other)
 
void OnTriggerExit (Collider other)
 
void OnTriggerEnter2D (Collider2D other)
 
void OnTriggerExit2D (Collider2D other)
 
void OnCollisionEnter2D (Collision2D collision)
 
void OnCollisionExit2D (Collision2D collision)
 
void OnCollisionEnter (Collision collision)
 
void OnCollisionExit (Collision collision)
 
void OnEnable ()
 
void OnDisable ()
 
void OnLevelWillBeUnloaded ()
 
void OnApplicationQuit ()
 
void OnDestroy ()
 
void TryStart (Transform actor)
 
virtual void TryStart (Transform actor, Transform interactor)
 Sets the quest status if the condition is true.
 
virtual void Fire (Transform actor)
 
void ResetBarkHistory ()
 Resets the bark history to the beginning of the list of bark lines.
 
void OnRecordPersistentData ()
 Listens for the OnRecordPersistentData message and records the current bark index.
 
void OnApplyPersistentData ()
 Listens for the OnApplyPersistentData message and retrieves the current bark index.
 
- Public Attributes inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
DialogueSystemTriggerEvent trigger = DialogueSystemTriggerEvent.OnUse
 The trigger that this component listens for.
 
Condition condition
 The conditions under which the trigger will fire.
 
bool setQuestState = true
 If true, set the quest state.
 
string questName
 The name of the quest.
 
QuestState questState
 The new state of the quest when triggered.
 
bool setQuestEntryState = false
 If true, set the quest entry state.
 
int questEntryNumber = 1
 The quest entry number whose state to change.
 
QuestState questEntryState
 The new state of the quest entry when triggered.
 
bool setAnotherQuestEntryState = false
 
int anotherQuestEntryNumber = 1
 
QuestState anotherQuestEntryState
 
string luaCode = string.Empty
 The lua code to run.
 
string sequence = string.Empty
 
Transform sequenceSpeaker
 The speaker to use for the sequence (or null if no speaker is needed).
 
Transform sequenceListener
 The listener to use for the sequence (or null if no listener is needed).
 
bool waitOneFrameOnStartOrEnable = true
 
string alertMessage
 An optional gameplay alert message.
 
TextTable textTable
 An optional localized text table to use for the alert message.
 
float alertDuration = 0
 
SendMessageAction[] sendMessages = new SendMessageAction[0]
 Targets and messages to send when the trigger fires.
 
BarkSource barkSource = BarkSource.None
 
string barkConversation = string.Empty
 The title of the bark conversation.
 
int barkEntryID = -1
 Dialogue entry to bark.
 
string barkEntryTitle
 Bark entry with this Title.
 
string barkText = string.Empty
 Text to bark.
 
string barkTextSequence = string.Empty
 Optional sequence to play when barking text.
 
Transform barker
 The barker.
 
Transform barkTarget
 The target of the bark.
 
BarkOrder barkOrder = BarkOrder.Random
 Specifies the order to run through the list of barks.
 
bool allowBarksDuringConversations = false
 Are barks allowed during conversations?
 
bool skipBarkIfNoValidEntries
 Skip bark if no valid entries.
 
bool cacheBarkLines = false
 If ticked, bark info is cached during the first bark.
 
string conversation = string.Empty
 The title of the conversation to start.
 
Transform conversationConversant
 The conversant of the conversation.
 
Transform conversationActor
 The actor to converse with.
 
int startConversationEntryID = -1
 
string startConversationEntryTitle
 
GameObject overrideDialogueUI = null
 
bool exclusive = false
 Only start if no other conversation is active.
 
bool replace = false
 Stop other conversation if one is active.
 
bool queue = false
 If another conversation is active and simultaneous conversations aren't allowed, queue this conversation to start as soon as active one ends.
 
bool skipIfNoValidEntries = false
 If this is true and no valid entries currently link from the start entry, don't start the conversation.
 
bool preventRestartOnSameFrameEnded = false
 
bool stopConversationOnTriggerExit = false
 Set true to stop the conversation if the actor leaves the trigger area.
 
float marginToAllowTriggerExit = 0.2f
 
bool stopConversationIfTooFar = false
 
float maxConversationDistance = 5f
 
float monitorConversationDistanceFrequency = 1f
 
bool showCursorDuringConversation = false
 
bool pauseGameDuringConversation = false
 
SetGameObjectActiveAction[] setActiveActions = new SetGameObjectActiveAction[0]
 
SetComponentEnabledAction[] setEnabledActions = new SetComponentEnabledAction[0]
 
SetAnimatorStateAction[] setAnimatorStateActions = new SetAnimatorStateAction[0]
 
GameObjectUnityEvent onExecute = new GameObjectUnityEvent()
 
bool useConversationTitlePicker = true
 
bool useBarkTitlePicker = true
 
bool useQuestNamePicker = true
 
DialogueDatabase selectedDatabase = null
 
- Protected Member Functions inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
IEnumerator ShowCursorAfterOneFrame ()
 
void CheckOnTriggerExit (Transform otherTransform)
 
IEnumerator StartAtEndOfFrame ()
 
virtual void OnSaveDataApplied ()
 
virtual IEnumerator FireIfNoSaveDataApplied ()
 
virtual void DoQuestAction ()
 
virtual void DoLuaAction (Transform actor)
 
virtual void DoLuaAction ()
 
virtual void DoSequenceAction (Transform actor)
 
virtual void DoAlertAction ()
 
virtual void DoSendMessageActions ()
 
virtual void DoBarkAction (Transform actor)
 
virtual Transform GetBarker (string conversation)
 
virtual string GetBarkerName ()
 
virtual void BarkCachedLine (Transform speaker, Transform listener)
 
void PopulateCache (Transform speaker, Transform listener)
 
void BarkNextCachedLine (Transform speaker, Transform listener)
 
virtual void DoConversationAction (Transform actor)
 
virtual void StopActiveConversation ()
 
void StopMonitoringConversationDistance ()
 
IEnumerator MonitorDistance (Transform actor)
 
virtual void DoSetActiveActions (Transform actor)
 
virtual void DoSetEnabledActions (Transform actor)
 
virtual void DoSetAnimatorStateActions (Transform actor)
 
- Protected Attributes inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
BarkHistory barkHistory
 
ConversationState cachedState = null
 
BarkGroupMember barkGroupMember = null
 
IBarkUI barkUI = null
 
bool isConversationQueued = false
 
Transform queuedActor = null
 
float earliestTimeToAllowTriggerExit = 0
 
Coroutine monitorDistanceCoroutine = null
 
bool wasCursorVisible
 
CursorLockMode savedLockState
 
bool didIPause = false
 
float preConversationTimeScale = 1
 
int frameConversationEnded = -1
 
bool tryingToStart = false
 
bool hasSaveSystem
 
Coroutine fireIfNoSaveDataAppliedCoroutine = null
 
ActiveConversationRecord activeConversation
 
bool listenForOnDestroy = false
 
- Properties inherited from PixelCrushers.DialogueSystem.DialogueSystemTrigger
Sequencer sequencer [get, protected set]
 Gets the sequencer used by the current bark, if a bark is playing.
 
BarkHistory BarkHistory [get]
 

Detailed Description

This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.


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