Skip to content

Commit 544fc35

Browse files
committed
Add dumped schemas from CS2 for a better diff
1 parent cc2d959 commit 544fc35

2,807 files changed

Lines changed: 179873 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DumpSource2/commands.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

DumpSource2/convars.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// MGetKV3ClassDefaults = {
2+
// "m_nEntityIndex": 0,
3+
// "m_modelName": "",
4+
// "m_poseParams":
5+
// [
6+
// ],
7+
// "m_decodeOps":
8+
// [
9+
// ],
10+
// "m_internalOps":
11+
// [
12+
// ],
13+
// "m_decodedAnims":
14+
// [
15+
// ]
16+
//}
17+
class AnimationDecodeDebugDumpElement_t
18+
{
19+
int32 m_nEntityIndex;
20+
CUtlString m_modelName;
21+
CUtlVector< CUtlString > m_poseParams;
22+
CUtlVector< CUtlString > m_decodeOps;
23+
CUtlVector< CUtlString > m_internalOps;
24+
CUtlVector< CUtlString > m_decodedAnims;
25+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// MGetKV3ClassDefaults = {
2+
// "m_processingType": "ANIMATION_PROCESSING_SERVER_SIMULATION",
3+
// "m_elems":
4+
// [
5+
// ]
6+
//}
7+
class AnimationDecodeDebugDump_t
8+
{
9+
AnimationProcessingType_t m_processingType;
10+
CUtlVector< AnimationDecodeDebugDumpElement_t > m_elems;
11+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
enum AnimationProcessingType_t : uint32_t
2+
{
3+
ANIMATION_PROCESSING_SERVER_SIMULATION = 0,
4+
ANIMATION_PROCESSING_CLIENT_SIMULATION = 1,
5+
ANIMATION_PROCESSING_CLIENT_PREDICTION = 2,
6+
ANIMATION_PROCESSING_CLIENT_INTERPOLATION = 3,
7+
ANIMATION_PROCESSING_CLIENT_RENDER = 4,
8+
ANIMATION_PROCESSING_MAX = 5,
9+
};
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// MGetKV3ClassDefaults = {
2+
// "m_flRealTime": 0.000000,
3+
// "m_rootToWorld":
4+
// [
5+
// 0.000000,
6+
// 0.000000,
7+
// 0.000000,
8+
// 0.000000,
9+
// 0.000000,
10+
// 0.000000,
11+
// 0.000000,
12+
// 0.000000,
13+
// 0.000000,
14+
// 0.000000,
15+
// 0.000000,
16+
// 0.000000
17+
// ],
18+
// "m_bBonesInWorldSpace": false,
19+
// "m_boneSetupMask":
20+
// [
21+
// ],
22+
// "m_boneTransforms":
23+
// [
24+
// ],
25+
// "m_flexControllers":
26+
// [
27+
// ],
28+
// "m_SnapshotType": "ANIMATION_SNAPSHOT_SERVER_SIMULATION",
29+
// "m_bHasDecodeDump": false,
30+
// "m_DecodeDump":
31+
// {
32+
// "m_nEntityIndex": 0,
33+
// "m_modelName": "",
34+
// "m_poseParams":
35+
// [
36+
// ],
37+
// "m_decodeOps":
38+
// [
39+
// ],
40+
// "m_internalOps":
41+
// [
42+
// ],
43+
// "m_decodedAnims":
44+
// [
45+
// ]
46+
// }
47+
//}
48+
class AnimationSnapshotBase_t
49+
{
50+
float32 m_flRealTime;
51+
matrix3x4a_t m_rootToWorld;
52+
bool m_bBonesInWorldSpace;
53+
CUtlVector< uint32 > m_boneSetupMask;
54+
CUtlVector< matrix3x4a_t > m_boneTransforms;
55+
CUtlVector< float32 > m_flexControllers;
56+
AnimationSnapshotType_t m_SnapshotType;
57+
bool m_bHasDecodeDump;
58+
AnimationDecodeDebugDumpElement_t m_DecodeDump;
59+
};
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
enum AnimationSnapshotType_t : uint32_t
2+
{
3+
ANIMATION_SNAPSHOT_SERVER_SIMULATION = 0,
4+
ANIMATION_SNAPSHOT_CLIENT_SIMULATION = 1,
5+
ANIMATION_SNAPSHOT_CLIENT_PREDICTION = 2,
6+
ANIMATION_SNAPSHOT_CLIENT_INTERPOLATION = 3,
7+
ANIMATION_SNAPSHOT_CLIENT_RENDER = 4,
8+
ANIMATION_SNAPSHOT_FINAL_COMPOSITE = 5,
9+
ANIMATION_SNAPSHOT_MAX = 6,
10+
};
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
// MGetKV3ClassDefaults = {
2+
// "m_flRealTime": 0.000000,
3+
// "m_rootToWorld":
4+
// [
5+
// 0.000000,
6+
// 0.000000,
7+
// 0.000000,
8+
// 0.000000,
9+
// 0.000000,
10+
// 0.000000,
11+
// 0.000000,
12+
// 0.000000,
13+
// 0.000000,
14+
// 0.000000,
15+
// 0.000000,
16+
// 0.000000
17+
// ],
18+
// "m_bBonesInWorldSpace": false,
19+
// "m_boneSetupMask":
20+
// [
21+
// ],
22+
// "m_boneTransforms":
23+
// [
24+
// ],
25+
// "m_flexControllers":
26+
// [
27+
// ],
28+
// "m_SnapshotType": "ANIMATION_SNAPSHOT_SERVER_SIMULATION",
29+
// "m_bHasDecodeDump": false,
30+
// "m_DecodeDump":
31+
// {
32+
// "m_nEntityIndex": 0,
33+
// "m_modelName": "",
34+
// "m_poseParams":
35+
// [
36+
// ],
37+
// "m_decodeOps":
38+
// [
39+
// ],
40+
// "m_internalOps":
41+
// [
42+
// ],
43+
// "m_decodedAnims":
44+
// [
45+
// ]
46+
// },
47+
// "m_nEntIndex": 0,
48+
// "m_modelName": ""
49+
//}
50+
class AnimationSnapshot_t : public AnimationSnapshotBase_t
51+
{
52+
int32 m_nEntIndex;
53+
CUtlString m_modelName;
54+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
enum BoneTransformSpace_t : uint32_t
2+
{
3+
// MPropertyFriendlyName = "Invalid"
4+
BoneTransformSpace_Invalid = -1,
5+
// MPropertyFriendlyName = "Parent Space"
6+
BoneTransformSpace_Parent = 0,
7+
// MPropertyFriendlyName = "Model Space"
8+
BoneTransformSpace_Model = 1,
9+
// MPropertyFriendlyName = "World Space"
10+
BoneTransformSpace_World = 2,
11+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// MGetKV3ClassDefaults = {
2+
// "m_name": "",
3+
// "m_nActivity": 0,
4+
// "m_nFlags": 0,
5+
// "m_nWeight": 0
6+
//}
7+
class CAnimActivity
8+
{
9+
CBufferString m_name;
10+
int32 m_nActivity;
11+
int32 m_nFlags;
12+
int32 m_nWeight;
13+
};

0 commit comments

Comments
 (0)