예제 #1
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new WorldPlace();
     Field1.Parse(buffer);
     Field2 = buffer.ReadInt(32);
     m_snoStringList = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadFloat32();
     Field6 = buffer.ReadFloat32();
     Field7 = buffer.ReadFloat32();
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadBool();
     Field10 = buffer.ReadBool();
     Field11 = buffer.ReadBool();
     Field12 = buffer.ReadInt(32);
 }
예제 #2
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadBool();
 }
예제 #3
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new Vector3D();
     Field1.Parse(buffer);
     if (buffer.ReadBool())
     {
         Field2 = buffer.ReadBool();
     }
 }
예제 #4
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new WorldPlace();
     Field0.Parse(buffer);
     Field1 = buffer.ReadInt(32);
     if (buffer.ReadBool())
     {
         Field2 = buffer.ReadInt(32);
     }
     Field3 = buffer.ReadInt(6);
 }
예제 #5
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadBool();
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
     Field6 = new int[2];
     for (int i = 0; i < Field6.Length; i++) Field6[i] = buffer.ReadInt(32);
     Field7 = new int[2];
     for (int i = 0; i < Field7.Length; i++) Field7[i] = buffer.ReadInt(32);
 }
예제 #6
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(5);
     Field3 = buffer.ReadInt(2) + (-1);
     if (buffer.ReadBool())
     {
         Field4 = new WorldLocationMessageData();
         Field4.Parse(buffer);
     }
     if (buffer.ReadBool())
     {
         Field5 = new InventoryLocationMessageData();
         Field5.Parse(buffer);
     }
     Field6 = new GBHandle();
     Field6.Parse(buffer);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadInt(4) + (-1);
     Field10 = (byte)buffer.ReadInt(8);
     if (buffer.ReadBool())
     {
         Field11 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field12 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field13 = buffer.ReadInt(32);
     }
 }
예제 #7
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadCharArray(33);
     Field1 = buffer.ReadInt(3) + (-1);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadBool();
     Field6 = buffer.ReadInt(32);
     Field7 = buffer.ReadInt(16);
     Field8 = buffer.ReadInt(3) + (1);
     Field9 = buffer.ReadInt(32);
     Field10 = buffer.ReadInt(32);
     Field11 = (short)buffer.ReadInt(16);
 }
예제 #8
0
        public void Parse(GameBitBuffer buffer)
        {
            if (buffer.ReadBool())
            {
                Field0 = buffer.ReadInt(20);
            }
            int index = buffer.ReadInt(10) & 0xFFF;

            Attribute = GameAttribute.Attributes[index];
        }
예제 #9
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(3);
     Field1 = buffer.ReadCharArray(128);
     ToonName = buffer.ReadCharArray(101);
     Field3 = buffer.ReadInt(5) + (-1);
     Field4 = buffer.ReadInt(3) + (-1);
     snoActorPortrait = buffer.ReadInt(32);
     Field6 = buffer.ReadInt(7);
     Field7 = new HeroStateData();
     Field7.Parse(buffer);
     Field8 = buffer.ReadBool();
     Field9 = buffer.ReadInt(32);
     Field10 = buffer.ReadInt(32);
 }
예제 #10
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(4) + (-1);
     Field1 = buffer.ReadBool();
 }
예제 #11
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = new WorldPlace();
     Field2.Parse(buffer);
     if (buffer.ReadBool())
     {
         Field3 = buffer.ReadInt(4) + (-1);
     }
     Field4 = buffer.ReadInt(32);
     if (buffer.ReadBool())
     {
         Field5 = buffer.ReadFloat32();
     }
     Field6 = buffer.ReadInt(4);
     Field7 = buffer.ReadInt(6);
     if (buffer.ReadBool())
     {
         Field8 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field9 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field10 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field11 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field12 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field13 = buffer.ReadFloat32();
     }
     if (buffer.ReadBool())
     {
         Field14 = buffer.ReadFloat32();
     }
 }
예제 #12
0
 public override void Parse(GameBitBuffer buffer)
 {
     snoQuest = buffer.ReadInt(32);
     snoLevelArea = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadBool();
     Field4 = buffer.ReadBool();
 }
예제 #13
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(7) + (-1);
     if (buffer.ReadBool())
     {
         Field2 = buffer.ReadInt(32);
     }
 }
예제 #14
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadFloat32();
     Field1 = buffer.ReadBool();
     Field2 = buffer.ReadFloat32();
 }
예제 #15
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(2) + (-1);
     Field1 = buffer.ReadInt(32);
     Field2 = new WorldPlace();
     Field2.Parse(buffer);
     snoPower = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(2);
     if (buffer.ReadBool())
     {
         Field6 = new AnimPreplayData();
         Field6.Parse(buffer);
     }
 }
예제 #16
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadBool();
     snoAffixStringList = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
 }
예제 #17
0
 public override void Parse(GameBitBuffer buffer)
 {
     snoPower = buffer.ReadInt(32);
     if (buffer.ReadBool())
     {
         Field1 = new AnimPreplayData();
         Field1.Parse(buffer);
     }
 }
예제 #18
0
 public void ParseValue(GameBitBuffer buffer)
 {
     switch (Attribute.EncodingType)
     {
         case GameAttributeEncoding.Int:
             Int = buffer.ReadInt(Attribute.BitCount);
             break;
         case GameAttributeEncoding.IntMinMax:
             Int = buffer.ReadInt(Attribute.BitCount) + Attribute.Min;
             break;
         case GameAttributeEncoding.Float16:
             Float = buffer.ReadFloat16();
             break;
         case GameAttributeEncoding.Float16Or32:
             Float = buffer.ReadBool() ? buffer.ReadFloat16() : buffer.ReadFloat32();
             break;
         default:
             throw new Exception("bad voodoo");
     }
 }
예제 #19
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadCharArray(512);
     if (buffer.ReadBool())
     {
         Field1 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field2 = buffer.ReadInt(32);
     }
 }
예제 #20
0
 public void Parse(GameBitBuffer buffer)
 {
     snoConversation = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadBool();
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
     Field6 = buffer.ReadInt(32);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
     snoSpeakerActor = buffer.ReadInt(32);
     Field10 = buffer.ReadCharArray(49);
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadInt(32);
     Field13 = buffer.ReadInt(32);
     Field14 = buffer.ReadInt(32);
     Field15 = buffer.ReadInt(32);
 }
예제 #21
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(2);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadBool();
 }
예제 #22
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(2);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(7);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadBool();
     Field5 = buffer.ReadInt(32);
     Field6 = buffer.ReadInt(32);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
 }
예제 #23
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new Vector3D();
     Field1.Parse(buffer);
     Field2 = buffer.ReadFloat32();
     Field3 = buffer.ReadBool();
     Field4 = buffer.ReadInt(24);
 }