com.beamable 5.0.1 → 5.1.0-PREVIEW.RC2
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 +24 -1
- 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 +3 -3
- 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 +32 -2
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs +18 -0
- package/Common/Runtime/{OpenApi/BeamServiceplan.gs.cs.meta → Constants/Implementations/PortalExtensionConstants.cs.meta} +1 -1
- 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 +9 -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 +13 -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 +47 -8
- 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/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/BeamBilling.gs.cs +45 -0
- package/Common/Runtime/OpenApi/{BeamAdmin.gs.cs.meta → BeamBilling.gs.cs.meta} +1 -1
- package/Common/Runtime/OpenApi/BeamBillingCommon.gs.cs +45 -0
- package/Common/Runtime/OpenApi/{BeamServiceplanCommon.gs.cs.meta → BeamBillingCommon.gs.cs.meta} +1 -1
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +198 -124
- 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/{BeamAdminCommon.gs.cs.meta → BeamPlayersession.gs.cs.meta} +1 -1
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs +45 -0
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/BeamPlayerstats.gs.cs +159 -0
- package/Common/Runtime/OpenApi/BeamPlayerstats.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/{BeamServiceplanCommon.gs.cs → BeamPlayerstatsCommon.gs.cs} +6 -6
- package/Common/Runtime/OpenApi/BeamPlayerstatsCommon.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/BeamRealmsecrets.gs.cs +255 -0
- package/Common/Runtime/OpenApi/BeamRealmsecrets.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/BeamRealmsecretsCommon.gs.cs +45 -0
- package/Common/Runtime/OpenApi/BeamRealmsecretsCommon.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +90 -42
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.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/BeamStats.gs.cs +308 -0
- package/Common/Runtime/OpenApi/BeamStats.gs.cs.meta +11 -0
- package/Common/Runtime/OpenApi/{BeamAdminCommon.gs.cs → BeamStatsCommon.gs.cs} +6 -6
- package/Common/Runtime/OpenApi/BeamStatsCommon.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 +1489 -410
- 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 +160 -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 +12 -12
- 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 +9 -9
- 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/BeamCliUtil.cs +165 -18
- package/Editor/BeamCli/BeamCommand.cs +0 -6
- package/Editor/BeamCli/BeamWebCommand.cs +38 -8
- package/Editor/BeamCli/Commands/Beam.cs +7 -0
- package/Editor/BeamCli/Commands/BeamBeamableTypesSchema.cs +17 -0
- package/Editor/BeamCli/Commands/BeamBeamableTypesSchema.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamComponentExtensionOption.cs +13 -0
- package/Editor/BeamCli/Commands/BeamComponentExtensionOption.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamComponentSelectorOption.cs +13 -0
- package/Editor/BeamCli/Commands/BeamComponentSelectorOption.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamContentFieldEntry.cs +14 -0
- package/Editor/BeamCli/Commands/BeamContentFieldEntry.cs.meta +11 -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/BeamContentSync.cs +7 -0
- package/Editor/BeamCli/Commands/BeamContentTypeEntry.cs +18 -0
- package/Editor/BeamCli/Commands/BeamContentTypeEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamDeployablePlan.cs +2 -0
- package/Editor/BeamCli/Commands/BeamDeploymentDiffSummary.cs +3 -0
- package/Editor/BeamCli/Commands/BeamDeploymentPlan.cs +7 -0
- package/Editor/BeamCli/Commands/BeamDeploymentRelease.cs +7 -0
- package/Editor/BeamCli/Commands/BeamFederationMethodEntry.cs +15 -0
- package/Editor/BeamCli/Commands/BeamFederationMethodEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamFederationMethodParam.cs +13 -0
- package/Editor/BeamCli/Commands/BeamFederationMethodParam.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamFederationTypeEntry.cs +17 -0
- package/Editor/BeamCli/Commands/BeamFederationTypeEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamGameWithRealms.cs +14 -0
- package/Editor/BeamCli/Commands/BeamGameWithRealms.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamGenerateSkillDocs.cs +57 -0
- package/Editor/BeamCli/Commands/BeamGenerateSkillDocs.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamGenerateSkillDocsCommandResult.cs +12 -0
- package/Editor/BeamCli/Commands/BeamGenerateSkillDocsCommandResult.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamGenerateTypeSchema.cs +64 -0
- package/Editor/BeamCli/Commands/BeamGenerateTypeSchema.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamHostServiceDescriptor.cs +1 -0
- package/Editor/BeamCli/Commands/BeamInitGetRealms.cs +73 -0
- package/Editor/BeamCli/Commands/BeamInitGetRealms.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamInitGetRealmsResult.cs +12 -0
- package/Editor/BeamCli/Commands/BeamInitGetRealmsResult.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamInstallAISkillsCommandResult.cs +17 -0
- package/Editor/BeamCli/Commands/BeamInstallAISkillsCommandResult.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamInstallAiSkill.cs +85 -0
- package/Editor/BeamCli/Commands/BeamInstallAiSkill.cs.meta +11 -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/BeamMcpSetup.cs +58 -0
- package/Editor/BeamCli/Commands/BeamMcpSetup.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamMcpSetupCommandResult.cs +12 -0
- package/Editor/BeamCli/Commands/BeamMcpSetupCommandResult.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/BeamPageExtensionOption.cs +13 -0
- package/Editor/BeamCli/Commands/BeamPageExtensionOption.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/BeamPortalExtensionFileUploadInfo.cs +16 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionFileUploadInfo.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionListExtensionOptions.cs +51 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionListExtensionOptions.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/BeamPortalExtensionOptionsResult.cs +13 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionOptionsResult.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionPlanFileReference.cs +14 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionPlanFileReference.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionPlanReference.cs +16 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionPlanReference.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/BeamPortalExtensionUploadInfo.cs +15 -0
- package/Editor/BeamCli/Commands/BeamPortalExtensionUploadInfo.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 +121 -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/BeamRealmOption.cs +16 -0
- package/Editor/BeamCli/Commands/BeamRealmOption.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/BeamRemotePortalExtensionDescriptor.cs +15 -0
- package/Editor/BeamCli/Commands/BeamRemotePortalExtensionDescriptor.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/BeamServiceInstance.cs +1 -0
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs +11 -0
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamUnrealTypeMappingEntry.cs +14 -0
- package/Editor/BeamCli/Commands/BeamUnrealTypeMappingEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamUtilityMemberEntry.cs +16 -0
- package/Editor/BeamCli/Commands/BeamUtilityMemberEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamUtilityMethodEntry.cs +16 -0
- package/Editor/BeamCli/Commands/BeamUtilityMethodEntry.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamUtilityParam.cs +13 -0
- package/Editor/BeamCli/Commands/BeamUtilityParam.cs.meta +11 -0
- package/Editor/BeamCli/Commands/BeamUtilityTypeEntry.cs +19 -0
- package/Editor/BeamCli/Commands/BeamUtilityTypeEntry.cs.meta +11 -0
- package/Editor/BeamCli/UI/LogUtil/LogViewUtil.cs +2 -0
- package/Editor/Config/ConsoleConfiguration.asset +5 -1
- package/Editor/ContentService/CliContentService.cs +125 -9
- package/Editor/LibraryService.cs +25 -2
- package/Editor/Modules/Content/DefaultAssets~/currency/icon.png +0 -0
- package/Editor/Modules/Content/UI/ContentObjectEditor.cs +3 -2
- package/Editor/Server/MicroserviceConfiguration.cs +3 -0
- package/Editor/Server/UI/PublishWindow/UsamPublishWindow.cs +5 -1
- package/Editor/Server/Usam/UsamService_GenerateClient.cs +6 -1
- package/Editor/Toolbar/MenuItems/OpenToolboxWindowMenuItem.asset +1 -1
- package/Editor/UI/AccountWindow/AccountWindow_SignedIn.cs +1 -1
- package/Editor/UI/ContentWindow/ContentWindow.cs +8 -1
- package/Editor/UI/ContentWindow/ContentWindow_ContentActions.cs +50 -9
- package/Editor/UI/ContentWindow/ContentWindow_Header.cs +17 -6
- package/Editor/UI/ContentWindow/ContentWindow_ItemsPanel.cs +3 -0
- package/Editor/UI/LibraryWindow/BeamLibraryWindow.cs +2 -2
- package/Editor/UI/LibraryWindow/BeamLibraryWindow_Main.cs +0 -21
- package/Editor/UI/LibraryWindow/BeamLibraryWindow_Samples.cs +98 -38
- package/Editor/UI/McpMenuItems.cs +47 -0
- package/Editor/UI/McpMenuItems.cs.meta +11 -0
- package/Runtime/Beam.cs +2 -0
- package/Runtime/BeamContext.cs +9 -2
- 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 +3 -3
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/Runtime/Modules/Console/BeamableAdminConsole.cs +696 -0
- package/Runtime/Modules/Console/BeamableAdminConsole.cs.meta +3 -0
- package/Runtime/Modules/Console/ConsoleConfiguration.cs +5 -3
- package/Runtime/Modules/Console/ConsoleFlow.cs +3 -0
- package/Runtime/Modules/Content/ContentConfiguration.cs +11 -1
- package/Runtime/Modules/Content/ContentParameterProvider.cs +2 -0
- package/Runtime/Modules/Content/ContentService.cs +13 -4
- package/Runtime/Server/MicroserviceClient.cs +5 -2
- package/Runtime/UI/Lightbeam/LightBeam.cs +18 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/BeamLogo.PNG +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/BeamLogo.PNG.meta +325 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/Bg.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/Bg.png.meta +143 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/BtBase.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/BtBase.png.meta +143 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/IconInfo.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/IconInfo.png.meta +143 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/Icon_Link.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/Icon_Link.png.meta +169 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/UIBase.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/UIBase.png.meta +143 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/UIBaseWhite.png +0 -0
- package/Runtime/UI/Lightbeam/Sprites_v1/UIBaseWhite.png.meta +143 -0
- package/Runtime/UI/Lightbeam/Sprites_v1.meta +8 -0
- package/Runtime/Unity.Beamable.asmdef +2 -1
- package/Samples~/LightBeamSamples/AccountManager/AccountExampleConfig.cs +1 -1
- package/Samples~/LightBeamSamples/AccountManager/AccountManager.cs +7 -2
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/{AccountDetailsBehaviour → AccountDetailsPage}/AccountDetails.prefab +148 -214
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/{AccountDetailsBehaviour/AccountDetailsBehaviour.cs → AccountDetailsPage/AccountDetailsPage.cs} +8 -2
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/AccountDisplayBehaviour/AccountDisplay.prefab +551 -76
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/AccountSwitchPage/AccountSwitchPage.prefab +324 -88
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/HomePage/HomePage.cs +7 -2
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/HomePage/HomePage.prefab +469 -280
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/RecoverEmailPage/RecoverAccountPage.prefab +183 -110
- package/Samples~/LightBeamSamples/AccountManager/Prefabs/RegisterEmailPage/RegisterEmailPage.prefab +157 -84
- package/Samples~/LightBeamSamples/AccountManager/Sample_AccountManager.unity +1913 -24
- package/Samples~/LightBeamSamples/CloudSaving/CloudSavingManager.cs +4 -0
- package/Samples~/LightBeamSamples/CloudSaving/Prefabs/BytePage/BytePage.prefab +1699 -423
- package/Samples~/LightBeamSamples/CloudSaving/Prefabs/HomePage/HomePage.cs +4 -1
- package/Samples~/LightBeamSamples/CloudSaving/Prefabs/HomePage/HomePage.prefab +740 -342
- package/Samples~/LightBeamSamples/CloudSaving/Prefabs/JsonPage/JsonPage.prefab +3448 -1303
- package/Samples~/LightBeamSamples/CloudSaving/Prefabs/StringPage/StringPage.prefab +168 -184
- package/Samples~/LightBeamSamples/CloudSaving/Sample_CloudSaving.unity +1387 -30
- package/Samples~/LightBeamSamples/FriendsManager/FriendsManager.cs +4 -0
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/BlockedDisplay/BlockedDisplay.prefab +71 -29
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/FriendDisplay/FriendDisplay.prefab +84 -31
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/HomePage/HomePage.prefab +446 -182
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/PlayerFriendsDisplay/PlayerDisplay.prefab +349 -127
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/ReceivedInvitesDisplay/ReceivedInviteDisplay.prefab +89 -36
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/SelectorButton.prefab +16 -12
- package/Samples~/LightBeamSamples/FriendsManager/Prefabs/SentInvitesDisplay/SentInviteDisplay.prefab +81 -30
- package/Samples~/LightBeamSamples/FriendsManager/Sample_FriendsManager.unity +2113 -41
- package/Samples~/LightBeamSamples/Inventory/InventoryManager.cs +4 -0
- package/Samples~/LightBeamSamples/Inventory/Prefabs/CurrencyDisplay/CurrencyDisplay.prefab +180 -29
- package/Samples~/LightBeamSamples/Inventory/Prefabs/CurrencyDisplay/CurrencyDisplayBehaviour.cs +7 -2
- package/Samples~/LightBeamSamples/Inventory/Prefabs/CurrencyInfoPage/CurrencyInfoBehaviour.cs +7 -2
- package/Samples~/LightBeamSamples/Inventory/Prefabs/CurrencyInfoPage/CurrencyInfoDisplay.prefab +434 -97
- package/Samples~/LightBeamSamples/Inventory/Prefabs/HomePage/HomePage.prefab +1300 -279
- package/Samples~/LightBeamSamples/Inventory/Prefabs/ItemDisplay/ItemDisplay.prefab +182 -62
- package/Samples~/LightBeamSamples/Inventory/Prefabs/ItemDisplay/ItemDisplayBehaviour.cs +7 -2
- package/Samples~/LightBeamSamples/Inventory/Prefabs/ItemInfoPage/ItemInfoPage.cs +2 -2
- package/Samples~/LightBeamSamples/Inventory/Prefabs/ItemInfoPage/ItemInfoPage.prefab +240 -105
- package/Samples~/LightBeamSamples/Inventory/Prefabs/PropertyDisplay/PropertyDisplay.prefab +16 -13
- package/Samples~/LightBeamSamples/Inventory/Sample_InventoryManager.unity +1865 -41
- package/Samples~/LightBeamSamples/LobbyManager/LobbyManager.cs +4 -0
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/CreateLobbyDisplay/CreateLobbyDisplay.prefab +261 -268
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/FindLobbyDisplay/FindLobbyDisplay.prefab +44 -64
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/HomePage/HomePage.prefab +2337 -185
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/JoinLobbyDisplay/JoinLobbyDisplay.prefab +221 -233
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/LobbyDetailsDisplay/LobbyDetailsDisplay.prefab +273 -440
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/LobbyDisplay/LobbyDisplay.prefab +24 -47
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/PlayerDisplay/PlayerIdDisplay.prefab +18 -14
- package/Samples~/LightBeamSamples/LobbyManager/Prefabs/PlayerLobby/PlayerLobby.prefab +234 -238
- package/Samples~/LightBeamSamples/LobbyManager/Sample_LobbyManager.unity +1567 -41
- package/Samples~/LightBeamSamples/LootBox/Prefabs/LootBoxPage/LootBoxPage.prefab +19 -186
- package/Samples~/LightBeamSamples/LootBox/Sample_LootBox.unity +651 -49
- package/Samples~/LightBeamSamples/LootBox/Shared/LootboxConstants.cs +1 -1
- 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 +8 -15
- package/Common/Runtime/OpenApi/BeamAdmin.gs.cs +0 -77
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +0 -96
- package/Editor/ContentService/ContentUtils.cs +0 -79
- package/Editor/ContentService/ContentUtils.cs.meta +0 -11
- /package/Samples~/LightBeamSamples/AccountManager/Prefabs/{AccountDetailsBehaviour → AccountDetailsPage}/AccountDetails.prefab.meta +0 -0
- /package/Samples~/LightBeamSamples/AccountManager/Prefabs/{AccountDetailsBehaviour/AccountDetailsBehaviour.cs.meta → AccountDetailsPage/AccountDetailsPage.cs.meta} +0 -0
- /package/Samples~/LightBeamSamples/AccountManager/Prefabs/{AccountDetailsBehaviour.meta → AccountDetailsPage.meta} +0 -0
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Stats
|
|
@@ -46,10 +46,10 @@ namespace Beamable.Api.Autogenerated.Stats
|
|
|
46
46
|
/// <summary>
|
|
47
47
|
/// POST call to `/basic/stats/search` endpoint.
|
|
48
48
|
/// </summary>
|
|
49
|
-
/// <param name="gsReq">The <see cref="
|
|
49
|
+
/// <param name="gsReq">The <see cref="StatsBasicStatsSearchRequest"/> instance to use for the request</param>
|
|
50
50
|
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
51
|
-
/// <returns>A promise containing the <see cref="
|
|
52
|
-
Promise<
|
|
51
|
+
/// <returns>A promise containing the <see cref="StatsBasicStatsSearchResponse"/></returns>
|
|
52
|
+
Promise<StatsBasicStatsSearchResponse> PostSearch(StatsBasicStatsSearchRequest gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
|
|
53
53
|
/// <summary>
|
|
54
54
|
/// POST call to `/basic/stats/search/extended` endpoint.
|
|
55
55
|
/// </summary>
|
|
@@ -131,14 +131,14 @@ namespace Beamable.Api.Autogenerated.Stats
|
|
|
131
131
|
/// <summary>
|
|
132
132
|
/// POST call to `/basic/stats/search` endpoint.
|
|
133
133
|
/// </summary>
|
|
134
|
-
/// <param name="gsReq">The <see cref="
|
|
134
|
+
/// <param name="gsReq">The <see cref="StatsBasicStatsSearchRequest"/> instance to use for the request</param>
|
|
135
135
|
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
|
|
136
|
-
/// <returns>A promise containing the <see cref="
|
|
137
|
-
public virtual Promise<
|
|
136
|
+
/// <returns>A promise containing the <see cref="StatsBasicStatsSearchResponse"/></returns>
|
|
137
|
+
public virtual Promise<StatsBasicStatsSearchResponse> PostSearch(StatsBasicStatsSearchRequest gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
|
|
138
138
|
{
|
|
139
139
|
string gsUrl = "/basic/stats/search";
|
|
140
140
|
// make the request and return the result
|
|
141
|
-
return _requester.Request<
|
|
141
|
+
return _requester.Request<StatsBasicStatsSearchResponse>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<StatsBasicStatsSearchResponse>);
|
|
142
142
|
}
|
|
143
143
|
/// <summary>
|
|
144
144
|
/// POST call to `/basic/stats/search/extended` endpoint.
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Stats
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Stats
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Tournaments
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Tournaments
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Tournaments
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Trials
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
namespace Beamable.Api.Autogenerated.Trials
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
using System.Security.Cryptography;
|
|
5
5
|
using System.Text;
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Api.Announcements;
|
|
5
5
|
using Beamable.Common.Content;
|
|
@@ -7,6 +7,15 @@ using Beamable.Common.Inventory;
|
|
|
7
7
|
using System;
|
|
8
8
|
using System.Collections.Generic;
|
|
9
9
|
using System.Linq;
|
|
10
|
+
using LegacyEventClaimResponse = Beamable.Common.Api.Events.EventClaimResponse;
|
|
11
|
+
using LegacyEventCurrency = Beamable.Common.Api.Events.EventCurrency;
|
|
12
|
+
using LegacyEventItem = Beamable.Common.Api.Events.EventItem;
|
|
13
|
+
using LegacyEventPhase = Beamable.Common.Api.Events.EventPhase;
|
|
14
|
+
using LegacyEventPlayerGroupState = Beamable.Common.Api.Events.EventPlayerGroupState;
|
|
15
|
+
using LegacyEventReward = Beamable.Common.Api.Events.EventReward;
|
|
16
|
+
using LegacyEventRule = Beamable.Common.Api.Events.EventRule;
|
|
17
|
+
using LegacyEventView = Beamable.Common.Api.Events.EventView;
|
|
18
|
+
using LegacyEventsGetResponse = Beamable.Common.Api.Events.EventsGetResponse;
|
|
10
19
|
|
|
11
20
|
namespace Beamable.Api.Autogenerated.Models
|
|
12
21
|
{
|
|
@@ -298,5 +307,183 @@ namespace Beamable.Api.Autogenerated.Models
|
|
|
298
307
|
};
|
|
299
308
|
}
|
|
300
309
|
|
|
310
|
+
public static LegacyEventClaimResponse ToLegacy(this EventClaimResponse response)
|
|
311
|
+
{
|
|
312
|
+
if (response == null)
|
|
313
|
+
{
|
|
314
|
+
return null;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
return new LegacyEventClaimResponse
|
|
318
|
+
{
|
|
319
|
+
gameRspJson = response.gameRspJson,
|
|
320
|
+
view = response.view.ToLegacy()
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
public static LegacyEventsGetResponse ToLegacy(this EventPlayerView response)
|
|
325
|
+
{
|
|
326
|
+
if (response == null)
|
|
327
|
+
{
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
return new LegacyEventsGetResponse
|
|
332
|
+
{
|
|
333
|
+
running = response.running.ToLegacy(),
|
|
334
|
+
done = response.done.ToLegacy()
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
public static List<LegacyEventView> ToLegacy(this EventPlayerStateView[] views)
|
|
339
|
+
{
|
|
340
|
+
return views?.Select(view => view.ToLegacy()).ToList() ?? new List<LegacyEventView>();
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
public static LegacyEventView ToLegacy(this EventPlayerStateView view)
|
|
344
|
+
{
|
|
345
|
+
if (view == null)
|
|
346
|
+
{
|
|
347
|
+
return null;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
var converted = new LegacyEventView
|
|
351
|
+
{
|
|
352
|
+
id = view.id,
|
|
353
|
+
name = view.name,
|
|
354
|
+
leaderboardId = view.leaderboardId,
|
|
355
|
+
score = view.score,
|
|
356
|
+
rank = view.rank,
|
|
357
|
+
secondsRemaining = view.secondsRemaining,
|
|
358
|
+
scoreRewards = view.scoreRewards.ToLegacy(),
|
|
359
|
+
rankRewards = view.rankRewards.ToLegacy(),
|
|
360
|
+
groupRewards = view.groupRewards.HasValue ? view.groupRewards.Value.ToLegacy() : null,
|
|
361
|
+
currentPhase = view.currentPhase.HasValue ? view.currentPhase.Value.ToLegacy() : null,
|
|
362
|
+
allPhases = view.allPhases?.Select(phase => phase.ToLegacy()).ToList() ?? new List<LegacyEventPhase>()
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
converted.Init();
|
|
366
|
+
return converted;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
public static LegacyEventPlayerGroupState ToLegacy(this EventPlayerGroupState groupRewards)
|
|
370
|
+
{
|
|
371
|
+
if (groupRewards == null)
|
|
372
|
+
{
|
|
373
|
+
return null;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
return new LegacyEventPlayerGroupState
|
|
377
|
+
{
|
|
378
|
+
groupId = groupRewards.groupId.HasValue ? groupRewards.groupId.Value : null,
|
|
379
|
+
groupRank = groupRewards.groupRank,
|
|
380
|
+
groupScore = groupRewards.groupScore,
|
|
381
|
+
scoreRewards = groupRewards.scoreRewards.ToLegacy(),
|
|
382
|
+
rankRewards = groupRewards.rankRewards.ToLegacy()
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
public static List<LegacyEventReward> ToLegacy(this EventRewardState[] rewards)
|
|
387
|
+
{
|
|
388
|
+
return rewards?.Select(reward => reward.ToLegacy()).ToList() ?? new List<LegacyEventReward>();
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
public static LegacyEventReward ToLegacy(this EventRewardState reward)
|
|
392
|
+
{
|
|
393
|
+
if (reward == null)
|
|
394
|
+
{
|
|
395
|
+
return null;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
return new LegacyEventReward
|
|
399
|
+
{
|
|
400
|
+
currencies = reward.currencies.ToLegacy(),
|
|
401
|
+
items = reward.items.ToLegacy(),
|
|
402
|
+
min = reward.min,
|
|
403
|
+
max = reward.max.HasValue ? reward.max.Value : default,
|
|
404
|
+
earned = reward.earned,
|
|
405
|
+
claimed = reward.claimed
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
public static List<LegacyEventCurrency> ToLegacy(this EventInventoryRewardCurrency[] currencies)
|
|
410
|
+
{
|
|
411
|
+
return currencies?.Select(currency => currency.ToLegacy()).ToList() ?? new List<LegacyEventCurrency>();
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
public static List<LegacyEventCurrency> ToLegacy(this OptionalArrayOfEventInventoryRewardCurrency currencies)
|
|
415
|
+
{
|
|
416
|
+
return currencies.HasValue ? currencies.Value.ToLegacy() : new List<LegacyEventCurrency>();
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
public static LegacyEventCurrency ToLegacy(this EventInventoryRewardCurrency currency)
|
|
420
|
+
{
|
|
421
|
+
if (currency == null)
|
|
422
|
+
{
|
|
423
|
+
return null;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
return new LegacyEventCurrency
|
|
427
|
+
{
|
|
428
|
+
id = currency.id,
|
|
429
|
+
amount = currency.amount
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
public static List<LegacyEventItem> ToLegacy(this EventInventoryRewardItem[] items)
|
|
434
|
+
{
|
|
435
|
+
return items?.Select(item => item.ToLegacy()).ToList() ?? new List<LegacyEventItem>();
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
public static List<LegacyEventItem> ToLegacy(this OptionalArrayOfEventInventoryRewardItem items)
|
|
439
|
+
{
|
|
440
|
+
return items.HasValue ? items.Value.ToLegacy() : new List<LegacyEventItem>();
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
public static LegacyEventItem ToLegacy(this EventInventoryRewardItem item)
|
|
444
|
+
{
|
|
445
|
+
if (item == null)
|
|
446
|
+
{
|
|
447
|
+
return null;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
return new LegacyEventItem
|
|
451
|
+
{
|
|
452
|
+
id = item.id,
|
|
453
|
+
properties = item.properties.HasValue && item.properties.Value != null
|
|
454
|
+
? item.properties.Value.ToDictionary(pair => pair.Key, pair => pair.Value)
|
|
455
|
+
: new Dictionary<string, string>()
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
public static LegacyEventPhase ToLegacy(this EventPlayerPhaseView phase)
|
|
460
|
+
{
|
|
461
|
+
if (phase == null)
|
|
462
|
+
{
|
|
463
|
+
return null;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
return new LegacyEventPhase
|
|
467
|
+
{
|
|
468
|
+
name = phase.name,
|
|
469
|
+
durationSeconds = phase.durationSeconds,
|
|
470
|
+
rules = phase.rules?.Select(rule => rule.ToLegacy()).ToList() ?? new List<LegacyEventRule>()
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
public static LegacyEventRule ToLegacy(this EventRule rule)
|
|
475
|
+
{
|
|
476
|
+
if (rule == null)
|
|
477
|
+
{
|
|
478
|
+
return null;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
return new LegacyEventRule
|
|
482
|
+
{
|
|
483
|
+
rule = rule.rule,
|
|
484
|
+
value = rule.value
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
|
|
301
488
|
}
|
|
302
489
|
}
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
using Beamable.Api.Autogenerated.Accounts;
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
using Beamable.Common;
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
#if UNITY_WEBGL
|
|
5
5
|
#define DISABLE_THREADING
|
|
@@ -161,6 +161,7 @@ namespace Beamable.Common
|
|
|
161
161
|
/// <param name="val"></param>
|
|
162
162
|
public void CompleteSuccess(T val)
|
|
163
163
|
{
|
|
164
|
+
Action<T> copyCallbacks;
|
|
164
165
|
lock (_lock)
|
|
165
166
|
{
|
|
166
167
|
if (done)
|
|
@@ -170,18 +171,19 @@ namespace Beamable.Common
|
|
|
170
171
|
|
|
171
172
|
_val = val;
|
|
172
173
|
done = true;
|
|
173
|
-
|
|
174
|
-
{
|
|
175
|
-
_callbacks?.Invoke(val);
|
|
176
|
-
}
|
|
177
|
-
catch (Exception e)
|
|
178
|
-
{
|
|
179
|
-
BeamableLogger.LogException(e);
|
|
180
|
-
}
|
|
181
|
-
|
|
174
|
+
copyCallbacks = _callbacks;
|
|
182
175
|
_callbacks = null;
|
|
183
176
|
errbacks = null;
|
|
184
177
|
}
|
|
178
|
+
|
|
179
|
+
try
|
|
180
|
+
{
|
|
181
|
+
copyCallbacks?.Invoke(_val);
|
|
182
|
+
}
|
|
183
|
+
catch (Exception e)
|
|
184
|
+
{
|
|
185
|
+
BeamableLogger.LogException(e);
|
|
186
|
+
}
|
|
185
187
|
}
|
|
186
188
|
|
|
187
189
|
/// <summary>
|
|
@@ -190,6 +192,8 @@ namespace Beamable.Common
|
|
|
190
192
|
/// <param name="ex">exception to complete Promise with</param>
|
|
191
193
|
public void CompleteError(Exception ex)
|
|
192
194
|
{
|
|
195
|
+
Action<Exception> copyErrBacks = null;
|
|
196
|
+
var copyHadAnyErrBacks = false;
|
|
193
197
|
lock (_lock)
|
|
194
198
|
{
|
|
195
199
|
if (done)
|
|
@@ -204,25 +208,28 @@ namespace Beamable.Common
|
|
|
204
208
|
}
|
|
205
209
|
done = true;
|
|
206
210
|
errInfo = ExceptionDispatchInfo.Capture(err);
|
|
211
|
+
|
|
212
|
+
copyErrBacks = errbacks;
|
|
213
|
+
copyHadAnyErrBacks = HadAnyErrbacks;
|
|
207
214
|
|
|
208
|
-
|
|
215
|
+
_callbacks = null;
|
|
216
|
+
errbacks = null;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
try
|
|
220
|
+
{
|
|
221
|
+
if (!copyHadAnyErrBacks)
|
|
209
222
|
{
|
|
210
|
-
|
|
211
|
-
{
|
|
212
|
-
InvokeUncaughtPromise();
|
|
213
|
-
}
|
|
214
|
-
else
|
|
215
|
-
{
|
|
216
|
-
errbacks?.Invoke(ex);
|
|
217
|
-
}
|
|
223
|
+
InvokeUncaughtPromise();
|
|
218
224
|
}
|
|
219
|
-
|
|
225
|
+
else
|
|
220
226
|
{
|
|
221
|
-
|
|
227
|
+
copyErrBacks?.Invoke(err);
|
|
222
228
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
229
|
+
}
|
|
230
|
+
catch (Exception e)
|
|
231
|
+
{
|
|
232
|
+
BeamableLogger.LogException(e);
|
|
226
233
|
}
|
|
227
234
|
}
|
|
228
235
|
|
|
@@ -232,20 +239,14 @@ namespace Beamable.Common
|
|
|
232
239
|
/// <param name="callback"></param>
|
|
233
240
|
public Promise<T> Then(Action<T> callback)
|
|
234
241
|
{
|
|
242
|
+
var shouldInvokeRightNow = false;
|
|
235
243
|
lock (_lock)
|
|
236
244
|
{
|
|
237
245
|
if (done)
|
|
238
246
|
{
|
|
239
247
|
if (err == null)
|
|
240
248
|
{
|
|
241
|
-
|
|
242
|
-
{
|
|
243
|
-
callback(_val);
|
|
244
|
-
}
|
|
245
|
-
catch (Exception e)
|
|
246
|
-
{
|
|
247
|
-
BeamableLogger.LogException(e);
|
|
248
|
-
}
|
|
249
|
+
shouldInvokeRightNow = true;
|
|
249
250
|
}
|
|
250
251
|
else
|
|
251
252
|
{
|
|
@@ -262,6 +263,18 @@ namespace Beamable.Common
|
|
|
262
263
|
}
|
|
263
264
|
}
|
|
264
265
|
|
|
266
|
+
if (shouldInvokeRightNow)
|
|
267
|
+
{
|
|
268
|
+
try
|
|
269
|
+
{
|
|
270
|
+
callback.Invoke(_val);
|
|
271
|
+
}
|
|
272
|
+
catch (Exception e)
|
|
273
|
+
{
|
|
274
|
+
BeamableLogger.LogException(e);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
265
278
|
return this;
|
|
266
279
|
}
|
|
267
280
|
|
|
@@ -292,6 +305,7 @@ namespace Beamable.Common
|
|
|
292
305
|
/// <param name="errback"></param>
|
|
293
306
|
public Promise<T> Error(Action<Exception> errback)
|
|
294
307
|
{
|
|
308
|
+
var shouldRunRightNow = false;
|
|
295
309
|
lock (_lock)
|
|
296
310
|
{
|
|
297
311
|
HadAnyErrbacks = true;
|
|
@@ -299,14 +313,7 @@ namespace Beamable.Common
|
|
|
299
313
|
{
|
|
300
314
|
if (err != null)
|
|
301
315
|
{
|
|
302
|
-
|
|
303
|
-
{
|
|
304
|
-
errback(err);
|
|
305
|
-
}
|
|
306
|
-
catch (Exception e)
|
|
307
|
-
{
|
|
308
|
-
BeamableLogger.LogException(e);
|
|
309
|
-
}
|
|
316
|
+
shouldRunRightNow = true;
|
|
310
317
|
}
|
|
311
318
|
}
|
|
312
319
|
else
|
|
@@ -315,6 +322,18 @@ namespace Beamable.Common
|
|
|
315
322
|
}
|
|
316
323
|
}
|
|
317
324
|
|
|
325
|
+
if (shouldRunRightNow)
|
|
326
|
+
{
|
|
327
|
+
try
|
|
328
|
+
{
|
|
329
|
+
errback?.Invoke(err);
|
|
330
|
+
}
|
|
331
|
+
catch (Exception e)
|
|
332
|
+
{
|
|
333
|
+
BeamableLogger.LogException(e);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
318
337
|
return this;
|
|
319
338
|
}
|
|
320
339
|
|
|
@@ -1055,12 +1074,16 @@ namespace Beamable.Common
|
|
|
1055
1074
|
public static Promise<T> RecoverWith<T>(this Promise<T> promise, Func<Exception, Promise<T>> callback)
|
|
1056
1075
|
{
|
|
1057
1076
|
var result = new Promise<T>();
|
|
1058
|
-
promise
|
|
1077
|
+
promise
|
|
1078
|
+
.Then(value => result.CompleteSuccess(value))
|
|
1079
|
+
.Error(err =>
|
|
1059
1080
|
{
|
|
1060
1081
|
try
|
|
1061
1082
|
{
|
|
1062
1083
|
var nextPromise = callback(err);
|
|
1063
|
-
nextPromise
|
|
1084
|
+
nextPromise
|
|
1085
|
+
.Then(value => result.CompleteSuccess(value))
|
|
1086
|
+
.Error(errInner =>
|
|
1064
1087
|
{
|
|
1065
1088
|
result.CompleteError(errInner);
|
|
1066
1089
|
});
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
using Beamable.Api.Autogenerated.Models;
|
|
5
5
|
using Beamable.Api.Autogenerated.Scheduler;
|
|
@@ -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.2.0-PREVIEW.RC2
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.2.0-PREVIEW.RC2
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Linq;
|