Scordo/TS3QueryLib.Net

GetClientDatabaseInfo Parameter must be uint

timmkroe opened this issue · 0 comments

I found an Issue.

if you get the clientdbid from the clientList or the clientlist of a specific servergroup is the cldbid a uint variable.
(Lines 1806 -1816)

        /// <summary>
        /// Gets the client database info.
        /// </summary>
        /// <param name="clientDatabaseId">The client database id.</param>
        public ClientDbInfoResponse GetClientDatabaseInfo(int clientDatabaseId)
        {
            Command command = CommandName.ClientDbInfo.CreateCommand();
            command.AddParameter("cldbid", clientDatabaseId);

            return ResponseBase<ClientDbInfoResponse>.Parse(SendCommand(command));
        }

So we have to change the parameter datatype from int to uint.

I will fix it.