Ejemplo n.º 1
0
        public override void Unpack(Client client, Packet packet)
        {
            string enemyName = packet.Reader.ReadString();
            Map    enemyMap  = packet.Reader.ReadMap();

            EventCallBackMethod.BeginInvoke(new BasicsDatasEvent {
                Enemy = enemyName, EnemyMap = enemyMap
            }, null, null);
        }
Ejemplo n.º 2
0
        public override void Unpack(Client client, Packet packet)
        {
            byte x = packet.Reader.ReadByte();
            byte y = packet.Reader.ReadByte();

            EventCallBackMethod.BeginInvoke(new FireDatasEvent {
                Coordinates = new Point(x, y)
            }, null, null);
        }