#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/particles/CParticleFunctionPreEmission.hpp"
#include "source2sdk/particleslib/CParticleCollectionFloatInput.hpp"

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

namespace source2sdk
{
    namespace particles
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0x5f8
        // Has VTable
        // 
        // static metadata: MGetKV3ClassDefaults
        #pragma pack(push, 1)
        class C_OP_RepeatedTriggerChildGroup : public source2sdk::particles::CParticleFunctionPreEmission
        {
        public:
            // metadata: MPropertyFriendlyName "group ID to affect"
            std::int32_t m_nChildGroupID; // 0x1c8            
            uint8_t _pad01cc[0x4]; // 0x1cc
            // metadata: MPropertyFriendlyName "Within-Cluster Refire Time"
            source2sdk::particleslib::CParticleCollectionFloatInput m_flClusterRefireTime; // 0x1d0            
            // metadata: MPropertyFriendlyName "Within-Cluster Fire Count Before Cooldown"
            source2sdk::particleslib::CParticleCollectionFloatInput m_flClusterSize; // 0x330            
            // metadata: MPropertyFriendlyName "Cluster Cooldown Time"
            source2sdk::particleslib::CParticleCollectionFloatInput m_flClusterCooldown; // 0x490            
            // metadata: MPropertyFriendlyName "limit active children to parent particle count"
            bool m_bLimitChildCount; // 0x5f0            
            uint8_t _pad05f1[0x7];
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in C_OP_RepeatedTriggerChildGroup because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::particles::C_OP_RepeatedTriggerChildGroup) == 0x5f8);
    };
};
