public ItemEntry Read(DAIIO io) { ItemStats = new ItemStatsInstance().Read(io); if ((io.Position - ItemStats.Offset) < ItemStats.xLength) { if (ItemStats.Version >= 6) { MasterworkSuccesses = (byte)io.ReadBit2(5); } else { MasterworkSuccess = io.ReadBoolean(); } } return(this); }
public ItemUpgrade Read(DAIIO io) { Stats = new ItemStatsInstance().Read(io); return(this); }
public ItemStatInstance(ItemStatsInstance info, bool iscrafted) { _info = info; _iscrafted = iscrafted; }