コード例 #1
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new RequiredMessageHeader();
     Field0.Parse(buffer);
     ActorID = buffer.ReadInt(32);
     ActorSNOId = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(6);
     Field4 = buffer.ReadInt(2) + (-1);
     if(buffer.ReadBool())
     {
         WorldLocation = new WorldLocationMessageData();
         WorldLocation.Parse(buffer);
     }
     if(buffer.ReadBool())
     {
         InventoryLocation = new InventoryLocationMessageData();
         InventoryLocation.Parse(buffer);
     }
     Field7 = new GBHandle();
     Field7.Parse(buffer);
     Field8 = buffer.ReadInt(32);
     NameSNOId = buffer.ReadInt(32);
     Qualilty = buffer.ReadInt(4) + (-1);
     Field11 = (byte)buffer.ReadInt(8);
     if(buffer.ReadBool())
         Field12 = buffer.ReadInt(32);
     if(buffer.ReadBool())
         MarkerSetSNO = buffer.ReadInt(32);
     if(buffer.ReadBool())
         MarketSetIndex = buffer.ReadInt(32);
 }
コード例 #2
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new RequiredMessageHeader();
     Field0.Parse(buffer);
     Field1 = buffer.ReadInt(32);
     Field2 = new GBHandle();
     Field2.Parse(buffer);
 }