Scordo / TS3QueryLib.Net

This library allows you to query team speak 3 servers using the query port. All queries are implemented type safe and the library is written to work with .Net 3.5 SP1 or higher inluding support for silverlight 3.0 or higher and windows phone 7.1.
BSD 3-Clause "New" or "Revised" License
51 stars 15 forks source link

ChannelDeleted Event raised once even if you delete more than one at same time #32

Closed Myszax closed 7 years ago

Myszax commented 7 years ago

ChannelDeletedEventArgs has no list with deleted channels. Example if you delete channel with sub-channels in it, you will only receive event from last sub channel deleted. There is no information about other sub-channels and their parent.

When I delete one channel with no sub-channels, there is no problem and server respond looks like: invokerid=2 invokername=adminName invokeruid=sOm31n7oK3ru1dxD= cid=29363

When I delete channel with sub-channels inside, respond will look like: invokerid=2 invokername=adminName invokeruid=sOm31n7oK3ru1dxD= cid=25177|cid=25178|cid=25179|cid=25180|cid=25181|cid=25182|cid=25183|cid=25184|cid=25176

There is a problem with handling this :(

Scordo commented 7 years ago

This is fixed in version 1.2.2.0. There is an additional property "SubChannelIdList" on the event arg.