Show / Hide Table of Contents

Class TerminalActionParameter

Implements terminal action parameter

Inheritance
System.Object
TerminalActionParameter
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public sealed class TerminalActionParameter : ValueType

Fields

Empty

Gets an empty parameter.

Declaration
public static readonly TerminalActionParameter Empty
Field Value
Type Description
TerminalActionParameter

TypeCode

Gets the type code

Declaration
public readonly TypeCode TypeCode
Field Value
Type Description
System.TypeCode

Value

Gets the value

Declaration
public readonly object Value
Field Value
Type Description
System.Object

Properties

IsEmpty

Gets whether this action is empty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

Methods

Deserialize(String, TypeCode)

Creates a TerminalActionParameter from a serialized value in a string and a type code.

Declaration
public static TerminalActionParameter Deserialize(string serializedValue, TypeCode typeCode)
Parameters
Type Name Description
System.String serializedValue
System.TypeCode typeCode
Returns
Type Description
TerminalActionParameter

Get(Object)

Creates a TerminalActionParameter from the given value.

Declaration
public static TerminalActionParameter Get(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
TerminalActionParameter

GetObjectBuilder()

Gets object builder for the action

Declaration
public MyObjectBuilder_ToolbarItemActionParameter GetObjectBuilder()
Returns
Type Description
MyObjectBuilder_ToolbarItemActionParameter

instance of object builder

☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾