public RepaireInfo[] GetEquipts(byte amount) { RepaireInfo[] tmp = new RepaireInfo[amount]; for (int i = 0; i < amount; i++) { tmp[i].Container = this.GetByte((ushort)(5 + (i * 2))); tmp[i].Slot = this.GetByte((ushort)(6 + (i * 2))); } return tmp; }
public RepaireInfo[] GetEquipts(byte amount) { RepaireInfo[] tmp = new RepaireInfo[amount]; for (int i = 0; i < amount; i++) { tmp[i].Container = this.GetByte((ushort)(5 + (i * 2))); tmp[i].Slot = this.GetByte((ushort)(6 + (i * 2))); } return(tmp); }