aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Online/Hacking/Objects.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/WindowsFormsApplication1/Online/Hacking/Objects.cs')
-rw-r--r--source/WindowsFormsApplication1/Online/Hacking/Objects.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Online/Hacking/Objects.cs b/source/WindowsFormsApplication1/Online/Hacking/Objects.cs
new file mode 100644
index 0000000..5012fcc
--- /dev/null
+++ b/source/WindowsFormsApplication1/Online/Hacking/Objects.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ShiftOS.Online.Hacking
+{
+ [Serializable]
+ public class Module
+ {
+ public string Hostname { get; set; }
+ public int Grade { get; set; }
+ public int HP { get; set; }
+ public int X { get; set; }
+ public int Y { get; set; }
+ public int Type { get; set; } //will be converted by the client
+ }
+
+ [Serializable]
+ public class Network
+ {
+ public string Name { get; set; }
+ public int Codepoints { get; set; }
+ public string Description { get; set; }
+ public int Losses { get; set; }
+ public int Wins { get; set; }
+ }
+
+ [Serializable]
+ public class ServerInfo
+ {
+ public string ServerName { get; set; }
+ public int PlayersAwaitingMatch { get; set; }
+ public string IPAddress { get; set; }
+ }
+}