#pragma once

#include "source2sdk/source2gen/source2gen.hpp"
#include <cstddef>
#include <cstdint>
#include "source2sdk/animgraphlib/CStateActionUpdater.hpp"
#include "source2sdk/modellib/AnimScriptHandle.hpp"
#include "source2sdk/modellib/AnimStateID.hpp"

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

namespace source2sdk
{
    namespace animgraphlib
    {
        // Registered alignment: 0x8
        // Alignment: 0x8
        // Standard-layout class: true
        // Size: 0x48
        // 
        // static metadata: MGetKV3ClassDefaults
        #pragma pack(push, 1)
        class CStateUpdateData
        {
        public:
            CUtlString m_name; // 0x0            
            source2sdk::modellib::AnimScriptHandle m_hScript; // 0x8            
            uint8_t _pad000c[0x4]; // 0xc
            // m_transitionIndices has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CUtlVector<std::int32_t> m_transitionIndices;
            char m_transitionIndices[0x18]; // 0x10            
            // m_actions has a template type with potentially unknown template parameters. You can try uncommenting the field below.
            // CUtlVector<source2sdk::animgraphlib::CStateActionUpdater> m_actions;
            char m_actions[0x18]; // 0x28            
            source2sdk::modellib::AnimStateID m_stateID; // 0x40            
            // start of bitfield block
            uint8_t m_bIsStartState: 1;
            uint8_t m_bIsEndState: 1;
            uint8_t m_bIsPassthrough: 1;
            uint8_t m_bIsPassthroughRootMotion: 1;
            uint8_t m_bPreEvaluatePassthroughTransitionPath: 1;
            // end of bitfield block// 5 bits
            uint8_t _pad0045[0x3];
        };
        #pragma pack(pop)
        
        static_assert(offsetof(source2sdk::animgraphlib::CStateUpdateData, m_name) == 0x0);
        static_assert(offsetof(source2sdk::animgraphlib::CStateUpdateData, m_hScript) == 0x8);
        static_assert(offsetof(source2sdk::animgraphlib::CStateUpdateData, m_transitionIndices) == 0x10);
        static_assert(offsetof(source2sdk::animgraphlib::CStateUpdateData, m_actions) == 0x28);
        static_assert(offsetof(source2sdk::animgraphlib::CStateUpdateData, m_stateID) == 0x40);
        // Cannot assert offset of bitfield CStateUpdateData::m_bIsStartState
        // Cannot assert offset of bitfield CStateUpdateData::m_bIsEndState
        // Cannot assert offset of bitfield CStateUpdateData::m_bIsPassthrough
        // Cannot assert offset of bitfield CStateUpdateData::m_bIsPassthroughRootMotion
        // Cannot assert offset of bitfield CStateUpdateData::m_bPreEvaluatePassthroughTransitionPath
        
        static_assert(sizeof(source2sdk::animgraphlib::CStateUpdateData) == 0x48);
    };
};
