com.beamable 5.0.1-PREVIEW.RC3 → 5.0.1-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 +7 -9
- package/Common/README.md +3 -16
- 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 +26 -23
- 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 +4 -71
- package/Common/Runtime/Api/Inventory/InventoryApi.cs +37 -136
- 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 -7
- 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 +2 -12
- 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 +6 -14
- 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 +38 -136
- package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +8 -32
- package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +84 -184
- 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 +2 -6
- 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 +8 -20
- 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 -6
- package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +42 -90
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +6 -22
- 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 +2 -2
- package/Common/Runtime/OpenApi/ContentBasic.gs.cs +2 -21
- 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 +9 -322
- package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +2 -21
- 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 +2 -189
- 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 +43 -66
- 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 +4 -25
- 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 -226
- 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 +0 -7
- package/Editor/BeamCli/Commands/BeamDeploymentPlan.cs +0 -7
- package/Editor/BeamCli/Commands/BeamDeploymentRelease.cs +0 -7
- package/Editor/BeamCli/Commands/BeamProjectBuild.cs +0 -7
- package/Editor/BeamCli/Commands/BeamProjectGenerateClientOapi.cs +0 -14
- package/Editor/BeamCli/Extensions/BeamManifestServiceEntry_ComputedTypes.cs +1 -1
- package/Editor/Server/MicroserviceConfiguration.cs +0 -3
- package/Editor/Server/UI/PublishWindow/UsamPublishWindow.cs +1 -5
- package/Editor/Server/Usam/UsamService_GenerateClient.cs +15 -8
- package/Runtime/Core/Platform/SDK/Events/EventsService.cs +2 -8
- package/Runtime/Core/Platform/SDK/Inventory/InventoryService.cs +3 -7
- package/Runtime/Environment/Resources/env-default.json +1 -1
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/Runtime/Server/MicroserviceClient.cs +2 -5
- package/Samples~/LightBeamSamples/SceneLoader/Editor/LightBeamBuilds.cs +6 -16
- package/Tests/Runtime/Beamable/Environment/PackageVersionTests/ImplicitConversionTest.cs +2 -2
- package/Tests/Runtime/Beamable/Platform/Inventory/InventoryServiceTests/UpdateTests.cs +2 -4
- package/Tests/Runtime/Beamable/Player/Inventory/GetItemTests.cs +9 -16
- package/package.json +1 -1
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs +0 -16
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamPlayersession.gs.cs +0 -110
- package/Common/Runtime/OpenApi/BeamPlayersession.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs +0 -45
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamSession.gs.cs +0 -114
- package/Common/Runtime/OpenApi/BeamSession.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs +0 -45
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamAccountId.cs +0 -91
- package/Common/Runtime/Semantics/BeamAccountId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamCid.cs +0 -89
- package/Common/Runtime/Semantics/BeamCid.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamContentId.cs +0 -55
- package/Common/Runtime/Semantics/BeamContentId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamContentManifestId.cs +0 -49
- package/Common/Runtime/Semantics/BeamContentManifestId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamGamerTag.cs +0 -90
- package/Common/Runtime/Semantics/BeamGamerTag.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamPid.cs +0 -49
- package/Common/Runtime/Semantics/BeamPid.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamStats.cs +0 -62
- package/Common/Runtime/Semantics/BeamStats.cs.meta +0 -11
- package/Common/Runtime/Semantics/IBeamSemanticType.cs +0 -16
- package/Common/Runtime/Semantics/IBeamSemanticType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistory.cs +0 -97
- package/Editor/BeamCli/Commands/BeamContentHistory.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs +0 -23
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs +0 -16
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs +0 -15
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs +0 -16
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs +0 -82
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs +0 -71
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs +0 -82
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs +0 -12
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs +0 -14
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs +0 -13
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs +0 -55
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs +0 -51
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs +0 -63
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs +0 -81
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs +0 -58
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs +0 -114
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs +0 -60
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs +0 -12
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs +0 -15
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs +0 -11
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs.meta +0 -11
package/.attestation.p7m
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [5.0.1] - 2026-04-01
|
|
9
9
|
### Fixed
|
|
10
|
-
-
|
|
11
|
-
|
|
10
|
+
- No longer automatically generate clients for readonly service references
|
|
12
11
|
### Changed
|
|
13
|
-
- Added support to configure Max Parallel Service Build count on MicroserviceConfiguration.
|
|
14
12
|
- Update CLI to 7.0.1
|
|
15
13
|
|
|
16
14
|
## [5.0.0] - 2026-02-19
|
|
@@ -62,7 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
62
60
|
|
|
63
61
|
### Changed
|
|
64
62
|
- Improved Beamable CLI installation reliability with automatic retry mechanism (up to 5 attempts) on timeout failures, along with enhanced error messaging for troubleshooting.
|
|
65
|
-
- Improved Beam Accounts window when the `config-defaults.txt` is missing values.
|
|
63
|
+
- Improved Beam Accounts window when the `config-defaults.txt` is missing values.
|
|
66
64
|
- Updated Beam CLI version to 6.2.0
|
|
67
65
|
|
|
68
66
|
## [3.1.7] - 2025-12-05
|
|
@@ -82,7 +80,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
82
80
|
### Fixed
|
|
83
81
|
- Fixed an `IndexOutOfRangeException` occurring when using the Content Editor Window.
|
|
84
82
|
- Fixed an issue where button to create a new snapshot was not displayed when no snapshots existed.
|
|
85
|
-
|
|
83
|
+
|
|
86
84
|
## [3.1.4] - 2025-10-7
|
|
87
85
|
### Fixed
|
|
88
86
|
- Fixed an issue where content drawer was not including subtype contents
|
|
@@ -115,7 +113,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
115
113
|
## [3.0.0] - 2025-08-05
|
|
116
114
|
|
|
117
115
|
### Changed
|
|
118
|
-
- Heartbeats are no longer sent when Realm is configured to use the Beamable websocket.
|
|
116
|
+
- Heartbeats are no longer sent when Realm is configured to use the Beamable websocket.
|
|
119
117
|
- Able to use the new Client Code Generator from CLI that uses OpenAPI instead of the old one that uses Reflection
|
|
120
118
|
- `Core.Platform.Api` namespace moved into `Beamable.Api` namespace
|
|
121
119
|
- `Core.Platform` namespace moved into `Beamable` namespace
|
|
@@ -134,7 +132,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
134
132
|
- Beamable Environment Switcher is now part of the login flow.
|
|
135
133
|
|
|
136
134
|
### Added
|
|
137
|
-
- New Login window that uses CLI workflows rather than storing editor login information twice.
|
|
135
|
+
- New Login window that uses CLI workflows rather than storing editor login information twice.
|
|
138
136
|
- New Content Manager window that uses CLI workflows and receives dynamic updates.
|
|
139
137
|
- `BeamEditorContext.Microservices` property allows access to Microservice clients at editor time. [4102](https://github.com/beamable/BeamableProduct/issues/4102)
|
|
140
138
|
- New Validation for Cron Schedule Definition
|
|
@@ -167,7 +165,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
167
165
|
### Fixed
|
|
168
166
|
- Beamable Editor only checks for TMP and Addressable dependencies once per session.
|
|
169
167
|
|
|
170
|
-
## [2.4.0] - 2025-06-11
|
|
168
|
+
## [2.4.0] - 2025-06-11
|
|
171
169
|
|
|
172
170
|
### Fixed
|
|
173
171
|
- Fixed issue that CloudSaving could generate corrupted save files if the application was closed during saving process.
|
|
@@ -1558,4 +1556,4 @@ This is a broken package. It includes changes from the 1.1.0 release. Please do
|
|
|
1558
1556
|
- Added OnUserLoggingOut event available from API. The event fires before a user switches account.
|
|
1559
1557
|
- Doc Url to package.json.
|
|
1560
1558
|
- Event phase validation. Events can no longer have zero phases. This may lead to disappearing Event Phases if your Beamable version is mismatched.
|
|
1561
|
-
- Switched MatchmakingService API to point to our new backend matchmaking service.
|
|
1559
|
+
- Switched MatchmakingService API to point to our new backend matchmaking service.
|
package/Common/README.md
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
[Documentation](https://
|
|
1
|
+
[Documentation](https://docs.beamable.com/docs/installing-beamable)
|
|
2
2
|
|
|
3
3
|
# Beamable Common
|
|
4
|
-
|
|
4
|
+
The Beamable common project is a NET Standard 2.0 project that is compatible with Unity directly, but is also available on Nuget. The common project is used in the CLI, the Microservice, and the Unity SDK. The common project contains most of the base Beamable types such as the dependency injection framework, the promise library, and core Beamable components.
|
|
5
5
|
|
|
6
|
-
|
|
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)
|
|
6
|
+
## Getting Started
|
|
14
7
|
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
|
-
|
|
21
8
|
|
|
22
9
|
# Contributing
|
|
23
10
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Content;
|
|
5
5
|
using System;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
using Beamable.Common.Content;
|
|
4
|
+
using Beamable.Serialization.SmallerJSON;
|
|
6
5
|
using System.Collections.Generic;
|
|
7
|
-
using System.
|
|
8
|
-
using ApiEventClaimRequest = Beamable.Api.Autogenerated.Models.EventClaimRequest;
|
|
9
|
-
using ApiEventScoreRequest = Beamable.Api.Autogenerated.Models.EventScoreRequest;
|
|
10
|
-
using ConverterExtensions = Beamable.Api.Autogenerated.Models.LegacyConverterExtensions;
|
|
6
|
+
using System.Text;
|
|
11
7
|
|
|
12
8
|
namespace Beamable.Common.Api.Events
|
|
13
9
|
{
|
|
@@ -15,33 +11,40 @@ namespace Beamable.Common.Api.Events
|
|
|
15
11
|
{
|
|
16
12
|
public const string SERVICE_NAME = "event-players";
|
|
17
13
|
|
|
18
|
-
public
|
|
19
|
-
public IUserContext
|
|
14
|
+
public IBeamableRequester Requester { get; }
|
|
15
|
+
public IUserContext Ctx { get; }
|
|
20
16
|
|
|
21
|
-
protected AbsEventsApi(
|
|
17
|
+
protected AbsEventsApi(IBeamableRequester requester, IUserContext ctx)
|
|
22
18
|
{
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
Requester = requester;
|
|
20
|
+
Ctx = ctx;
|
|
25
21
|
}
|
|
26
22
|
|
|
27
23
|
public virtual Promise<EventClaimResponse> Claim(string eventId)
|
|
28
24
|
{
|
|
29
|
-
return
|
|
30
|
-
|
|
25
|
+
return Requester.Request<EventClaimResponse>(
|
|
26
|
+
Method.POST,
|
|
27
|
+
$"/object/{SERVICE_NAME}/{Ctx.UserId}/claim?eventId={eventId}"
|
|
28
|
+
);
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
public virtual Promise<Unit> SetScore(string eventId, double score, bool incremental = false, IDictionary<string, object> stats = null)
|
|
34
32
|
{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
var payload = new ArrayDict
|
|
34
|
+
{
|
|
35
|
+
{"eventId", eventId},
|
|
36
|
+
{"score", score},
|
|
37
|
+
{"increment", incremental},
|
|
38
|
+
{"stats", new ArrayDict(stats)}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return Requester.Request<Unit>(
|
|
42
|
+
Method.PUT,
|
|
43
|
+
$"/object/{SERVICE_NAME}/{Ctx.UserId}/score",
|
|
44
|
+
Json.Serialize(payload, new StringBuilder())
|
|
45
|
+
);
|
|
42
46
|
}
|
|
43
47
|
|
|
44
|
-
|
|
45
48
|
public abstract Promise<EventsGetResponse> GetCurrent(string scope = "");
|
|
46
49
|
}
|
|
47
50
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
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.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Dependencies;
|
|
5
5
|
using System;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1-PREVIEW.RC4
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1-PREVIEW.RC4
|
|
3
3
|
|
|
4
|
-
using Beamable.Api.Autogenerated.Models;
|
|
5
4
|
using Beamable.Common.Content;
|
|
6
5
|
using Beamable.Common.Inventory;
|
|
7
6
|
using System;
|
|
8
7
|
using System.Collections;
|
|
9
8
|
using System.Collections.Generic;
|
|
10
9
|
using System.Linq;
|
|
11
|
-
using VipBonus = Beamable.Common.Inventory.VipBonus;
|
|
12
|
-
using AutogeneratedModels = Beamable.Api.Autogenerated.Models;
|
|
13
10
|
|
|
14
11
|
namespace Beamable.Common.Api.Inventory
|
|
15
12
|
{
|
|
@@ -30,14 +27,6 @@ namespace Beamable.Common.Api.Inventory
|
|
|
30
27
|
/// </summary>
|
|
31
28
|
/// <returns></returns>
|
|
32
29
|
Promise<GetMultipliersResponse> GetMultipliers();
|
|
33
|
-
|
|
34
|
-
/// <summary>
|
|
35
|
-
/// Players may sometimes receive additional currency as a result of qualifying for a VIP Tier
|
|
36
|
-
/// This API previews what that amount of currency would be ahead of an update.
|
|
37
|
-
/// </summary>
|
|
38
|
-
/// <param name="currencyIdsToAmount"></param>
|
|
39
|
-
/// <returns></returns>
|
|
40
|
-
Promise<PreviewCurrencyGainResponse> PreviewCurrencyGain(Dictionary<string, long> currencyIdsToAmount);
|
|
41
30
|
|
|
42
31
|
/// <summary>
|
|
43
32
|
/// Players may sometimes receive additional currency as a result of qualifying for a VIP Tier
|
|
@@ -45,7 +34,7 @@ namespace Beamable.Common.Api.Inventory
|
|
|
45
34
|
/// </summary>
|
|
46
35
|
/// <param name="currencyIdsToAmount"></param>
|
|
47
36
|
/// <returns></returns>
|
|
48
|
-
Promise<PreviewCurrencyGainResponse> PreviewCurrencyGain(
|
|
37
|
+
Promise<PreviewCurrencyGainResponse> PreviewCurrencyGain(Dictionary<string, long> currencyIdsToAmount);
|
|
49
38
|
|
|
50
39
|
/// <summary>
|
|
51
40
|
/// Sets the currency.
|
|
@@ -251,13 +240,6 @@ namespace Beamable.Common.Api.Inventory
|
|
|
251
240
|
/// <returns>A <see cref="Promise{T}"/> representing the network call</returns>
|
|
252
241
|
Promise<Unit> Update(InventoryUpdateBuilder builder, string transaction = null);
|
|
253
242
|
|
|
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
|
-
|
|
261
243
|
/// <summary>
|
|
262
244
|
/// Get every <see cref="InventoryObject{TContent}"/> that is of a specific item content type.
|
|
263
245
|
/// </summary>
|
|
@@ -782,9 +764,7 @@ namespace Beamable.Common.Api.Inventory
|
|
|
782
764
|
public Dictionary<string, long> currencies = new Dictionary<string, long>();
|
|
783
765
|
public Dictionary<string, List<CurrencyProperty>> currencyProperties = new Dictionary<string, List<CurrencyProperty>>();
|
|
784
766
|
public Dictionary<string, List<ItemView>> items = new Dictionary<string, List<ItemView>>();
|
|
785
|
-
|
|
786
|
-
public string scope;
|
|
787
|
-
|
|
767
|
+
|
|
788
768
|
public void Clear()
|
|
789
769
|
{
|
|
790
770
|
currencies.Clear();
|
|
@@ -792,53 +772,6 @@ namespace Beamable.Common.Api.Inventory
|
|
|
792
772
|
}
|
|
793
773
|
}
|
|
794
774
|
|
|
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
|
-
|
|
842
775
|
/// <summary>
|
|
843
776
|
/// This type defines the render-friendly data of the %InventoryService.
|
|
844
777
|
///
|