Esempio n. 1
0
        //[Parser(OpCodes.SMSG_INIT_WORLD_STATES)]
        public void SMSG_INIT_WORLD_STATES(Parser packet)
        {
            var mapId = packet.ReadInt32();
            WriteLine("Map ID: " + mapId);

            var zoneId = packet.ReadInt32();
            WriteLine("Zone ID: " + zoneId);

            var areaId = packet.ReadInt32();
            WriteLine("Area ID: " + areaId);

            var numFields = packet.ReadInt16();
            WriteLine("Field Count: " + numFields);

            for (var i = 0; i < numFields; i++)
                ReadWorldStateBlock(packet);
        }