-
Notifications
You must be signed in to change notification settings - Fork 0
/
animationsystem.hpp
5578 lines (5162 loc) · 129 KB
/
animationsystem.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
// /////////////////////////////////////////////////////////////
// Binary: animationsystem.dll
// Classes count: 342
// Enums count: 68
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
// Alignment: 4
// Size: 0x2
enum class MoodType_t : uint32_t
{
eMoodType_Head = 0x0,
eMoodType_Body = 0x1,
};
// Alignment: 4
// Size: 0x6
enum class AnimationProcessingType_t : uint32_t
{
ANIMATION_PROCESSING_SERVER_SIMULATION = 0x0,
ANIMATION_PROCESSING_CLIENT_SIMULATION = 0x1,
ANIMATION_PROCESSING_CLIENT_PREDICTION = 0x2,
ANIMATION_PROCESSING_CLIENT_INTERPOLATION = 0x3,
ANIMATION_PROCESSING_CLIENT_RENDER = 0x4,
ANIMATION_PROCESSING_MAX = 0x5,
};
// Alignment: 4
// Size: 0x7
enum class AnimationSnapshotType_t : uint32_t
{
ANIMATION_SNAPSHOT_SERVER_SIMULATION = 0x0,
ANIMATION_SNAPSHOT_CLIENT_SIMULATION = 0x1,
ANIMATION_SNAPSHOT_CLIENT_PREDICTION = 0x2,
ANIMATION_SNAPSHOT_CLIENT_INTERPOLATION = 0x3,
ANIMATION_SNAPSHOT_CLIENT_RENDER = 0x4,
ANIMATION_SNAPSHOT_FINAL_COMPOSITE = 0x5,
ANIMATION_SNAPSHOT_MAX = 0x6,
};
// Alignment: 4
// Size: 0x11
enum class SeqCmd_t : uint32_t
{
SeqCmd_Nop = 0x0,
SeqCmd_LinearDelta = 0x1,
SeqCmd_FetchFrameRange = 0x2,
SeqCmd_Slerp = 0x3,
SeqCmd_Add = 0x4,
SeqCmd_Subtract = 0x5,
SeqCmd_Scale = 0x6,
SeqCmd_Copy = 0x7,
SeqCmd_Blend = 0x8,
SeqCmd_Worldspace = 0x9,
SeqCmd_Sequence = 0xa,
SeqCmd_FetchCycle = 0xb,
SeqCmd_FetchFrame = 0xc,
SeqCmd_IKLockInPlace = 0xd,
SeqCmd_IKRestoreAll = 0xe,
SeqCmd_ReverseSequence = 0xf,
SeqCmd_Transform = 0x10,
};
// Alignment: 4
// Size: 0x4
enum class SeqPoseSetting_t : uint32_t
{
SEQ_POSE_SETTING_CONSTANT = 0x0,
SEQ_POSE_SETTING_ROTATION = 0x1,
SEQ_POSE_SETTING_POSITION = 0x2,
SEQ_POSE_SETTING_VELOCITY = 0x3,
};
// Alignment: 4
// Size: 0x12
enum class ParticleAttachment_t : uint32_t
{
PATTACH_INVALID = 0xffffffffffffffff,
PATTACH_ABSORIGIN = 0x0,
PATTACH_ABSORIGIN_FOLLOW = 0x1,
PATTACH_CUSTOMORIGIN = 0x2,
PATTACH_CUSTOMORIGIN_FOLLOW = 0x3,
PATTACH_POINT = 0x4,
PATTACH_POINT_FOLLOW = 0x5,
PATTACH_EYES_FOLLOW = 0x6,
PATTACH_OVERHEAD_FOLLOW = 0x7,
PATTACH_WORLDORIGIN = 0x8,
PATTACH_ROOTBONE_FOLLOW = 0x9,
PATTACH_RENDERORIGIN_FOLLOW = 0xa,
PATTACH_MAIN_VIEW = 0xb,
PATTACH_WATERWAKE = 0xc,
PATTACH_CENTER_FOLLOW = 0xd,
PATTACH_CUSTOM_GAME_STATE_1 = 0xe,
PATTACH_HEALTHBAR = 0xf,
MAX_PATTACH_TYPES = 0x10,
};
// Alignment: 1
// Size: 0x9
enum class AnimParamType_t : uint8_t
{
ANIMPARAM_UNKNOWN = 0x0,
ANIMPARAM_BOOL = 0x1,
ANIMPARAM_ENUM = 0x2,
ANIMPARAM_INT = 0x3,
ANIMPARAM_FLOAT = 0x4,
ANIMPARAM_VECTOR = 0x5,
ANIMPARAM_QUATERNION = 0x6,
ANIMPARAM_STRINGTOKEN = 0x7,
ANIMPARAM_COUNT = 0x8,
};
// Alignment: 4
// Size: 0x4
enum class BoneTransformSpace_t : uint32_t
{
BoneTransformSpace_Invalid = 0xffffffffffffffff,
BoneTransformSpace_Parent = 0x0,
BoneTransformSpace_Model = 0x1,
BoneTransformSpace_World = 0x2,
};
// Alignment: 4
// Size: 0xd
enum class AnimParamButton_t : uint32_t
{
ANIMPARAM_BUTTON_NONE = 0x0,
ANIMPARAM_BUTTON_DPAD_UP = 0x1,
ANIMPARAM_BUTTON_DPAD_RIGHT = 0x2,
ANIMPARAM_BUTTON_DPAD_DOWN = 0x3,
ANIMPARAM_BUTTON_DPAD_LEFT = 0x4,
ANIMPARAM_BUTTON_A = 0x5,
ANIMPARAM_BUTTON_B = 0x6,
ANIMPARAM_BUTTON_X = 0x7,
ANIMPARAM_BUTTON_Y = 0x8,
ANIMPARAM_BUTTON_LEFT_SHOULDER = 0x9,
ANIMPARAM_BUTTON_RIGHT_SHOULDER = 0xa,
ANIMPARAM_BUTTON_LTRIGGER = 0xb,
ANIMPARAM_BUTTON_RTRIGGER = 0xc,
};
// Alignment: 4
// Size: 0x3
enum class AnimParamNetworkSetting : uint32_t
{
Auto = 0x0,
AlwaysNetwork = 0x1,
NeverNetwork = 0x2,
};
// Alignment: 4
// Size: 0x3
enum class FootstepLandedFootSoundType_t : uint32_t
{
FOOTSOUND_Left = 0x0,
FOOTSOUND_Right = 0x1,
FOOTSOUND_UseOverrideSound = 0x2,
};
// Alignment: 4
// Size: 0x3
enum class AnimPoseControl : uint32_t
{
NoPoseControl = 0x0,
AbsolutePoseControl = 0x1,
RelativePoseControl = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class RagdollPoseControl : uint32_t
{
Absolute = 0x0,
Relative = 0x1,
};
// Alignment: 4
// Size: 0x2
enum class AnimVRHandMotionRange_t : uint32_t
{
MotionRange_WithController = 0x0,
MotionRange_WithoutController = 0x1,
};
// Alignment: 4
// Size: 0x4
enum class AnimVrFingerSplay_t : uint32_t
{
AnimVrFingerSplay_Thumb_Index = 0x0,
AnimVrFingerSplay_Index_Middle = 0x1,
AnimVrFingerSplay_Middle_Ring = 0x2,
AnimVrFingerSplay_Ring_Pinky = 0x3,
};
// Alignment: 4
// Size: 0x2
enum class AnimVrBoneTransformSource_t : uint32_t
{
AnimVrBoneTransformSource_LiveStream = 0x0,
AnimVrBoneTransformSource_GripLimit = 0x1,
};
// Alignment: 4
// Size: 0x5
enum class VPhysXBodyPart_t__VPhysXFlagEnum_t : uint32_t
{
FLAG_STATIC = 0x1,
FLAG_KINEMATIC = 0x2,
FLAG_JOINT = 0x4,
FLAG_MASS = 0x8,
FLAG_ALWAYS_DYNAMIC_ON_CLIENT = 0x10,
};
// Alignment: 4
// Size: 0x4
enum class VPhysXConstraintParams_t__EnumFlags0_t : uint32_t
{
FLAG0_SHIFT_INTERPENETRATE = 0x0,
FLAG0_SHIFT_CONSTRAIN = 0x1,
FLAG0_SHIFT_BREAKABLE_FORCE = 0x2,
FLAG0_SHIFT_BREAKABLE_TORQUE = 0x3,
};
// Alignment: 4
// Size: 0x3
enum class VPhysXJoint_t__Flags_t : uint32_t
{
JOINT_FLAGS_NONE = 0x0,
JOINT_FLAGS_BODY1_FIXED = 0x1,
JOINT_FLAGS_USE_BLOCK_SOLVER = 0x2,
};
// Alignment: 4
// Size: 0x3
enum class VPhysXAggregateData_t__VPhysXFlagEnum_t : uint32_t
{
FLAG_IS_POLYSOUP_GEOMETRY = 0x1,
FLAG_LEVEL_COLLISION = 0x10,
FLAG_IGNORE_SCALE_OBSOLETE_DO_NOT_USE = 0x20,
};
// Alignment: 4
// Size: 0x8
enum class MeshDrawPrimitiveFlags_t : uint32_t
{
MESH_DRAW_FLAGS_NONE = 0x0,
MESH_DRAW_FLAGS_USE_SHADOW_FAST_PATH = 0x1,
MESH_DRAW_FLAGS_USE_COMPRESSED_NORMAL_TANGENT = 0x2,
MESH_DRAW_INPUT_LAYOUT_IS_NOT_MATCHED_TO_MATERIAL = 0x8,
MESH_DRAW_FLAGS_USE_COMPRESSED_PER_VERTEX_LIGHTING = 0x10,
MESH_DRAW_FLAGS_USE_UNCOMPRESSED_PER_VERTEX_LIGHTING = 0x20,
MESH_DRAW_FLAGS_CAN_BATCH_WITH_DYNAMIC_SHADER_CONSTANTS = 0x40,
MESH_DRAW_FLAGS_DRAW_LAST = 0x80,
};
// Alignment: 4
// Size: 0x16
enum class ModelSkeletonData_t__BoneFlags_t : uint32_t
{
FLAG_NO_BONE_FLAGS = 0x0,
FLAG_BONEFLEXDRIVER = 0x4,
FLAG_CLOTH = 0x8,
FLAG_PHYSICS = 0x10,
FLAG_ATTACHMENT = 0x20,
FLAG_ANIMATION = 0x40,
FLAG_MESH = 0x80,
FLAG_HITBOX = 0x100,
FLAG_BONE_USED_BY_VERTEX_LOD0 = 0x400,
FLAG_BONE_USED_BY_VERTEX_LOD1 = 0x800,
FLAG_BONE_USED_BY_VERTEX_LOD2 = 0x1000,
FLAG_BONE_USED_BY_VERTEX_LOD3 = 0x2000,
FLAG_BONE_USED_BY_VERTEX_LOD4 = 0x4000,
FLAG_BONE_USED_BY_VERTEX_LOD5 = 0x8000,
FLAG_BONE_USED_BY_VERTEX_LOD6 = 0x10000,
FLAG_BONE_USED_BY_VERTEX_LOD7 = 0x20000,
FLAG_BONE_MERGE_READ = 0x40000,
FLAG_BONE_MERGE_WRITE = 0x80000,
FLAG_ALL_BONE_FLAGS = 0xfffff,
BLEND_PREALIGNED = 0x100000,
FLAG_RIGIDLENGTH = 0x200000,
FLAG_PROCEDURAL = 0x400000,
};
// Alignment: 4
// Size: 0xf
enum class PermModelInfo_t__FlagEnum : uint32_t
{
FLAG_TRANSLUCENT = 0x1,
FLAG_TRANSLUCENT_TWO_PASS = 0x2,
FLAG_MODEL_IS_RUNTIME_COMBINED = 0x4,
FLAG_SOURCE1_IMPORT = 0x8,
FLAG_MODEL_PART_CHILD = 0x10,
FLAG_NAV_GEN_NONE = 0x20,
FLAG_NAV_GEN_HULL = 0x40,
FLAG_NO_FORCED_FADE = 0x800,
FLAG_HAS_SKINNED_MESHES = 0x400,
FLAG_DO_NOT_CAST_SHADOWS = 0x20000,
FLAG_FORCE_PHONEME_CROSSFADE = 0x1000,
FLAG_NO_ANIM_EVENTS = 0x100000,
FLAG_ANIMATION_DRIVEN_FLEXES = 0x200000,
FLAG_IMPLICIT_BIND_POSE_SEQUENCE = 0x400000,
FLAG_MODEL_DOC = 0x800000,
};
// Alignment: 4
// Size: 0x4
enum class ModelBoneFlexComponent_t : uint32_t
{
MODEL_BONE_FLEX_INVALID = 0xffffffffffffffff,
MODEL_BONE_FLEX_TX = 0x0,
MODEL_BONE_FLEX_TY = 0x1,
MODEL_BONE_FLEX_TZ = 0x2,
};
// Alignment: 4
// Size: 0x5
enum class ModelConfigAttachmentType_t : uint32_t
{
MODEL_CONFIG_ATTACHMENT_INVALID = 0xffffffffffffffff,
MODEL_CONFIG_ATTACHMENT_BONE_OR_ATTACHMENT = 0x0,
MODEL_CONFIG_ATTACHMENT_ROOT_RELATIVE = 0x1,
MODEL_CONFIG_ATTACHMENT_BONEMERGE = 0x2,
MODEL_CONFIG_ATTACHMENT_COUNT = 0x3,
};
// Alignment: 4
// Size: 0x1a
enum class FlexOpCode_t : uint32_t
{
FLEX_OP_CONST = 0x1,
FLEX_OP_FETCH1 = 0x2,
FLEX_OP_FETCH2 = 0x3,
FLEX_OP_ADD = 0x4,
FLEX_OP_SUB = 0x5,
FLEX_OP_MUL = 0x6,
FLEX_OP_DIV = 0x7,
FLEX_OP_NEG = 0x8,
FLEX_OP_EXP = 0x9,
FLEX_OP_OPEN = 0xa,
FLEX_OP_CLOSE = 0xb,
FLEX_OP_COMMA = 0xc,
FLEX_OP_MAX = 0xd,
FLEX_OP_MIN = 0xe,
FLEX_OP_2WAY_0 = 0xf,
FLEX_OP_2WAY_1 = 0x10,
FLEX_OP_NWAY = 0x11,
FLEX_OP_COMBO = 0x12,
FLEX_OP_DOMINATE = 0x13,
FLEX_OP_DME_LOWER_EYELID = 0x14,
FLEX_OP_DME_UPPER_EYELID = 0x15,
FLEX_OP_SQRT = 0x16,
FLEX_OP_REMAPVALCLAMPED = 0x17,
FLEX_OP_SIN = 0x18,
FLEX_OP_COS = 0x19,
FLEX_OP_ABS = 0x1a,
};
// Alignment: 4
// Size: 0x4
enum class MorphFlexControllerRemapType_t : uint32_t
{
MORPH_FLEXCONTROLLER_REMAP_PASSTHRU = 0x0,
MORPH_FLEXCONTROLLER_REMAP_2WAY = 0x1,
MORPH_FLEXCONTROLLER_REMAP_NWAY = 0x2,
MORPH_FLEXCONTROLLER_REMAP_EYELID = 0x3,
};
// Alignment: 4
// Size: 0x4
enum class MorphBundleType_t : uint32_t
{
MORPH_BUNDLE_TYPE_NONE = 0x0,
MORPH_BUNDLE_TYPE_POSITION_SPEED = 0x1,
MORPH_BUNDLE_TYPE_NORMAL_WRINKLE = 0x2,
MORPH_BUNDLE_TYPE_COUNT = 0x3,
};
// Alignment: 4
// Size: 0x2
enum class AnimVRHand_t : uint32_t
{
AnimVRHand_Left = 0x0,
AnimVRHand_Right = 0x1,
};
// Alignment: 4
// Size: 0x5
enum class AnimVRFinger_t : uint32_t
{
AnimVrFinger_Thumb = 0x0,
AnimVrFinger_Index = 0x1,
AnimVrFinger_Middle = 0x2,
AnimVrFinger_Ring = 0x3,
AnimVrFinger_Pinky = 0x4,
};
// Alignment: 4
// Size: 0x4
enum class IKChannelMode : uint32_t
{
TwoBone = 0x0,
TwoBone_Translate = 0x1,
OneBone = 0x2,
OneBone_Translate = 0x3,
};
// Alignment: 4
// Size: 0x2
enum class EDemoBoneSelectionMode : uint32_t
{
CaptureAllBones = 0x0,
CaptureSelectedBones = 0x1,
};
// Alignment: 4
// Size: 0x25
enum class AnimValueSource : uint32_t
{
MoveHeading = 0x0,
MoveSpeed = 0x1,
ForwardSpeed = 0x2,
StrafeSpeed = 0x3,
FacingHeading = 0x4,
ManualFacingHeading = 0x5,
LookHeading = 0x6,
LookPitch = 0x7,
LookDistance = 0x8,
Parameter = 0x9,
WayPointHeading = 0xa,
WayPointDistance = 0xb,
BoundaryRadius = 0xc,
TargetMoveHeading = 0xd,
TargetMoveSpeed = 0xe,
AccelerationHeading = 0xf,
AccelerationSpeed = 0x10,
SlopeHeading = 0x11,
SlopeAngle = 0x12,
SlopePitch = 0x13,
SlopeYaw = 0x14,
GoalDistance = 0x15,
AccelerationLeftRight = 0x16,
AccelerationFrontBack = 0x17,
RootMotionSpeed = 0x18,
RootMotionTurnSpeed = 0x19,
MoveHeadingRelativeToLookHeading = 0x1a,
MaxMoveSpeed = 0x1b,
FingerCurl_Thumb = 0x1c,
FingerCurl_Index = 0x1d,
FingerCurl_Middle = 0x1e,
FingerCurl_Ring = 0x1f,
FingerCurl_Pinky = 0x20,
FingerSplay_Thumb_Index = 0x21,
FingerSplay_Index_Middle = 0x22,
FingerSplay_Middle_Ring = 0x23,
FingerSplay_Ring_Pinky = 0x24,
};
// Alignment: 4
// Size: 0xd
enum class AnimVectorSource : uint32_t
{
MoveDirection = 0x0,
FacingDirection = 0x1,
LookDirection = 0x2,
VectorParameter = 0x3,
WayPointDirection = 0x4,
Acceleration = 0x5,
SlopeNormal = 0x6,
SlopeNormal_WorldSpace = 0x7,
LookTarget = 0x8,
LookTarget_WorldSpace = 0x9,
WayPointPosition = 0xa,
GoalPosition = 0xb,
RootMotionVelocity = 0xc,
};
// Alignment: 4
// Size: 0x3
enum class DampingSpeedFunction : uint32_t
{
NoDamping = 0x0,
Constant = 0x1,
Spring = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class AnimNodeNetworkMode : uint32_t
{
ServerAuthoritative = 0x0,
ClientSimulate = 0x1,
};
// Alignment: 4
// Size: 0x4
enum class StateActionBehavior : uint32_t
{
STATETAGBEHAVIOR_ACTIVE_WHILE_CURRENT = 0x0,
STATETAGBEHAVIOR_FIRE_ON_ENTER = 0x1,
STATETAGBEHAVIOR_FIRE_ON_EXIT = 0x2,
STATETAGBEHAVIOR_FIRE_ON_ENTER_AND_EXIT = 0x3,
};
// Alignment: 4
// Size: 0x3
enum class FieldNetworkOption : uint32_t
{
Auto = 0x0,
ForceEnable = 0x1,
ForceDisable = 0x2,
};
// Alignment: 4
// Size: 0x8
enum class FootFallTagFoot_t : uint32_t
{
FOOT1 = 0x0,
FOOT2 = 0x1,
FOOT3 = 0x2,
FOOT4 = 0x3,
FOOT5 = 0x4,
FOOT6 = 0x5,
FOOT7 = 0x6,
FOOT8 = 0x7,
};
// Alignment: 4
// Size: 0x2
enum class MatterialAttributeTagType_t : uint32_t
{
MATERIAL_ATTRIBUTE_TAG_VALUE = 0x0,
MATERIAL_ATTRIBUTE_TAG_COLOR = 0x1,
};
// Alignment: 1
// Size: 0x3
enum class VelocityMetricMode : uint8_t
{
DirectionOnly = 0x0,
MagnitudeOnly = 0x1,
DirectionAndMagnitude = 0x2,
};
// Alignment: 4
// Size: 0x4
enum class AimMatrixBlendMode : uint32_t
{
AimMatrixBlendMode_None = 0x0,
AimMatrixBlendMode_Additive = 0x1,
AimMatrixBlendMode_ModelSpaceAdditive = 0x2,
AimMatrixBlendMode_BoneMask = 0x3,
};
// Alignment: 4
// Size: 0x4
enum class BoneMaskBlendSpace : uint32_t
{
BlendSpace_Parent = 0x0,
BlendSpace_Model = 0x1,
BlendSpace_Model_RotationOnly = 0x2,
BlendSpace_Model_TranslationOnly = 0x3,
};
// Alignment: 4
// Size: 0x3
enum class JiggleBoneSimSpace : uint32_t
{
SimSpace_Local = 0x0,
SimSpace_Model = 0x1,
SimSpace_World = 0x2,
};
// Alignment: 4
// Size: 0x7
enum class SolveIKChainAnimNodeDebugSetting : uint32_t
{
SOLVEIKCHAINANIMNODEDEBUGSETTING_None = 0x0,
SOLVEIKCHAINANIMNODEDEBUGSETTING_X_Axis_Circle = 0x1,
SOLVEIKCHAINANIMNODEDEBUGSETTING_Y_Axis_Circle = 0x2,
SOLVEIKCHAINANIMNODEDEBUGSETTING_Z_Axis_Circle = 0x3,
SOLVEIKCHAINANIMNODEDEBUGSETTING_Forward = 0x4,
SOLVEIKCHAINANIMNODEDEBUGSETTING_Up = 0x5,
SOLVEIKCHAINANIMNODEDEBUGSETTING_Left = 0x6,
};
// Alignment: 2
// Size: 0x3
enum class AnimScriptType : uint16_t
{
ANIMSCRIPT_TYPE_INVALID = 0xffffffffffffffff,
ANIMSCRIPT_FUSE_GENERAL = 0x0,
ANIMSCRIPT_FUSE_STATEMACHINE = 0x1,
};
// Alignment: 4
// Size: 0x3
enum class BinaryNodeTiming : uint32_t
{
UseChild1 = 0x0,
UseChild2 = 0x1,
SyncChildren = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class BinaryNodeChildOption : uint32_t
{
Child1 = 0x0,
Child2 = 0x1,
};
// Alignment: 4
// Size: 0x4
enum class BlendKeyType : uint32_t
{
BlendKey_UserValue = 0x0,
BlendKey_Velocity = 0x1,
BlendKey_Distance = 0x2,
BlendKey_RemainingDistance = 0x3,
};
// Alignment: 4
// Size: 0x2
enum class Blend2DMode : uint32_t
{
Blend2DMode_General = 0x0,
Blend2DMode_Directional = 0x1,
};
// Alignment: 4
// Size: 0x4
enum class ChoiceMethod : uint32_t
{
WeightedRandom = 0x0,
WeightedRandomNoRepeat = 0x1,
Iterate = 0x2,
IterateRandom = 0x3,
};
// Alignment: 4
// Size: 0x3
enum class ChoiceChangeMethod : uint32_t
{
OnReset = 0x0,
OnCycleEnd = 0x1,
OnResetOrCycleEnd = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class ChoiceBlendMethod : uint32_t
{
SingleBlendTime = 0x0,
PerChoiceBlendTimes = 0x1,
};
// Alignment: 4
// Size: 0x2
enum class FootLockSubVisualization : uint32_t
{
FOOTLOCKSUBVISUALIZATION_ReachabilityAnalysis = 0x0,
FOOTLOCKSUBVISUALIZATION_IKSolve = 0x1,
};
// Alignment: 4
// Size: 0x3
enum class FootPinningTimingSource : uint32_t
{
FootMotion = 0x0,
Tag = 0x1,
Parameter = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class StepPhase : uint32_t
{
StepPhase_OnGround = 0x0,
StepPhase_InAir = 0x1,
};
// Alignment: 4
// Size: 0x2
enum class JumpCorrectionMethod : uint32_t
{
ScaleMotion = 0x0,
AddCorrectionDelta = 0x1,
};
// Alignment: 4
// Size: 0x3
enum class SelectorTagBehavior_t : uint32_t
{
SelectorTagBehavior_OnWhileCurrent = 0x0,
SelectorTagBehavior_OffWhenFinished = 0x1,
SelectorTagBehavior_OffBeforeFinished = 0x2,
};
// Alignment: 4
// Size: 0x2
enum class StanceOverrideMode : uint32_t
{
Sequence = 0x0,
Node = 0x1,
};
// Alignment: 4
// Size: 0x5
enum class ResetCycleOption : uint32_t
{
Beginning = 0x0,
SameCycleAsSource = 0x1,
InverseSourceCycle = 0x2,
FixedValue = 0x3,
SameTimeAsSource = 0x4,
};
// Alignment: 4
// Size: 0x2
enum class IkEndEffectorType : uint32_t
{
IkEndEffector_Attachment = 0x0,
IkEndEffector_Bone = 0x1,
};
// Alignment: 4
// Size: 0x4
enum class IkTargetType : uint32_t
{
IkTarget_Attachment = 0x0,
IkTarget_Bone = 0x1,
IkTarget_Parameter_ModelSpace = 0x2,
IkTarget_Parameter_WorldSpace = 0x3,
};
// Alignment: 1
// Size: 0x3
enum class PoseType_t : uint8_t
{
POSETYPE_STATIC = 0x0,
POSETYPE_DYNAMIC = 0x1,
POSETYPE_INVALID = 0xff,
};
// Alignment: 4
// Size: 0x5
enum class CAnimationGraphVisualizerPrimitiveType : uint32_t
{
ANIMATIONGRAPHVISUALIZERPRIMITIVETYPE_Text = 0x0,
ANIMATIONGRAPHVISUALIZERPRIMITIVETYPE_Sphere = 0x1,
ANIMATIONGRAPHVISUALIZERPRIMITIVETYPE_Line = 0x2,
ANIMATIONGRAPHVISUALIZERPRIMITIVETYPE_Pie = 0x3,
ANIMATIONGRAPHVISUALIZERPRIMITIVETYPE_Axis = 0x4,
};
// Alignment: 4
// Size: 0x3
enum class FacingMode : uint32_t
{
FacingMode_Manual = 0x0,
FacingMode_Path = 0x1,
FacingMode_LookTarget = 0x2,
};
// Alignment: 4
// Size: 0x6
enum class IKSolverType : uint32_t
{
IKSOLVER_Perlin = 0x0,
IKSOLVER_TwoBone = 0x1,
IKSOLVER_Fabrik = 0x2,
IKSOLVER_DogLeg3Bone = 0x3,
IKSOLVER_CCD = 0x4,
IKSOLVER_COUNT = 0x5,
};
// Alignment: 4
// Size: 0x3
enum class IKTargetSource : uint32_t
{
IKTARGETSOURCE_Bone = 0x0,
IKTARGETSOURCE_AnimgraphParameter = 0x1,
IKTARGETSOURCE_COUNT = 0x2,
};
// Alignment: 4
// Size: 0x3
enum class IKTargetCoordinateSystem : uint32_t
{
IKTARGETCOORDINATESYSTEM_WorldSpace = 0x0,
IKTARGETCOORDINATESYSTEM_ModelSpace = 0x1,
IKTARGETCOORDINATESYSTEM_COUNT = 0x2,
};
struct CRangeFloat;
struct AnimationDecodeDebugDumpElement_t;
struct CAnimEncodeDifference;
struct CAnimDesc_Flag;
struct CAnimEncodedFrames;
struct CAnimSequenceParams;
struct CAnimKeyData;
struct CSeqAutoLayerFlag;
struct CSeqMultiFetchFlag;
struct CSeqSeqDescFlag;
struct CSeqMultiFetch;
struct CSeqTransition;
struct VPhysics2ShapeDef_t;
struct VPhysXConstraintParams_t;
struct VPhysXRange_t;
struct PhysFeModelDesc_t;
struct CPhysSurfacePropertiesPhysics;
struct CPhysSurfacePropertiesSoundNames;
struct CPhysSurfacePropertiesAudio;
struct PermModelInfo_t;
struct ModelSkeletonData_t;
struct CModelConfigList;
struct SkeletonBoneBounds_t;
struct CRenderBufferBinding;
struct PackedAABB_t;
struct CDrawCullingData;
struct CRenderSkeleton;
struct CAnimCycle;
struct CFootCycle;
struct CFootCycleDefinition;
struct CFootTrajectories;
struct CAnimGraphSettingsManager;
struct CAnimNodePath;
struct CAnimParamHandle;
struct HSequence;
struct AnimComponentID;
struct AnimScriptHandle;
struct AnimTagID;
struct CAnimInputDamping;
struct CAnimDemoCaptureSettings;
struct CAnimStateMachineUpdater;
struct CMotionSearchDB;
struct CVectorQuantizer;
struct CMotionSearchNode;
struct CProductQuantizer;
struct CParamSpanUpdater;
struct AnimNodeID;
struct CAnimAttachment;
struct IKSolverSettings_t;
struct IKTargetSettings_t;
struct AnimParamID;
struct AnimStateID;
struct CAnimUpdateNodeRef;
struct TraceSettings_t;
struct CMotionDataSet;
struct CBlendCurve;
struct CPoseHandle;
struct SkeletalInputOpFixedSettings_t;
struct MotionIndex;
struct IKBoneNameAndIndex_t;
struct AimMatrixOpFixedSettings_t;
struct FollowAttachmentSettings_t;
struct FootLockPoseOpFixedSettings;
struct FootPinningPoseOpFixedData_t;
struct HitReactFixedSettings_t;
struct JiggleBoneSettingsList_t;
struct LookAtOpFixedSettings_t;
struct SolveIKChainPoseOpFixedSettings_t;
struct TwoBoneIKSettings_t;
// Alignment: 2
// Size: 0x10
struct MoodAnimation_t
{
public:
// MPropertyDescription "Name of the animation"
// MPropertyAttributeEditor "VDataModelAnim( m_sModelName; include_deltas )"
CUtlString m_sName; // 0x0
// MPropertyDescription "Weight of the animation, higher numbers get picked more"
float m_flWeight; // 0x8
};
// Alignment: 12
// Size: 0x60
struct MoodAnimationLayer_t
{
public:
// MPropertyFriendlyName "Name"
// MPropertyDescription "Name of the layer"
CUtlString m_sName; // 0x0
// MPropertyFriendlyName "Active When Listening"
// MPropertyDescription "Sets the mood's animation buckets to be active when the character is listening"
bool m_bActiveListening; // 0x8
// MPropertyFriendlyName "Active When Talking"
// MPropertyDescription "Sets the mood's animation buckets to be active when the character is talking"
bool m_bActiveTalking; // 0x9
private:
[[maybe_unused]] uint8_t __pad000a[0x6]; // 0xa
public:
// MPropertyDescription "List of animations to choose from"
CUtlVector< MoodAnimation_t > m_layerAnimations; // 0x10
// MPropertyDescription "Intensity of the animation"
// MPropertyAttributeRange "0 1"
CRangeFloat m_flIntensity; // 0x28
// MPropertyDescription "Multiplier of the animation duration"
CRangeFloat m_flDurationScale; // 0x30
// MPropertyDescription "When scaling an animation, grab the scale value as in int. Used for gestures/postures to control number of looping sections"
bool m_bScaleWithInts; // 0x38
private:
[[maybe_unused]] uint8_t __pad0039[0x3]; // 0x39
public:
// MPropertyDescription "Time before the next animation can start"
CRangeFloat m_flNextStart; // 0x3c
// MPropertyDescription "Time from the start of the mood before an animation can start"
CRangeFloat m_flStartOffset; // 0x44
// MPropertyDescription "Time from the end of the mood when an animation cannot play"
CRangeFloat m_flEndOffset; // 0x4c
// MPropertyDescription "Fade in time of the animation"
float m_flFadeIn; // 0x54
// MPropertyDescription "Fade out time of the animation"
float m_flFadeOut; // 0x58
};
// Alignment: 3
// Size: 0x100
class CMoodVData
{
public:
// MPropertyDescription "Model to get the animation list from"
// MPropertyAutoRebuildOnChange
CResourceNameTyped< CWeakHandle< InfoForResourceTypeCModel > > m_sModelName; // 0x0
// MPropertyDescription "Type of mood"
MoodType_t m_nMoodType; // 0xe0
private:
[[maybe_unused]] uint8_t __pad00e4[0x4]; // 0xe4
public:
// MPropertyDescription "Layers for this mood"
CUtlVector< MoodAnimationLayer_t > m_animationLayers; // 0xe8
};
// Alignment: 6
// Size: 0x70
struct AnimationDecodeDebugDumpElement_t
{
public:
int32_t m_nEntityIndex; // 0x0
CUtlString m_modelName; // 0x8
CUtlVector< CUtlString > m_poseParams; // 0x10
CUtlVector< CUtlString > m_decodeOps; // 0x28
CUtlVector< CUtlString > m_internalOps; // 0x40
CUtlVector< CUtlString > m_decodedAnims; // 0x58
};
// Alignment: 2
// Size: 0x20
struct AnimationDecodeDebugDump_t
{
public:
AnimationProcessingType_t m_processingType; // 0x0
CUtlVector< AnimationDecodeDebugDumpElement_t > m_elems; // 0x8
};
// Alignment: 9
// Size: 0x110
struct AnimationSnapshotBase_t
{
public:
float m_flRealTime; // 0x0
matrix3x4a_t m_rootToWorld; // 0x10
bool m_bBonesInWorldSpace; // 0x40
private:
[[maybe_unused]] uint8_t __pad0041[0x7]; // 0x41
public:
CUtlVector< uint32 > m_boneSetupMask; // 0x48
CUtlVector< matrix3x4a_t > m_boneTransforms; // 0x60
CUtlVector< float32 > m_flexControllers; // 0x78
AnimationSnapshotType_t m_SnapshotType; // 0x90
bool m_bHasDecodeDump; // 0x94
private:
[[maybe_unused]] uint8_t __pad0095[0x3]; // 0x95
public:
AnimationDecodeDebugDumpElement_t m_DecodeDump; // 0x98
};
// Alignment: 2
// Size: 0x120
struct AnimationSnapshot_t : public AnimationSnapshotBase_t
{
public:
int32_t m_nEntIndex; // 0x110
private:
[[maybe_unused]] uint8_t __pad0114[0x4]; // 0x114
public:
CUtlString m_modelName; // 0x118
};
// Alignment: 5
// Size: 0x30
class CAnimBoneDifference
{
public:
CBufferString m_name; // 0x0