Variable
Abstract base class for action variable storage, providing the common interface for both field-backed and dynamic variables.
Definition
Namespace: Paragon.Core.ActionSystem
Assembly: Paragon.dll
Access: internal
[Serializable]
internal abstract class VariableDescription
Variable is the internal base class for storing named, typed values within the action system. It provides the foundation for two concrete implementations:
FieldVariable — Backed by a reflected field on an object
DynamicVariable — Stores values directly in memory
Properties
Type
Gets the System.Type of the stored value.
public Type Type { get; }Name
Gets the name identifier of the variable.
Methods
SetValue(object)
Sets the variable's value.
value
object
The value to store
GetValue()
Gets the variable's current value.
Returns: object — The stored value
Constructor
Variable(Type, string)
Creates a new variable with the specified type and name.
type
Type
The value type
name
string
The variable name
See Also
Last updated
Was this helpful?