#pragma once

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

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

namespace source2sdk
{
    namespace server
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0x510
        // Has VTable
        #pragma pack(push, 1)
        class CCredits : public source2sdk::server::CPointEntity
        {
        public:
            source2sdk::entity2::CEntityIOOutput m_OnCreditsDone; // 0x4e0            
            bool m_bRolledOutroCredits; // 0x508            
            uint8_t _pad0509[0x3]; // 0x509
            float m_flLogoLength; // 0x50c            
            
            // Datamap fields:
            // void InputRollCredits; // 0x0
            // void InputRollOutroCredits; // 0x0
            // void InputShowLogo; // 0x0
            // float InputSetLogoLength; // 0x0
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in CCredits because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::server::CCredits) == 0x510);
    };
};
