Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public ItemViewModel(uint key, ExcelSheet <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);
        }