tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ChatChannelBase.cs
Go to the documentation of this file.
1using System.ComponentModel.DataAnnotations;
2
4{
8 public abstract class ChatChannelBase
9 {
13 [Required]
14 public bool? IsAdminChannel { get; set; }
15
19 [Required]
20 public bool? IsWatchdogChannel { get; set; }
21
25 [Required]
26 public bool? IsUpdatesChannel { get; set; }
27
31 [Required]
32 public bool? IsSystemChannel { get; set; }
33
37 [ResponseOptions]
38 [StringLength(Limits.MaximumStringLength)]
39 public string? Tag { get; set; }
40 }
41}
bool? IsUpdatesChannel
If the ChatChannel is an updates channel.
string? Tag
A custom tag users can define to group channels together.
bool? IsSystemChannel
If the ChatChannel received system messages.
bool? IsWatchdogChannel
If the ChatChannel is a watchdog channel.
bool? IsAdminChannel
If the ChatChannel is an admin channel.
Sanity limits to prevent users from overloading.
Definition Limits.cs:9
const int MaximumStringLength
Length limit for strings in fields.
Definition Limits.cs:13
@ Required
DMAPI validation must suceed for the deployment to succeed.