namespace axXez.TS3.Protocol
{
/// Fired when a channel is moved to a different parent or position.
public class ChannelMovedArgs : TsEntity
{
/// ID of the channel that was moved.
[TsField("cid")]
public int ChannelID { get; private set; }
/// ID of the new parent channel; 0 for top-level.
[TsField("cpid")]
public int ParentChannelID { get; private set; }
/// New sort order position relative to sibling channels.
[TsField("order")]
public int Order { get; private set; }
/// Reason for the move.
[TsField("reasonid")]
public EventReason ReasonID { get; private set; }
/// Client who moved the channel, if applicable.
[TsField]
public InvokerInfo InvokerInfo { get; private set; }
internal ChannelMovedArgs(TsDataEntry data) : base(data) { }
}
}