screenshake_t
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 56 bytes (0x38)Alignment: 4 bytesModule: clientBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Inheritance tree
- screenshake_t
Relationship diagram (1 edges)
classDiagram
screenshake_t *-- GameTime_tMemory layout
9 fields, 9 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
screenshake_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | endtime | GameTime_t | ||
0x4 | duration | float32 | ||
0x8 | amplitude | float32 | ||
0xc | frequency | float32 | ||
0x10 | nextShake | GameTime_t | ||
0x14 | offset | Vector | ||
0x20 | angle | float32 | ||
0x28 | direction | Vector | ||
0x34 | nShakeType | uint8 |
KV3 class defaults
{
"endtime": null,
"duration": 0.000000,
"amplitude": 0.000000,
"frequency": 0.000000,
"nextShake": null,
"offset":
[
0.000000,
0.000000,
0.000000
],
"angle": 0.000000,
"direction":
[
0.000000,
0.000000,
0.000000
],
"nShakeType": 0
}