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)); }
public async Task <IReadOnlyList <GetServerGroupListInfo> > GetServerGroups() { var res = await Client.Send("servergrouplist").ConfigureAwait(false); return(DataProxy.SerializeGeneric <GetServerGroupListInfo>(res)); }
public async Task <IReadOnlyList <GetChannelListInfo> > GetChannels() { var res = await Client.Send("channellist").ConfigureAwait(false); return(DataProxy.SerializeGeneric <GetChannelListInfo>(res)); }
public async Task <IReadOnlyCollection <FoundChannel> > FindChannel() { var res = await Client.Send("channelfind").ConfigureAwait(false); return(DataProxy.SerializeGeneric <FoundChannel>(res)); }
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)); }