using System.Collections.Generic; namespace axXez.TS3.Protocol { /// Property bag for editing client settings via clientedit. Only set properties are sent. public class EditClientProperties { internal Dictionary changes = new Dictionary(); /// Nickname to assign to the client. public string Name { set => changes["client_nickname"] = value; } /// Whether the client has talker status. public bool Talker { set => changes["client_is_talker"] = value ? "1" : "0"; } /// Description text shown on the client's profile. public string Description { set => changes["client_description"] = value; } /// Whether the client has channel commander mode enabled. public bool IsChannelCommander { set => changes["client_is_channel_commander"] = value ? "1" : "0"; } /// Icon ID displayed on the client. public int IconID { set => changes["client_icon_id"] = value.ToString(); } } }