Skip to content

Commit 09f875d

Browse files
committed
Added more properties to ChannelEditedEventArgs
1 parent 674dde3 commit 09f875d

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

TS3QueryLib.Core.Silverlight/Server/Notification/EventArgs/ChannelEditedEventArgs.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,26 @@ public class ChannelEditedEventArgs : System.EventArgs, IDump
1515
public string InvokerUniqueId { get; protected set; }
1616
public string ChannelName { get; protected set; }
1717

18+
19+
public int? ParentId { get; protected set; }
20+
public string Topic { get; protected set; }
21+
public string NamePhonetic { get; protected set; }
22+
public int? Codec { get; protected set; }
23+
public int? CodecQuality { get; protected set; }
24+
public int? Order { get; protected set; }
25+
public int? FlagPassword { get; protected set; }
26+
public int? FlagSemiPermanent { get; protected set; }
27+
public int? DeleteDelay { get; protected set; }
28+
public int? FlagPermanent { get; protected set; }
29+
public int? FlagDefault { get; protected set; }
30+
public int? CodecIsUnencrypted { get; protected set; }
31+
public int? NeededTalkPower { get; protected set; }
32+
public int? MaxClients { get; protected set; }
33+
public int? MaxFamilyClients { get; protected set; }
34+
public int? FlagMaxClientsUnlimited { get; protected set; }
35+
public int? FlagMaxFamilyClientsUnlimited { get; protected set; }
36+
public int? FlagMaxFamilyClientsInherited { get; protected set; }
37+
1838
#endregion
1939

2040
#region Constructors
@@ -30,6 +50,26 @@ public ChannelEditedEventArgs(CommandParameterGroupList commandParameterGroupLis
3050
InvokerName = commandParameterGroupList.GetParameterValue<string>("invokername");
3151
InvokerUniqueId = commandParameterGroupList.GetParameterValue<string>("invokeruid");
3252
ChannelName = commandParameterGroupList.GetParameterValue<string>("channel_name");
53+
54+
ParentId = commandParameterGroupList.GetParameterValue<int?>("cpid");
55+
Topic = commandParameterGroupList.GetParameterValue<string>("channel_topic");
56+
NamePhonetic = commandParameterGroupList.GetParameterValue<string>("channel_name_phonetic");
57+
Codec = commandParameterGroupList.GetParameterValue<int?>("channel_codec");
58+
CodecQuality = commandParameterGroupList.GetParameterValue<int?>("channel_codec_quality");
59+
FlagPermanent = commandParameterGroupList.GetParameterValue<int?>("channel_flag_permanent");
60+
FlagDefault = commandParameterGroupList.GetParameterValue<int?>("channel_flag_default");
61+
NeededTalkPower = commandParameterGroupList.GetParameterValue<int?>("channel_needed_talk_power");
62+
Order = commandParameterGroupList.GetParameterValue<int?>("channel_order");
63+
CodecIsUnencrypted = commandParameterGroupList.GetParameterValue<int?>("channel_codec_is_unencrypted");
64+
FlagMaxFamilyClientsUnlimited = commandParameterGroupList.GetParameterValue<int?>("channel_flag_maxfamilyclients_unlimited");
65+
FlagMaxFamilyClientsInherited = commandParameterGroupList.GetParameterValue<int?>("channel_flag_maxfamilyclients_inherited");
66+
DeleteDelay = commandParameterGroupList.GetParameterValue<int?>("channel_delete_delay");
67+
FlagPassword = commandParameterGroupList.GetParameterValue<int?>("channel_flag_password");
68+
FlagPermanent = commandParameterGroupList.GetParameterValue<int?>("channel_flag_permanent");
69+
FlagSemiPermanent = commandParameterGroupList.GetParameterValue<int?>("channel_flag_semi_permanent");
70+
MaxClients = commandParameterGroupList.GetParameterValue<int?>("channel_maxclients");
71+
MaxFamilyClients = commandParameterGroupList.GetParameterValue<int?>("channel_maxfamilyclients");
72+
FlagMaxClientsUnlimited = commandParameterGroupList.GetParameterValue<int?>("channel_flag_maxclients_unlimited");
3373
}
3474

3575
#endregion

0 commit comments

Comments
 (0)