diff options
| author | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
| commit | 309f9fe361af7b0a508770951af7c548dfca78ad (patch) | |
| tree | e4303c0d47e0daff6d61a6f934b1aa957e67f93d /source/WindowsFormsApplication1/Online/Hacking/Objects.cs | |
| parent | 84f689b91a73e512b035df40bbcf556b008a3b81 (diff) | |
| download | shiftos-c-_theultimatehacker-309f9fe361af7b0a508770951af7c548dfca78ad.tar.gz shiftos-c-_theultimatehacker-309f9fe361af7b0a508770951af7c548dfca78ad.tar.bz2 shiftos-c-_theultimatehacker-309f9fe361af7b0a508770951af7c548dfca78ad.zip | |
Added online Hacker Battles with matchmaking system
It's untested, but in theory it'll all work perfectly.
Diffstat (limited to 'source/WindowsFormsApplication1/Online/Hacking/Objects.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Online/Hacking/Objects.cs | 37 |
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; } + } +} |
