-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#32 Added "SubChannelIdList" property to "ChannelDeletedEventArgs"
This allows to get the IDs of deleted sub-channels
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19f4430
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theoretical ChannelId property shouldn't be swapped with (if exists) last item from SubChannelIdList? Always when you delete channel with subs, last deleted channel is parent. It's strange when parent channel id is placed in SubChannelIdList :P
19f4430
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mhh.. Ok. Is this documented anywhere? I'll fix this when I'm back from vacation in a week.
19f4430
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is no documented :( I know this from my TS3 experience, but you can reproduce/test this if you want :)
19f4430
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway according to ChannelListEntry properties like ChannelId, InvokerId, SubChannelIdList shouldn't be uint? instead of int? ?
19f4430
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed the order with this commit: 1c897d0
Regarding int? and uint?: uint? would be better, but the other properties are int?. I know there is inconsistency but changing the type now would make existing code incompatible.