コード例 #1
0
        public WowVrcFile(string optsJson)
        {
            var opts = JsonConvert.DeserializeObject <WhOpts>(optsJson);

            _data = new WowVrcFileData()
            {
                Version = currentVersion,
                Header  = new WowVrcFileData.HeaderData()
                {
                    Opts = opts
                }
            };
        }
コード例 #2
0
        public WowVrcFile(WhRace race, WhGender gender, string[] itemIds)
        {
            var manualHeaderData = new WowVrcFileData.HeaderData.ManualHeaderData()
            {
                Race    = race,
                Gender  = gender,
                ItemIds = itemIds
            };

            _data = new WowVrcFileData()
            {
                Version = currentVersion,
                Header  = new WowVrcFileData.HeaderData()
                {
                    ManualData = manualHeaderData
                }
            };
        }