﻿using System.Collections.Generic;

namespace Wax
{
    public class CbxBundleView : JsonBasedObject
    {
        public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } }
        public ResourceDatabase ResourceDB { get { return this.GetObject("resources") as ResourceDatabase; } set { this.SetObject("resources", value); } }

        public CbxBundleView(Dictionary<string, object> data) : base(data) { }

        public CbxBundleView(string byteCode, ResourceDatabase resDb)
        {
            this.ByteCode = ByteCode;
            this.ResourceDB = resDb;
        }
    }
}

﻿using System.Collections.Generic;

namespace Wax
{
    public class CbxBundleView : JsonBasedObject
    {
        public string ByteCode { get { return this.GetString("byteCode"); } set { this.SetString("byteCode", value); } }
        public ResourceDatabase ResourceDB { get { return this.GetObject("resources") as ResourceDatabase; } set { this.SetObject("resources", value); } }

        public CbxBundleView(Dictionary<string, object> data) : base(data) { }

        public CbxBundleView(string byteCode, ResourceDatabase resDb)
        {
            this.ByteCode = byteCode;
            this.ResourceDB = resDb;
        }
    }
}

Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects.
Fix typo in the CbxBundle refactoring causing the bytecode to not get copied to exported projects.
