aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Objects')
-rw-r--r--ShiftOS.Objects/IRCNetwork.cs37
-rw-r--r--ShiftOS.Objects/ShiftOS.Objects.csproj1
2 files changed, 38 insertions, 0 deletions
diff --git a/ShiftOS.Objects/IRCNetwork.cs b/ShiftOS.Objects/IRCNetwork.cs
new file mode 100644
index 0000000..cbf8688
--- /dev/null
+++ b/ShiftOS.Objects/IRCNetwork.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ShiftOS.Objects
+{
+ public class IRCNetwork
+ {
+ public string SystemName { get; set; }
+ public string FriendlyName { get; set; }
+ public string MOTD { get; set; }
+ public IRCChannel Channel { get; set; }
+ }
+
+ public class IRCChannel
+ {
+ public string Tag { get; set; }
+ public string Topic { get; set; }
+ public List<IRCUser> OnlineUsers { get; set; }
+
+ }
+
+ public class IRCUser
+ {
+ public string Nickname { get; set; }
+ public IRCPermission Permission { get; set; }
+ }
+
+ public enum IRCPermission
+ {
+ User,
+ ChanOp,
+ NetOp,
+ }
+}
diff --git a/ShiftOS.Objects/ShiftOS.Objects.csproj b/ShiftOS.Objects/ShiftOS.Objects.csproj
index 65324fb..8117cd9 100644
--- a/ShiftOS.Objects/ShiftOS.Objects.csproj
+++ b/ShiftOS.Objects/ShiftOS.Objects.csproj
@@ -52,6 +52,7 @@
<Compile Include="Hacking\Payload.cs" />
<Compile Include="Hacking\Exploit.cs" />
<Compile Include="Hacking\Hackable.cs" />
+ <Compile Include="IRCNetwork.cs" />
<Compile Include="MudAttributes.cs" />
<Compile Include="Objects.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />