Add logs that provide session to player admin logs (#28628)
This commit is contained in:
@@ -65,6 +65,10 @@ public sealed partial class AdminLogManager
|
|||||||
{
|
{
|
||||||
players.Add(actor.PlayerSession.UserId.UserId);
|
players.Add(actor.PlayerSession.UserId.UserId);
|
||||||
}
|
}
|
||||||
|
else if (value is SerializablePlayer player)
|
||||||
|
{
|
||||||
|
players.Add(player.Player.UserId.UserId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (JsonSerializer.SerializeToDocument(parsed, _jsonOptions), players);
|
return (JsonSerializer.SerializeToDocument(parsed, _jsonOptions), players);
|
||||||
|
|||||||
Reference in New Issue
Block a user