Example #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));
        }
Example #2
0
        public async Task <IReadOnlyList <GetServerGroupListInfo> > GetServerGroups()
        {
            var res = await Client.Send("servergrouplist").ConfigureAwait(false);

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

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

            return(DataProxy.SerializeGeneric <FoundChannel>(res));
        }
Example #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));
        }