(LobbiesV1)
CreatePrivateLobbyDeprecated-⚠️ DeprecatedCreatePublicLobbyDeprecated-⚠️ DeprecatedListActivePublicLobbiesDeprecatedV1-⚠️ Deprecated
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Operations;
using HathoraCloud.Models.Shared;
var sdk = new HathoraCloudSDK(appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
CreatePrivateLobbyDeprecatedRequest req = new CreatePrivateLobbyDeprecatedRequest() {};
using(var res = await sdk.LobbiesV1.CreatePrivateLobbyDeprecatedAsync(
security: new CreatePrivateLobbyDeprecatedSecurity() {
PlayerAuth = "<YOUR_BEARER_TOKEN_HERE>",
},
req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
CreatePrivateLobbyDeprecatedRequest | ✔️ | The request object to use for the request. |
security |
HathoraCloud.Models.Operations.CreatePrivateLobbyDeprecatedSecurity | ✔️ | The security requirements to use for the request. |
CreatePrivateLobbyDeprecatedResponse
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 400,401,402,404,422,429,500 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Operations;
using HathoraCloud.Models.Shared;
var sdk = new HathoraCloudSDK(appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
CreatePublicLobbyDeprecatedRequest req = new CreatePublicLobbyDeprecatedRequest() {};
using(var res = await sdk.LobbiesV1.CreatePublicLobbyDeprecatedAsync(
security: new CreatePublicLobbyDeprecatedSecurity() {
PlayerAuth = "<YOUR_BEARER_TOKEN_HERE>",
},
req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
CreatePublicLobbyDeprecatedRequest | ✔️ | The request object to use for the request. |
security |
HathoraCloud.Models.Operations.CreatePublicLobbyDeprecatedSecurity | ✔️ | The security requirements to use for the request. |
CreatePublicLobbyDeprecatedResponse
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 400,401,402,404,422,429,500 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Shared;
using HathoraCloud.Models.Operations;
var sdk = new HathoraCloudSDK(appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
ListActivePublicLobbiesDeprecatedV1Request req = new ListActivePublicLobbiesDeprecatedV1Request() {};
using(var res = await sdk.LobbiesV1.ListActivePublicLobbiesDeprecatedV1Async(req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
ListActivePublicLobbiesDeprecatedV1Request | ✔️ | The request object to use for the request. |
ListActivePublicLobbiesDeprecatedV1Response
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 404,429 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |