Track and display last known player names automatically
This commit is contained in:
@@ -155,9 +155,10 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
|
||||
|
||||
ImGui.TableNextColumn(); // online/name
|
||||
string onlineText = pair.Key.IsOnline ? "Online" : "Offline";
|
||||
if (!string.IsNullOrEmpty(pair.Key.PlayerName))
|
||||
string? name = pair.Key.GetNoteOrName();
|
||||
if (!string.IsNullOrEmpty(name))
|
||||
{
|
||||
onlineText += " (" + pair.Key.PlayerName + ")";
|
||||
onlineText += " (" + name + ")";
|
||||
}
|
||||
var boolcolor = UiSharedService.GetBoolColor(pair.Key.IsOnline);
|
||||
ImGui.AlignTextToFramePadding();
|
||||
|
||||
Reference in New Issue
Block a user