IsComplete() 공개 메소드

public IsComplete ( ) : bool
리턴 bool
예제 #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();
     }
 }
예제 #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();
         // }
     }
 }