Exemplo n.º 1
0
        public void SendRelievePacket(bool players, bool spectators)
        {
            ArrayList mobiles = GetInGameMobiles(players, spectators);

            if (mobiles.Count == 0)
            {
                return;
            }

            MahjongRelieve relieve = new MahjongRelieve(m_Game);

            foreach (Mobile mobile in mobiles)
            {
                mobile.Send(relieve);
            }
        }
Exemplo n.º 2
0
        public void SendRelievePacket(bool players, bool spectators)
        {
            List <Mobile> mobiles = GetInGameMobiles(players, spectators);

            if (mobiles.Count == 0)
            {
                return;
            }

            MahjongRelieve relieve = new MahjongRelieve(Game);

            relieve.Acquire();

            foreach (Mobile mobile in mobiles)
            {
                mobile.Send(relieve);
            }

            relieve.Release();
        }
Exemplo n.º 3
0
        public void SendRelievePacket(bool players, bool spectators)
        {
            ArrayList mobiles = GetInGameMobiles(players, spectators);

            if (mobiles.Count == 0)
                return;

            MahjongRelieve relieve = new MahjongRelieve(m_Game);

            relieve.Acquire();

            foreach (Mobile mobile in mobiles)
            {
                mobile.Send(relieve);
            }

            relieve.Release();
        }