From ee7d527ed88f27b9f579af6310e811845a25c79d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 4 Dec 2022 13:22:03 +0000 Subject: [PATCH] Expose avatars publicly --- VpSharp/src/VirtualParadiseClient.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/VpSharp/src/VirtualParadiseClient.cs b/VpSharp/src/VirtualParadiseClient.cs index c12accd..55e10b7 100644 --- a/VpSharp/src/VirtualParadiseClient.cs +++ b/VpSharp/src/VirtualParadiseClient.cs @@ -59,6 +59,15 @@ public sealed partial class VirtualParadiseClient : IDisposable Dispose(); } + /// + /// Gets a read-only view of the cached avatars. + /// + /// The cached avatars. + public IReadOnlyList Avatars + { + get => _avatars.Values.ToArray(); + } + /// /// Gets the current avatar associated with this client. ///