Skip to main content

FieldType

Source 2 datadesc field type — populated by the native variant_t carried by an entity I/O hook.

public enum FieldType : byte

Namespace: DeadworksManaged.Api
Inherits / implements: byte
Source: Enums/FieldType.cs#L5

Notes​

Mirrors fieldtype_t from sourcesdk/public/datamap.h. Only the types that actually appear in I/O variants are commonly seen.

Values​

NameValueDescription
Void0
Float321
String2
Vector3
Quaternion4
Int325
Boolean6
Int167
Character8
Color329
ClassPtr12
EHandle13
PositionVector14
Time15
Tick16
SoundName17
Vector2D25
Int6426
Vector4D27
Resource28
CString30
HScript31
Variant32
UInt6433
Float6434
UInt3237
UtlStringToken38
QAngle39