Example #1
0
        public void Unsubscribe(string username)
        {
            UserInformation user = Subscriber.getUser(username);

            user.AudioCallback = null;
        }
        public void UserLeftAudio(string username)
        {
            UserInformation user = Subscriber.getUser(username);

            AudioMembers.Remove(user);
        }
Example #3
0
        public static UserInformation getUser(string username)
        {
            UserInformation user = subscribers.Find(x => x.Username == username);

            return(user);
        }