Show / Hide Table of Contents

Class ChatTabSettingsCommon

Represent the common tabs that are created manually by the player (or in some cases automatically) and that can be modified.

Inheritance
System.Object
ChatTabSettingsBase
ChatTabSettingsCommon
Implements
INamed
System.ComponentModel.INotifyPropertyChanged
IHasClientControlledContainers
IController
IViewController
IHasUniversalID
ICustomValidity
IValidity
Inherited Members
ChatTabSettingsBase.Name
ChatTabSettingsBase.Flags
ChatTabSettingsBase.IsHidden
ChatTabSettingsBase.LastActivationTime
ChatTabSettingsBase.MarkedUpName
ChatTabSettingsBase.ControllerID
ChatTabSettingsBase.PropertyChanged
Namespace: Eco.Gameplay.Systems.Messaging.Chat
Assembly: Eco.Gameplay.dll
Syntax
public class ChatTabSettingsCommon : ChatTabSettingsBase, INamed, INotifyPropertyChanged, IHasClientControlledContainers, IController, IViewController, IHasUniversalID, ICustomValidity, IValidity

Constructors

ChatTabSettingsCommon()

Declaration
public ChatTabSettingsCommon()

ChatTabSettingsCommon(String, IEnumerable<Channel>, IEnumerable<NotificationMessageSource>)

Declaration
public ChatTabSettingsCommon(string name, IEnumerable<Channel> channels, IEnumerable<NotificationMessageSource> notifications = null)
Parameters
Type Name Description
System.String name
System.Collections.Generic.IEnumerable<Channel> channels
System.Collections.Generic.IEnumerable<NotificationMessageSource> notifications

ChatTabSettingsCommon(String, IEnumerable<NotificationMessageSource>)

Declaration
public ChatTabSettingsCommon(string name, IEnumerable<NotificationMessageSource> notifications)
Parameters
Type Name Description
System.String name
System.Collections.Generic.IEnumerable<NotificationMessageSource> notifications

Properties

Channels

Declaration
[ClientCanSelectAndAdd("Select Chat Sources", "Chat sources", "sources", false)]
public ControllerHashSet<Channel> Channels { get; set; }
Property Value
Type Description
ControllerHashSet<Channel>

Notifications

Declaration
public ControllerHashSet<NotificationMessageSource> Notifications { get; set; }
Property Value
Type Description
ControllerHashSet<NotificationMessageSource>

Methods

EditSystemSourcesSettings(Player)

Opens multi-selector popup on client. This is needed to allow pick from general picker without using registrars

Declaration
public Task EditSystemSourcesSettings(Player player)
Parameters
Type Name Description
Player player
Returns
Type Description
System.Threading.Tasks.Task

Valid()

Choose whether to make the submit button interactable or not depending on whether there's at least one channel or notification source.

Declaration
public Result Valid()
Returns
Type Description
Result

Implements

INamed
System.ComponentModel.INotifyPropertyChanged
IHasClientControlledContainers
IController
IViewController
IHasUniversalID
ICustomValidity
IValidity

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾