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 *-- InfoForResourceTypeCVDataResourceMemory layout
4 fields, 4 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
AutoTagVDataCondition_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_SourceFile | CResourceNameTyped< CWeakHandle< InfoForResourceTypeCVDataResource > > | MPropertyDescription The VData file to read | |
0xe0 | m_AssetKey | CKV3MemberNameWithStorage | MPropertyDescription 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) | |
0x118 | m_AlternateAssetKey | CKV3MemberNameWithStorage | MPropertyDescription Optional second key to check | |
0x150 | m_Expression | CUtlString | MPropertyDescription 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": ""
}