Click or drag to resize

AutoActionStartModel Class

Used to mark the start of an action that was recorded in PlayHistory and store the data necessary to replay that action. This model is used for actions NOT made by the player.

An instance of this class always corresponds to an instance of ActionModel in the simulation Xml.

Inheritance Hierarchy

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class AutoActionStartModel : ActionReplayModel, 
	IHaveHashedPath

The AutoActionStartModel type exposes the following members.

Constructors
  NameDescription
Public methodAutoActionStartModel
Initializes a new instance of the AutoActionStartModel class
Top
Properties
  NameDescription
Public propertyActionComments
The comments of the corresponding ActionModel.
Public propertyActionTarget
The target of the corresponding ActionModel.
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCorrespondingElementId
If this model represents the start of action, then CorrespondingElementId will get the Id of the model representing the end of an action, and vice versa.
(Inherited from ActionReplayModel.)
Public propertyCount
Specifies number of occurrences of same action.
(Inherited from ActionReplayModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyElementName
The name of the corresponding [!:ActionModel], e.g. "Click", "SetField". This generally directly indicates the derived type of the action model.
(Inherited from ActionReplayModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyHashedPath
A hash generated from the path that identifies the location at which the model exists in the simulation tree. Is more resilient to XML changes than IDs.
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIgnored
Specifies if the action was ignored during the invocation"/>
Public propertyIgnoreInPH
Specifies if the action denoted by element should be ignored in PH replay mode.
(Inherited from ActionReplayModel.)
Public propertyIsAsync
Specifies if the action denoted by the element is asynchronous.
(Inherited from ActionReplayModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIteration
Specifies an iteration number when action event occured.
(Inherited from ActionReplayModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTime
Specifies a Unity time when action event occured"/>
(Inherited from ActionReplayModel.)
Public propertyXmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
Methods
  NameDescription
Public methodDeepCopy
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.)
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodShallowCopy (Inherited from BaseModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseModel.)
Public methodUpdateModels
This method will update this model and all its child models.
(Inherited from BaseModel.)
Top
See Also