IsComplete() public method

public IsComplete ( ) : bool
return bool
Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
         // }
     }
 }