ShiftOS_TheReturn/ShiftOS.Objects/IRCNetwork.cs

38 lines
787 B
C#
Raw Normal View History

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