Beispiel #1
0
        public async void lobbyInviteUpdate()
        {
            try
            {
                Thread.Sleep(1000);
                List <double> ls = new List <double>();
                if (lobbyReady)
                {
                    foreach (double sumId in lobbyInviteQuery)
                    {
                        await connection.Invite(sumId);

                        ls.Add(sumId);
                    }
                    foreach (double sumId in ls)
                    {
                        lobbyInviteQuery.Remove(sumId);
                    }
                }
                ls = null;
            }
            catch (Exception ex)
            {
            }
        }