#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/resourcesystem/InfoForResourceTypeCTextureBase.hpp"
#include "source2sdk/server/CBaseEntity.hpp"

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

namespace source2sdk
{
    namespace server
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: false
        // Size: 0x5c8
        // Has VTable
        // 
        // static metadata: MEntityAllowsPortraitWorldSpawn
        // static metadata: MNetworkVarNames "HRenderTextureStrong m_Entity_hCubemapTexture"
        // static metadata: MNetworkVarNames "bool m_Entity_bCustomCubemapTexture"
        // static metadata: MNetworkVarNames "float m_Entity_flInfluenceRadius"
        // static metadata: MNetworkVarNames "Vector m_Entity_vBoxProjectMins"
        // static metadata: MNetworkVarNames "Vector m_Entity_vBoxProjectMaxs"
        // static metadata: MNetworkVarNames "bool m_Entity_bMoveable"
        // static metadata: MNetworkVarNames "int m_Entity_nHandshake"
        // static metadata: MNetworkVarNames "int m_Entity_nEnvCubeMapArrayIndex"
        // static metadata: MNetworkVarNames "int m_Entity_nPriority"
        // static metadata: MNetworkVarNames "float m_Entity_flEdgeFadeDist"
        // static metadata: MNetworkVarNames "Vector m_Entity_vEdgeFadeDists"
        // static metadata: MNetworkVarNames "float m_Entity_flDiffuseScale"
        // static metadata: MNetworkVarNames "bool m_Entity_bStartDisabled"
        // static metadata: MNetworkVarNames "bool m_Entity_bDefaultEnvMap"
        // static metadata: MNetworkVarNames "bool m_Entity_bDefaultSpecEnvMap"
        // static metadata: MNetworkVarNames "bool m_Entity_bIndoorCubeMap"
        // static metadata: MNetworkVarNames "bool m_Entity_bCopyDiffuseFromDefaultCubemap"
        // static metadata: MNetworkVarNames "bool m_Entity_bEnabled"
        #pragma pack(push, 1)
        class CEnvCubemap : public source2sdk::server::CBaseEntity
        {
        public:
            uint8_t _pad04e0[0x80]; // 0x4e0
            // metadata: MNetworkEnable
            // m_Entity_hCubemapTexture has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CStrongHandle<source2sdk::resourcesystem::InfoForResourceTypeCTextureBase> m_Entity_hCubemapTexture;
            char m_Entity_hCubemapTexture[0x8]; // 0x560            
            // metadata: MNetworkEnable
            bool m_Entity_bCustomCubemapTexture; // 0x568            
            uint8_t _pad0569[0x3]; // 0x569
            // metadata: MNetworkEnable
            float m_Entity_flInfluenceRadius; // 0x56c            
            // metadata: MNetworkEnable
            Vector m_Entity_vBoxProjectMins; // 0x570            
            // metadata: MNetworkEnable
            Vector m_Entity_vBoxProjectMaxs; // 0x57c            
            // metadata: MNetworkEnable
            bool m_Entity_bMoveable; // 0x588            
            uint8_t _pad0589[0x3]; // 0x589
            // metadata: MNetworkEnable
            std::int32_t m_Entity_nHandshake; // 0x58c            
            // metadata: MNetworkEnable
            std::int32_t m_Entity_nEnvCubeMapArrayIndex; // 0x590            
            // metadata: MNetworkEnable
            std::int32_t m_Entity_nPriority; // 0x594            
            // metadata: MNetworkEnable
            float m_Entity_flEdgeFadeDist; // 0x598            
            // metadata: MNetworkEnable
            Vector m_Entity_vEdgeFadeDists; // 0x59c            
            // metadata: MNetworkEnable
            float m_Entity_flDiffuseScale; // 0x5a8            
            // metadata: MNetworkEnable
            bool m_Entity_bStartDisabled; // 0x5ac            
            // metadata: MNetworkEnable
            bool m_Entity_bDefaultEnvMap; // 0x5ad            
            // metadata: MNetworkEnable
            bool m_Entity_bDefaultSpecEnvMap; // 0x5ae            
            // metadata: MNetworkEnable
            bool m_Entity_bIndoorCubeMap; // 0x5af            
            // metadata: MNetworkEnable
            bool m_Entity_bCopyDiffuseFromDefaultCubemap; // 0x5b0            
            uint8_t _pad05b1[0xf]; // 0x5b1
            // metadata: MNetworkEnable
            bool m_Entity_bEnabled; // 0x5c0            
            uint8_t _pad05c1[0x7];
            
            // Datamap fields:
            // void m_Entity_pSceneObject; // 0x5b8
        };
        #pragma pack(pop)
        
        // Cannot assert offsets of fields in CEnvCubemap because it is not a standard-layout class
        
        static_assert(sizeof(source2sdk::server::CEnvCubemap) == 0x5c8);
    };
};
