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); }
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); }
private IItem GetItem(ItemSlots slot, uint baseVal, uint?equipVal) { if (equipVal != null && equipVal != 0 && equipVal != uint.MaxValue && equipVal != long.MaxValue) { return(LuminaExtensions.GetGearItem(slot, (uint)equipVal)); } return(LuminaExtensions.GetGearItem(slot, baseVal)); }
private IItem GetItem(ItemSlots slot, uint baseVal, uint?equipVal) { if (equipVal != null) { return(LuminaExtensions.GetGearItem(slot, (uint)equipVal)); } return(LuminaExtensions.GetGearItem(slot, baseVal)); }
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); }