Adventure Creator  1.68.4
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.EventManager Class Reference
Inheritance diagram for AC.EventManager:

Public Member Functions

delegate void Delegate_StartSpeech (AC.Char speakingCharacter, string speechText, int lineID)
 
delegate void Delegate_StopSpeech (AC.Char speakingCharacter)
 
delegate void Delegate_Speech (Speech speech)
 
delegate void Delegate_SpeechToken (AC.Char speakingCharacter, int lineID, string tokenKey, string tokenValue)
 
delegate void Delegate_SpeechTokenAlt (Speech speech, string tokenKey, string tokenValue)
 
delegate string Delegate_OnRequestSpeechTokenReplacement (Speech speech, string tokenKey, string tokenValue)
 
void Call_OnStartSpeech (Speech speech, AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnStartSpeech and OnStartSpeech_Alt events. More...
 
void Call_OnStopSpeech (Speech speech, AC.Char speakingCharacter)
 Triggers the OnStopSpeech and OnStopSpeech events. More...
 
void Call_OnStartSpeechScroll (Speech speech, AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnStartSpeechScroll and OnStartSpeechScroll_Alt events. More...
 
void Call_OnEndSpeechScroll (Speech speech, AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnEndSpeechScroll and OnEndSpeechSroll_Alt events. More...
 
void Call_OnCompleteSpeechScroll (Speech speech, AC.Char speakingCharacter, string speechText, int lineID)
 Triggers the OnCompleteSpeechScroll and OnCompleteSpeechScroll_Alt events. More...
 
void Call_OnSpeechToken (Speech speech, string tokenKey, string tokenValue)
 Triggers the OnSpeechToken event. More...
 
string Call_OnRequestSpeechTokenReplacement (Speech speech, string tokenKey, string tokenValue)
 Triggers the OnRequstSpeechTokenReplacement event. More...
 
delegate void Delegate_ChangeGameState (GameState gameState)
 
void Call_OnChangeGameState (GameState oldGameState)
 Triggers the OnEnterGameState and OnExitGameState events. More...
 
delegate void Delegate_Conversation (Conversation conversation)
 
delegate void Delegate_ConversationChoice (Conversation conversation, int optionID)
 
void Call_OnStartConversation (Conversation conversation)
 Triggers the OnStartConversation event. More...
 
void Call_OnClickConversation (Conversation conversation, int optionID)
 Triggers the OnClickConversation event. More...
 
delegate void Delegate_ChangeHotspot (Hotspot hotspot)
 
delegate void Delegate_InteractHotspot (Hotspot hotspot, AC.Button button)
 
delegate List< HotspotDelegate_HotspotCollection (DetectHotspots hotspotDetector, List< Hotspot > hotspots)
 
void Call_OnChangeHotspot (Hotspot hotspot, bool wasSelected)
 Triggers either the OnHotspotSelect or OnHotspotDeselect event. More...
 
void Call_OnInteractHotspot (Hotspot hotspot, AC.Button button)
 Triggers the OnHotspotInteract event. More...
 
void Call_OnDoubleClickHotspot (Hotspot hotspot)
 Triggers the OnDoubleClickHotspot event, regardless of the Hotspot's doubleClickingHotspot variable. More...
 
void Call_OnTurnHotspot (Hotspot hotspot, bool isOn)
 Triggers either the OnHotspotTurnOn or OnHotspotTurnOff event More...
 
void Call_OnHotspotStopMovingTo (Hotspot hotspot)
 Triggers the OnHotspotStopMovingTo event More...
 
List< HotspotCall_OnModifyHotspotDetectorCollection (DetectHotspots hotspotDetector, List< Hotspot > hotspots)
 Triggers the OnModifyHotspotDetectorCollection event More...
 
void Call_OnRegisterHotspot (Hotspot hotspot, bool wasRegistered)
 Triggers the OnRegisterHotspot or OnUnregisterHotspot event More...
 
delegate void Delegate_OnRunTrigger (AC_Trigger trigger, GameObject collidingObject)
 
void Call_OnRunTrigger (AC_Trigger trigger, GameObject collidingObject)
 Triggers the OnRunTrigger event. More...
 
delegate void Delegate_OnVariableChange (GVar variable)
 
void Call_OnVariableChange (GVar _variable)
 Triggers the OnVariableChange event. More...
 
void Call_OnDownloadVariable (GVar _variable)
 Triggers the OnDownloadVariable event. More...
 
void Call_OnUploadVariable (GVar _variable)
 Triggers the OnUploadVariable event. More...
 
delegate void Delegate_OnMenuElementClick (AC.Menu _menu, MenuElement _element, int _slot, int buttonPressed)
 
delegate void Delegate_OnMouseOverMenu (AC.Menu _menu, MenuElement _element, int _slot)
 
delegate void Delegate_OnMenuElementVisiblity (MenuElement _element)
 
delegate void Delegate_OnMenuElementShift (MenuElement _element, AC_ShiftInventory shiftType)
 
delegate void Delegate_OnMenuTurnOn (AC.Menu _menu, bool isInstant)
 
delegate void Delegate_OnUpdateDragLine (Vector2 startScreenPosition, Vector2 endScreenPosition)
 
delegate void Delegate_OnEnableInteractionMenus (Hotspot hotspot, InvItem invItem)
 
delegate void Delegate_OnModifyJournalPage (MenuJournal journal, JournalPage page, int index)
 
void Call_OnMenuElementClick (AC.Menu _menu, MenuElement _element, int _slot, int _buttonPressed)
 Triggers the OnMenuElementClick event. More...
 
void Call_OnMouseOverMenuElement (AC.Menu _menu, MenuElement _element, int _slot)
 Triggers the OnMouseOverMenuElement event. More...
 
void Call_OnMenuElementChangeVisibility (MenuElement _element)
 Triggers either the OnMenuElementShow or OnMenuElementHide events, depending on the state of the element's isVisible property. More...
 
void Call_OnMenuElementShift (MenuElement _element, AC_ShiftInventory shiftType)
 Triggers the OnMenuElementShift More...
 
void Call_OnGenerateMenus ()
 Triggers the OnGenerateMenus event.
 
void Call_OnMenuTurnOn (AC.Menu _menu, bool isInstant)
 Triggers the OnMenuTurnOn event. More...
 
void Call_OnMenuTurnOff (AC.Menu _menu, bool isInstant)
 Triggers the OnMenuTurnOff event. More...
 
void Call_OnUpdateDragLine (Vector2 startScreenPosition, Vector2 endScreenPosition)
 Updates the co-ordinates of the on-screen drag line if Touch Screen input is used, or the Movement method is Drag.</summary?

Parameters
startScreenPositionThe starting position, in screen co-ordinates, of the drag line. If no dragging is occuring, this will be equal to Vector2.zero
endScreenPositionThe ending position, in screen co-ordinates, of the drag line. If no dragging is occuring, this will be equal to Vector2.zero

 
void Call_OnEnableInteractionMenus (Hotspot hotspot, InvItem invItem)
 Triggers the OnEnableInteractionMenus event More...
 
void Call_OnModifyJournalPage (MenuJournal journal, JournalPage page, int index, bool wasAdded)
 Triggers either the OnJournalPageAdd or OnJournalPageRemove event More...
 
delegate void Delegate_OnChangeCursorMode (int cursorID)
 
delegate void Delegate_OnSetHardwareCursor (Texture2D cursorTexture, Vector2 clickOffset)
 
void Call_OnChangeCursorMode (int cursorID)
 Triggers the OnChangeCursorMode. More...
 
void Call_OnSetHardwareCursor (Texture2D cursorTexture, Vector2 clickOffset)
 Triggers the OnSetCursor event. More...
 
delegate void Delegate_Generic ()
 
delegate void Delegate_SaveFile (SaveFile saveFile)
 
delegate void Delegate_SaveID (int saveID)
 
delegate void Delegate_OnSwitchProfile (int profileID)
 
void Call_OnSave (FileAccessState fileAccessState, int saveID, SaveFile saveFile=null)
 Triggers either the OnBeforeSaving, OnFinishSaving or OnFailSaving events. More...
 
void Call_OnLoad (FileAccessState fileAccessState, int saveID, SaveFile saveFile=null)
 Triggers either the OnBeforeLoading, OnFinishLoading or OnFailLoading events. More...
 
void Call_OnImport (FileAccessState fileAccessState)
 Triggers either the OnBeforeImporting, OnFinishImporting or OnFailImporting events. More...
 
void Call_OnSwitchProfile (int profileID)
 Triggers the OnSwitchProfile event More...
 
void Call_OnRestartGame ()
 Triggers the OnRestartGame event.
 
delegate void Delegate_SetPlayer (Player player)
 
delegate void Delegate_OnCharacterTimeline (AC.Char character, PlayableDirector director, int trackIndex)
 
delegate void Delegate_OnCharacterEndPath (AC.Char character, Paths path)
 
delegate void Delegate_OnCharacterSetPath (AC.Char character, Paths path)
 
delegate void Delegate_OnCharacterReachNode (AC.Char character, Paths path, int node)
 
delegate void Delegate_SetHeadTurnTarget (AC.Char character, Transform headTurnTarget, Vector3 targetOffset, bool isInstant)
 
delegate void Delegate_ClearHeadTurnTarget (AC.Char character, bool isInstant)
 
delegate void Delegate_OnOccupyPlayerStart (Player player, PlayerStart playerStart)
 
delegate void Delegate_OnPointAndClick (Vector3[] pointArray, bool run)
 
void Call_OnSetPlayer (Player player)
 Triggers the OnSetPlayer event. More...
 
void Call_OnCharacterTimeline (AC.Char character, PlayableDirector director, int trackIndex, bool isEntering)
 Calls either the OnCharacterEnterTimeline or OnCharacterExitTimeline events More...
 
void Call_OnSetHeadTurnTarget (AC.Char character, Transform headTurnTarget, Vector3 targetOffset, bool isInstant)
 Triggers the OnSetHeadTurnTarget event. More...
 
void Call_OnClearHeadTurnTarget (AC.Char character, bool isInstant)
 Triggers the OnClearHeadTurnTarget event. More...
 
void Call_OnCharacterEndPath (AC.Char character, Paths path)
 Triggers the OnCharacterEndPath event. More...
 
void Call_OnCharacterSetPath (AC.Char character, Paths path)
 Triggers the OnCharacterSetPath event. More...
 
void Call_OnCharacterReachNode (AC.Char character, Paths path, int node)
 Triggers the OnCharacterReachNode event More...
 
void Call_OnOccupyPlayerStart (Player player, PlayerStart playerStart)
 Triggers the OnOccupyPlayerStart event. More...
 
void Call_OnPointAndClick (Vector3[] pointArray, bool run)
 Triggers the OnPointAndClick event. More...
 
delegate void Delegate_ChangeInventory (InvItem invItem, int value)
 
delegate void Delegate_CombineInventory (InvItem invItem, InvItem invItem2)
 
delegate void Delegate_Inventory (InvItem _int)
 
delegate void Delegate_Container (Container container, ContainerItem containerItem)
 
delegate void Delegate_Crafting (Recipe recipe)
 
void Call_OnChangeInventory (InvItem invItem, InventoryEventType inventoryEventType, int amount=1)
 Triggers either the OnInventoryAdd, OnInventoryRemove, OnInventorySelect or OnInventoryDeselect events. More...
 
void Call_OnUseInventory (InvItem invItem, int iconID, InvItem combineItem=null)
 Triggers either the OnInventoryCombine or InventoryInteract events. More...
 
void Call_OnUseContainer (bool transferringToContainer, Container container, ContainerItem containerItem)
 Triggers either the OnContainerAdd or OnContainerRemove events. More...
 
void Call_OnUseContainerFail (Container container, ContainerItem containerItem)
 Triggers the OnContainerRemoveFail event. More...
 
void Call_OnCraftingSucceed (Recipe recipe)
 Triggers the OnCraftingSucceed event. More...
 
delegate void Delegate_OnMoveable (DragBase dragBase)
 
void Call_OnGrabMoveable (DragBase dragBase)
 Triggers the OnGrabMoveable event. More...
 
void Call_OnDropMoveable (DragBase dragBase)
 Triggers the OnDropMoveable event. More...
 
delegate void Delegate_OnSwitchCamera (_Camera fromCamera, _Camera toCamera, float transitionTime)
 
delegate void Delegate_OnShakeCamera (float intensity, float duration)
 
void Call_OnSwitchCamera (_Camera fromCamera, _Camera toCamera, float transitionTime)
 Triggers the OnSwitchCamera event. More...
 
void Call_OnShakeCamera (float intensity, float duration)
 Triggers the OnShakeCamera event. More...
 
delegate void Delegate_OnChangeLanguage (int language)
 
delegate void Delegate_OnChangeVolume (SoundType soundType, float volume)
 
delegate void Delegate_OnChangeSubtitles (bool showSubtitles)
 
void Call_OnChangeLanguage (int language)
 Triggers the OnChangeLanguage event. More...
 
void Call_OnChangeVoiceLanguage (int voiceLanguage)
 Triggers the OnChangeVoiceLanguage event. More...
 
void Call_OnChangeVolume (SoundType soundType, float volume)
 Triggers the OnChangeLanguage event. More...
 
void Call_OnChangeSubtitles (bool showSubtitles)
 Triggers the OnChangeSubtitles event. More...
 
delegate void Delegate_NoParameters ()
 
delegate void Delegate_AfterSceneChange (LoadingGame loadingGame)
 
delegate void Delegate_OnCompleteScenePreload (SceneInfo sceneInfo)
 
void Call_OnBeforeChangeScene ()
 Triggers the OnBeforeChangeScene event.
 
void Call_OnAfterChangeScene (LoadingGame loadingGame)
 Triggers the OnAfterChangeScene event. More...
 
void Call_OnStartScene ()
 Triggers the OnStartScene event.
 
void Call_OnCompleteScenePreload (SceneInfo preloadedSceneInfo)
 Triggers the OnCompleteScenePreload event. More...
 
delegate void Delegate_HandleDocument (Document document)
 
void Call_OnHandleDocument (Document document, bool isOpening)
 Triggers either the OnOpenDocument or OnCloseDocument events. More...
 
delegate void Delegate_OnPlaySoundtrack (int trackID, bool loop, float fadeTime, int startingSample)
 
delegate void Delegate_OnStopSoundtrack (float fadeTime)
 
void Call_OnPlaySoundtrack (int trackID, bool isMusic, bool loop, float fadeTime, int startingSample)
 Triggers either the OnPlayMusic or OnPlayAmbience events More...
 
void Call_OnStopSoundtrack (bool isMusic, float fadeTime)
 Triggers either the OnStopMusic or OnStopAmbience events More...
 
delegate void Delegate_OnBeginActionList (ActionList actionList, ActionListAsset actionListAsset, int startingIndex, bool isSkipping)
 
delegate void Delegate_OnEndActionList (ActionList actionList, ActionListAsset actionListAsset, bool isSkipping)
 
delegate void Delegate_OnPauseActionList (ActionList actionList)
 
void Call_OnBeginActionList (ActionList actionList, ActionListAsset actionListAsset, int startingIndex, bool isSkipping)
 Triggers the OnBeginActionList event. More...
 
void Call_OnEndActionList (ActionList actionList, ActionListAsset actionListAsset, bool isSkipping)
 Triggers the OnEndActionList event. More...
 
void Call_OnPauseActionList (ActionList actionList)
 Triggers the OnPauseActionList event. More...
 
void Call_OnResumeActionList (ActionList actionList)
 Triggers the OnResumeActionList event. More...
 

Static Public Attributes

static Delegate_ChangeHotspot OnHotspotSelect
 
static Delegate_ChangeHotspot OnHotspotDeselect
 
static Delegate_InteractHotspot OnHotspotInteract
 
static Delegate_ChangeHotspot OnDoubleClickHotspot
 
static Delegate_ChangeHotspot OnHotspotTurnOn
 
static Delegate_ChangeHotspot OnHotspotTurnOff
 
static Delegate_ChangeHotspot OnHotspotStopMovingTo
 
static Delegate_HotspotCollection OnModifyHotspotDetectorCollection
 
static Delegate_ChangeHotspot OnRegisterHotspot
 
static Delegate_ChangeHotspot OnUnregisterHotspot
 
static Delegate_OnRunTrigger OnRunTrigger
 
static Delegate_OnVariableChange OnVariableChange
 
static Delegate_OnVariableChange OnUploadVariable
 
static Delegate_OnVariableChange OnDownloadVariable
 
static Delegate_OnMenuElementClick OnMenuElementClick
 
static Delegate_OnMouseOverMenu OnMouseOverMenu
 
static Delegate_OnMenuElementVisiblity OnMenuElementShow
 
static Delegate_OnMenuElementVisiblity OnMenuElementHide
 
static Delegate_OnMenuElementShift OnMenuElementShift
 
static Delegate_Generic OnGenerateMenus
 
static Delegate_OnMenuTurnOn OnMenuTurnOn
 
static Delegate_OnMenuTurnOn OnMenuTurnOff
 
static Delegate_OnUpdateDragLine OnUpdateDragLine
 
static Delegate_OnEnableInteractionMenus OnEnableInteractionMenus
 
static Delegate_OnModifyJournalPage OnJournalPageAdd
 
static Delegate_OnModifyJournalPage OnJournalPageRemove
 
static Delegate_OnChangeCursorMode OnChangeCursorMode
 
static Delegate_OnSetHardwareCursor OnSetHardwareCursor
 
static Delegate_SaveID OnBeforeSaving
 
static Delegate_SaveFile OnFinishSaving
 
static Delegate_SaveID OnFailSaving
 
static Delegate_SaveFile OnBeforeLoading
 
static Delegate_Generic OnFinishLoading
 
static Delegate_SaveID OnFailLoading
 
static Delegate_Generic OnBeforeImporting
 
static Delegate_Generic OnFinishImporting
 
static Delegate_Generic OnFailImporting
 
static Delegate_OnSwitchProfile OnSwitchProfile
 
static Delegate_Generic OnRestartGame
 
static Delegate_SetPlayer OnSetPlayer
 
static Delegate_OnCharacterTimeline OnCharacterEnterTimeline
 
static Delegate_OnCharacterTimeline OnCharacterExitTimeline
 
static Delegate_OnCharacterEndPath OnCharacterEndPath
 
static Delegate_OnCharacterSetPath OnCharacterSetPath
 
static Delegate_OnCharacterReachNode OnCharacterReachNode
 
static Delegate_SetHeadTurnTarget OnSetHeadTurnTarget
 
static Delegate_ClearHeadTurnTarget OnClearHeadTurnTarget
 
static Delegate_OnOccupyPlayerStart OnOccupyPlayerStart
 
static Delegate_OnPointAndClick OnPointAndClick
 
static Delegate_ChangeInventory OnInventoryAdd
 
static Delegate_ChangeInventory OnInventoryRemove
 
static Delegate_Inventory OnInventorySelect
 
static Delegate_Inventory OnInventoryDeselect
 
static Delegate_ChangeInventory OnInventoryInteract
 
static Delegate_CombineInventory OnInventoryCombine
 
static Delegate_Container OnContainerAdd
 
static Delegate_Container OnContainerRemove
 
static Delegate_Container OnContainerRemoveFail
 
static Delegate_Crafting OnCraftingSucceed
 

Events

static Delegate_StartSpeech OnStartSpeech
 
static Delegate_Speech OnStartSpeech_Alt
 
static Delegate_StopSpeech OnStopSpeech
 
static Delegate_Speech OnStopSpeech_Alt
 
static Delegate_StartSpeech OnStartSpeechScroll
 
static Delegate_Speech OnStartSpeechScroll_Alt
 
static Delegate_StartSpeech OnEndSpeechScroll
 
static Delegate_Speech OnEndSpeechScroll_Alt
 
static Delegate_StartSpeech OnCompleteSpeechScroll
 
static Delegate_Speech OnCompleteSpeechScroll_Alt
 
static Delegate_SpeechToken OnSpeechToken
 
static Delegate_SpeechTokenAlt OnSpeechToken_Alt
 
static Delegate_OnRequestSpeechTokenReplacement OnRequestSpeechTokenReplacement
 
static Delegate_ChangeGameState OnEnterGameState
 
static Delegate_ChangeGameState OnExitGameState
 
static Delegate_Conversation OnStartConversation
 
static Delegate_ConversationChoice OnClickConversation
 
static Delegate_OnMoveable OnGrabMoveable
 
static Delegate_OnMoveable OnDropMoveable
 
static Delegate_OnSwitchCamera OnSwitchCamera
 
static Delegate_OnShakeCamera OnShakeCamera
 
static Delegate_OnChangeLanguage OnChangeLanguage
 
static Delegate_OnChangeLanguage OnChangeVoiceLanguage
 
static Delegate_OnChangeVolume OnChangeVolume
 
static Delegate_OnChangeSubtitles OnChangeSubtitles
 
static Delegate_NoParameters OnBeforeChangeScene
 
static Delegate_AfterSceneChange OnAfterChangeScene
 
static Delegate_NoParameters OnStartScene
 
static Delegate_OnCompleteScenePreload OnCompleteScenePreload
 
static Delegate_HandleDocument OnOpenDocument
 
static Delegate_HandleDocument OnCloseDocument
 
static Delegate_OnPlaySoundtrack OnPlayMusic
 
static Delegate_OnPlaySoundtrack OnPlayAmbience
 
static Delegate_OnStopSoundtrack OnStopMusic
 
static Delegate_OnStopSoundtrack OnStopAmbience
 
static Delegate_OnBeginActionList OnBeginActionList
 
static Delegate_OnEndActionList OnEndActionList
 
static Delegate_OnPauseActionList OnPauseActionList
 
static Delegate_OnPauseActionList OnResumeActionList
 

Detailed Description

Handles events that are run at certain times during a game. They can be subscribed to by custom script, to aid with third-party integration.

Member Function Documentation

◆ Call_OnAfterChangeScene()

void AC.EventManager.Call_OnAfterChangeScene ( LoadingGame  loadingGame)

Triggers the OnAfterChangeScene event.

Parameters
loadingGameThe current 'loading' state (No, InSameScene, InNewScene, JustSwitchingPlayer

◆ Call_OnBeginActionList()

void AC.EventManager.Call_OnBeginActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
int  startingIndex,
bool  isSkipping 
)

Triggers the OnBeginActionList event.

Parameters
actionListThe ActionList that is running
actionListAssetThe ActionListAsset that the Actions come from, if an asset. If this is not null, then actionList is an instance of RuntimeActionList made specifically for the asset running at this moment
startingIndexThe index number to start from, out of the List of Actions. If zero, the ActionList will start from the beginning
isSkippingIf True, then the ActionList is being skipped, and will run instantly

◆ Call_OnChangeCursorMode()

void AC.EventManager.Call_OnChangeCursorMode ( int  cursorID)

Triggers the OnChangeCursorMode.

Parameters
cursorIDThe ID value of the new cursor. For values >= 0, the value corresponds to the ID number of the interaction cursor listed in the Cursor Manager. If -1, this is the "main" cursor. If -2, this is the "inventory" cursor.

◆ Call_OnChangeGameState()

void AC.EventManager.Call_OnChangeGameState ( GameState  oldGameState)

Triggers the OnEnterGameState and OnExitGameState events.

Parameters
oldGameStateThe previous GameState (Normal, Cutscene, DialogOptions, Paused)

◆ Call_OnChangeHotspot()

void AC.EventManager.Call_OnChangeHotspot ( Hotspot  hotspot,
bool  wasSelected 
)

Triggers either the OnHotspotSelect or OnHotspotDeselect event.

Parameters
hotspotThe Hotspot that was affected
wasSelectedIf True, the OnHotspotSelect event will be triggered. If False, the OnHotspotDeselect Event will be triggered.

◆ Call_OnChangeInventory()

void AC.EventManager.Call_OnChangeInventory ( InvItem  invItem,
InventoryEventType  inventoryEventType,
int  amount = 1 
)

Triggers either the OnInventoryAdd, OnInventoryRemove, OnInventorySelect or OnInventoryDeselect events.

Parameters
invItemThe inventory item that was manipulated
inventoryEventTypeHow the inventory item was manipulated (Add, Remove, Select, Deselect)
amountHow many instances of the inventory item were affected, if appropriate

◆ Call_OnChangeLanguage()

void AC.EventManager.Call_OnChangeLanguage ( int  language)

Triggers the OnChangeLanguage event.

Parameters
languageThe index number of the new language

◆ Call_OnChangeSubtitles()

void AC.EventManager.Call_OnChangeSubtitles ( bool  showSubtitles)

Triggers the OnChangeSubtitles event.

Parameters
showSubtitlesIf True, subtitles are now displayed.

◆ Call_OnChangeVoiceLanguage()

void AC.EventManager.Call_OnChangeVoiceLanguage ( int  voiceLanguage)

Triggers the OnChangeVoiceLanguage event.

Parameters
voiceLanguageThe index number of the new language

◆ Call_OnChangeVolume()

void AC.EventManager.Call_OnChangeVolume ( SoundType  soundType,
float  volume 
)

Triggers the OnChangeLanguage event.

Parameters
soundTypeThe SoundType that was changed (Music, SFX, Speech)
volumeThe new volume

◆ Call_OnCharacterEndPath()

void AC.EventManager.Call_OnCharacterEndPath ( AC.Char  character,
Paths  path 
)

Triggers the OnCharacterEndPath event.

Parameters
characterThe character whose path has ended
pathThe Paths component that the character was following. If the character was pathfinding, this will be their own Paths component

◆ Call_OnCharacterReachNode()

void AC.EventManager.Call_OnCharacterReachNode ( AC.Char  character,
Paths  path,
int  node 
)

Triggers the OnCharacterReachNode event

Parameters
characterThe character who has reached a node
pathThe Paths component that the character is following. If the character is pathfinding, this will be their own Paths component
nodeThe index number of the paths's List of nodes that has been reached

◆ Call_OnCharacterSetPath()

void AC.EventManager.Call_OnCharacterSetPath ( AC.Char  character,
Paths  path 
)

Triggers the OnCharacterSetPath event.

Parameters
characterThe character whose path has been set
pathThe Paths component that the character is following. If the character is pathfinding, this will be their own Paths component

◆ Call_OnCharacterTimeline()

void AC.EventManager.Call_OnCharacterTimeline ( AC.Char  character,
PlayableDirector  director,
int  trackIndex,
bool  isEntering 
)

Calls either the OnCharacterEnterTimeline or OnCharacterExitTimeline events

Parameters
characterThe character on the Timeline
directorThe PlayableDirector that is playing the Timeline
trackIndexThe index number of the track within the director's TimelineAsset that the character appears on
isEnteringIf True, OnCharacterEnterTimeline will be called. Otherwise, OnChracterExitTimeline will be called

◆ Call_OnClearHeadTurnTarget()

void AC.EventManager.Call_OnClearHeadTurnTarget ( AC.Char  character,
bool  isInstant 
)

Triggers the OnClearHeadTurnTarget event.

Parameters
characterThe character who is no longer turning their head
isInstantIf True, the head stops turning instantly

◆ Call_OnClickConversation()

void AC.EventManager.Call_OnClickConversation ( Conversation  conversation,
int  optionID 
)

Triggers the OnClickConversation event.

Parameters
conversationThe Conversation that was interacted with
optionIDThe ID number of the conversation's clicked ButtonDialog

◆ Call_OnCompleteScenePreload()

void AC.EventManager.Call_OnCompleteScenePreload ( SceneInfo  preloadedSceneInfo)

Triggers the OnCompleteScenePreload event.

Parameters
preloadedSceneInfoA container for information about the scene that was preloaded

◆ Call_OnCompleteSpeechScroll()

void AC.EventManager.Call_OnCompleteSpeechScroll ( Speech  speech,
AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnCompleteSpeechScroll and OnCompleteSpeechScroll_Alt events.

Parameters
speechThe Speech class instance that has completed scrolling
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnCraftingSucceed()

void AC.EventManager.Call_OnCraftingSucceed ( Recipe  recipe)

Triggers the OnCraftingSucceed event.

Parameters
recipeThe Recipe that was completed

◆ Call_OnDoubleClickHotspot()

void AC.EventManager.Call_OnDoubleClickHotspot ( Hotspot  hotspot)

Triggers the OnDoubleClickHotspot event, regardless of the Hotspot's doubleClickingHotspot variable.

Parameters
hotspotThe Hotspot that was double-clicked.

◆ Call_OnDownloadVariable()

void AC.EventManager.Call_OnDownloadVariable ( GVar  _variable)

Triggers the OnDownloadVariable event.

Parameters
_variableThe variable to download

◆ Call_OnDropMoveable()

void AC.EventManager.Call_OnDropMoveable ( DragBase  dragBase)

Triggers the OnDropMoveable event.

Parameters
dragBaseThe object being dropped

◆ Call_OnEnableInteractionMenus()

void AC.EventManager.Call_OnEnableInteractionMenus ( Hotspot  hotspot,
InvItem  invItem 
)

Triggers the OnEnableInteractionMenus event

Parameters
hotspotThe Hotspot for which Interaction menus were turned on for. Null if invItem is not.
invItemThe Inventory item for which Interaction menus were turned on for. Null if hotspot is not.

◆ Call_OnEndActionList()

void AC.EventManager.Call_OnEndActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
bool  isSkipping 
)

Triggers the OnEndActionList event.

Parameters
actionListThe ActionList that is ending
actionListAssetThe ActionListAsset that the Actions come from, if an asset. If this is not null, then actionList is an instance of RuntimeActionList made specifically for the asset running at this moment
isSkippingIf True, then the ActionList was skipped, and run instantly

◆ Call_OnEndSpeechScroll()

void AC.EventManager.Call_OnEndSpeechScroll ( Speech  speech,
AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnEndSpeechScroll and OnEndSpeechSroll_Alt events.

Parameters
speechThe Speech class instance that has stopped scrolling
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnGrabMoveable()

void AC.EventManager.Call_OnGrabMoveable ( DragBase  dragBase)

Triggers the OnGrabMoveable event.

Parameters
dragBaseThe object being picked up

◆ Call_OnHandleDocument()

void AC.EventManager.Call_OnHandleDocument ( Document  document,
bool  isOpening 
)

Triggers either the OnOpenDocument or OnCloseDocument events.

Parameters
documentThe Document that is affected
isOpeningIf True, the Document was opened and OnOpenDocument is triggered. Otherwise, OnCloseDocument is triggered.

◆ Call_OnHotspotStopMovingTo()

void AC.EventManager.Call_OnHotspotStopMovingTo ( Hotspot  hotspot)

Triggers the OnHotspotStopMovingTo event

Parameters
hotspotThe Hotspot that the Player is moving towards

◆ Call_OnImport()

void AC.EventManager.Call_OnImport ( FileAccessState  fileAccessState)

Triggers either the OnBeforeImporting, OnFinishImporting or OnFailImporting events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)

◆ Call_OnInteractHotspot()

void AC.EventManager.Call_OnInteractHotspot ( Hotspot  hotspot,
AC.Button  button 
)

Triggers the OnHotspotInteract event.

Parameters
hotspotThe Hotspot the was interacted with
buttonThe specific Button on the Hotspot that was interacted with. This will be null if the interaction is unhandled.

◆ Call_OnLoad()

void AC.EventManager.Call_OnLoad ( FileAccessState  fileAccessState,
int  saveID,
SaveFile  saveFile = null 
)

Triggers either the OnBeforeLoading, OnFinishLoading or OnFailLoading events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)
saveIDThe ID of the slot being loaded
saveFileThe save file being save

◆ Call_OnMenuElementChangeVisibility()

void AC.EventManager.Call_OnMenuElementChangeVisibility ( MenuElement  _element)

Triggers either the OnMenuElementShow or OnMenuElementHide events, depending on the state of the element's isVisible property.

Parameters
_elementThe MenuElement whose visibility has changed

◆ Call_OnMenuElementClick()

void AC.EventManager.Call_OnMenuElementClick ( AC.Menu  _menu,
MenuElement  _element,
int  _slot,
int  _buttonPressed 
)

Triggers the OnMenuElementClick event.

Parameters
_menuThe Menu that the clicked MenuElement is a part of
_elementThe MenuElement that was clicked on
_slotThe slot index that was clicked, if the MenuElement consists of multiple slots (0 otherwise)
_buttonPressedEquals 1 if a left-click, or 2 if a right-click

◆ Call_OnMenuElementShift()

void AC.EventManager.Call_OnMenuElementShift ( MenuElement  _element,
AC_ShiftInventory  shiftType 
)

Triggers the OnMenuElementShift

Parameters
_elementThe MenuElement whose slots have been shifted
shiftTypeThe direction in which the slots where shifted (ShiftLeft, ShiftRight)

◆ Call_OnMenuTurnOff()

void AC.EventManager.Call_OnMenuTurnOff ( AC.Menu  _menu,
bool  isInstant 
)

Triggers the OnMenuTurnOff event.

Parameters
_menuThe Menu that is being turned off
isInstantIf true, the transition is being skipped and the Menu is being turned off instantly

◆ Call_OnMenuTurnOn()

void AC.EventManager.Call_OnMenuTurnOn ( AC.Menu  _menu,
bool  isInstant 
)

Triggers the OnMenuTurnOn event.

Parameters
_menuThe Menu that is being turned on
isInstantIf true, the transition is being skipped and the Menu is being turned on instantly

◆ Call_OnModifyHotspotDetectorCollection()

List<Hotspot> AC.EventManager.Call_OnModifyHotspotDetectorCollection ( DetectHotspots  hotspotDetector,
List< Hotspot hotspots 
)

Triggers the OnModifyHotspotDetectorCollection event

Parameters
hotspotDetectorThe DetectHotspots component that is modifying its own collection of Hotspots
hotspotsThe List of Hotspot components that the hotspot detector has modified
Returns
The list of Hotspot components gathered by the hotspot detector. This list can be modified to control which Hotspots are interactive, and in what order

◆ Call_OnModifyJournalPage()

void AC.EventManager.Call_OnModifyJournalPage ( MenuJournal  journal,
JournalPage  page,
int  index,
bool  wasAdded 
)

Triggers either the OnJournalPageAdd or OnJournalPageRemove event

Parameters
journalThe MenuJournal element that was modifiyed
pageThe JournalPage class that was modified
indexThe page index that was modified
wasAddedIf True, the page was added. If False, the page was removed

◆ Call_OnMouseOverMenuElement()

void AC.EventManager.Call_OnMouseOverMenuElement ( AC.Menu  _menu,
MenuElement  _element,
int  _slot 
)

Triggers the OnMouseOverMenuElement event.

Parameters
_menuThe Menu that the mouse is over
_elementThe MenuElement that the mouse is over
_slotThe slot index that the mouse is over, if the MenuElement consists of multiple slots (0 otherwise)

◆ Call_OnOccupyPlayerStart()

void AC.EventManager.Call_OnOccupyPlayerStart ( Player  player,
PlayerStart  playerStart 
)

Triggers the OnOccupyPlayerStart event.

Parameters
playerThe Player that was affected
playerStartThe PlayerStart that the Player has been set to occupy

◆ Call_OnPauseActionList()

void AC.EventManager.Call_OnPauseActionList ( ActionList  actionList)

Triggers the OnPauseActionList event.

Parameters
actionListThe ActionList that being paused

◆ Call_OnPlaySoundtrack()

void AC.EventManager.Call_OnPlaySoundtrack ( int  trackID,
bool  isMusic,
bool  loop,
float  fadeTime,
int  startingSample 
)

Triggers either the OnPlayMusic or OnPlayAmbience events

Parameters
trackIDThe ID of the Music or Ambience track that is being played
isMusicIf True, the track is Music. If False, it is Ambience
loopIf True, the audio is looping
fadeTimeThe fade duration, in seconds
startingSampleThe point at which to start the new track

◆ Call_OnPointAndClick()

void AC.EventManager.Call_OnPointAndClick ( Vector3 []  pointArray,
bool  run 
)

Triggers the OnPointAndClick event.

Parameters
pointArrayAn array of points for the Player to move along
runIf True, the Player should run along the points

◆ Call_OnRegisterHotspot()

void AC.EventManager.Call_OnRegisterHotspot ( Hotspot  hotspot,
bool  wasRegistered 
)

Triggers the OnRegisterHotspot or OnUnregisterHotspot event

Parameters
hotspotsThe Hotspot that was registered or unregistered from the StateHandler
wasRegisteredIf True, the Hotspot was register and OnRegisterHotspot will be triggered. Otherwise, the Hotspot was unregistered and OnUnregisterHotspot will be triggered

◆ Call_OnRequestSpeechTokenReplacement()

string AC.EventManager.Call_OnRequestSpeechTokenReplacement ( Speech  speech,
string  tokenKey,
string  tokenValue 
)

Triggers the OnRequstSpeechTokenReplacement event.

Parameters
speechThe Speech class instance that contains the token text
tokenKeyThe token text to the left of the colon, i.e 'var'
tokenKeyThe token text to the right of the colon, i.e '2'
Returns
A string to replace the token text with. This can be empty, which will just remove the token

◆ Call_OnResumeActionList()

void AC.EventManager.Call_OnResumeActionList ( ActionList  actionList)

Triggers the OnResumeActionList event.

Parameters
actionListThe ActionList that being resumed

◆ Call_OnRunTrigger()

void AC.EventManager.Call_OnRunTrigger ( AC_Trigger  trigger,
GameObject  collidingObject 
)

Triggers the OnRunTrigger event.

Parameters
triggerThe Trigger that was run
collidingObjectThe GameObject that collided with the Trigger

◆ Call_OnSave()

void AC.EventManager.Call_OnSave ( FileAccessState  fileAccessState,
int  saveID,
SaveFile  saveFile = null 
)

Triggers either the OnBeforeSaving, OnFinishSaving or OnFailSaving events.

Parameters
fileAccessStateThe state of the file access (Before, After, Fail)
saveIDThe ID of the slot being saved
saveFileThe save file being loaded

◆ Call_OnSetHardwareCursor()

void AC.EventManager.Call_OnSetHardwareCursor ( Texture2D  cursorTexture,
Vector2  clickOffset 
)

Triggers the OnSetCursor event.

Parameters
cursorTextureThe Texture2D that the Hardware cursor was set to
clickOffsetThe offset from the top-left to use as the target point

◆ Call_OnSetHeadTurnTarget()

void AC.EventManager.Call_OnSetHeadTurnTarget ( AC.Char  character,
Transform  headTurnTarget,
Vector3  targetOffset,
bool  isInstant 
)

Triggers the OnSetHeadTurnTarget event.

Parameters
characterThe character who is turning their head.
headTurnTargetThe Transform to look at
targetOffsetAn offset in world-space to look at, relative to the headTurnTarget transform
isInstantIf True, the head-turn snaps instantly

◆ Call_OnSetPlayer()

void AC.EventManager.Call_OnSetPlayer ( Player  player)

Triggers the OnSetPlayer event.

Parameters
playerThe new Player object

◆ Call_OnShakeCamera()

void AC.EventManager.Call_OnShakeCamera ( float  intensity,
float  duration 
)

Triggers the OnShakeCamera event.

Parameters
intensityThe intensity of the shake
durationThe duration, in seconds

◆ Call_OnSpeechToken()

void AC.EventManager.Call_OnSpeechToken ( Speech  speech,
string  tokenKey,
string  tokenValue 
)

Triggers the OnSpeechToken event.

Parameters
speechThe Speech class instance that contains the token text
tokenKeyThe token text to the left of the colon, i.e 'var'
tokenKeyThe token text to the right of the colon, i.e '2'

◆ Call_OnStartConversation()

void AC.EventManager.Call_OnStartConversation ( Conversation  conversation)

Triggers the OnStartConversation event.

Parameters
conversationThe Conversation that was started

◆ Call_OnStartSpeech()

void AC.EventManager.Call_OnStartSpeech ( Speech  speech,
AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnStartSpeech and OnStartSpeech_Alt events.

Parameters
speechThe Speech class instance that has begun
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnStartSpeechScroll()

void AC.EventManager.Call_OnStartSpeechScroll ( Speech  speech,
AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

Triggers the OnStartSpeechScroll and OnStartSpeechScroll_Alt events.

Parameters
speechThe Speech class instance that has started scrolling
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration
speechTextThe dialogue text
lineIDThe ID number of the speech line, as generated by the SpeechManager

◆ Call_OnStopSoundtrack()

void AC.EventManager.Call_OnStopSoundtrack ( bool  isMusic,
float  fadeTime 
)

Triggers either the OnStopMusic or OnStopAmbience events

Parameters
isMusicIf True, the track is Music. If False, it is Ambience
fadeTimeThe fade duration, in seconds

◆ Call_OnStopSpeech()

void AC.EventManager.Call_OnStopSpeech ( Speech  speech,
AC.Char  speakingCharacter 
)

Triggers the OnStopSpeech and OnStopSpeech events.

Parameters
speechThe Speech class instance that has ended
speakingCharacterThe character who is speaking. If null, the line is considered to be a narration

◆ Call_OnSwitchCamera()

void AC.EventManager.Call_OnSwitchCamera ( _Camera  fromCamera,
_Camera  toCamera,
float  transitionTime 
)

Triggers the OnSwitchCamera event.

Parameters
dragBaseThe object being picked up

◆ Call_OnSwitchProfile()

void AC.EventManager.Call_OnSwitchProfile ( int  profileID)

Triggers the OnSwitchProfile event

Parameters
profileIDThe ID number of the profile that was switched to

◆ Call_OnTurnHotspot()

void AC.EventManager.Call_OnTurnHotspot ( Hotspot  hotspot,
bool  isOn 
)

Triggers either the OnHotspotTurnOn or OnHotspotTurnOff event

Parameters
hotspotThe affected Hotspot
isOnIf True, OnHotspotTurnOn will be triggered. Otherwise, OnHotspotTurnOff will be triggered

◆ Call_OnUploadVariable()

void AC.EventManager.Call_OnUploadVariable ( GVar  _variable)

Triggers the OnUploadVariable event.

Parameters
_variableThe variable to upload

◆ Call_OnUseContainer()

void AC.EventManager.Call_OnUseContainer ( bool  transferringToContainer,
Container  container,
ContainerItem  containerItem 
)

Triggers either the OnContainerAdd or OnContainerRemove events.

Parameters
transferringToContainerIf True, an item is being added to a Container; otherwise, it is being removed
containerThe Container being manipulated
containerItemThe ContainerItem being moved to/from the Container

◆ Call_OnUseContainerFail()

void AC.EventManager.Call_OnUseContainerFail ( Container  container,
ContainerItem  containerItem 
)

Triggers the OnContainerRemoveFail event.

Parameters
containerThe Container being manipulated
containerItemThe ContainerItem that could not be removed from the Container

◆ Call_OnUseInventory()

void AC.EventManager.Call_OnUseInventory ( InvItem  invItem,
int  iconID,
InvItem  combineItem = null 
)

Triggers either the OnInventoryCombine or InventoryInteract events.

Parameters
iconIDThe ID number of the 'use' icon, as defined in CursorManager, if the item was used
combineItemThe other inventory item, if the item was combined with another

◆ Call_OnVariableChange()

void AC.EventManager.Call_OnVariableChange ( GVar  _variable)

Triggers the OnVariableChange event.

Parameters
_variableThe variable that was changed

◆ Delegate_AfterSceneChange()

delegate void AC.EventManager.Delegate_AfterSceneChange ( LoadingGame  loadingGame)

A delegate for the OnAfterSceneChange event

◆ Delegate_ChangeGameState()

delegate void AC.EventManager.Delegate_ChangeGameState ( GameState  gameState)

A delegate for the OnEnterGameState and OnExitGameState events

◆ Delegate_ChangeHotspot()

delegate void AC.EventManager.Delegate_ChangeHotspot ( Hotspot  hotspot)

A delegate for the OnHotspotSelect and OnHotspotDeselect events

◆ Delegate_ChangeInventory()

delegate void AC.EventManager.Delegate_ChangeInventory ( InvItem  invItem,
int  value 
)

A delegate for the OnInventoryAdd, OnInventoryRemove and OnInventoryInteract events

◆ Delegate_ClearHeadTurnTarget()

delegate void AC.EventManager.Delegate_ClearHeadTurnTarget ( AC.Char  character,
bool  isInstant 
)

A delegate for the OnClearHeadTurnTarget event

◆ Delegate_CombineInventory()

delegate void AC.EventManager.Delegate_CombineInventory ( InvItem  invItem,
InvItem  invItem2 
)

A delegate for the OnInventoryCombine events

◆ Delegate_Container()

delegate void AC.EventManager.Delegate_Container ( Container  container,
ContainerItem  containerItem 
)

A delegate for the OnContainerAdd and OnContainerRemove events

◆ Delegate_Conversation()

delegate void AC.EventManager.Delegate_Conversation ( Conversation  conversation)

A delegate for the OnStartConversation event

◆ Delegate_ConversationChoice()

delegate void AC.EventManager.Delegate_ConversationChoice ( Conversation  conversation,
int  optionID 
)

A delegate for the OnClickConversation event

◆ Delegate_Crafting()

delegate void AC.EventManager.Delegate_Crafting ( Recipe  recipe)

A delegate for the OnCraftingSucceed event

◆ Delegate_Generic()

delegate void AC.EventManager.Delegate_Generic ( )

A delegate for events that take no arguments and return null

◆ Delegate_HandleDocument()

delegate void AC.EventManager.Delegate_HandleDocument ( Document  document)

A delegate for the OnOpenDocument and OnCloseDocument events

◆ Delegate_HotspotCollection()

delegate List<Hotspot> AC.EventManager.Delegate_HotspotCollection ( DetectHotspots  hotspotDetector,
List< Hotspot hotspots 
)

A delegate for the OnModifyHotspotDetectorCollection event

◆ Delegate_InteractHotspot()

delegate void AC.EventManager.Delegate_InteractHotspot ( Hotspot  hotspot,
AC.Button  button 
)

A delegate for the OnHotspotInteract event

◆ Delegate_Inventory()

delegate void AC.EventManager.Delegate_Inventory ( InvItem  _int)

A delegate for the OnInventorySelect and OnInventoryDeselect events

◆ Delegate_NoParameters()

delegate void AC.EventManager.Delegate_NoParameters ( )

A delegate for the events that need no parameters

◆ Delegate_OnBeginActionList()

delegate void AC.EventManager.Delegate_OnBeginActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
int  startingIndex,
bool  isSkipping 
)

A delegate for the OnBeginActionList event

◆ Delegate_OnChangeCursorMode()

delegate void AC.EventManager.Delegate_OnChangeCursorMode ( int  cursorID)

A delegate for the OnChangeCursorMode event

◆ Delegate_OnChangeLanguage()

delegate void AC.EventManager.Delegate_OnChangeLanguage ( int  language)

A delegate for the Delegate_OnChangeLanguage event

◆ Delegate_OnChangeSubtitles()

delegate void AC.EventManager.Delegate_OnChangeSubtitles ( bool  showSubtitles)

A delegate for the Delegate_OnChangeSubtitles event

◆ Delegate_OnChangeVolume()

delegate void AC.EventManager.Delegate_OnChangeVolume ( SoundType  soundType,
float  volume 
)

A delegate for the Delegate_OnChangeVolume event

◆ Delegate_OnCharacterEndPath()

delegate void AC.EventManager.Delegate_OnCharacterEndPath ( AC.Char  character,
Paths  path 
)

A delegate for the OnCharacterEndPath event

◆ Delegate_OnCharacterReachNode()

delegate void AC.EventManager.Delegate_OnCharacterReachNode ( AC.Char  character,
Paths  path,
int  node 
)

A delegate for the OnCharacterReachNode event

◆ Delegate_OnCharacterSetPath()

delegate void AC.EventManager.Delegate_OnCharacterSetPath ( AC.Char  character,
Paths  path 
)

A delegate for the OnCharacterSetPath event

◆ Delegate_OnCharacterTimeline()

delegate void AC.EventManager.Delegate_OnCharacterTimeline ( AC.Char  character,
PlayableDirector  director,
int  trackIndex 
)

A delegate for the OnCharacterEnterTimeline and OnCharacterExitTimeline events

◆ Delegate_OnCompleteScenePreload()

delegate void AC.EventManager.Delegate_OnCompleteScenePreload ( SceneInfo  sceneInfo)

A delegate for the OnCompleteScenePreload event

◆ Delegate_OnEnableInteractionMenus()

delegate void AC.EventManager.Delegate_OnEnableInteractionMenus ( Hotspot  hotspot,
InvItem  invItem 
)

A delegate for the OnEnableInteractionMenus event

◆ Delegate_OnEndActionList()

delegate void AC.EventManager.Delegate_OnEndActionList ( ActionList  actionList,
ActionListAsset  actionListAsset,
bool  isSkipping 
)

A delegate for the OnEndActionList event

◆ Delegate_OnMenuElementClick()

delegate void AC.EventManager.Delegate_OnMenuElementClick ( AC.Menu  _menu,
MenuElement  _element,
int  _slot,
int  buttonPressed 
)

A delegate for the OnMenuElementClick event

◆ Delegate_OnMenuElementShift()

delegate void AC.EventManager.Delegate_OnMenuElementShift ( MenuElement  _element,
AC_ShiftInventory  shiftType 
)

A delegate for the OnMenuElementShift event

◆ Delegate_OnMenuElementVisiblity()

delegate void AC.EventManager.Delegate_OnMenuElementVisiblity ( MenuElement  _element)

A delegate for the OnMenuElementShow and OnMenuElementHide events

◆ Delegate_OnMenuTurnOn()

delegate void AC.EventManager.Delegate_OnMenuTurnOn ( AC.Menu  _menu,
bool  isInstant 
)

A delegate for the OnMenuTurnOn and OnMenuTurnOff events

◆ Delegate_OnModifyJournalPage()

delegate void AC.EventManager.Delegate_OnModifyJournalPage ( MenuJournal  journal,
JournalPage  page,
int  index 
)

A delegate for the OnJournalPageAdd and OnJournalPageRemove events

◆ Delegate_OnMouseOverMenu()

delegate void AC.EventManager.Delegate_OnMouseOverMenu ( AC.Menu  _menu,
MenuElement  _element,
int  _slot 
)

A delegate for the OnMouseOverMenu event

◆ Delegate_OnMoveable()

delegate void AC.EventManager.Delegate_OnMoveable ( DragBase  dragBase)

A delegate for the Delegate_OnGrabMoveable and Delegate_OnDropMoveable events

◆ Delegate_OnOccupyPlayerStart()

delegate void AC.EventManager.Delegate_OnOccupyPlayerStart ( Player  player,
PlayerStart  playerStart 
)

A delegate for the OnOccupyPlayerStart event

◆ Delegate_OnPauseActionList()

delegate void AC.EventManager.Delegate_OnPauseActionList ( ActionList  actionList)

A delegate for the OnPauseActionList and OnResumeActionList events

◆ Delegate_OnPlaySoundtrack()

delegate void AC.EventManager.Delegate_OnPlaySoundtrack ( int  trackID,
bool  loop,
float  fadeTime,
int  startingSample 
)

A delegate for the OnPlayMusic and OnPlayAmbience events

◆ Delegate_OnPointAndClick()

delegate void AC.EventManager.Delegate_OnPointAndClick ( Vector3 []  pointArray,
bool  run 
)

A delegate for the OnPointClick event

◆ Delegate_OnRequestSpeechTokenReplacement()

delegate string AC.EventManager.Delegate_OnRequestSpeechTokenReplacement ( Speech  speech,
string  tokenKey,
string  tokenValue 
)

A delegate for the OnReqeustSpeechTokenReplacement event

◆ Delegate_OnRunTrigger()

delegate void AC.EventManager.Delegate_OnRunTrigger ( AC_Trigger  trigger,
GameObject  collidingObject 
)

A delegate for the OnRunTrigger event

◆ Delegate_OnSetHardwareCursor()

delegate void AC.EventManager.Delegate_OnSetHardwareCursor ( Texture2D  cursorTexture,
Vector2  clickOffset 
)

A delegate for the OnSetHardwareCursor event

◆ Delegate_OnShakeCamera()

delegate void AC.EventManager.Delegate_OnShakeCamera ( float  intensity,
float  duration 
)

A delegate for the Delegate_OnShakeCamera events

◆ Delegate_OnStopSoundtrack()

delegate void AC.EventManager.Delegate_OnStopSoundtrack ( float  fadeTime)

A delegate for the OnStopMusic and OnStopAmbience events

◆ Delegate_OnSwitchCamera()

delegate void AC.EventManager.Delegate_OnSwitchCamera ( _Camera  fromCamera,
_Camera  toCamera,
float  transitionTime 
)

A delegate for the Delegate_OnSwitchCamera events

◆ Delegate_OnSwitchProfile()

delegate void AC.EventManager.Delegate_OnSwitchProfile ( int  profileID)

A delegate for the OnSwitchProfile event

◆ Delegate_OnUpdateDragLine()

delegate void AC.EventManager.Delegate_OnUpdateDragLine ( Vector2  startScreenPosition,
Vector2  endScreenPosition 
)

A delegate for the OnUpdateDragLine event

◆ Delegate_OnVariableChange()

delegate void AC.EventManager.Delegate_OnVariableChange ( GVar  variable)

A delegate for the OnVariableChange event

◆ Delegate_SaveFile()

delegate void AC.EventManager.Delegate_SaveFile ( SaveFile  saveFile)

A delegate for the OnBeforeLoading and OnFinishSaving events

◆ Delegate_SaveID()

delegate void AC.EventManager.Delegate_SaveID ( int  saveID)

A delegate for the OnBeforeSaving, OnFailSaving and OnFailLoading events

◆ Delegate_SetHeadTurnTarget()

delegate void AC.EventManager.Delegate_SetHeadTurnTarget ( AC.Char  character,
Transform  headTurnTarget,
Vector3  targetOffset,
bool  isInstant 
)

A delegate for the OnSetHeadTurnTarget event

◆ Delegate_SetPlayer()

delegate void AC.EventManager.Delegate_SetPlayer ( Player  player)

A delegate for the OnSetPlayer event

◆ Delegate_Speech()

delegate void AC.EventManager.Delegate_Speech ( Speech  speech)

A delegate for the OnStartSpeech_Alt, OnStopSpeech_Alt, OnStartSpeechScroll_Alt, OnEndSpeechScroll_Alt and OnCompleteSpeechScroll_Alt events

◆ Delegate_SpeechToken()

delegate void AC.EventManager.Delegate_SpeechToken ( AC.Char  speakingCharacter,
int  lineID,
string  tokenKey,
string  tokenValue 
)

A delegate for the OnSpeechToken event

◆ Delegate_SpeechTokenAlt()

delegate void AC.EventManager.Delegate_SpeechTokenAlt ( Speech  speech,
string  tokenKey,
string  tokenValue 
)

A delegate for the OnSpeechToken_Alt event

◆ Delegate_StartSpeech()

delegate void AC.EventManager.Delegate_StartSpeech ( AC.Char  speakingCharacter,
string  speechText,
int  lineID 
)

A delegate for the OnStartSpeech and OnEndSpeechScroll events

◆ Delegate_StopSpeech()

delegate void AC.EventManager.Delegate_StopSpeech ( AC.Char  speakingCharacter)

A delegate for the OnStopSpeech event

Member Data Documentation

◆ OnBeforeImporting

Delegate_Generic AC.EventManager.OnBeforeImporting
static

An event triggered before the variables in a save game file are imported

◆ OnBeforeLoading

Delegate_SaveFile AC.EventManager.OnBeforeLoading
static

An event triggered before a save game file is loaded

◆ OnBeforeSaving

Delegate_SaveID AC.EventManager.OnBeforeSaving
static

An event triggered before a save game file is created

◆ OnChangeCursorMode

Delegate_OnChangeCursorMode AC.EventManager.OnChangeCursorMode
static

An event triggered when the active cursor mode is changed

◆ OnCharacterEndPath

Delegate_OnCharacterEndPath AC.EventManager.OnCharacterEndPath
static

An event triggered whenever a character's path is ended

◆ OnCharacterEnterTimeline

Delegate_OnCharacterTimeline AC.EventManager.OnCharacterEnterTimeline
static

An event triggered whenever a character is about to be controlled by a Timeline

◆ OnCharacterExitTimeline

Delegate_OnCharacterTimeline AC.EventManager.OnCharacterExitTimeline
static

An event triggered whenevr a character is no longer controlled by a Timeline

◆ OnCharacterReachNode

Delegate_OnCharacterReachNode AC.EventManager.OnCharacterReachNode
static

An event triggered whenever a character reaches a node alon a path

◆ OnCharacterSetPath

Delegate_OnCharacterSetPath AC.EventManager.OnCharacterSetPath
static

An event triggered whenever a character's path is set

◆ OnClearHeadTurnTarget

Delegate_ClearHeadTurnTarget AC.EventManager.OnClearHeadTurnTarget
static

An event triggered whenever a character stops looking at a target with their head

◆ OnContainerAdd

Delegate_Container AC.EventManager.OnContainerAdd
static

An event triggered whenever an item is added to a Container

◆ OnContainerRemove

Delegate_Container AC.EventManager.OnContainerRemove
static

An event triggered whenever an item is removed from a Container

◆ OnContainerRemoveFail

Delegate_Container AC.EventManager.OnContainerRemoveFail
static

An event triggered whenever an item cannot be removed from a Container

◆ OnCraftingSucceed

Delegate_Crafting AC.EventManager.OnCraftingSucceed
static

An event triggered whenever a recipe has been succesfully created

◆ OnDoubleClickHotspot

Delegate_ChangeHotspot AC.EventManager.OnDoubleClickHotspot
static

An event triggered whenever a Hotspot is double-clicked

◆ OnDownloadVariable

Delegate_OnVariableChange AC.EventManager.OnDownloadVariable
static

An event triggered whenever a Variable's value is to be downloaded from a custom script it is linked to

◆ OnEnableInteractionMenus

Delegate_OnEnableInteractionMenus AC.EventManager.OnEnableInteractionMenus
static

An event triggered whenever Interaction menus are enabled for a Hotspot or InvItem

◆ OnFailImporting

Delegate_Generic AC.EventManager.OnFailImporting
static

An event triggered after an attempt to import a game fails

◆ OnFailLoading

Delegate_SaveID AC.EventManager.OnFailLoading
static

An event triggered after an attempt to load a game fails

◆ OnFailSaving

Delegate_SaveID AC.EventManager.OnFailSaving
static

An event triggered after an attempt to save a game fails

◆ OnFinishImporting

Delegate_Generic AC.EventManager.OnFinishImporting
static

An event triggered after the variables in a save game file are imported

◆ OnFinishLoading

Delegate_Generic AC.EventManager.OnFinishLoading
static

An event triggered after a save game file is loaded

◆ OnFinishSaving

Delegate_SaveFile AC.EventManager.OnFinishSaving
static

An event triggered after a save game file is created

◆ OnGenerateMenus

Delegate_Generic AC.EventManager.OnGenerateMenus
static

An event triggered once the Menus have been generated when the game begins

◆ OnHotspotDeselect

Delegate_ChangeHotspot AC.EventManager.OnHotspotDeselect
static

An event triggered whenever a Hotspot is de-selected

◆ OnHotspotInteract

Delegate_InteractHotspot AC.EventManager.OnHotspotInteract
static

An event triggered whenever a Hotspot's button is interacted with

◆ OnHotspotSelect

Delegate_ChangeHotspot AC.EventManager.OnHotspotSelect
static

An event triggered whenever a Hotspot is selected

◆ OnHotspotStopMovingTo

Delegate_ChangeHotspot AC.EventManager.OnHotspotStopMovingTo
static

An event triggered when the act of the Player moving to a given Hotspot in order to interact with it is cancelled

◆ OnHotspotTurnOff

Delegate_ChangeHotspot AC.EventManager.OnHotspotTurnOff
static

An event triggered whenever a Hotspot is turned off

◆ OnHotspotTurnOn

Delegate_ChangeHotspot AC.EventManager.OnHotspotTurnOn
static

An event triggered whenever a Hotspot is turned on

◆ OnInventoryAdd

Delegate_ChangeInventory AC.EventManager.OnInventoryAdd
static

An event triggered whenever an item is added to the player's inventory

◆ OnInventoryCombine

Delegate_CombineInventory AC.EventManager.OnInventoryCombine
static

An event triggered whenever two inventory items are combined together. This is triggered even if the item is "used" with itself

◆ OnInventoryDeselect

Delegate_Inventory AC.EventManager.OnInventoryDeselect
static

An event triggered whenever an inventory item is de-selected by the player

◆ OnInventoryInteract

Delegate_ChangeInventory AC.EventManager.OnInventoryInteract
static

An event triggered whenever an inventory item is interacted with

◆ OnInventoryRemove

Delegate_ChangeInventory AC.EventManager.OnInventoryRemove
static

An event triggered whenever an item is removed from the player's inventory

◆ OnInventorySelect

Delegate_Inventory AC.EventManager.OnInventorySelect
static

An event triggered whenever an inventory item is selected by the player

◆ OnJournalPageAdd

Delegate_OnModifyJournalPage AC.EventManager.OnJournalPageAdd
static

An event triggered whenever a Journal element has a new page added to it

◆ OnJournalPageRemove

Delegate_OnModifyJournalPage AC.EventManager.OnJournalPageRemove
static

An event triggered whenever a Journal element has a page removed to it

◆ OnMenuElementClick

Delegate_OnMenuElementClick AC.EventManager.OnMenuElementClick
static

An event triggered whenever a MenuElement inside a Menu is clicked

◆ OnMenuElementHide

Delegate_OnMenuElementVisiblity AC.EventManager.OnMenuElementHide
static

An event triggered whenever a menu element is made invisible

◆ OnMenuElementShift

Delegate_OnMenuElementShift AC.EventManager.OnMenuElementShift
static

An event triggered whenever a menu element's slots are shifted

◆ OnMenuElementShow

Delegate_OnMenuElementVisiblity AC.EventManager.OnMenuElementShow
static

An event triggered whenever a menu element is made visible

◆ OnMenuTurnOff

Delegate_OnMenuTurnOn AC.EventManager.OnMenuTurnOff
static

An event triggered whenever a menu is turned off

◆ OnMenuTurnOn

Delegate_OnMenuTurnOn AC.EventManager.OnMenuTurnOn
static

An event triggered whenever a menu is turned on

◆ OnModifyHotspotDetectorCollection

Delegate_HotspotCollection AC.EventManager.OnModifyHotspotDetectorCollection
static

An event triggered whenever a DetectHotspots script modifies its internal collection of nearby Hotspots

◆ OnMouseOverMenu

Delegate_OnMouseOverMenu AC.EventManager.OnMouseOverMenu
static

An event triggered whenever the mouse hovers over a new menu element

◆ OnOccupyPlayerStart

Delegate_OnOccupyPlayerStart AC.EventManager.OnOccupyPlayerStart
static

An event triggered whenever the player snaps to a PlayerStart

◆ OnPointAndClick

Delegate_OnPointAndClick AC.EventManager.OnPointAndClick
static

An event triggered whenever the player is commanded to move via point-and-click

◆ OnRegisterHotspot

Delegate_ChangeHotspot AC.EventManager.OnRegisterHotspot
static

An event triggered whenever a Hotspot is registered to the StateHandler - typically by enabling its GameObject

◆ OnRestartGame

Delegate_Generic AC.EventManager.OnRestartGame
static

An event triggered when restarting the game

◆ OnRunTrigger

Delegate_OnRunTrigger AC.EventManager.OnRunTrigger
static

An event triggered whenever a Trigger is run

◆ OnSetHardwareCursor

Delegate_OnSetHardwareCursor AC.EventManager.OnSetHardwareCursor
static

An event triggered when the Hardware cursor is changed

◆ OnSetHeadTurnTarget

Delegate_SetHeadTurnTarget AC.EventManager.OnSetHeadTurnTarget
static

An event triggered whenever a character's head is given a target to look at

◆ OnSetPlayer

Delegate_SetPlayer AC.EventManager.OnSetPlayer
static

An event triggered whenever a new Player is loaded into the scene

◆ OnSwitchProfile

Delegate_OnSwitchProfile AC.EventManager.OnSwitchProfile
static

An event triggered after switching profile

◆ OnUnregisterHotspot

Delegate_ChangeHotspot AC.EventManager.OnUnregisterHotspot
static

An event triggered whenever a Hotspot is unregistered from the StateHandler - typically by disabling its GameObject

◆ OnUpdateDragLine

Delegate_OnUpdateDragLine AC.EventManager.OnUpdateDragLine
static

An event triggered every frame if the Player is drag-controlled

◆ OnUploadVariable

Delegate_OnVariableChange AC.EventManager.OnUploadVariable
static

An event triggered whenever a Variable's value is to be uploaded to a custom script it is linked to

◆ OnVariableChange

Delegate_OnVariableChange AC.EventManager.OnVariableChange
static

An event triggered whenever a Variable is changed via an Action

Event Documentation

◆ OnAfterChangeScene

Delegate_AfterSceneChange AC.EventManager.OnAfterChangeScene
static

An event triggered just after the active scene is changed

◆ OnBeforeChangeScene

Delegate_NoParameters AC.EventManager.OnBeforeChangeScene
static

An event triggered just before the active scene is changed

◆ OnBeginActionList

Delegate_OnBeginActionList AC.EventManager.OnBeginActionList
static

An event triggered when an ActionList is run

◆ OnChangeLanguage

Delegate_OnChangeLanguage AC.EventManager.OnChangeLanguage
static

An event triggered whenever the current language is changed

◆ OnChangeSubtitles

Delegate_OnChangeSubtitles AC.EventManager.OnChangeSubtitles
static

An event triggered whenever subtitles are turns on or off

◆ OnChangeVoiceLanguage

Delegate_OnChangeLanguage AC.EventManager.OnChangeVoiceLanguage
static

An event triffered whenever the current voice language is changed, provided that this is not synced to the text language

◆ OnChangeVolume

Delegate_OnChangeVolume AC.EventManager.OnChangeVolume
static

An event triggered whenever the Music, Speech or SFX volumes are changed

◆ OnClickConversation

Delegate_ConversationChoice AC.EventManager.OnClickConversation
static

An event triggered whenever a Conversation option is chosen

◆ OnCloseDocument

Delegate_HandleDocument AC.EventManager.OnCloseDocument
static

An event triggered when a Document is closed

◆ OnCompleteScenePreload

Delegate_OnCompleteScenePreload AC.EventManager.OnCompleteScenePreload
static

An event triggered after a request to preload a scene is completed

◆ OnCompleteSpeechScroll

Delegate_StartSpeech AC.EventManager.OnCompleteSpeechScroll
static

An event triggred whenever a line of dialogue has completed scrolling

◆ OnCompleteSpeechScroll_Alt

Delegate_Speech AC.EventManager.OnCompleteSpeechScroll_Alt
static

An event triggred whenever a line of dialogue has completed scrolling

◆ OnDropMoveable

Delegate_OnMoveable AC.EventManager.OnDropMoveable
static

An event triggered whenever a moveable object is dropped by the player

◆ OnEndActionList

Delegate_OnEndActionList AC.EventManager.OnEndActionList
static

An event triggered when an ActionList is ended

◆ OnEndSpeechScroll

Delegate_StartSpeech AC.EventManager.OnEndSpeechScroll
static

An event triggered whenever a line of dialogue stops scrolling

◆ OnEndSpeechScroll_Alt

Delegate_Speech AC.EventManager.OnEndSpeechScroll_Alt
static

An event triggered whenever a line of dialogue stops scrolling

◆ OnEnterGameState

Delegate_ChangeGameState AC.EventManager.OnEnterGameState
static

An event triggered whenever a GameState is entered

◆ OnExitGameState

Delegate_ChangeGameState AC.EventManager.OnExitGameState
static

An event triggered whenever a GameState is exited

◆ OnGrabMoveable

Delegate_OnMoveable AC.EventManager.OnGrabMoveable
static

An event triggered whenever a moveable object is picked up by the player

◆ OnOpenDocument

Delegate_HandleDocument AC.EventManager.OnOpenDocument
static

An event triggered when a new Document is opened

◆ OnPauseActionList

Delegate_OnPauseActionList AC.EventManager.OnPauseActionList
static

An event triggered when an ActionList is paused

◆ OnPlayAmbience

Delegate_OnPlaySoundtrack AC.EventManager.OnPlayAmbience
static

An event triggered when an Ambience track plays

◆ OnPlayMusic

Delegate_OnPlaySoundtrack AC.EventManager.OnPlayMusic
static

An event triggered when a Music track plays

◆ OnRequestSpeechTokenReplacement

Delegate_OnRequestSpeechTokenReplacement AC.EventManager.OnRequestSpeechTokenReplacement
static

An event triggered whenever a speech token is used in speech text, and it's replacement is requested (it will be removed otherwise)

◆ OnResumeActionList

Delegate_OnPauseActionList AC.EventManager.OnResumeActionList
static

An event triggered when an ActionList is resumed

◆ OnShakeCamera

Delegate_OnShakeCamera AC.EventManager.OnShakeCamera
static

An event triggered whenever the MainCamera is shaken

◆ OnSpeechToken

Delegate_SpeechToken AC.EventManager.OnSpeechToken
static

An event triggered whenever a line of dialogue uses a speech token

◆ OnSpeechToken_Alt

Delegate_SpeechTokenAlt AC.EventManager.OnSpeechToken_Alt
static

An event triggered whenever a line of dialogue uses a speech token

◆ OnStartConversation

Delegate_Conversation AC.EventManager.OnStartConversation
static

An event triggered whenever a Conversation begins

◆ OnStartScene

Delegate_NoParameters AC.EventManager.OnStartScene
static

An event triggered whenever a scene starts, but not due to loading a save file

◆ OnStartSpeech

Delegate_StartSpeech AC.EventManager.OnStartSpeech
static

An event triggered whenever a new line of dialogue begins

◆ OnStartSpeech_Alt

Delegate_Speech AC.EventManager.OnStartSpeech_Alt
static

An event triggered whenever a new line of dialogue begins

◆ OnStartSpeechScroll

Delegate_StartSpeech AC.EventManager.OnStartSpeechScroll
static

An event triggered whenever a line of dialogue starts scrolling

◆ OnStartSpeechScroll_Alt

Delegate_Speech AC.EventManager.OnStartSpeechScroll_Alt
static

An event triggered whenever a line of dialogue starts scrolling

◆ OnStopAmbience

Delegate_OnStopSoundtrack AC.EventManager.OnStopAmbience
static

An event triggered when the Ambience stops

◆ OnStopMusic

Delegate_OnStopSoundtrack AC.EventManager.OnStopMusic
static

An event triggered when the Music stops

◆ OnStopSpeech

Delegate_StopSpeech AC.EventManager.OnStopSpeech
static

An event triggered whenever a line of dialogue ends

◆ OnStopSpeech_Alt

Delegate_Speech AC.EventManager.OnStopSpeech_Alt
static

An event triggered whenever a line of dialogue ends

◆ OnSwitchCamera

Delegate_OnSwitchCamera AC.EventManager.OnSwitchCamera
static

An event triggered whenever the MainCamera switches to a new _Camera