Skip to content

AutoTagVDataCondition_t

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 344 bytes (0x158)Alignment: 8 bytesModule: toolutils2Binary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • AutoTagVDataCondition_t
Relationship diagram (1 edges)
classDiagram
    AutoTagVDataCondition_t *-- InfoForResourceTypeCVDataResource
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

4 fields, 4 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

AutoTagVDataCondition_t

OffsetFieldTypeFromAnnotations
0x0m_SourceFileCResourceNameTyped< CWeakHandle< InfoForResourceTypeCVDataResource > >MPropertyDescription The VData file to read
0xe0m_AssetKeyCKV3MemberNameWithStorageMPropertyDescription The key whose value must match the asset name (ie. something like 'm_Model' if you want to apply this tag to .vmdl assets that are referenced by the vdata file)
0x118m_AlternateAssetKeyCKV3MemberNameWithStorageMPropertyDescription Optional second key to check
0x150m_ExpressionCUtlStringMPropertyDescription This expression determines whether the tag should actually be applied to an asset It will be evaluated against vdata entries where the key matches the asset - if any of them evaluate to true the tag will be applied. Most simple expressions involving the VData keys are supported. Use 'true' to tag unconditionally.
KV3 class defaults
{
	"m_SourceFile": "",
	"m_AssetKey": "",
	"m_AlternateAssetKey": "",
	"m_Expression": ""
}