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
ChatTabSettingsCommon
Implements
System.ComponentModel.INotifyPropertyChanged
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
Properties
Channels
Declaration
[ClientCanSelectAndAdd("Select Chat Sources", "Chat sources", "sources", false)]
public ControllerHashSet<Channel> Channels { get; set; }
Property Value
Notifications
Declaration
public ControllerHashSet<NotificationMessageSource> Notifications { get; set; }
Property Value
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
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods