#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/entity2/CEntityIOOutput.hpp"
#include "source2sdk/server/CLogicalEntity.hpp"

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

namespace source2sdk
{
    namespace server
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0x580
        // Has VTable
        #pragma pack(push, 1)
        class CTimerEntity : public source2sdk::server::CLogicalEntity
        {
        public:
            source2sdk::entity2::CEntityIOOutput m_OnTimer; // 0x4e0            
            source2sdk::entity2::CEntityIOOutput m_OnTimerHigh; // 0x508            
            source2sdk::entity2::CEntityIOOutput m_OnTimerLow; // 0x530            
            std::int32_t m_iDisabled; // 0x558            
            float m_flInitialDelay; // 0x55c            
            float m_flRefireTime; // 0x560            
            bool m_bUpDownState; // 0x564            
            uint8_t _pad0565[0x3]; // 0x565
            std::int32_t m_iUseRandomTime; // 0x568            
            bool m_bPauseAfterFiring; // 0x56c            
            uint8_t _pad056d[0x3]; // 0x56d
            float m_flLowerRandomBound; // 0x570            
            float m_flUpperRandomBound; // 0x574            
            float m_flRemainingTime; // 0x578            
            bool m_bPaused; // 0x57c            
            uint8_t _pad057d[0x3];
            
            // Datamap fields:
            // float InputRefireTime; // 0x0
            // void InputFireTimer; // 0x0
            // void InputEnable; // 0x0
            // void InputDisable; // 0x0
            // void InputToggle; // 0x0
            // float InputAddToTimer; // 0x0
            // void InputResetTimer; // 0x0
            // float InputSubtractFromTimer; // 0x0
            // void InputPauseTimer; // 0x0
            // void InputUnpauseTimer; // 0x0
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in CTimerEntity because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::server::CTimerEntity) == 0x580);
    };
};
