コード例 #1
0
ファイル: RSRPC.cs プロジェクト: nolith/RSSSHClient
        public uint SearchResult(List <uint> IDs, uint limit = 150)
        {
            uint msgID = RSProtoBuf.ConstructMsgId(
                (byte)ExtensionId.CORE,
                (ushort)PackageId.SEARCH,
                (byte)rsctrl.search.RequestMsgIds.MsgId_RequestSearchResults,
                false
                );

            RequestSearchResults request = new RequestSearchResults();

            request.search_ids.AddRange(IDs);
            //request.result_limit = limit;
            return(Send <RequestSearchResults>(request, msgID));
        }
コード例 #2
0
 private void RaiseRequestSearchResults(string value)
 {
     RequestSearchResults?.Invoke(this, new SearchRequestEventArgs(value));
 }