Skip to content

Commit d4b5877

Browse files
committed
Remove PhysicsGroup enum
1. I don't really know if it can be truly exhaustive, or if they reuse the same rows for different purposes. 2. You should really be looking at the Excel sheet instead, because it's literally an index into that. Whoever was using the enum can copy that into their project instead and deal with figuring out which rows are which.
1 parent 26895ac commit d4b5877

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

FFXIVClientStructs/FFXIV/Client/Graphics/Physics/BoneSimulator.cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace FFXIVClientStructs.FFXIV.Client.Graphics.Physics;
66
// Client::Graphics::Physics::BoneSimulator
77
[StructLayout(LayoutKind.Explicit, Size = 0x450)]
88
public unsafe struct BoneSimulator {
9-
[FieldOffset(0x10)] public PhysicsGroup Group;
9+
[FieldOffset(0x10)] public uint Group; // Row ID in the PhysicsGroup sheet.
1010
[FieldOffset(0x18)] public Skeleton* Skeleton; // Client::Graphics::Render::Skeleton
1111
[FieldOffset(0x20)] public Vector3 CharacterPosition;
1212
[FieldOffset(0x30)] public Vector3 Gravity;
@@ -24,16 +24,4 @@ public unsafe struct BoneSimulator {
2424
[FieldOffset(0x444)] public bool IsSimulating;
2525
[FieldOffset(0x445)] public bool IsTimeIntegrating; // Whether the simulator is integrating (time stepping) on this frame
2626
[FieldOffset(0x446)] public bool IsCollidable;
27-
28-
/// <summary> Non-exhaustive list of physics groups </summary>
29-
public enum PhysicsGroup : uint {
30-
Clothing = 2,
31-
HairA = 3, // Usually the hair's bangs
32-
HairB = 4, // Typically the back of the hair
33-
HairC = 5, // The sides of the hair
34-
HairD = 6, // Extraneous hair bits
35-
Chest = 7,
36-
Earrings = 8,
37-
Ears = 18,
38-
}
3927
}

0 commit comments

Comments
 (0)