Table of Contents

Class HsmInputAttribute

Namespace
MarymoorStudios.Core.Fsm
Assembly
MarymoorStudios.Core.Fsm.dll

Defines an input.

[AttributeUsage(AttributeTargets.Method|AttributeTargets.Interface)]
public sealed class HsmInputAttribute : Attribute
Inheritance
HsmInputAttribute
Inherited Members

Constructors

HsmInputAttribute(string)

Constructor.

public HsmInputAttribute(string name = "")

Parameters

name string

See Name.

Fields

DefaultInputsName

public const string DefaultInputsName = "Inputs"

Field Value

string

Properties

Name

The name of the subclass of the data class to emit the generated input constants into.

public string Name { get; set; }

Property Value

string

Remarks

This can be used to either rename the subclass or support multiple HSMs in the same parent.