com.beamable 5.0.0-PREVIEW.RC2 → 5.0.0-PREVIEW.RC4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.attestation.p7m +0 -0
- package/CHANGELOG.md +5 -0
- package/Common/Runtime/AgnosticAttribute.cs +2 -2
- package/Common/Runtime/Api/AliasHelper.cs +2 -2
- package/Common/Runtime/Api/Analytics/AnalyticsEventRequest.cs +2 -2
- package/Common/Runtime/Api/Analytics/AnalyticsService.cs +2 -2
- package/Common/Runtime/Api/Analytics/IBeamAnalyticsService.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/CoreEvent.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/IAnalyticsEvent.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/SampleCustomEvent.cs +2 -2
- package/Common/Runtime/Api/Announcements/AbsAnnouncementsApi.cs +2 -2
- package/Common/Runtime/Api/Announcements/IAnnouncementsApi.cs +2 -2
- package/Common/Runtime/Api/Auth/AuthApi.cs +2 -2
- package/Common/Runtime/Api/Auth/IAuthApi.cs +2 -2
- package/Common/Runtime/Api/Calendars/AbsCalendarApi.cs +2 -2
- package/Common/Runtime/Api/Calendars/ICalendarApi.cs +2 -2
- package/Common/Runtime/Api/Chat/ChatApi.cs +2 -2
- package/Common/Runtime/Api/Chat/IChatApi.cs +2 -2
- package/Common/Runtime/Api/CloudData/CloudDataApi.cs +2 -2
- package/Common/Runtime/Api/CloudData/ICloudDataApi.cs +2 -2
- package/Common/Runtime/Api/CometClientData.cs +2 -2
- package/Common/Runtime/Api/Commerce/ICommerceApi.cs +2 -2
- package/Common/Runtime/Api/Content/IContentApi.cs +2 -2
- package/Common/Runtime/Api/Events/AbsEventsApi.cs +2 -2
- package/Common/Runtime/Api/Events/IEventsApi.cs +2 -2
- package/Common/Runtime/Api/Groups/GroupsApi.cs +2 -2
- package/Common/Runtime/Api/Groups/IGroupsApi.cs +2 -2
- package/Common/Runtime/Api/IAccessToken.cs +2 -2
- package/Common/Runtime/Api/IBeamableFilesystemAccessor.cs +2 -2
- package/Common/Runtime/Api/IBeamableRequester.cs +2 -2
- package/Common/Runtime/Api/IConnectivityChecker.cs +2 -2
- package/Common/Runtime/Api/IHasBeamableRequester.cs +2 -2
- package/Common/Runtime/Api/IServiceRoutingStrategy.cs +2 -2
- package/Common/Runtime/Api/ISupportsGet.cs +2 -2
- package/Common/Runtime/Api/IUserContext.cs +2 -2
- package/Common/Runtime/Api/IUserDataCache.cs +2 -2
- package/Common/Runtime/Api/Inventory/IInventoryApi.cs +2 -2
- package/Common/Runtime/Api/Inventory/InventoryApi.cs +2 -2
- package/Common/Runtime/Api/Inventory/InventoryUpdateBuilder.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/ILeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/LeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/ILobbyApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Lobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyNotification.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyPlayer.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyRestriction.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyService.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyUtils.cs +2 -2
- package/Common/Runtime/Api/Lobbies/NotInLobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/AddTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/CreateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinByPasscodeRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveFromLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/UpdateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Mail/AbsMailApi.cs +2 -2
- package/Common/Runtime/Api/Mail/IMailApi.cs +2 -2
- package/Common/Runtime/Api/Notifications/INotificationService.cs +2 -2
- package/Common/Runtime/Api/Notifications/PrimitiveStringPayload.cs +2 -2
- package/Common/Runtime/Api/Parties/IPartyApi.cs +2 -2
- package/Common/Runtime/Api/Parties/NotInParty.cs +2 -2
- package/Common/Runtime/Api/Parties/Party.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyNotifications.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyRestriction.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyService.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/CreatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PartyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PlayerRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/UpdatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Payments/IPaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Payments/PaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Presence/IPresenceApi.cs +2 -2
- package/Common/Runtime/Api/Presence/PresenceService.cs +2 -2
- package/Common/Runtime/Api/Push/IPushApi.cs +2 -2
- package/Common/Runtime/Api/QueryBuilder.cs +2 -2
- package/Common/Runtime/Api/Realms/IAliasService.cs +2 -2
- package/Common/Runtime/Api/Realms/IRealmApi.cs +2 -2
- package/Common/Runtime/Api/Realms/RealmService.cs +2 -2
- package/Common/Runtime/Api/SignedRequesterHelper.cs +2 -2
- package/Common/Runtime/Api/Social/ISocialApi.cs +2 -2
- package/Common/Runtime/Api/Social/SocialApi.cs +2 -2
- package/Common/Runtime/Api/Stats/AbsStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/IStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsAccessType.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsApiHelper.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsDomainType.cs +2 -2
- package/Common/Runtime/Api/Tournaments/ITournamentApi.cs +2 -2
- package/Common/Runtime/Api/Tournaments/TournamentApi.cs +2 -2
- package/Common/Runtime/BeamCli/CliContractTypeAttribute.cs +2 -2
- package/Common/Runtime/BeamCli/CliOtelData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CliLogMessage.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CollectorStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/Constants.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotActionType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifest.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifestEntry.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestAuthor.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestProjectData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/TagStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/EnvironmentVersionData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/GenerateEnvOutput.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ServiceInfo.cs +2 -2
- package/Common/Runtime/BeamCli/ErrorOutput.cs +2 -2
- package/Common/Runtime/BeamCli/IBeamCommand.cs +2 -2
- package/Common/Runtime/BeamCli/Reporting.cs +2 -2
- package/Common/Runtime/BeamCli/ServiceInfoHelper.cs +2 -2
- package/Common/Runtime/BeamGenerateSchemaAttribute.cs +2 -2
- package/Common/Runtime/BeamableColorUtil.cs +2 -2
- package/Common/Runtime/BeamableEnumExtensions.cs +2 -2
- package/Common/Runtime/BeamableTaskExtensions.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentBag.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentDictionary.cs +2 -2
- package/Common/Runtime/Constants/Constants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ArchiveConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ConfigConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentManagerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/CronConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/DockerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/EnvironmentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/LoginBaseConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/MigrationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/NotificationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/OtelConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/RequesterConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/SchedulesConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ServiceConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/SpewConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TestingToolConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolbarConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolboxConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TooltipConstants.cs +2 -2
- package/Common/Runtime/Content/ClientContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ClientManifest.cs +2 -2
- package/Common/Runtime/Content/ClientPermissions.cs +2 -2
- package/Common/Runtime/Content/ContentCorruptedException.cs +2 -2
- package/Common/Runtime/Content/ContentDataInfo.cs +2 -2
- package/Common/Runtime/Content/ContentDeserializationException.cs +2 -2
- package/Common/Runtime/Content/ContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentFilterType.cs +2 -2
- package/Common/Runtime/Content/ContentNotFoundException.cs +2 -2
- package/Common/Runtime/Content/ContentObject.cs +3 -3
- package/Common/Runtime/Content/ContentQuery.cs +2 -2
- package/Common/Runtime/Content/ContentQueryExtensions.cs +2 -2
- package/Common/Runtime/Content/ContentRef.cs +2 -2
- package/Common/Runtime/Content/ContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ContentTypeAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentTypeReflectionCache.cs +2 -2
- package/Common/Runtime/Content/ContentVisibility.cs +2 -2
- package/Common/Runtime/Content/Federation.cs +2 -2
- package/Common/Runtime/Content/IContentObject.cs +2 -2
- package/Common/Runtime/Content/IContentService.cs +2 -2
- package/Common/Runtime/Content/IIgnoreSerializationCallbacks.cs +2 -2
- package/Common/Runtime/Content/IgnoreContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/Optionals.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/FilePathSelectorAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/HideUnlessServerPackageInstalled.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ReadonlyIfAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ShowOnlyAttribute.cs +2 -2
- package/Common/Runtime/Content/RenderAsRefAttribute.cs +2 -2
- package/Common/Runtime/Content/SerializableDictionary.cs +2 -2
- package/Common/Runtime/Content/Utility/DateUtility.cs +2 -2
- package/Common/Runtime/Content/Validation/AggregateContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeBlank.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeEmpty.cs +2 -2
- package/Common/Runtime/Content/Validation/ContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/FederationMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeComparatorString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrency.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrencyOrItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeDateString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeLeaderboard.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonDefault.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonNegative.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeOneOf.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBePositive.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeSlugString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeTimeSpanDuration.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeValidCron.cs +2 -2
- package/Common/Runtime/Content/Validation/MustContain.cs +2 -2
- package/Common/Runtime/Content/Validation/MustReferenceContent.cs +2 -2
- package/Common/Runtime/Content/Validation/RouteParametersMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/ServiceRouteMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/TimeSpanDisplayAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationContext.cs +2 -2
- package/Common/Runtime/CronExpression/CronLocale.cs +2 -2
- package/Common/Runtime/CronExpression/ErrorData.cs +2 -2
- package/Common/Runtime/CronExpression/ExpressionParser.cs +2 -2
- package/Common/Runtime/CronExpression/Options.cs +2 -2
- package/Common/Runtime/Debug.cs +2 -2
- package/Common/Runtime/DefaultQuery.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyBuilder.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyProvider.cs +2 -2
- package/Common/Runtime/Dependencies/Exceptions.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyList.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyNameProvider.cs +2 -2
- package/Common/Runtime/Dependencies/RegisterBeamableDependenciesAttribute.cs +2 -2
- package/Common/Runtime/Dependencies/ServiceStorage.cs +2 -2
- package/Common/Runtime/Dependencies/Utils.cs +2 -2
- package/Common/Runtime/DocUtils.cs +2 -2
- package/Common/Runtime/Environment/PackageVersion.cs +2 -2
- package/Common/Runtime/Federation/FederatedGameServer.cs +2 -2
- package/Common/Runtime/Federation/FederatedInventory.cs +2 -2
- package/Common/Runtime/Federation/FederatedLogin.cs +2 -2
- package/Common/Runtime/Federation/FederatedPlayerInit.cs +2 -2
- package/Common/Runtime/Federation/Federation.cs +2 -2
- package/Common/Runtime/IRuntimeConfigProvider.cs +2 -2
- package/Common/Runtime/ISearchableElement.cs +2 -2
- package/Common/Runtime/JsonSerializable/DeleteStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/DiffStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonData.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSerializable.cs +2 -2
- package/Common/Runtime/JsonSerializable/LoadStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/MessagePackStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/SaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/TypeLookupFactory.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementApiContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementRef.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarContent.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationContentRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationsContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/VipContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardRef.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ApiContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EmailContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EventContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/PlayerReward.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleDefinition.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleExtensions.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/SimGameType.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingLink.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingRef.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKUContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKURef.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreRef.cs +2 -2
- package/Common/Runtime/Modules/Steam/ISteamService.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentColorConstants.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentContent.cs +2 -2
- package/Common/Runtime/ObjectExtensions.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAdmin.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAdminCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuth.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuthCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamo.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +157 -85
- package/Common/Runtime/OpenApi/BeamCustomerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamLobby.gs.cs +320 -318
- package/Common/Runtime/OpenApi/BeamLobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailbox.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailboxCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMatchmaking.gs.cs +169 -169
- package/Common/Runtime/OpenApi/BeamMatchmakingCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamParty.gs.cs +247 -219
- package/Common/Runtime/OpenApi/BeamPartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayer.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobby.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerparty.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerpartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticket.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticketCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPresence.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +6 -6
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplanCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceObject.gs.cs +7 -7
- package/Common/Runtime/OpenApi/ContentBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/ContentBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Event-playersObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Event-playersObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Group-usersObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Group-usersObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/GroupsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/GroupsObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryObject.gs.cs +7 -7
- package/Common/Runtime/OpenApi/LeaderboardsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/LeaderboardsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/LeaderboardsObject.gs.cs +54 -34
- package/Common/Runtime/OpenApi/MailBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/MailBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/MailObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Models.gs.cs +366 -187
- package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/NotificationBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsObject.gs.cs +4 -4
- package/Common/Runtime/OpenApi/PushBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PushBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/RealmsBasic.gs.cs +6 -6
- package/Common/Runtime/OpenApi/RealmsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/BeamoExtensions.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/LegacyConverterExtensions.cs +2 -2
- package/Common/Runtime/OpenApiSystem.cs +2 -2
- package/Common/Runtime/Player/Lazy.cs +2 -2
- package/Common/Runtime/Player/Observables.cs +2 -2
- package/Common/Runtime/Pooling/ClassPool.cs +2 -2
- package/Common/Runtime/Pooling/StringBuilderPool.cs +2 -2
- package/Common/Runtime/Promise.cs +2 -2
- package/Common/Runtime/ReflectionCache/BeamContextSystemAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/INamingAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/IReflectionAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/PreserveAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_Attributes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_BaseTypes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_SignatureMatching.cs +2 -2
- package/Common/Runtime/Scheduler/BeamScheduler.cs +2 -2
- package/Common/Runtime/Scheduler/Cron.cs +2 -2
- package/Common/Runtime/Scheduler/CronValidation.cs +2 -2
- package/Common/Runtime/Semantics/ServiceName.cs +2 -2
- package/Common/Runtime/SmallerJSON/IRawJsonProvider.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.ArrayDict.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.FromString.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.cs +2 -2
- package/Common/Runtime/Spew/Logger.cs +2 -2
- package/Common/Runtime/Spew/SpewLoggerAttribute.cs +2 -2
- package/Common/Runtime/Trie.cs +2 -2
- package/Common/Runtime/TypeExtensions.cs +2 -2
- package/Common/Runtime/Util/BeamAssemblyVersionUtil.cs +2 -2
- package/Common/Runtime/Util/BeamFileUtil.cs +2 -2
- package/Common/Runtime/Util/DocsPageHelper.cs +2 -2
- package/Common/Runtime/Util/NaturalStringComparer.cs +2 -2
- package/Editor/BeamCli/BeamCli.cs +25 -23
- package/Editor/BeamCli/BeamCommand.cs +5 -2
- package/Editor/BeamCli/BeamWebCommand.cs +2 -2
- package/Editor/BeamCli/Extensions/DiscoveryExtensions.cs +17 -1
- package/Editor/BeamCli/UI/BeamCliWindow_Commands.cs +80 -53
- package/Editor/ContentService/CliContentService.cs +5 -9
- package/Editor/Server/Usam/UsamService.cs +3 -1
- package/Editor/UI/AccountWindow/AccountWindow.cs +3 -2
- package/Editor/UI/ContentWindow/ContentWindow_ItemsPanel.cs +31 -19
- package/Editor/Utility/UnityOtelManager.cs +6 -2
- package/Runtime/Environment/Resources/env-default.json +1 -1
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/package.json +1 -1
|
@@ -1,320 +1,322 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.0-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.0-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.0-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.0-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
namespace Beamable.Api.Autogenerated.Lobby
|
|
6
|
-
{
|
|
7
|
-
using Beamable.Api.Autogenerated.Models;
|
|
8
|
-
using Beamable.Common.Content;
|
|
9
|
-
using Beamable.Common;
|
|
10
|
-
using IBeamableRequester = Beamable.Common.Api.IBeamableRequester;
|
|
11
|
-
using Method = Beamable.Common.Api.Method;
|
|
12
|
-
using Beamable.Common.Dependencies;
|
|
13
|
-
|
|
14
|
-
public partial interface IBeamLobbyApi
|
|
15
|
-
{
|
|
16
|
-
/// <summary>
|
|
17
|
-
/// Query for active lobbies
|
|
18
|
-
///
|
|
19
|
-
/// GET call to `/api/lobbies` endpoint.
|
|
20
|
-
/// </summary>
|
|
21
|
-
/// <param name="Limit"></param>
|
|
22
|
-
/// <param name="MatchType"></param>
|
|
23
|
-
/// <param name="Skip"></param>
|
|
24
|
-
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
25
|
-
/// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
|
|
26
|
-
Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
27
|
-
/// <summary>
|
|
28
|
-
/// Create a lobby. A leader is not necessary to create a lobby.
|
|
29
|
-
///
|
|
30
|
-
/// POST call to `/api/lobbies` endpoint.
|
|
31
|
-
/// </summary>
|
|
32
|
-
/// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
|
|
33
|
-
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
34
|
-
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
35
|
-
Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
36
|
-
/// <summary>
|
|
37
|
-
/// Exposes the internal "SetLobby" behavior as an Admin only endpoint
|
|
38
|
-
///
|
|
39
|
-
/// PUT call to `/api/lobbies` endpoint.
|
|
40
|
-
/// </summary>
|
|
41
|
-
/// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
|
|
42
|
-
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
43
|
-
/// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
|
|
44
|
-
Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
45
|
-
/// <summary>
|
|
46
|
-
/// Get the current status of a lobby by id.
|
|
47
|
-
///
|
|
48
|
-
/// GET call to `/api/lobbies/{id}` endpoint.
|
|
49
|
-
/// </summary>
|
|
50
|
-
/// <param name="id">The lobby id.</param>
|
|
51
|
-
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
52
|
-
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
53
|
-
Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
54
|
-
/// <summary>
|
|
55
|
-
/// Join a lobby
|
|
56
|
-
///
|
|
57
|
-
/// PUT call to `/api/lobbies/{id}` endpoint.
|
|
58
|
-
/// </summary>
|
|
59
|
-
/// <param name="id">Id of the lobby</param>
|
|
60
|
-
/// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
|
|
61
|
-
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
62
|
-
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
63
|
-
Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
64
|
-
/// <summary>
|
|
65
|
-
/// Remove the requested player from the lobby. The host is able to remove anyone. Others
|
|
66
|
-
///
|
|
67
|
-
///
|
|
68
|
-
///
|
|
69
|
-
///
|
|
70
|
-
///
|
|
71
|
-
/// <param name="
|
|
72
|
-
/// <param name="
|
|
73
|
-
/// <
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
///
|
|
77
|
-
///
|
|
78
|
-
///
|
|
79
|
-
///
|
|
80
|
-
///
|
|
81
|
-
/// <param name="
|
|
82
|
-
/// <
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
///
|
|
86
|
-
///
|
|
87
|
-
///
|
|
88
|
-
///
|
|
89
|
-
///
|
|
90
|
-
/// <param name="
|
|
91
|
-
/// <param name="
|
|
92
|
-
/// <
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
///
|
|
96
|
-
///
|
|
97
|
-
///
|
|
98
|
-
///
|
|
99
|
-
///
|
|
100
|
-
/// <param name="
|
|
101
|
-
/// <param name="
|
|
102
|
-
/// <
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
///
|
|
106
|
-
///
|
|
107
|
-
///
|
|
108
|
-
///
|
|
109
|
-
///
|
|
110
|
-
/// <param name="
|
|
111
|
-
/// <param name="
|
|
112
|
-
/// <
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
///
|
|
116
|
-
///
|
|
117
|
-
///
|
|
118
|
-
///
|
|
119
|
-
///
|
|
120
|
-
/// <param name="
|
|
121
|
-
/// <param name="
|
|
122
|
-
/// <
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
///
|
|
129
|
-
///
|
|
130
|
-
///
|
|
131
|
-
///
|
|
132
|
-
///
|
|
133
|
-
/// <param name="
|
|
134
|
-
/// <param name="
|
|
135
|
-
/// <param name="
|
|
136
|
-
/// <
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
string
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
///
|
|
167
|
-
///
|
|
168
|
-
///
|
|
169
|
-
///
|
|
170
|
-
///
|
|
171
|
-
/// <param name="
|
|
172
|
-
/// <
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
///
|
|
181
|
-
///
|
|
182
|
-
///
|
|
183
|
-
///
|
|
184
|
-
///
|
|
185
|
-
/// <param name="
|
|
186
|
-
/// <
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
///
|
|
195
|
-
///
|
|
196
|
-
///
|
|
197
|
-
///
|
|
198
|
-
///
|
|
199
|
-
/// <param name="
|
|
200
|
-
/// <
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
gsUrl =
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
///
|
|
210
|
-
///
|
|
211
|
-
///
|
|
212
|
-
///
|
|
213
|
-
///
|
|
214
|
-
/// <param name="
|
|
215
|
-
/// <param name="
|
|
216
|
-
/// <
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
gsUrl =
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
///
|
|
226
|
-
///
|
|
227
|
-
///
|
|
228
|
-
///
|
|
229
|
-
///
|
|
230
|
-
///
|
|
231
|
-
///
|
|
232
|
-
/// <param name="
|
|
233
|
-
/// <
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
///
|
|
244
|
-
///
|
|
245
|
-
///
|
|
246
|
-
///
|
|
247
|
-
///
|
|
248
|
-
/// <
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
///
|
|
258
|
-
///
|
|
259
|
-
///
|
|
260
|
-
///
|
|
261
|
-
///
|
|
262
|
-
/// <param name="
|
|
263
|
-
/// <
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
///
|
|
274
|
-
///
|
|
275
|
-
///
|
|
276
|
-
///
|
|
277
|
-
///
|
|
278
|
-
/// <param name="
|
|
279
|
-
/// <
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
///
|
|
290
|
-
///
|
|
291
|
-
///
|
|
292
|
-
///
|
|
293
|
-
///
|
|
294
|
-
/// <param name="
|
|
295
|
-
/// <
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
///
|
|
306
|
-
///
|
|
307
|
-
///
|
|
308
|
-
///
|
|
309
|
-
///
|
|
310
|
-
/// <param name="
|
|
311
|
-
/// <
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
5
|
+
namespace Beamable.Api.Autogenerated.Lobby
|
|
6
|
+
{
|
|
7
|
+
using Beamable.Api.Autogenerated.Models;
|
|
8
|
+
using Beamable.Common.Content;
|
|
9
|
+
using Beamable.Common;
|
|
10
|
+
using IBeamableRequester = Beamable.Common.Api.IBeamableRequester;
|
|
11
|
+
using Method = Beamable.Common.Api.Method;
|
|
12
|
+
using Beamable.Common.Dependencies;
|
|
13
|
+
|
|
14
|
+
public partial interface IBeamLobbyApi
|
|
15
|
+
{
|
|
16
|
+
/// <summary>
|
|
17
|
+
/// Query for active lobbies
|
|
18
|
+
///
|
|
19
|
+
/// GET call to `/api/lobbies` endpoint.
|
|
20
|
+
/// </summary>
|
|
21
|
+
/// <param name="Limit"></param>
|
|
22
|
+
/// <param name="MatchType"></param>
|
|
23
|
+
/// <param name="Skip"></param>
|
|
24
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
25
|
+
/// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
|
|
26
|
+
Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
27
|
+
/// <summary>
|
|
28
|
+
/// Create a lobby. A leader is not necessary to create a lobby.
|
|
29
|
+
///
|
|
30
|
+
/// POST call to `/api/lobbies` endpoint.
|
|
31
|
+
/// </summary>
|
|
32
|
+
/// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
|
|
33
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
34
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
35
|
+
Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
36
|
+
/// <summary>
|
|
37
|
+
/// Exposes the internal "SetLobby" behavior as an Admin only endpoint
|
|
38
|
+
///
|
|
39
|
+
/// PUT call to `/api/lobbies` endpoint.
|
|
40
|
+
/// </summary>
|
|
41
|
+
/// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
|
|
42
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
43
|
+
/// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
|
|
44
|
+
Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
45
|
+
/// <summary>
|
|
46
|
+
/// Get the current status of a lobby by id.
|
|
47
|
+
///
|
|
48
|
+
/// GET call to `/api/lobbies/{id}` endpoint.
|
|
49
|
+
/// </summary>
|
|
50
|
+
/// <param name="id">The lobby id.</param>
|
|
51
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
52
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
53
|
+
Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
54
|
+
/// <summary>
|
|
55
|
+
/// Join a lobby
|
|
56
|
+
///
|
|
57
|
+
/// PUT call to `/api/lobbies/{id}` endpoint.
|
|
58
|
+
/// </summary>
|
|
59
|
+
/// <param name="id">Id of the lobby</param>
|
|
60
|
+
/// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
|
|
61
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
62
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
63
|
+
Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
64
|
+
/// <summary>
|
|
65
|
+
/// Remove the requested player from the lobby. The host is able to remove anyone. Others
|
|
66
|
+
///may
|
|
67
|
+
///only remove themselves without error.
|
|
68
|
+
///
|
|
69
|
+
/// DELETE call to `/api/lobbies/{id}` endpoint.
|
|
70
|
+
/// </summary>
|
|
71
|
+
/// <param name="id">Id of the lobby</param>
|
|
72
|
+
/// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
|
|
73
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
74
|
+
/// <returns>A promise containing the <see cref="Acknowledge"/></returns>
|
|
75
|
+
Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
76
|
+
/// <summary>
|
|
77
|
+
/// Join a lobby by passcode.
|
|
78
|
+
///
|
|
79
|
+
/// PUT call to `/api/lobbies/passcode` endpoint.
|
|
80
|
+
/// </summary>
|
|
81
|
+
/// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
|
|
82
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
83
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
84
|
+
Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
85
|
+
/// <summary>
|
|
86
|
+
/// Update the properties of a lobby
|
|
87
|
+
///
|
|
88
|
+
/// PUT call to `/api/lobbies/{id}/metadata` endpoint.
|
|
89
|
+
/// </summary>
|
|
90
|
+
/// <param name="id">Id of the lobby</param>
|
|
91
|
+
/// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
|
|
92
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
93
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
94
|
+
Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
95
|
+
/// <summary>
|
|
96
|
+
/// Add the request tags to the requested player.
|
|
97
|
+
///
|
|
98
|
+
/// PUT call to `/api/lobbies/{id}/tags` endpoint.
|
|
99
|
+
/// </summary>
|
|
100
|
+
/// <param name="id">Id of the lobby</param>
|
|
101
|
+
/// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
|
|
102
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
103
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
104
|
+
Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
105
|
+
/// <summary>
|
|
106
|
+
/// Remove the request tags from the requested player.
|
|
107
|
+
///
|
|
108
|
+
/// DELETE call to `/api/lobbies/{id}/tags` endpoint.
|
|
109
|
+
/// </summary>
|
|
110
|
+
/// <param name="id">Id of the lobby</param>
|
|
111
|
+
/// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
|
|
112
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
113
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
114
|
+
Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
115
|
+
/// <summary>
|
|
116
|
+
/// Invoke the Lobby actor to make the federated game server request.
|
|
117
|
+
///
|
|
118
|
+
/// POST call to `/api/lobbies/{id}/server` endpoint.
|
|
119
|
+
/// </summary>
|
|
120
|
+
/// <param name="id">Id of the lobby</param>
|
|
121
|
+
/// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
|
|
122
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
123
|
+
/// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
|
|
124
|
+
Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
125
|
+
}
|
|
126
|
+
public partial class BeamLobbyApi : IBeamLobbyApi
|
|
127
|
+
{
|
|
128
|
+
/// <summary>
|
|
129
|
+
/// Query for active lobbies
|
|
130
|
+
///
|
|
131
|
+
/// GET call to `/api/lobbies` endpoint.
|
|
132
|
+
/// </summary>
|
|
133
|
+
/// <param name="Limit"></param>
|
|
134
|
+
/// <param name="MatchType"></param>
|
|
135
|
+
/// <param name="Skip"></param>
|
|
136
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
137
|
+
/// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
|
|
138
|
+
public virtual Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
139
|
+
{
|
|
140
|
+
string gsUrl = "/api/lobbies";
|
|
141
|
+
string gsQuery = "?";
|
|
142
|
+
System.Collections.Generic.List<string> gsQueries = new System.Collections.Generic.List<string>();
|
|
143
|
+
if (((Skip != default(OptionalInt))
|
|
144
|
+
&& Skip.HasValue))
|
|
145
|
+
{
|
|
146
|
+
gsQueries.Add(string.Concat("Skip=", Skip.Value.ToString()));
|
|
147
|
+
}
|
|
148
|
+
if (((Limit != default(OptionalInt))
|
|
149
|
+
&& Limit.HasValue))
|
|
150
|
+
{
|
|
151
|
+
gsQueries.Add(string.Concat("Limit=", Limit.Value.ToString()));
|
|
152
|
+
}
|
|
153
|
+
if (((MatchType != default(OptionalString))
|
|
154
|
+
&& MatchType.HasValue))
|
|
155
|
+
{
|
|
156
|
+
gsQueries.Add(string.Concat("MatchType=", MatchType.Value.ToString()));
|
|
157
|
+
}
|
|
158
|
+
if ((gsQueries.Count > 0))
|
|
159
|
+
{
|
|
160
|
+
gsQuery = string.Concat(gsQuery, string.Join("&", gsQueries));
|
|
161
|
+
gsUrl = string.Concat(gsUrl, gsQuery);
|
|
162
|
+
}
|
|
163
|
+
// make the request and return the result
|
|
164
|
+
return _requester.Request<LobbyQueryResponse>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<LobbyQueryResponse>);
|
|
165
|
+
}
|
|
166
|
+
/// <summary>
|
|
167
|
+
/// Create a lobby. A leader is not necessary to create a lobby.
|
|
168
|
+
///
|
|
169
|
+
/// POST call to `/api/lobbies` endpoint.
|
|
170
|
+
/// </summary>
|
|
171
|
+
/// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
|
|
172
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
173
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
174
|
+
public virtual Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
175
|
+
{
|
|
176
|
+
string gsUrl = "/api/lobbies";
|
|
177
|
+
// make the request and return the result
|
|
178
|
+
return _requester.Request<Lobby>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
179
|
+
}
|
|
180
|
+
/// <summary>
|
|
181
|
+
/// Exposes the internal "SetLobby" behavior as an Admin only endpoint
|
|
182
|
+
///
|
|
183
|
+
/// PUT call to `/api/lobbies` endpoint.
|
|
184
|
+
/// </summary>
|
|
185
|
+
/// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
|
|
186
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
187
|
+
/// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
|
|
188
|
+
public virtual Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
189
|
+
{
|
|
190
|
+
string gsUrl = "/api/lobbies";
|
|
191
|
+
// make the request and return the result
|
|
192
|
+
return _requester.Request<SetLobbyResponse>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<SetLobbyResponse>);
|
|
193
|
+
}
|
|
194
|
+
/// <summary>
|
|
195
|
+
/// Get the current status of a lobby by id.
|
|
196
|
+
///
|
|
197
|
+
/// GET call to `/api/lobbies/{id}` endpoint.
|
|
198
|
+
/// </summary>
|
|
199
|
+
/// <param name="id">The lobby id.</param>
|
|
200
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
201
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
202
|
+
public virtual Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
203
|
+
{
|
|
204
|
+
string gsUrl = "/api/lobbies/{id}";
|
|
205
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
206
|
+
// make the request and return the result
|
|
207
|
+
return _requester.Request<Lobby>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<Lobby>);
|
|
208
|
+
}
|
|
209
|
+
/// <summary>
|
|
210
|
+
/// Join a lobby
|
|
211
|
+
///
|
|
212
|
+
/// PUT call to `/api/lobbies/{id}` endpoint.
|
|
213
|
+
/// </summary>
|
|
214
|
+
/// <param name="id">Id of the lobby</param>
|
|
215
|
+
/// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
|
|
216
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
217
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
218
|
+
public virtual Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
219
|
+
{
|
|
220
|
+
string gsUrl = "/api/lobbies/{id}";
|
|
221
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
222
|
+
// make the request and return the result
|
|
223
|
+
return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
224
|
+
}
|
|
225
|
+
/// <summary>
|
|
226
|
+
/// Remove the requested player from the lobby. The host is able to remove anyone. Others
|
|
227
|
+
///may
|
|
228
|
+
///only remove themselves without error.
|
|
229
|
+
///
|
|
230
|
+
/// DELETE call to `/api/lobbies/{id}` endpoint.
|
|
231
|
+
/// </summary>
|
|
232
|
+
/// <param name="id">Id of the lobby</param>
|
|
233
|
+
/// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
|
|
234
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
235
|
+
/// <returns>A promise containing the <see cref="Acknowledge"/></returns>
|
|
236
|
+
public virtual Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
237
|
+
{
|
|
238
|
+
string gsUrl = "/api/lobbies/{id}";
|
|
239
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
240
|
+
// make the request and return the result
|
|
241
|
+
return _requester.Request<Acknowledge>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Acknowledge>);
|
|
242
|
+
}
|
|
243
|
+
/// <summary>
|
|
244
|
+
/// Join a lobby by passcode.
|
|
245
|
+
///
|
|
246
|
+
/// PUT call to `/api/lobbies/passcode` endpoint.
|
|
247
|
+
/// </summary>
|
|
248
|
+
/// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
|
|
249
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
250
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
251
|
+
public virtual Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
252
|
+
{
|
|
253
|
+
string gsUrl = "/api/lobbies/passcode";
|
|
254
|
+
// make the request and return the result
|
|
255
|
+
return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
256
|
+
}
|
|
257
|
+
/// <summary>
|
|
258
|
+
/// Update the properties of a lobby
|
|
259
|
+
///
|
|
260
|
+
/// PUT call to `/api/lobbies/{id}/metadata` endpoint.
|
|
261
|
+
/// </summary>
|
|
262
|
+
/// <param name="id">Id of the lobby</param>
|
|
263
|
+
/// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
|
|
264
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
265
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
266
|
+
public virtual Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
267
|
+
{
|
|
268
|
+
string gsUrl = "/api/lobbies/{id}/metadata";
|
|
269
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
270
|
+
// make the request and return the result
|
|
271
|
+
return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
272
|
+
}
|
|
273
|
+
/// <summary>
|
|
274
|
+
/// Add the request tags to the requested player.
|
|
275
|
+
///
|
|
276
|
+
/// PUT call to `/api/lobbies/{id}/tags` endpoint.
|
|
277
|
+
/// </summary>
|
|
278
|
+
/// <param name="id">Id of the lobby</param>
|
|
279
|
+
/// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
|
|
280
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
281
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
282
|
+
public virtual Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
283
|
+
{
|
|
284
|
+
string gsUrl = "/api/lobbies/{id}/tags";
|
|
285
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
286
|
+
// make the request and return the result
|
|
287
|
+
return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
288
|
+
}
|
|
289
|
+
/// <summary>
|
|
290
|
+
/// Remove the request tags from the requested player.
|
|
291
|
+
///
|
|
292
|
+
/// DELETE call to `/api/lobbies/{id}/tags` endpoint.
|
|
293
|
+
/// </summary>
|
|
294
|
+
/// <param name="id">Id of the lobby</param>
|
|
295
|
+
/// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
|
|
296
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
297
|
+
/// <returns>A promise containing the <see cref="Lobby"/></returns>
|
|
298
|
+
public virtual Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
299
|
+
{
|
|
300
|
+
string gsUrl = "/api/lobbies/{id}/tags";
|
|
301
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
302
|
+
// make the request and return the result
|
|
303
|
+
return _requester.Request<Lobby>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
|
|
304
|
+
}
|
|
305
|
+
/// <summary>
|
|
306
|
+
/// Invoke the Lobby actor to make the federated game server request.
|
|
307
|
+
///
|
|
308
|
+
/// POST call to `/api/lobbies/{id}/server` endpoint.
|
|
309
|
+
/// </summary>
|
|
310
|
+
/// <param name="id">Id of the lobby</param>
|
|
311
|
+
/// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
|
|
312
|
+
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
313
|
+
/// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
|
|
314
|
+
public virtual Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
315
|
+
{
|
|
316
|
+
string gsUrl = "/api/lobbies/{id}/server";
|
|
317
|
+
gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
|
|
318
|
+
// make the request and return the result
|
|
319
|
+
return _requester.Request<ApiLobbiesServerPostLobbyResponse>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<ApiLobbiesServerPostLobbyResponse>);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|