ORK Framework  2.24.0
API Documentation
ORKFramework.Events.BattleEvent Class Reference
Inheritance diagram for ORKFramework.Events.BattleEvent:
ORKFramework.Events.BaseEvent ORKFramework.BaseNode ORKFramework.Events.IEventStarter ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void SetPrefabs (EventPrefab[] newPrefabs)
 
void SetAudioClips (EventAudio[] newAudioClip)
 
override void StartEvent (IEventStarter s, object startingObject)
 
override void StopEvent (bool clearStarter)
 
override void ExecuteNextStep ()
 
override string GetActorName (int index)
 
override IPortrait GetActorPortrait (int index, int typeID)
 
override List< GameObject > GetActorObject (int index)
 
override List< CombatantGetActorCombatant (int index)
 
override List< GameObject > GetWaypoint (int index)
 
override GameObject SpawnPrefab (int index, Vector3 position, Vector3 rotation)
 
override void DestroyPrefab (int index, int spawnID, float time)
 
override List< GameObject > GetSpawnedPrefab (int index, int spawnID)
 
GameObject GetPrefab (int index)
 
override AudioClip GetAudioClip (int index)
 
override Transform GetCamera ()
 
- Public Member Functions inherited from ORKFramework.Events.BaseEvent
void DoPlayerBlock (int add)
 
void DoCameraBlock (int add)
 
override string GetNodeName ()
 
override string GetNodeDetails ()
 
override string GetNextName (int index)
 
override bool IsRemovable ()
 
override int GetNextCount ()
 
override int GetNext (int index)
 
override void SetNext (int index, int next)
 
void StepFinished (int next)
 
virtual void ExecuteNextStepStop ()
 
void WaitForButton (int[] id, float t, int[] next, int nextFail)
 
void WaitForStep (IStepUpdate waitStep, float t, int nextFail)
 
virtual void SetNextStep (int next)
 
void StartTime (float t, int next)
 
void StartContinue (float t, BaseEventStep s)
 
void Tick (float delta)
 
void ResetCameraPosition ()
 
virtual void ChangeFoundObjects (string key, List< GameObject > list, ListChangeType changeType)
 
virtual List< GameObject > GetFoundObjects (string key)
 
int FoundObjectsCount (string key)
 
void CallMoveEvent (ORKMoveEvent eventAsset, List< GameObject > movingObject, int next, bool shareVariables, bool shareSelectedData, bool shareFoundObjects)
 
void CallGlobalEvent (ORKGameEvent eventAsset, int next, bool shareVariables, bool shareSelectedData, bool shareFoundObjects)
 
void CallBattleEvent (ORKBattleEvent eventAsset, int next, bool shareVariables, bool shareSelectedData, bool shareFoundObjects)
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
void SetGameOver ()
 
void SetExitGame ()
 
virtual void AddGUIBox (GUIBox box)
 
virtual void RemoveGUIBox (GUIBox box)
 
virtual void CloseAllGUIBoxes ()
 
- Public Member Functions inherited from ORKFramework.BaseNode
int GetFirstFree ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool blockMoveAI = false
 
bool blockActorMoveAI = false
 
bool blockControlMaps = false
 
bool clearFoundObjects = false
 
bool resetCam = false
 
bool resetLook = false
 
bool calcNeeded = false
 
bool clearBlocks = false
 
bool autoDamageDealers = true
 
bool mainCamera = true
 
bool cameraTag = false
 
string cameraName = ""
 
bool ignoreCamBlock = false
 
float noBlockChance = 100
 
bool destroyPrefabs = false
 
EventPrefab[] prefab = new EventPrefab[0]
 
EventAudio[] audioClip = new EventAudio[0]
 
- Public Attributes inherited from ORKFramework.Events.BaseEvent
int startIndex = -1
 
BaseEventStep[] step = new BaseEventStep[0]
 
- Public Attributes inherited from ORKFramework.BaseNode
Vector2 nodePosition = new Vector2(38, 38)
 
bool overrideNodeName = false
 
string nodeName = ""
 

Protected Member Functions

override void EndEvent ()
 
- Protected Member Functions inherited from ORKFramework.Events.BaseEvent
void StartEvent ()
 
bool CheckButtons (ref int next)
 

Properties

BaseAction Action [get]
 
override bool PerformCamera [get]
 
- Properties inherited from ORKFramework.Events.BaseEvent
VariableHandler Variables [get, set]
 
SelectedDataHandler SelectedData [get, set]
 
bool Executing [get]
 
bool Stopping [get]
 
GameObject GameObject [get]
 
IEventStarter Starter [get]
 
Transform InitialCamParent [get]
 
Vector3 InitialCamPosition [get]
 
Quaternion InitialCamRotation [get]
 
float InitialFieldOfView [get]
 
virtual bool PerformCamera [get]
 
Dictionary< string, List< GameObject > > FoundObjects [get, set]
 
- Properties inherited from ORKFramework.BaseNode
virtual bool IsEnabled [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Events.BaseEvent
IEventStarter starter
 
bool executing = false
 
int currentStep = 0
 
int currentStepFail = 0
 
long stepCounter = 0
 
bool stopFlag = false
 
HashSet< int > stopList
 
VariableHandler variableHandler
 
SelectedDataHandler selectedData
 
bool checkButtons = false
 
int[] buttonID
 
int[] buttonNext
 
IStepUpdate waitStep
 
bool timeRunning = false
 
bool stepFinished = false
 
float time = 0.0f
 
bool noTimeDecrease = false
 
List< ContinueStepcontinueSteps = new List<ContinueStep>()
 
bool endAfterContinue = false
 
Transform camera
 
Transform initialCamParent
 
Vector3 initialCamPosition
 
Quaternion initialCamRotation
 
float initialFieldOfView
 
BaseEvent calledEvent
 
bool gameOver = false
 
bool exitGame = false
 
int playerBlocks = 0
 
int cameraBlocks = 0
 
Dictionary< string, List< GameObject > > foundObjects = new Dictionary<string, List<GameObject>>()
 
List< GUIBoxguiBox = new List<GUIBox>()
 
- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0