public static int get_EquipBagItem(IntPtr l)
    {
        int result;

        try
        {
            EquipmentEnchantSaveNetTask equipmentEnchantSaveNetTask = (EquipmentEnchantSaveNetTask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, equipmentEnchantSaveNetTask.EquipBagItem);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            EquipmentEnchantSaveNetTask o = new EquipmentEnchantSaveNetTask();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_EquipBagItem(IntPtr l)
    {
        int result;

        try
        {
            EquipmentEnchantSaveNetTask equipmentEnchantSaveNetTask = (EquipmentEnchantSaveNetTask)LuaObject.checkSelf(l);
            EquipmentBagItem            equipBagItem;
            LuaObject.checkType <EquipmentBagItem>(l, 2, out equipBagItem);
            equipmentEnchantSaveNetTask.EquipBagItem = equipBagItem;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }