Example #1
0
        public PerformViewModel(uint key, ExcelSheet <Perform> sheet, GameData lumina)
            : base(key, sheet, lumina)
        {
            LuminaExtensions.GetModel(this.Value.ModelKey, true, out this.modelSet, out this.modelBase, out this.modelVariant);

            this.Mod = TexToolsService.GetMod(this);
        }
Example #2
0
        public ItemViewModel(int key, ExcelSheet <Item> sheet, Lumina lumina)
            : base(key, sheet, lumina)
        {
            this.classJob = this.Value.ClassJobCategory.Value;

            LuminaExtensions.GetModel(this.Value.ModelMain, this.IsWeapon, out this.modelSet, out this.modelBase, out this.modelVariant);
            LuminaExtensions.GetModel(this.Value.ModelSub, this.IsWeapon, out this.subModelSet, out this.subModelBase, out this.subModelVariant);
        }
Example #3
0
        public ItemViewModel(int key, ExcelSheet <Sheets.Item> sheet, GameData lumina)
            : base(key, sheet, lumina)
        {
            this.classJob = this.Value.ClassJobCategory !.Value;

            LuminaExtensions.GetModel(this.Value.ModelMain, this.IsWeapon, out this.modelSet, out this.modelBase, out this.modelVariant);
            LuminaExtensions.GetModel(this.Value.ModelSub, this.IsWeapon, out this.subModelSet, out this.subModelBase, out this.subModelVariant);

            this.Mod = TexToolsService.GetMod(this);
        }