コード例 #1
0
        public async Task <IReadOnlyList <GetServerGroupClientList> > GetServerGroupClientList(int serverGroupDatabaseId)
        {
            var res = await Client.Send("servergroupclientlist", new Parameter("sgid", serverGroupDatabaseId)).ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroupClientList>(res));
        }
コード例 #2
0
        public async Task <IReadOnlyList <GetServerGroupListInfo> > GetServerGroups()
        {
            var res = await Client.Send("servergrouplist").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroupListInfo>(res));
        }
コード例 #3
0
        public async Task <IReadOnlyList <GetChannelListInfo> > GetChannels()
        {
            var res = await Client.Send("channellist").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetChannelListInfo>(res));
        }
コード例 #4
0
        public async Task <IReadOnlyCollection <FoundChannel> > FindChannel()
        {
            var res = await Client.Send("channelfind").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <FoundChannel>(res));
        }
コード例 #5
0
        public async Task <IReadOnlyList <GetServerGroup> > GetServerGroups(int clientDatabaseId)
        {
            var res = await Client.Send("servergroupsbyclientid", new Parameter("cldbid", clientDatabaseId)).ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroup>(res));
        }