Class VfxEval
- Assembly
- ValveResourceFormat.dll
Evaluates and decompiles VFX dynamic expressions.
public class VfxEvalInheritance
Inherited Members
Constructors
VfxEval(byte[], bool, IReadOnlyList<string>?)
Initializes a new instance of the ValveResourceFormat.Serialization.VfxEval.VfxEval class.
public VfxEval(byte[] binaryBlob, bool omitReturnStatement = false, IReadOnlyList<string>? features = null)Parameters
binaryBlobbyte[]-
The binary blob to parse.
omitReturnStatementbool-
Whether to omit the return statement in the output.
featuresIReadOnlyList<string>?-
The list of features.
VfxEval(byte[], IReadOnlyList<string>, bool, IReadOnlyList<string>?, Func<int, string>?)
Initializes a new instance of the ValveResourceFormat.Serialization.VfxEval.VfxEval class.
public VfxEval(byte[] binaryBlob, IReadOnlyList<string> renderAttributesUsed, bool omitReturnStatement = false, IReadOnlyList<string>? features = null, Func<int, string>? enumMapper = null)Parameters
binaryBlobbyte[]-
The binary blob to parse.
renderAttributesUsedIReadOnlyList<string>-
The list of render attributes used.
omitReturnStatementbool-
Whether to omit the return statement in the output.
featuresIReadOnlyList<string>?-
The list of features.
enumMapperFunc<int, string>?-
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; }