GetOrCreateRoomAsync
Declaration
public static async Task<GetOrCreateRoomAsyncTaskResult> GetOrCreateRoomAsync(string roomName, string roomDescription, uint roomCapacity)
Parameters
| Name | Type | Summary |
|---|---|---|
| roomName | string | Room name to check for |
| roomDesc | string | Room description to use if a room needs to be made |
| roomCapacity | uint | Room capacity to use if a room needs to be made |
| doneCb | GetOrCreateRoomCallback | Callback that the function calls after it errors or receives a valid room id. |
Overload
public static void GetOrCreateRoomAsync(string roomName, string roomDesc, uint roomCapacity, GetOrCreateRoomCallback doneCb)
Parameters
| Name | Type | Summary |
|---|---|---|
| roomName | string | Room name to check for |
| roomDesc | string | Room description to use if a room needs to be made |
| roomCapacity | uint | Room capacity to use if a room needs to be made |
| doneCb | GetOrCreateRoomCallback | Callback that the function calls after it errors or receives a valid room id. |