#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/particles/CParticleFunctionOperator.hpp"
#include "source2sdk/particles/ParticleAttributeIndex_t.hpp"
#include "source2sdk/particles/ParticleRotationLockType_t.hpp"
#include "source2sdk/particleslib/CParticleModelInput.hpp"
#include "source2sdk/particleslib/CParticleTransformInput.hpp"
#include "source2sdk/particleslib/CPerParticleFloatInput.hpp"
#include "source2sdk/particleslib/CPerParticleVecInput.hpp"

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

namespace source2sdk
{
    namespace particles
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0xb08
        // Has VTable
        // 
        // static metadata: MGetKV3ClassDefaults
        #pragma pack(push, 1)
        class C_OP_LockToBone : public source2sdk::particles::CParticleFunctionOperator
        {
        public:
            // metadata: MPropertyFriendlyName "model input"
            source2sdk::particleslib::CParticleModelInput m_modelInput; // 0x1c0            
            // metadata: MPropertyFriendlyName "transform input"
            source2sdk::particleslib::CParticleTransformInput m_transformInput; // 0x220            
            // metadata: MPropertyFriendlyName "lifetime fade start"
            float m_flLifeTimeFadeStart; // 0x288            
            // metadata: MPropertyFriendlyName "lifetime fade end"
            float m_flLifeTimeFadeEnd; // 0x28c            
            // metadata: MPropertyFriendlyName "instant jump threshold"
            float m_flJumpThreshold; // 0x290            
            // metadata: MPropertyFriendlyName "previous position scale"
            float m_flPrevPosScale; // 0x294            
            // metadata: MPropertyFriendlyName "hitbox set"
            char m_HitboxSetName[128]; // 0x298            
            // metadata: MPropertyFriendlyName "rigid lock"
            bool m_bRigid; // 0x318            
            // metadata: MPropertyFriendlyName "use bones instead of hitboxes"
            bool m_bUseBones; // 0x319            
            uint8_t _pad031a[0x2]; // 0x31a
            // metadata: MPropertyFriendlyName "output field"
            // metadata: MPropertyAttributeChoiceName "particlefield_vector"
            source2sdk::particles::ParticleAttributeIndex_t m_nFieldOutput; // 0x31c            
            // metadata: MPropertyFriendlyName "output field prev"
            // metadata: MPropertyAttributeChoiceName "particlefield_vector"
            source2sdk::particles::ParticleAttributeIndex_t m_nFieldOutputPrev; // 0x320            
            // metadata: MPropertyStartGroup "Set Rotations to Bones"
            // metadata: MPropertyFriendlyName "lock rotations to bone orientation"
            source2sdk::particles::ParticleRotationLockType_t m_nRotationSetType; // 0x324            
            // metadata: MPropertyFriendlyName "rigid set rotation from bones"
            bool m_bRigidRotationLock; // 0x328            
            uint8_t _pad0329[0x7]; // 0x329
            // metadata: MPropertyFriendlyName "rigid rotation offset pitch/yaw/roll"
            source2sdk::particleslib::CPerParticleVecInput m_vecRotation; // 0x330            
            // metadata: MPropertyFriendlyName "rigid rotation interpolation"
            source2sdk::particleslib::CPerParticleFloatInput m_flRotLerp; // 0x9a8            
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in C_OP_LockToBone because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::particles::C_OP_LockToBone) == 0xb08);
    };
};
