Class Action
- Namespace
- SharpPluginLoader.Core.Actions
- Assembly
- SharpPluginLoader.Core.dll
Represents an instance of the cActionBase class.
public class Action : MtObject
- Inheritance
-
Action
- Inherited Members
Constructors
Action()
public Action()
Action(nint)
public Action(nint instance)
Parameters
instance
nint
Properties
ActiveTime
The amount of time the action has been active.
public ref float ActiveTime { get; }
Property Value
DeltaSec
The actions delta time.
public ref float DeltaSec { get; }
Property Value
Flags
The flags of the action.
public ref ulong Flags { get; }
Property Value
Name
The name of the action.
public string Name { get; }
Property Value
Parent
The entity that the action is attached to.
public Entity? Parent { get; }
Property Value
Methods
OnEnd()
public void OnEnd()
OnExecute()
public void OnExecute()
OnInitialize()
public void OnInitialize()
OnUpdate()
public bool OnUpdate()