Class VfxEval
Namespace: ValveResourceFormat.Serialization.VfxEval
Assembly: ValveResourceFormat.dll
Evaluates and decompiles VFX dynamic expressions.
public class VfxEvalInheritance
Constructors
VfxEval(byte[], bool, IReadOnlyList<string>?)
Initializes a new instance of the class.
public VfxEval(byte[] binaryBlob, bool omitReturnStatement = false, IReadOnlyList<string>? features = null)Parameters
binaryBlob byte[]
The binary blob to parse.
omitReturnStatement bool
Whether to omit the return statement in the output.
features IReadOnlyList<string>?
The list of features.
VfxEval(byte[], IReadOnlyList<string>, bool, IReadOnlyList<string>?, Func<int, string>?)
Initializes a new instance of the class.
public VfxEval(byte[] binaryBlob, IReadOnlyList<string> renderAttributesUsed, bool omitReturnStatement = false, IReadOnlyList<string>? features = null, Func<int, string>? enumMapper = null)Parameters
binaryBlob byte[]
The binary blob to parse.
renderAttributesUsed IReadOnlyList<string>
The list of render attributes used.
omitReturnStatement bool
Whether to omit the return statement in the output.
features IReadOnlyList<string>?
The list of features.
The enum mapper function.
Properties
DynamicExpressionBlob
Gets the original dynamic expression binary blob.
public byte[] DynamicExpressionBlob { get; }Property Value
byte[]
DynamicExpressionResult
Gets the parsed dynamic expression result as a string.
public string DynamicExpressionResult { get; }Property Value
EnumMapper
Gets the enum mapper function.
public Func<int, string>? EnumMapper { get; }Property Value
RenderAttributesUsed
Gets the list of render attributes used in the expression.
public IReadOnlyList<string> RenderAttributesUsed { get; }
