public byte[] write()
        {
            var param1 = new ByteArray(ID);

            param1.write(repairType.write());
            param1.write(price.write());
            param1.writeBoolean(this.affordableForPlayer);
            param1.writeInt(this.cooldownTime);
            param1.write(descriptionKey.write());
            param1.write(descriptionKeyAddon.write());
            param1.write(toolTipKey.write());
            param1.write(buttonKey.write());
            return(param1.Message.ToArray());
        }
        public byte[] write()
        {
            var param1 = new ByteArray(ID);

            param1.write(descriptionKeyAddon.write());
            param1.write(buttonKey.write());
            param1.write(toolTipKey.write());
            param1.write(price.write());
            param1.write(repairType.write());
            param1.writeBoolean(affordableForPlayer);
            param1.writeShort(-16569);
            param1.writeInt(cooldownTime >> 14 | cooldownTime << 18);
            param1.write(descriptionKey.write());
            return(param1.Message.ToArray());
        }