From b0b0cd245bc633655509898947b9a4eaa37efb54 Mon Sep 17 00:00:00 2001 From: Villermen Date: Wed, 5 Jan 2022 10:41:12 +0100 Subject: [PATCH] Rename Tradeable to more accurate Exchangeable Closes #82. --- RuneScapeCacheTools/File/ItemDefinitionFile.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RuneScapeCacheTools/File/ItemDefinitionFile.cs b/RuneScapeCacheTools/File/ItemDefinitionFile.cs index ca2b83a..17e2d4c 100644 --- a/RuneScapeCacheTools/File/ItemDefinitionFile.cs +++ b/RuneScapeCacheTools/File/ItemDefinitionFile.cs @@ -59,7 +59,7 @@ public class ItemDefinitionFile public uint? Unknown43 { get; set; } public ushort? Unknown44 { get; set; } public ushort? Unknown45 { get; set; } - public bool? Tradeable { get; set; } + public bool? Exchangeable { get; set; } public int? GeBuyLimit { get; set; } public int? ColorEquip1 { get; set; } public int? ColorEquip2 { get; set; } @@ -184,7 +184,7 @@ public static ItemDefinitionFile Decode(byte[] data) Opcode.Unknown43 => file.Unknown43 = reader.ReadUInt32BigEndian(), Opcode.Unknown44 => file.Unknown44 = reader.ReadUInt16BigEndian(), Opcode.Unknown45 => file.Unknown45 = reader.ReadUInt16BigEndian(), - Opcode.Tradeable => file.Tradeable = true, + Opcode.Exchangeable => file.Exchangeable = true, Opcode.GeBuyLimit => file.GeBuyLimit = reader.ReadInt32BigEndian(), Opcode.ColorEquip1 => file.ColorEquip1 = reader.ReadAwkwardInt(), Opcode.ColorEquip2 => file.ColorEquip2 = reader.ReadAwkwardInt(), @@ -395,7 +395,7 @@ private enum Opcode Unknown43 = 43, Unknown44 = 44, Unknown45 = 45, - Tradeable = 65, + Exchangeable = 65, GeBuyLimit = 69, ColorEquip1 = 78, ColorEquip2 = 79,