summaryrefslogtreecommitdiff
path: root/DSACore/Models/Network/Group.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-05-19 17:58:42 +0200
committerDennis Kobert <d-kobert@web.de>2019-05-19 17:58:42 +0200
commit2ab4051c6fe720dc47e99b0c305a0d779ee02d51 (patch)
tree9510ddbb174a54474934adf7991a5ba2aa39f818 /DSACore/Models/Network/Group.cs
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Moved Gamelogic to DSALib
Diffstat (limited to 'DSACore/Models/Network/Group.cs')
-rw-r--r--DSACore/Models/Network/Group.cs43
1 files changed, 0 insertions, 43 deletions
diff --git a/DSACore/Models/Network/Group.cs b/DSACore/Models/Network/Group.cs
deleted file mode 100644
index efe12ee..0000000
--- a/DSACore/Models/Network/Group.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace DSACore.Models.Network
-{
- public class Group
- {
- public Group(string name, string password)
- {
- Name = name;
- Password = password;
- }
-
- public Group(string name, int userOnline)
- {
- Name = name ?? throw new ArgumentNullException(nameof(name));
- }
-
- public string Name { get; set; }
- public string Password { get; set; }
- public List<User> Users { get; set; } = new List<User>();
-
- public int UserCount => Users.Count;
-
- public SendGroup SendGroup()
- {
- return new SendGroup(Name, UserCount);
- }
- }
-
- public class SendGroup
- {
- public SendGroup(string name, int userCount)
- {
- Name = name ?? throw new ArgumentNullException(nameof(name));
- UserCount = userCount;
- }
-
- public string Name { get; set; }
-
- public int UserCount { get; set; }
- }
-} \ No newline at end of file