From 55425bbec4f7698507f18ce6f8786398597ee246 Mon Sep 17 00:00:00 2001 From: Lars Date: Tue, 20 Oct 2020 13:03:04 +0200 Subject: [PATCH] for some reason, didnt added this stuff-_- --- SharedClientServer/User.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SharedClientServer/User.cs b/SharedClientServer/User.cs index c639071..f25efbf 100644 --- a/SharedClientServer/User.cs +++ b/SharedClientServer/User.cs @@ -8,11 +8,13 @@ namespace SharedClientServer { private string _username; private int _score; + private bool _host; - public User(string username, int score) + public User(string username, int score, bool host) { _username = username; _score = score; + _host = host; } public string Username @@ -26,5 +28,11 @@ namespace SharedClientServer get { return _score; } set { _score = value; } } + + public bool Host + { + get { return _host; } + set { _host = value; } + } } }