IsComplete() public méthode

public IsComplete ( ) : bool
Résultat bool
Exemple #1
0
 public override void Create(byte[] msg = null, GamePacketKeyEx key = null)
 {
     base.Create(msg, key);
     if (msg != null)
     {
         PackIn inpack = new PackIn(msg);
         inpack.ReadUInt16();
         type = inpack.ReadUInt32();
         itemid = inpack.ReadUInt32();
         materialid = inpack.ReadUInt32();
         if (inpack.IsComplete()) return;
         param = inpack.ReadUInt32();
         if (inpack.IsComplete()) return;
         param1 = inpack.ReadUInt32();
     }
 }
Exemple #2
0
 public override void Create(byte[] msg = null, GamePacketKeyEx key = null)
 {
     base.Create(msg, key);
     if (msg != null)
     {
         PackIn inpack = new PackIn(msg);
         inpack.ReadUInt16();
         type = inpack.ReadInt32();
         tag = inpack.ReadInt16();
         tag2 = inpack.ReadByte();
      //   len = inpack.ReadByte();
         if (inpack.IsComplete()) return;
         str = inpack.ReadString();
         //for (int i = 0; i < param1.Length; i++)
         //{
         //    param1[i] = inpack.ReadByte();
         // }
     }
 }