blob: 5e18443039248409ee33ce5c5b2a0e111f5afc4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System.Collections.Generic;
namespace IRCStates
{
public class User
{
public User()
{
Channels = new HashSet<string>();
}
public string NickName { get; set; }
public string NickNameLower { get; set; }
public string UserName { get; set; }
public string HostName { get; set; }
public string RealName { get; set; }
public string Account { get; set; }
public string Away { get; set; }
public HashSet<string> Channels { get; set; }
public override string ToString()
{
return $"User(nickname={NickName})";
}
public void SetNickName(string nick, string nickLower)
{
NickName = nick;
NickNameLower = nickLower;
}
}
}
|