tgstation-server
4.3.2
The /tg/station 13 server suite
Main Page
Features
API
Architecture
Packages
Classes
Files
File List
src
Tgstation.Server.Host
Components
Chat
ChatUser.cs
Go to the documentation of this file.
1
using
Newtonsoft.Json;
2
using
System
;
3
using
System
.Globalization;
4
5
namespace
Tgstation
.
Server
.Host.Components.Chat
6
{
10
public
sealed
class
ChatUser
11
{
15
public
string
Id {
get
;
set
; }
16
20
[JsonIgnore]
21
public
ulong RealId
22
{
23
get
=> UInt64.Parse(Id, CultureInfo.InvariantCulture);
24
set
=> Id = value.ToString(CultureInfo.InvariantCulture);
25
}
26
30
public
string
FriendlyName {
get
;
set
; }
31
35
public
string
Mention {
get
;
set
; }
36
40
public
ChannelRepresentation
Channel {
get
;
set
; }
41
}
42
}
Tgstation.Server.Api.Models.IrcPasswordType.Server
Use server authentication
System
Tgstation.Server.Host.Components.Chat.ChatUser
Represents a tgs_chat_user datum
Definition:
ChatUser.cs:10
Tgstation.Server.Host.Components.Chat.ChannelRepresentation
Represents a Providers.IProvider channel.
Definition:
ChannelRepresentation.cs:11
Tgstation
Generated by
1.8.11