#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/entity2/CEntityIOOutput.hpp"
#include "source2sdk/server/CPointEntity.hpp"
#include "source2sdk/server/SoundFlags_t.hpp"
#include "source2sdk/server/SoundTypes_t.hpp"
namespace source2sdk
{
    namespace server
    {
        struct CBaseEntity;
    };
};
namespace source2sdk
{
    namespace server
    {
        struct CBaseFilter;
    };
};

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

namespace source2sdk
{
    namespace server
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0x6a0
        // Has VTable
        #pragma pack(push, 1)
        class CEnvMicrophone : public source2sdk::server::CPointEntity
        {
        public:
            bool m_bDisabled; // 0x4e0            
            uint8_t _pad04e1[0x3]; // 0x4e1
            // m_hMeasureTarget has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CHandle<source2sdk::server::CBaseEntity> m_hMeasureTarget;
            char m_hMeasureTarget[0x4]; // 0x4e4            
            source2sdk::server::SoundTypes_t m_nSoundType; // 0x4e8            
            source2sdk::server::SoundFlags_t m_nSoundFlags; // 0x4ea            
            float m_flSensitivity; // 0x4ec            
            float m_flSmoothFactor; // 0x4f0            
            float m_flMaxRange; // 0x4f4            
            CUtlSymbolLarge m_iszSpeakerName; // 0x4f8            
            // m_hSpeaker has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CHandle<source2sdk::server::CBaseEntity> m_hSpeaker;
            char m_hSpeaker[0x4]; // 0x500            
            bool m_bAvoidFeedback; // 0x504            
            uint8_t _pad0505[0x3]; // 0x505
            std::int32_t m_iSpeakerDSPPreset; // 0x508            
            uint8_t _pad050c[0x4]; // 0x50c
            CUtlSymbolLarge m_iszListenFilter; // 0x510            
            // m_hListenFilter has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CHandle<source2sdk::server::CBaseFilter> m_hListenFilter;
            char m_hListenFilter[0x4]; // 0x518            
            uint8_t _pad051c[0x4]; // 0x51c
            // m_SoundLevel has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CEntityOutputTemplate<float> m_SoundLevel;
            char m_SoundLevel[0x28]; // 0x520            
            source2sdk::entity2::CEntityIOOutput m_OnRoutedSound; // 0x548            
            source2sdk::entity2::CEntityIOOutput m_OnHeardSound; // 0x570            
            char m_szLastSound[256]; // 0x598            
            std::int32_t m_iLastRoutedFrame; // 0x698            
            uint8_t _pad069c[0x4];
            
            // Datamap fields:
            // void InputEnable; // 0x0
            // void InputDisable; // 0x0
            // CUtlSymbolLarge InputSetSpeakerName; // 0x0
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in CEnvMicrophone because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::server::CEnvMicrophone) == 0x6a0);
    };
};
