aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects/Hackable.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-13 21:30:04 -0400
committerMichael <[email protected]>2017-07-13 21:30:04 -0400
commite929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b (patch)
treeb88810b1dadf0c3893cadeaebe84351784ef18de /ShiftOS.Objects/Hackable.cs
parente92af1bc7fe5cd5860206061f4ff261b3339cc51 (diff)
downloadshiftos_thereturn-e929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b.tar.gz
shiftos_thereturn-e929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b.tar.bz2
shiftos_thereturn-e929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b.zip
Delete a LOT of obsolete code
Diffstat (limited to 'ShiftOS.Objects/Hackable.cs')
-rw-r--r--ShiftOS.Objects/Hackable.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Hackable.cs b/ShiftOS.Objects/Hackable.cs
new file mode 100644
index 0000000..cb05b0c
--- /dev/null
+++ b/ShiftOS.Objects/Hackable.cs
@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ShiftOS.Objects
+{
+ public class Hackable
+ {
+ public string SystemName { get; set; }
+ public string FriendlyName { get; set; }
+ public string Password { get; set; }
+ public string PasswordHint { get; set; }
+ public string WelcomeMessage { get; set; }
+
+ public int FirewallStrength { get; set; }
+ public int LootRarity { get; set; }
+ public int LootAmount { get; set; }
+ public int ConnectionTimeoutLevel { get; set; }
+
+ public SystemType SystemType { get; set; }
+
+ public string OnHackCompleteStoryEvent { get; set; }
+
+
+ public string Dependencies { get; set; }
+
+
+ public string ID
+ {
+ get
+ {
+ return SystemName.ToLower().Replace(" ", "_");
+ }
+ }
+ }
+
+ [Flags]
+ public enum SystemType
+ {
+ FileServer,
+ SSHServer,
+ EmailServer,
+ Database
+ }
+
+ [Serializable]
+ public class ServerMessage
+ {
+ public string Name { get; set; }
+ public string GUID { get; set; }
+ public string Contents { get; set; }
+ }
+}