public Packets.PacketClass GetPacket() { Packets.PacketClass packet = new Packets.PacketClass(Opcodes.SMSG_WARDEN_DATA); packet.AddInt8(2); foreach (string tmpStr in UsedStrings) { packet.AddString2(tmpStr); } packet.AddInt8(0); byte i = 0; foreach (CheatCheck Check in Checks) { byte xorCheck = (byte)(WorldServiceLocator._WS_Warden.Maiev.CheckIDs[(uint)Check.Type] ^ Character.WardenData.xorByte); byte[] checkData = Check.ToData(xorCheck, ref i); packet.AddByteArray(checkData); } packet.AddInt8(Character.WardenData.xorByte); return(packet); }