public void HandleMessage(MumbleClient client) { if (!client.Users.TryGetValue(session, out var user)) { user = new MumbleUser(client, this); } user.Update(this); }
public void HandleMessage(MumbleClient client) { MumbleUser user; if (!client.Users.TryGetValue(session, out user)) { user = new MumbleUser(client, this); } user.Update(this); }
public void SendTextMessageToUser(string message, MumbleUser user) { SendTextMessage(message, null, null, Enumerable.Repeat(user, 1)); }
internal void RemoveLocalUser(MumbleUser user) { _users.Remove(user); }
internal void AddLocalUser(MumbleUser user) { _users.Add(user); }