From a0cd53f033cd192a55e4d38334ecba8ac0b5a7a4 Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 8 Jan 2017 13:56:42 -0800 Subject: [PATCH 1/4] Create Legion.cs --- ShiftOS.Objects/Legion.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ShiftOS.Objects/Legion.cs diff --git a/ShiftOS.Objects/Legion.cs b/ShiftOS.Objects/Legion.cs new file mode 100644 index 0000000..953a8e6 --- /dev/null +++ b/ShiftOS.Objects/Legion.cs @@ -0,0 +1,30 @@ +public enum LegionRole + { + Admin, + Manager, + Committed, + Trainee, + AwaitingInvite + } + + public enum LegionPublicity + { + Public, //Will display on the 'Join Legion' page, anyone can join + PublicInviteOnly, //Will display on the 'Join Legion' page but you must be invited + Unlisted, //Won't display on 'Join Legion', but anyone can join + UnlistedInviteOnly //Won't display in 'Join Legion', and admin/manager invitation is required. + } + + public class Legion + { + public string Name { get; set; } + public LegionPublicity Publicity { get; set; } + public ConsoleColor BannerColor { get; set; } + public string Description { get; set; } + public string ShortName { get; set; } + + public Dictionary Roles { get; set; } + public Dictionary RoleNames { get; set; } + + + } From 412f3a12c6dc5359a7b9f54791f0e68103c9d8e7 Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 8 Jan 2017 13:57:05 -0800 Subject: [PATCH 2/4] Update Legion.cs --- ShiftOS.Objects/Legion.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ShiftOS.Objects/Legion.cs b/ShiftOS.Objects/Legion.cs index 953a8e6..04c64c4 100644 --- a/ShiftOS.Objects/Legion.cs +++ b/ShiftOS.Objects/Legion.cs @@ -1,3 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + public enum LegionRole { Admin, From 5c5f9400035d78177cb43a277dd5ba0ba662d8fb Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 8 Jan 2017 13:57:30 -0800 Subject: [PATCH 3/4] Update Legion.cs --- ShiftOS.Objects/Legion.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ShiftOS.Objects/Legion.cs b/ShiftOS.Objects/Legion.cs index 04c64c4..078064f 100644 --- a/ShiftOS.Objects/Legion.cs +++ b/ShiftOS.Objects/Legion.cs @@ -3,7 +3,8 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; - +namespace ShiftOS.Objects +{ public enum LegionRole { Admin, @@ -34,3 +35,4 @@ public enum LegionRole } +} From 693f0b5f44494555823c9093d351f10914cef798 Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 8 Jan 2017 13:58:03 -0800 Subject: [PATCH 4/4] Update Objects.cs --- ShiftOS.Objects/Objects.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/ShiftOS.Objects/Objects.cs b/ShiftOS.Objects/Objects.cs index 4c1abcc..2aafbd9 100644 --- a/ShiftOS.Objects/Objects.cs +++ b/ShiftOS.Objects/Objects.cs @@ -30,36 +30,6 @@ using System.Threading.Tasks; namespace ShiftOS.Objects { - public enum LegionRole - { - Admin, - Manager, - Committed, - Trainee, - AwaitingInvite - } - - public enum LegionPublicity - { - Public, //Will display on the 'Join Legion' page, anyone can join - PublicInviteOnly, //Will display on the 'Join Legion' page but you must be invited - Unlisted, //Won't display on 'Join Legion', but anyone can join - UnlistedInviteOnly //Won't display in 'Join Legion', and admin/manager invitation is required. - } - - public class Legion - { - public string Name { get; set; } - public LegionPublicity Publicity { get; set; } - public ConsoleColor BannerColor { get; set; } - public string Description { get; set; } - public string ShortName { get; set; } - - public Dictionary Roles { get; set; } - public Dictionary RoleNames { get; set; } - - - } public class MUDMemo {