aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Objects')
-rw-r--r--ShiftOS.Objects/Objects.cs4
-rw-r--r--ShiftOS.Objects/Save.cs2
2 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Objects.cs b/ShiftOS.Objects/Objects.cs
index 17f40ea..c4cd67c 100644
--- a/ShiftOS.Objects/Objects.cs
+++ b/ShiftOS.Objects/Objects.cs
@@ -96,6 +96,10 @@ namespace ShiftOS.Objects
//Don't describe this one. We want it to be hidden from the admin panel's chat editor.
public string ID { get; set; }
+ [FriendlyName("Requires Patreon?")]
+ [FriendlyDescription("If checked, this chat will only be shown in the MUD Control Centre if the user's save is marked as a Patreon supporter.")]
+ public bool RequiresPatreon { get; set; }
+
[FriendlyName("Chat topic")]
[FriendlyDescription("A more in-depth version of your chat name. Describe what your chat's about in a sentence.")]
public string Topic { get; set; }
diff --git a/ShiftOS.Objects/Save.cs b/ShiftOS.Objects/Save.cs
index 23c1d0f..35bfdc2 100644
--- a/ShiftOS.Objects/Save.cs
+++ b/ShiftOS.Objects/Save.cs
@@ -45,6 +45,8 @@ namespace ShiftOS.Objects
public int MinorVersion { get; set; }
public int Revision { get; set; }
+ public bool IsPatreon { get; set; }
+
public string Password { get; set; }
public bool PasswordHashed { get; set; }
public string SystemName { get; set; }