https://github.com/ORelio/Minecraft-Console-Client/issues/625: add GetOnlinePlayersWithUUID() which allows to retrive a UUID <-> playerName relation

This commit is contained in:
TheSnoozer 2019-03-30 10:47:59 -04:00 committed by ORelio
parent 992003da8d
commit 33edd15c9b
4 changed files with 45 additions and 0 deletions

View file

@ -657,6 +657,18 @@ namespace MinecraftClient
return Handler.GetOnlinePlayers();
}
/// <summary>
/// Get a dictionary of online player names and their corresponding UUID
/// </summary>
/// <returns>
/// dictionary of online player whereby
/// UUID represents the key
/// playername represents the value</returns>
protected Dictionary<string, string> GetOnlinePlayersWithUUID()
{
return Handler.GetOnlinePlayersWithUUID();
}
/// <summary>
/// Registers the given plugin channel for use by this chatbot.
/// </summary>