namespace axXez.TS3.Protocol { /// Fired when a client uses a privilege key (token). public class TokenUsedArgs : TsEntity { /// Session-based client ID of the client who used the token. [TsField("clid")] public int ClientID { get; private set; } /// Permanent database ID of the client who used the token. [TsField("cldbid")] public int ClientDBID { get; private set; } /// Unique identifier of the client who used the token. [TsField("cluid")] public string ClientUID { get; private set; } /// The privilege key string that was used. [TsField("token")] public string Token { get; private set; } /// Custom data string associated with the token. [TsField("tokencustomset")] public string TokenCustomSet { get; private set; } /// First token group identifier (server group ID or channel group ID). [TsField("token1")] public string Token1 { get; private set; } /// Second token group identifier (channel ID for channel group tokens; 0 for server group tokens). [TsField("token2")] public string Token2 { get; private set; } internal TokenUsedArgs(TsDataEntry data) : base(data) { } } }