#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/modellib/VPhysics2ShapeDef_t.hpp"

// /////////////////////////////////////////////////////////////
// Module: modellib
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////

namespace source2sdk
{
    namespace modellib
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: true
        // Size: 0xa8
        // 
        // static metadata: MGetKV3ClassDefaults
        #pragma pack(push, 1)
        struct VPhysXBodyPart_t
        {
        public:
            std::uint32_t m_nFlags; // 0x0            
            float m_flMass; // 0x4            
            source2sdk::modellib::VPhysics2ShapeDef_t m_rnShape; // 0x8            
            std::uint16_t m_nCollisionAttributeIndex; // 0x80            
            std::uint16_t m_nReserved; // 0x82            
            float m_flInertiaScale; // 0x84            
            float m_flLinearDamping; // 0x88            
            float m_flAngularDamping; // 0x8c            
            float m_flLinearDrag; // 0x90            
            float m_flAngularDrag; // 0x94            
            bool m_bOverrideMassCenter; // 0x98            
            uint8_t _pad0099[0x3]; // 0x99
            Vector m_vMassCenterOverride; // 0x9c            
        };
        #pragma pack(pop)
        
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_nFlags) == 0x0);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flMass) == 0x4);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_rnShape) == 0x8);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_nCollisionAttributeIndex) == 0x80);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_nReserved) == 0x82);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flInertiaScale) == 0x84);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flLinearDamping) == 0x88);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flAngularDamping) == 0x8c);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flLinearDrag) == 0x90);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_flAngularDrag) == 0x94);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_bOverrideMassCenter) == 0x98);
        static_assert(offsetof(source2sdk::modellib::VPhysXBodyPart_t, m_vMassCenterOverride) == 0x9c);
        
        static_assert(sizeof(source2sdk::modellib::VPhysXBodyPart_t) == 0xa8);
    };
};
