Table of Contents

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

float

DeltaSec

The actions delta time.

public ref float DeltaSec { get; }

Property Value

float

Flags

The flags of the action.

public ref ulong Flags { get; }

Property Value

ulong

Name

The name of the action.

public string Name { get; }

Property Value

string

Parent

The entity that the action is attached to.

public Entity? Parent { get; }

Property Value

Entity

Methods

OnEnd()

public void OnEnd()

OnExecute()

public void OnExecute()

OnInitialize()

public void OnInitialize()

OnUpdate()

public bool OnUpdate()

Returns

bool