if (addOn.CRC == BlizzardAddOnCRC) { byte type = 0x02; packet.WriteByte(type); // default 0x02 // probably wrong name bool hasKeyInfo = true; packet.Write(hasKeyInfo); // default 0x01 if (hasKeyInfo) { bool hasPublicKey = true; // This is included in the .pub files // If this byte is 0x0, it shows up as a banned addon, probably because it no longer matches the pub file packet.Write(hasPublicKey); // default 0x01 if (hasPublicKey) { packet.Write(BlizzardPublicKey); } // unk, packet.WriteInt(0); } bool hasExtraString = true; packet.Write(hasExtraString); if (hasExtraString) { packet.WriteCString("sup?"); } }