com.beamable 5.0.1-PREVIEW.RC2 → 5.0.1-PREVIEW.RC3
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 +12 -8
- package/Common/README.md +16 -3
- 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 +23 -26
- 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 +71 -4
- package/Common/Runtime/Api/Inventory/InventoryApi.cs +136 -37
- 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/PortalExtensionConstants.cs +16 -0
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs.meta +11 -0
- 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 +7 -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 +2 -2
- 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 +12 -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 +14 -6
- 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 +136 -38
- package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +32 -8
- package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +184 -84
- package/Common/Runtime/OpenApi/BeamCustomerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamLobby.gs.cs +4 -4
- package/Common/Runtime/OpenApi/BeamLobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailbox.gs.cs +6 -2
- package/Common/Runtime/OpenApi/BeamMailboxCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMatchmaking.gs.cs +4 -4
- package/Common/Runtime/OpenApi/BeamMatchmakingCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamParty.gs.cs +6 -6
- package/Common/Runtime/OpenApi/BeamPartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayer.gs.cs +20 -8
- 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/BeamPlayersession.gs.cs +110 -0
- package/Common/Runtime/OpenApi/BeamPlayersession.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs +45 -0
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs.meta +11 -0
- 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 +6 -2
- package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +90 -42
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +22 -6
- package/Common/Runtime/OpenApi/BeamServiceplanCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamSession.gs.cs +114 -0
- package/Common/Runtime/OpenApi/BeamSession.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs +45 -0
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs.meta +11 -0
- 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 +2 -2
- package/Common/Runtime/OpenApi/ContentBasic.gs.cs +21 -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 +2 -2
- 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 +2 -2
- 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 +322 -9
- package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +21 -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 +2 -2
- 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 +2 -2
- package/Common/Runtime/OpenApi/RealmsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasic.gs.cs +16 -16
- 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 +189 -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 +66 -43
- 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/BeamAccountId.cs +91 -0
- package/Common/Runtime/Semantics/BeamAccountId.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamCid.cs +89 -0
- package/Common/Runtime/Semantics/BeamCid.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamContentId.cs +55 -0
- package/Common/Runtime/Semantics/BeamContentId.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamContentManifestId.cs +49 -0
- package/Common/Runtime/Semantics/BeamContentManifestId.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamGamerTag.cs +90 -0
- package/Common/Runtime/Semantics/BeamGamerTag.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamPid.cs +49 -0
- package/Common/Runtime/Semantics/BeamPid.cs.meta +11 -0
- package/Common/Runtime/Semantics/BeamStats.cs +62 -0
- package/Common/Runtime/Semantics/BeamStats.cs.meta +11 -0
- package/Common/Runtime/Semantics/IBeamSemanticType.cs +16 -0
- package/Common/Runtime/Semantics/IBeamSemanticType.cs.meta +11 -0
- package/Common/Runtime/Semantics/ServiceName.cs +25 -4
- 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 +226 -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/Commands/Beam.cs +7 -0
- package/Editor/BeamCli/Commands/BeamContentHistory.cs +97 -0
- package/Editor/BeamCli/Commands/BeamContentHistory.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs +23 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs +12 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs +16 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs +15 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs +16 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs +12 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs +82 -0
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs +71 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs +12 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs +82 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs +12 -0
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamDeploymentPlan.cs +7 -0
- package/Editor/BeamCli/Commands/BeamDeploymentRelease.cs +7 -0
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs +12 -0
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs +12 -0
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs +14 -0
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs +13 -0
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs +55 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs +51 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs +63 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs +81 -0
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamProjectBuild.cs +7 -0
- package/Editor/BeamCli/Commands/BeamProjectGenerateClientOapi.cs +14 -0
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs +58 -0
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs +114 -0
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs +60 -0
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs +12 -0
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs +15 -0
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs +11 -0
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs.meta +11 -0
- package/Editor/BeamCli/Extensions/BeamManifestServiceEntry_ComputedTypes.cs +1 -1
- package/Editor/Server/MicroserviceConfiguration.cs +3 -0
- package/Editor/Server/UI/PublishWindow/UsamPublishWindow.cs +5 -1
- package/Editor/Server/Usam/UsamService_GenerateClient.cs +8 -15
- package/Runtime/Core/Platform/SDK/Events/EventsService.cs +8 -2
- package/Runtime/Core/Platform/SDK/Inventory/InventoryService.cs +7 -3
- package/Runtime/Environment/Resources/env-default.json +1 -1
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/Runtime/Server/MicroserviceClient.cs +5 -2
- package/Samples~/LightBeamSamples/SceneLoader/Editor/LightBeamBuilds.cs +16 -6
- package/Tests/Runtime/Beamable/Environment/PackageVersionTests/ImplicitConversionTest.cs +2 -2
- package/Tests/Runtime/Beamable/Platform/Inventory/InventoryServiceTests/UpdateTests.cs +4 -2
- package/Tests/Runtime/Beamable/Player/Inventory/GetItemTests.cs +16 -9
- package/package.json +1 -1
package/.attestation.p7m
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [5.0.1] - 2026-
|
|
8
|
+
## [5.0.1] - 2026-04-01
|
|
9
9
|
### Fixed
|
|
10
|
-
-
|
|
10
|
+
- Deserialization issue with `properties` field in Score Items of Events
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Added support to configure Max Parallel Service Build count on MicroserviceConfiguration.
|
|
14
|
+
- Update CLI to 7.0.1
|
|
11
15
|
|
|
12
16
|
## [5.0.0] - 2026-02-19
|
|
13
17
|
### Added
|
|
@@ -58,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
58
62
|
|
|
59
63
|
### Changed
|
|
60
64
|
- Improved Beamable CLI installation reliability with automatic retry mechanism (up to 5 attempts) on timeout failures, along with enhanced error messaging for troubleshooting.
|
|
61
|
-
- Improved Beam Accounts window when the `config-defaults.txt` is missing values.
|
|
65
|
+
- Improved Beam Accounts window when the `config-defaults.txt` is missing values.
|
|
62
66
|
- Updated Beam CLI version to 6.2.0
|
|
63
67
|
|
|
64
68
|
## [3.1.7] - 2025-12-05
|
|
@@ -78,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
78
82
|
### Fixed
|
|
79
83
|
- Fixed an `IndexOutOfRangeException` occurring when using the Content Editor Window.
|
|
80
84
|
- Fixed an issue where button to create a new snapshot was not displayed when no snapshots existed.
|
|
81
|
-
|
|
85
|
+
|
|
82
86
|
## [3.1.4] - 2025-10-7
|
|
83
87
|
### Fixed
|
|
84
88
|
- Fixed an issue where content drawer was not including subtype contents
|
|
@@ -111,7 +115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
111
115
|
## [3.0.0] - 2025-08-05
|
|
112
116
|
|
|
113
117
|
### Changed
|
|
114
|
-
- Heartbeats are no longer sent when Realm is configured to use the Beamable websocket.
|
|
118
|
+
- Heartbeats are no longer sent when Realm is configured to use the Beamable websocket.
|
|
115
119
|
- Able to use the new Client Code Generator from CLI that uses OpenAPI instead of the old one that uses Reflection
|
|
116
120
|
- `Core.Platform.Api` namespace moved into `Beamable.Api` namespace
|
|
117
121
|
- `Core.Platform` namespace moved into `Beamable` namespace
|
|
@@ -130,7 +134,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
130
134
|
- Beamable Environment Switcher is now part of the login flow.
|
|
131
135
|
|
|
132
136
|
### Added
|
|
133
|
-
- New Login window that uses CLI workflows rather than storing editor login information twice.
|
|
137
|
+
- New Login window that uses CLI workflows rather than storing editor login information twice.
|
|
134
138
|
- New Content Manager window that uses CLI workflows and receives dynamic updates.
|
|
135
139
|
- `BeamEditorContext.Microservices` property allows access to Microservice clients at editor time. [4102](https://github.com/beamable/BeamableProduct/issues/4102)
|
|
136
140
|
- New Validation for Cron Schedule Definition
|
|
@@ -163,7 +167,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
163
167
|
### Fixed
|
|
164
168
|
- Beamable Editor only checks for TMP and Addressable dependencies once per session.
|
|
165
169
|
|
|
166
|
-
## [2.4.0] - 2025-06-11
|
|
170
|
+
## [2.4.0] - 2025-06-11
|
|
167
171
|
|
|
168
172
|
### Fixed
|
|
169
173
|
- Fixed issue that CloudSaving could generate corrupted save files if the application was closed during saving process.
|
|
@@ -1554,4 +1558,4 @@ This is a broken package. It includes changes from the 1.1.0 release. Please do
|
|
|
1554
1558
|
- Added OnUserLoggingOut event available from API. The event fires before a user switches account.
|
|
1555
1559
|
- Doc Url to package.json.
|
|
1556
1560
|
- Event phase validation. Events can no longer have zero phases. This may lead to disappearing Event Phases if your Beamable version is mismatched.
|
|
1557
|
-
- Switched MatchmakingService API to point to our new backend matchmaking service.
|
|
1561
|
+
- Switched MatchmakingService API to point to our new backend matchmaking service.
|
package/Common/README.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
[Documentation](https://
|
|
1
|
+
[Documentation](https://help.beamable.com/Unity-Latest/unity/getting-started/installing-beamable/)
|
|
2
2
|
|
|
3
3
|
# Beamable Common
|
|
4
|
-
|
|
4
|
+
> Note: This folder is a Unity-package copy of the Common project used for Unity package consumption. The canonical source for the Common project is maintained under `cli/beamable.common`.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The Beamable Common project contains shared .NET types used by the Unity SDK, the Beamable CLI, and the Microservice runtime. It targets .NET Standard 2.0 to maintain compatibility with Unity and other runtimes and is published as the NuGet package `Beamable.Common`.
|
|
7
|
+
|
|
8
|
+
## What lives here
|
|
9
|
+
- Dependency injection primitives
|
|
10
|
+
- Promise library and async helpers
|
|
11
|
+
- Core Beamable types used across runtime and client packages
|
|
12
|
+
|
|
13
|
+
## Getting started (developer)
|
|
7
14
|
This code is not meant to be used directly. Instead, it is part of the Unity SDK, the Microservice framework, and our CLI tooling. However, the common project is published as a standalone package on Nuget, [https://www.nuget.org/packages/Beamable.Common](https://www.nuget.org/packages/Beamable.Common).
|
|
15
|
+
- Use the repo `dev.sh` workflow to update the Unity local package to a local NuGet feed used by downstream projects (see root `README.md` Quickstart):
|
|
16
|
+
- `./setup.sh` (run once)
|
|
17
|
+
- `./dev.sh`
|
|
18
|
+
|
|
19
|
+
If you are a maintainer who needs to change the authoritative Common sources, edit `cli/beamable.common` and publish via the project's tooling; changes here are intended to reflect the published NuGet package for Unity consumption.
|
|
20
|
+
|
|
8
21
|
|
|
9
22
|
# Contributing
|
|
10
23
|
This project has the same [contribution policy](https://github.com/beamable/BeamableProduct/tree/main/README.md#Contributing) as the main repository.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Runtime.CompilerServices;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Serialization;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Api;
|
|
5
5
|
using Beamable.Common.Spew;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System.Collections.Generic;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Serialization;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Serialization;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System.Collections.Generic;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Api.Autogenerated.Announcements;
|
|
5
5
|
using Beamable.Common.Content;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Announcements;
|
|
5
5
|
using Beamable.Common.Content;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Content;
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
5
5
|
using Beamable.Common.Api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
5
5
|
using Beamable.Common.Api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
5
5
|
using Beamable.Common.Api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
5
5
|
using Beamable.Common.Api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api.CloudData
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Serialization;
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api.Commerce
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Content;
|
|
5
5
|
using System;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
|
-
using Beamable.
|
|
4
|
+
using Beamable.Api.Autogenerated.EventPlayers;
|
|
5
|
+
using Beamable.Common.Content;
|
|
5
6
|
using System.Collections.Generic;
|
|
6
|
-
using System.
|
|
7
|
+
using System.Linq;
|
|
8
|
+
using ApiEventClaimRequest = Beamable.Api.Autogenerated.Models.EventClaimRequest;
|
|
9
|
+
using ApiEventScoreRequest = Beamable.Api.Autogenerated.Models.EventScoreRequest;
|
|
10
|
+
using ConverterExtensions = Beamable.Api.Autogenerated.Models.LegacyConverterExtensions;
|
|
7
11
|
|
|
8
12
|
namespace Beamable.Common.Api.Events
|
|
9
13
|
{
|
|
@@ -11,40 +15,33 @@ namespace Beamable.Common.Api.Events
|
|
|
11
15
|
{
|
|
12
16
|
public const string SERVICE_NAME = "event-players";
|
|
13
17
|
|
|
14
|
-
public
|
|
15
|
-
public IUserContext
|
|
18
|
+
public IEventPlayersApi EventPlayersApi { get; }
|
|
19
|
+
public IUserContext UserContext { get; }
|
|
16
20
|
|
|
17
|
-
protected AbsEventsApi(
|
|
21
|
+
protected AbsEventsApi(IEventPlayersApi eventPlayersApi, IUserContext userContext)
|
|
18
22
|
{
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
EventPlayersApi = eventPlayersApi;
|
|
24
|
+
UserContext = userContext;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
public virtual Promise<EventClaimResponse> Claim(string eventId)
|
|
24
28
|
{
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
$"/object/{SERVICE_NAME}/{Ctx.UserId}/claim?eventId={eventId}"
|
|
28
|
-
);
|
|
29
|
+
return EventPlayersApi.ObjectPostClaim(UserContext.UserId, new ApiEventClaimRequest { eventId = eventId })
|
|
30
|
+
.Map(ConverterExtensions.ToLegacy);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
public virtual Promise<Unit> SetScore(string eventId, double score, bool incremental = false, IDictionary<string, object> stats = null)
|
|
32
34
|
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return Requester.Request<Unit>(
|
|
42
|
-
Method.PUT,
|
|
43
|
-
$"/object/{SERVICE_NAME}/{Ctx.UserId}/score",
|
|
44
|
-
Json.Serialize(payload, new StringBuilder())
|
|
45
|
-
);
|
|
35
|
+
return EventPlayersApi.ObjectPutScore(UserContext.UserId, new ApiEventScoreRequest()
|
|
36
|
+
{
|
|
37
|
+
eventId = eventId,
|
|
38
|
+
increment = incremental,
|
|
39
|
+
score = score,
|
|
40
|
+
stats = stats == null ? new OptionalMapOfString() : new OptionalMapOfString(stats.ToDictionary(s => s.Key, s => s.Value?.ToString()))
|
|
41
|
+
}).ToUnit();
|
|
46
42
|
}
|
|
47
43
|
|
|
44
|
+
|
|
48
45
|
public abstract Promise<EventsGetResponse> GetCurrent(string scope = "");
|
|
49
46
|
}
|
|
50
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Api.Inventory;
|
|
5
5
|
using Beamable.Common.Pooling;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Api.Inventory;
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
5
5
|
using Beamable.Common.Api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Api.Autogenerated.Beamo;
|
|
5
5
|
using Beamable.Api.Autogenerated.Models;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Serialization.SmallerJSON;
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Common.Api
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Dependencies;
|
|
5
5
|
using System;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC3
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC3
|
|
3
3
|
|
|
4
|
+
using Beamable.Api.Autogenerated.Models;
|
|
4
5
|
using Beamable.Common.Content;
|
|
5
6
|
using Beamable.Common.Inventory;
|
|
6
7
|
using System;
|
|
7
8
|
using System.Collections;
|
|
8
9
|
using System.Collections.Generic;
|
|
9
10
|
using System.Linq;
|
|
11
|
+
using VipBonus = Beamable.Common.Inventory.VipBonus;
|
|
12
|
+
using AutogeneratedModels = Beamable.Api.Autogenerated.Models;
|
|
10
13
|
|
|
11
14
|
namespace Beamable.Common.Api.Inventory
|
|
12
15
|
{
|
|
@@ -27,7 +30,7 @@ namespace Beamable.Common.Api.Inventory
|
|
|
27
30
|
/// </summary>
|
|
28
31
|
/// <returns></returns>
|
|
29
32
|
Promise<GetMultipliersResponse> GetMultipliers();
|
|
30
|
-
|
|
33
|
+
|
|
31
34
|
/// <summary>
|
|
32
35
|
/// Players may sometimes receive additional currency as a result of qualifying for a VIP Tier
|
|
33
36
|
/// This API previews what that amount of currency would be ahead of an update.
|
|
@@ -36,6 +39,14 @@ namespace Beamable.Common.Api.Inventory
|
|
|
36
39
|
/// <returns></returns>
|
|
37
40
|
Promise<PreviewCurrencyGainResponse> PreviewCurrencyGain(Dictionary<string, long> currencyIdsToAmount);
|
|
38
41
|
|
|
42
|
+
/// <summary>
|
|
43
|
+
/// Players may sometimes receive additional currency as a result of qualifying for a VIP Tier
|
|
44
|
+
/// This API previews what that amount of currency would be ahead of an update.
|
|
45
|
+
/// </summary>
|
|
46
|
+
/// <param name="currencyIdsToAmount"></param>
|
|
47
|
+
/// <returns></returns>
|
|
48
|
+
Promise<PreviewCurrencyGainResponse> PreviewCurrencyGain(AutogeneratedModels.InventoryUpdateRequest request);
|
|
49
|
+
|
|
39
50
|
/// <summary>
|
|
40
51
|
/// Sets the currency.
|
|
41
52
|
/// If you need to make multiple inventory updates, use the <see cref="Update(System.Action{Beamable.Common.Api.Inventory.InventoryUpdateBuilder},string)"/> method.
|
|
@@ -240,6 +251,13 @@ namespace Beamable.Common.Api.Inventory
|
|
|
240
251
|
/// <returns>A <see cref="Promise{T}"/> representing the network call</returns>
|
|
241
252
|
Promise<Unit> Update(InventoryUpdateBuilder builder, string transaction = null);
|
|
242
253
|
|
|
254
|
+
/// <summary>
|
|
255
|
+
/// Perform multiple updates to the player's inventory in one network call using a pre-built <see cref="AutogeneratedModels.InventoryUpdateRequest"/>.
|
|
256
|
+
/// </summary>
|
|
257
|
+
/// <param name="inventoryUpdateRequest">An <see cref="AutogeneratedModels.InventoryUpdateRequest"/> containing the inventory changes to apply.</param>
|
|
258
|
+
/// <returns>A <see cref="Promise{Unit}"/> representing the asynchronous network call.</returns>
|
|
259
|
+
Promise<Unit> Update(AutogeneratedModels.InventoryUpdateRequest inventoryUpdateRequest);
|
|
260
|
+
|
|
243
261
|
/// <summary>
|
|
244
262
|
/// Get every <see cref="InventoryObject{TContent}"/> that is of a specific item content type.
|
|
245
263
|
/// </summary>
|
|
@@ -764,7 +782,9 @@ namespace Beamable.Common.Api.Inventory
|
|
|
764
782
|
public Dictionary<string, long> currencies = new Dictionary<string, long>();
|
|
765
783
|
public Dictionary<string, List<CurrencyProperty>> currencyProperties = new Dictionary<string, List<CurrencyProperty>>();
|
|
766
784
|
public Dictionary<string, List<ItemView>> items = new Dictionary<string, List<ItemView>>();
|
|
767
|
-
|
|
785
|
+
public InventoryFilterView itemFilters = new InventoryFilterView();
|
|
786
|
+
public string scope;
|
|
787
|
+
|
|
768
788
|
public void Clear()
|
|
769
789
|
{
|
|
770
790
|
currencies.Clear();
|
|
@@ -772,6 +792,53 @@ namespace Beamable.Common.Api.Inventory
|
|
|
772
792
|
}
|
|
773
793
|
}
|
|
774
794
|
|
|
795
|
+
[Serializable]
|
|
796
|
+
public class InventoryFilterView
|
|
797
|
+
{
|
|
798
|
+
public ContentTagFilterView contentTagFilter = new ContentTagFilterView();
|
|
799
|
+
public TimeRangeView createdAt = new TimeRangeView();
|
|
800
|
+
public PropertyFilterView[] propertyFilters;
|
|
801
|
+
public string[] proxyIds;
|
|
802
|
+
public TimeRangeView updatedAt = new TimeRangeView();
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
[Serializable]
|
|
806
|
+
public class ContentTagFilterView
|
|
807
|
+
{
|
|
808
|
+
public string[] allOf;
|
|
809
|
+
public string[] anyOf;
|
|
810
|
+
public string[] noneOf;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
[Serializable]
|
|
814
|
+
public class TimeRangeView
|
|
815
|
+
{
|
|
816
|
+
public long from;
|
|
817
|
+
public long to;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
[Serializable]
|
|
821
|
+
public class PropertyFilterView
|
|
822
|
+
{
|
|
823
|
+
public string key;
|
|
824
|
+
public PredicateView predicate;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
[Serializable]
|
|
828
|
+
public class PredicateView
|
|
829
|
+
{
|
|
830
|
+
public string asKey;
|
|
831
|
+
public bool caseInsensitive;
|
|
832
|
+
public bool includeLower;
|
|
833
|
+
public bool includeUpper;
|
|
834
|
+
public string kind;
|
|
835
|
+
public string lower;
|
|
836
|
+
public string substr;
|
|
837
|
+
public string upper;
|
|
838
|
+
public string value;
|
|
839
|
+
public string[] values;
|
|
840
|
+
}
|
|
841
|
+
|
|
775
842
|
/// <summary>
|
|
776
843
|
/// This type defines the render-friendly data of the %InventoryService.
|
|
777
844
|
///
|