public record class ChatChannelDefinitionA chat channel: who hears it, how it gets there, and what it costs to speak.
Remarks
Authored, so a game adds a channel by writing a .vxdef. A trade channel, a recruitment channel, a language-specific zone channel and a role-play emote are all this type with different numbers.
⚠ Every member is settable, for the YAML binder's reason — see ModifierDefinition.
Fields and properties (10)
public string DisplayNameWhat a client shows it as — Guild.
public string CommandWhat somebody types — /g.
public ChatRoute RouteWhich way it goes.
public ChatAudienceKind AudienceHow its audience is found.
public float RadiusHow far it carries, in metres. Zero for a channel that is not spatial.
public int MaximumLengthThe longest message it takes.
public int RateLimitHow many messages one player may send on it in RateWindow. Zero for no limit.
public float RateWindowHow long that window is, in seconds.
public string PermissionA tag the sender must have to speak on it — Guild.Permission.Speak. Empty for none.
public List<RequirementDefinition> RequirementsWhat else has to be true to speak on it — a level floor against a trade channel.
Methods (1)
public override void CollectTags(ICollection<string> tags)Every tag this definition mentions, so the content build can bake the tag table.
Used by (8)
- RealmTestsMmo.Realm.Tests
- ChatChannelVixen.Gameplay.Chat
- ChatLibraryVixen.Gameplay.Chat
- ChatLibraryTestsVixen.Gameplay.Chat.Tests
- ChatModuleVixen.Gameplay.Chat
- ContentVixen.Gameplay.Chat.Tests
- TypeRegistrationVixen.Gameplay.Chat
- Vixen_Gameplay_Chat_ChatChannelDefinitionSerializerVixen.Gameplay.Chat