Beispiel #1
0
 public override int ReadPayload(System.IO.MemoryStream stream, int length)
 {
     //Debug.Assert(length == QueryKey.LEN, "G2PacketQK supposed to read " + QueryKey.LEN + " but has to read " + length);
     QKey = QueryKey.ReadQueryKey (stream);
     return QueryKey.LEN;
 }
Beispiel #2
0
 public G2PacketQK(QueryKey k)
     : base()
 {
     this.type = G2PacketType.QK;
     QKey = k;
 }