> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.client/ks.reactor.client.ksservice/ks.reactor.client.ksservice.roomlistcallback.md).

# Delegate ksService.RoomListCallback

Namespace: [KS.Reactor.Client](/reactor/api-reference/ks.reactor.client.md)\
Assembly: KSUnity.dll

Callback for [GetServers](/reactor/api-reference/ks.reactor.client/ks.reactor.client.ksservice.md#KS_Reactor_Client_ksService_GetServers_System_String_2cSystem_String_2cKS_Reactor_Client_ksService_RoomListCallback_).

```csharp
public delegate void ksService.RoomListCallback(List<ksRoomInfo> roomList, string error)
```

#### Parameters

`roomList` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)<[ksRoomInfo](/reactor/api-reference/ks.reactor/ks.reactor.ksroominfo.md)>

List of public rooms.

`error` [string](https://learn.microsoft.com/dotnet/api/system.string)

Error message. Null if there was no error.
