summaryrefslogtreecommitdiff
path: root/DSACore/Models/Network/CommandResponse.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/CommandResponse.cs
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Moved Gamelogic to DSALib
Diffstat (limited to 'DSACore/Models/Network/CommandResponse.cs')
-rw-r--r--DSACore/Models/Network/CommandResponse.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/DSACore/Models/Network/CommandResponse.cs b/DSACore/Models/Network/CommandResponse.cs
deleted file mode 100644
index c7a410a..0000000
--- a/DSACore/Models/Network/CommandResponse.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-
-namespace DSACore.Models.Network
-{
- public class CommandResponse
- {
- public CommandResponse(string message, ResponseType responseType = ResponseType.Broadcast)
- {
- this.message = message ?? throw new ArgumentNullException(nameof(message));
- ResponseType = responseType;
- }
-
- public string message { get; }
- public ResponseType ResponseType { get; }
-
- public override string ToString()
- {
- return message;
- }
- }
-
- public enum ResponseType
- {
- Broadcast,
- Caller,
- Error
- }
-} \ No newline at end of file