tgstation-server 6.14.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 {
14 [Required]
15 public bool? IsAdminChannel { get; set; }
16
21 [Required]
22 public bool? IsWatchdogChannel { get; set; }
23
28 [Required]
29 public bool? IsUpdatesChannel { get; set; }
30
34 [Required]
35 public bool? IsSystemChannel { get; set; }
36
41 [ResponseOptions]
42 [StringLength(Limits.MaximumStringLength)]
43 public string? Tag { get; set; }
44 }
45}
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.