diff options
| author | Michael <[email protected]> | 2017-08-04 18:35:53 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-04 18:35:53 -0400 |
| commit | 6ec4837523395accbb0ed8c9b206daa6882adc1a (patch) | |
| tree | 93548c562bf1583143092b6e7158c3f027f331c1 /ShiftOS.Objects | |
| parent | 1f131438c0be7fe7a7c558530d32f24d3696686a (diff) | |
| download | shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.gz shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.bz2 shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.zip | |
chat stuff and eas failure
Diffstat (limited to 'ShiftOS.Objects')
| -rw-r--r-- | ShiftOS.Objects/IRCNetwork.cs | 37 | ||||
| -rw-r--r-- | ShiftOS.Objects/ShiftOS.Objects.csproj | 1 |
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" /> |
