This repository has been archived on 2025-01-01. You can view files and clone it, but cannot push or open issues or pull requests.
ShiftOS_TheReturn/ShiftOS.Objects/IRCNetwork.cs

38 lines
787 B
C#
Raw Permalink Normal View History

2017-08-04 18:35:53 -04:00
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,
}
}