Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
Expansions.Missions.Editor.MissionEditorHistory.HistoryAction Class Reference

Action data holder class More...

Public Member Functions

 HistoryAction (IMEHistoryTarget target, ActionCallback callback, bool destroyOnClear, System.Guid currentHistoryStateID, params MonoBehaviour[] destroyTargets)
 Creates a new instance of this class More...
 
 HistoryAction (HistoryAction action)
 Creates a new instance of this class based on another instance More...
 

Public Attributes

ActionCallback callback
 
ConfigNode data
 
bool destroyOnClear
 
MonoBehaviour[] destroyTargets
 
IMEHistoryTarget target
 

Properties

System.Guid StateId [get, set]
 The history stateID for this action - used for detecting where in the stack of actions we are More...
 

Detailed Description

Action data holder class

Constructor & Destructor Documentation

Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.HistoryAction ( IMEHistoryTarget  target,
ActionCallback  callback,
bool  destroyOnClear,
System.Guid  currentHistoryStateID,
params MonoBehaviour[]  destroyTargets 
)
inline

Creates a new instance of this class

Parameters
targetHistory target
callbackCallback delegate that gets triggered to undo this action
destroyOnClearIndicates whatever the target object should be destroyed if the redo history gets overridden
currentHistoryStateIDThe History Controllers stateID at the time wthis was created
Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.HistoryAction ( HistoryAction  action)
inline

Creates a new instance of this class based on another instance

Parameters
action

Member Data Documentation

ActionCallback Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.callback
ConfigNode Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.data
bool Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.destroyOnClear
MonoBehaviour [] Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.destroyTargets
IMEHistoryTarget Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.target

Property Documentation

System.Guid Expansions.Missions.Editor.MissionEditorHistory.HistoryAction.StateId
getset

The history stateID for this action - used for detecting where in the stack of actions we are


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