aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Online/Hacking/Objects.cs
blob: 5012fcc76c4a6befdce12d0129ef0b5010a1fc60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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; }
    }
}