Class EntityLump.Connection
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents a IO connection.
public class EntityLump.ConnectionInheritance
object ← EntityLump.Connection
Properties
Delay
Gets the delay in seconds before the input is fired (m_flDelay).
public required float Delay { get; init; }Property Value
float
InputName
Gets the name of the input that is fired on the target entity (m_inputName).
public required string InputName { get; init; }Property Value
string
OutputName
Gets the name of the output that fires this connection (m_outputName).
public required string OutputName { get; init; }Property Value
string
OverrideParam
Gets the parameter override passed with the input (m_overrideParam).
public required string OverrideParam { get; init; }Property Value
string
ParamMap
Gets the input parameter mapping (m_paramMap), or null when the connection has none. An empty table maps nothing.
public KVObject? ParamMap { get; init; }Property Value
KVObject?
Remarks
Keyed by the input's parameter name, each entry is either { value = literal } or { src = "output param name" }. A --forward-all-args-- boolean forwards output params to input params of the same name.
SourceEntity
Gets the entity that fires this connection (the source of the output).
public required EntityLump.Entity SourceEntity { get; init; }Property Value
TargetName
Gets the name of the target entity (m_targetName).
public required string TargetName { get; init; }Property Value
string
TargetType
Gets the connection target type (m_targetType).
public required EntityIOTargetType TargetType { get; init; }Property Value
TimesToFire
Gets the number of times this connection may fire, or -1 for infinite (m_nTimesToFire).
public required int TimesToFire { get; init; }Property Value
int

