From 37e5f825fd7554969fd2d9102e0dda769a588f88 Mon Sep 17 00:00:00 2001 From: Elijahr2411 Date: Tue, 29 Aug 2023 23:34:30 -0400 Subject: [PATCH] add username property --- CollabVMSharp/CollabVMClient.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CollabVMSharp/CollabVMClient.cs b/CollabVMSharp/CollabVMClient.cs index 9f9972e..965081b 100644 --- a/CollabVMSharp/CollabVMClient.cs +++ b/CollabVMSharp/CollabVMClient.cs @@ -49,7 +49,7 @@ public class CollabVMClient { private SemaphoreSlim QEMUMonitorSemaphore; private TaskCompletionSource QEMUMonitorResult; // Properties - public Rank Rank { get { return this._rank; } } + public Rank Rank { get { return _rank; } } public Permissions Permissions { get { return this._perms; } } public bool Connected { get { return this._connected; } } public bool ConnectedToVM { get { return this._connectedToVM; } } @@ -58,6 +58,8 @@ public class CollabVMClient { public VoteUpdateEventArgs CurrentVote { get { return this._currentvote; } } public TurnUpdateEventArgs CurrentTurn { get { return this._currentturn; } } public string Node { get { return this.node; } } + + public string Username { get { return this.username; } } // Events public event EventHandler Chat; public event EventHandler ChatHistory;