com.beamable 5.0.1 → 5.1.0-PREVIEW.RC10
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 +27 -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 +13 -4
- 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 +102 -56
- 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 +14 -0
- package/Editor/BeamCli/Commands/BeamDeploymentRelease.cs +14 -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/BeamEditor.cs +52 -7
- package/Editor/Config/ConsoleConfiguration.asset +6 -1
- package/Editor/ContentService/CliContentService.cs +364 -39
- package/Editor/ContentService/DefaultContentImporter.cs +248 -0
- package/Editor/ContentService/DefaultContentImporter.cs.meta +2 -0
- package/Editor/LibraryService.cs +25 -2
- package/Editor/Modules/Content/DefaultAssets~/currency/coins.png +0 -0
- package/Editor/Modules/Content/DefaultAssets~/currency/coins.png.meta +135 -0
- package/Editor/Modules/Content/DefaultAssets~/currency/gems.png +0 -0
- package/Editor/Modules/Content/DefaultAssets~/currency/gems.png.meta +135 -0
- package/Editor/Modules/Content/DefaultContent/currency/coins.asset +2 -1
- package/Editor/Modules/Content/DefaultContent/currency/gems.asset +2 -1
- 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.cs +1 -1
- package/Editor/Server/Usam/UsamService_GenerateClient.cs +6 -1
- package/Editor/Toolbar/MenuItems/BeamableRealmMenuItem.cs +2 -1
- package/Editor/Toolbar/MenuItems/OpenToolboxWindowMenuItem.asset +1 -1
- package/Editor/UI/AccountWindow/AccountWindow_Games.cs +19 -3
- package/Editor/UI/AccountWindow/AccountWindow_SignedIn.cs +4 -3
- package/Editor/UI/BeamGUI/BeamGUI_Icons.cs +43 -43
- package/Editor/UI/BeamGUI/BeamGUI_LogoBanner.cs +2 -0
- package/Editor/UI/ContentWindow/ContentWindow.cs +121 -9
- package/Editor/UI/ContentWindow/ContentWindow_ContentActions.cs +148 -16
- package/Editor/UI/ContentWindow/ContentWindow_Header.cs +30 -6
- package/Editor/UI/ContentWindow/ContentWindow_ItemsPanel.cs +35 -4
- 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 +2 -2
- package/Runtime/Modules/Console/BeamableAdminConsole.cs +722 -0
- package/Runtime/Modules/Console/BeamableAdminConsole.cs.meta +3 -0
- package/Runtime/Modules/Console/ConsoleConfiguration.cs +7 -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/DependencyExtensions.cs +5 -1
- package/Runtime/UI/Lightbeam/LightBeam.cs +45 -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/UI/Lightbeam/Unity.Beamable.LightBeams.asmdef +7 -4
- package/Runtime/UI/Sprites/icon.png +0 -0
- package/{Editor/Modules/Content/DefaultAssets~/currency → Runtime/UI/Sprites}/icon.png.meta +46 -10
- package/Runtime/UI/Sprites/icon_coin.png +0 -0
- package/Runtime/UI/Sprites/icon_coin.png.meta +135 -0
- package/Runtime/UI/Sprites/icon_gem.png +0 -0
- package/Runtime/UI/Sprites/icon_gem.png.meta +135 -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 +738 -340
- 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/Editor/Modules/Content/DefaultAssets~/currency/icon.png +0 -0
- /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
|
@@ -20,6 +20,33 @@ using Object = UnityEngine.Object;
|
|
|
20
20
|
|
|
21
21
|
namespace Beamable.Editor.ContentService
|
|
22
22
|
{
|
|
23
|
+
/// <summary>
|
|
24
|
+
/// Tracks a detected rename: a Created entry (new name) paired with a Deleted entry (old name).
|
|
25
|
+
/// </summary>
|
|
26
|
+
public struct ContentRenameInfo
|
|
27
|
+
{
|
|
28
|
+
public string CreatedFullId;
|
|
29
|
+
public string DeletedFullId;
|
|
30
|
+
public string OldName;
|
|
31
|
+
public string NewName;
|
|
32
|
+
public string TypeName;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/// <summary>
|
|
36
|
+
/// Tracks the currently running content operation so the Content Manager can render progress inside the window.
|
|
37
|
+
/// </summary>
|
|
38
|
+
public class ContentOperationProgress
|
|
39
|
+
{
|
|
40
|
+
public bool IsActive;
|
|
41
|
+
public bool HasError;
|
|
42
|
+
public string Title = string.Empty;
|
|
43
|
+
public string Description = string.Empty;
|
|
44
|
+
public string CurrentContentName = string.Empty;
|
|
45
|
+
public int ProcessedItems;
|
|
46
|
+
public int TotalItems;
|
|
47
|
+
public float Progress;
|
|
48
|
+
}
|
|
49
|
+
|
|
23
50
|
public class CliContentService : IStorageHandler<CliContentService>, ILoadWithContext
|
|
24
51
|
{
|
|
25
52
|
private const string SYNC_OPERATION_TITLE = "Sync Contents";
|
|
@@ -45,15 +72,46 @@ namespace Beamable.Editor.ContentService
|
|
|
45
72
|
private List<string> _tagsCache = new();
|
|
46
73
|
private int syncedContents;
|
|
47
74
|
private int publishedContents;
|
|
75
|
+
private readonly Dictionary<string, string> _lastSavedPropertiesCache = new();
|
|
76
|
+
private readonly Dictionary<string, ContentRenameInfo> _renameRegistry = new();
|
|
77
|
+
private readonly Dictionary<string, ContentRenameInfo> _explicitRenameTracking = new();
|
|
78
|
+
private static readonly string RenameCachePath =
|
|
79
|
+
Path.Combine("Library", "BeamableEditor", "ContentRenameCache.json");
|
|
80
|
+
private bool _showUnityModalProgress;
|
|
48
81
|
|
|
49
82
|
[NonSerialized]
|
|
50
83
|
public bool isReloading;
|
|
51
84
|
public List<string> availableManifestIds;
|
|
52
85
|
|
|
86
|
+
/// <summary>
|
|
87
|
+
/// True once the most recent <see cref="Reload"/> has finished fetching the realm's remote
|
|
88
|
+
/// manifest list. Until this is true the realm's emptiness is unknown (still loading).
|
|
89
|
+
/// </summary>
|
|
90
|
+
public bool RemoteManifestsLoaded { get; private set; }
|
|
91
|
+
/// <summary>
|
|
92
|
+
/// True when the last remote-manifest fetch errored. Used so the Content Manager does not
|
|
93
|
+
/// misread a transient failure as "this realm is empty".
|
|
94
|
+
/// </summary>
|
|
95
|
+
public bool RemoteManifestsErrored { get; private set; }
|
|
96
|
+
/// <summary>
|
|
97
|
+
/// Number of remote manifests on the realm as of the last successful fetch. Zero means the
|
|
98
|
+
/// realm has never had content published — the signal used to offer the opt-in default
|
|
99
|
+
/// content import (see DefaultContentImporter).
|
|
100
|
+
/// </summary>
|
|
101
|
+
public int RemoteManifestCount { get; private set; }
|
|
102
|
+
|
|
53
103
|
public Dictionary<string, LocalContentManifestEntry> EntriesCache { get; }
|
|
54
104
|
|
|
55
105
|
private readonly Dictionary<string, ContentObject> _contentScriptableCache;
|
|
56
106
|
public BeamContentPsProgressMessage LatestProgressUpdate;
|
|
107
|
+
/// <summary>
|
|
108
|
+
/// Current publish or sync progress state consumed by the Content Manager IMGUI view.
|
|
109
|
+
/// </summary>
|
|
110
|
+
public ContentOperationProgress CurrentProgress { get; } = new();
|
|
111
|
+
/// <summary>
|
|
112
|
+
/// Monotonic value incremented when <see cref="CurrentProgress"/> changes so the Content Manager can repaint on demand.
|
|
113
|
+
/// </summary>
|
|
114
|
+
public int ProgressUpdateVersion { get; private set; }
|
|
57
115
|
private readonly ContentConfiguration _contentConfiguration;
|
|
58
116
|
|
|
59
117
|
private ValidationContext ValidationContext => _provider.GetService<ValidationContext>();
|
|
@@ -74,6 +132,15 @@ namespace Beamable.Editor.ContentService
|
|
|
74
132
|
}
|
|
75
133
|
}
|
|
76
134
|
|
|
135
|
+
public bool TryGetRenameInfo(string fullId, out ContentRenameInfo info) =>
|
|
136
|
+
_renameRegistry.TryGetValue(fullId, out info);
|
|
137
|
+
|
|
138
|
+
public List<ContentRenameInfo> GetAllRenames() =>
|
|
139
|
+
_renameRegistry.Values
|
|
140
|
+
.GroupBy(r => r.CreatedFullId)
|
|
141
|
+
.Select(g => g.First())
|
|
142
|
+
.ToList();
|
|
143
|
+
|
|
77
144
|
public Dictionary<string, List<LocalContentManifestEntry>> TypeContentCache => _typeContentCache;
|
|
78
145
|
|
|
79
146
|
public List<string> TagsCache => _tagsCache;
|
|
@@ -88,6 +155,7 @@ namespace Beamable.Editor.ContentService
|
|
|
88
155
|
ContentObject.ValidationContext = ValidationContext;
|
|
89
156
|
_contentTypeReflectionCache = BeamEditor.GetReflectionSystem<ContentTypeReflectionCache>();
|
|
90
157
|
_contentConfiguration = contentConfiguration;
|
|
158
|
+
LoadRenameCache();
|
|
91
159
|
_ = Reload();
|
|
92
160
|
}
|
|
93
161
|
|
|
@@ -95,6 +163,16 @@ namespace Beamable.Editor.ContentService
|
|
|
95
163
|
public void SaveContent(ContentObject selectedContentObject)
|
|
96
164
|
{
|
|
97
165
|
string propertiesJson = ClientContentSerializer.SerializeProperties(selectedContentObject);
|
|
166
|
+
|
|
167
|
+
// This prevents save storms when the debounce fires for rapid-fire edits where
|
|
168
|
+
// the final serialised value is the same as what was already written.
|
|
169
|
+
if (_lastSavedPropertiesCache.TryGetValue(selectedContentObject.Id, out var lastJson)
|
|
170
|
+
&& lastJson == propertiesJson)
|
|
171
|
+
{
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
_lastSavedPropertiesCache[selectedContentObject.Id] = propertiesJson;
|
|
175
|
+
|
|
98
176
|
bool hasValidationError = selectedContentObject.HasValidationErrors(GetValidationContext(), out List<string> _);
|
|
99
177
|
UpdateContentValidationStatus(selectedContentObject.Id, hasValidationError);
|
|
100
178
|
SaveContent(selectedContentObject.Id, propertiesJson, () => SetContentTags(selectedContentObject.Id, selectedContentObject.Tags));
|
|
@@ -194,11 +272,12 @@ namespace Beamable.Editor.ContentService
|
|
|
194
272
|
bool syncConflicted,
|
|
195
273
|
bool syncDeleted,
|
|
196
274
|
string filter = null,
|
|
197
|
-
ContentFilterType filterType = default
|
|
275
|
+
ContentFilterType filterType = default,
|
|
276
|
+
bool showUnityModalProgress = false)
|
|
198
277
|
{
|
|
199
278
|
|
|
200
279
|
syncedContents = 0;
|
|
201
|
-
|
|
280
|
+
BeginActionProgress(SYNC_OPERATION_TITLE, "Synchronizing contents...", showUnityModalProgress);
|
|
202
281
|
try
|
|
203
282
|
{
|
|
204
283
|
if (_contentWatcher != null)
|
|
@@ -215,6 +294,7 @@ namespace Beamable.Editor.ContentService
|
|
|
215
294
|
syncDeleted = syncDeleted,
|
|
216
295
|
filter = filter,
|
|
217
296
|
filterType = filterType,
|
|
297
|
+
downloadMaxParallelCount = GetEditorSyncDownloadMaxParallelCountCliOption(),
|
|
218
298
|
|
|
219
299
|
});
|
|
220
300
|
|
|
@@ -248,6 +328,7 @@ namespace Beamable.Editor.ContentService
|
|
|
248
328
|
syncDeleted = syncDeleted,
|
|
249
329
|
filter = filter,
|
|
250
330
|
filterType = filterType,
|
|
331
|
+
downloadMaxParallelCount = GetEditorSyncDownloadMaxParallelCountCliOption(),
|
|
251
332
|
});
|
|
252
333
|
|
|
253
334
|
await contentSyncCommand.Run();
|
|
@@ -347,6 +428,8 @@ namespace Beamable.Editor.ContentService
|
|
|
347
428
|
// Apply local changes while CLI is updating the Data so Unity UI doesn't take long to update.
|
|
348
429
|
if (entry.StatusEnum is not ContentStatus.Created)
|
|
349
430
|
{
|
|
431
|
+
string oldName = entry.Name;
|
|
432
|
+
|
|
350
433
|
RemoveContentFromCache(entry);
|
|
351
434
|
entry.CurrentStatus = (int)ContentStatus.Deleted;
|
|
352
435
|
AddContentToCache(entry);
|
|
@@ -354,10 +437,82 @@ namespace Beamable.Editor.ContentService
|
|
|
354
437
|
entry.CurrentStatus = (int)ContentStatus.Created;
|
|
355
438
|
entry.FullId = newFullId;
|
|
356
439
|
AddContentToCache(entry);
|
|
440
|
+
|
|
441
|
+
// Track rename: collapse chain if this was already the Created side of a prior rename (A→B→C becomes A→C)
|
|
442
|
+
string ultimateDeletedId = contentId;
|
|
443
|
+
string ultimateOldName = oldName;
|
|
444
|
+
if (_explicitRenameTracking.TryGetValue(contentId, out var priorRename) && priorRename.CreatedFullId == contentId)
|
|
445
|
+
{
|
|
446
|
+
ultimateDeletedId = priorRename.DeletedFullId;
|
|
447
|
+
ultimateOldName = priorRename.OldName;
|
|
448
|
+
_explicitRenameTracking.Remove(priorRename.CreatedFullId);
|
|
449
|
+
_explicitRenameTracking.Remove(priorRename.DeletedFullId);
|
|
450
|
+
_renameRegistry.Remove(priorRename.CreatedFullId);
|
|
451
|
+
_renameRegistry.Remove(priorRename.DeletedFullId);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// If renamed back to the original name (A→B→A), remove tracking entirely
|
|
455
|
+
if (newFullId == ultimateDeletedId)
|
|
456
|
+
{
|
|
457
|
+
// Undo the Deleted+Created pair: remove the Deleted entry we just added and restore the original status
|
|
458
|
+
RemoveContentFromCache(entry);
|
|
459
|
+
entry.CurrentStatus = (int)ContentStatus.UpToDate;
|
|
460
|
+
entry.FullId = newFullId;
|
|
461
|
+
entry.Name = newName;
|
|
462
|
+
// Also remove the stale Deleted entry we added above
|
|
463
|
+
if (EntriesCache.TryGetValue(ultimateDeletedId, out var staleDeleted))
|
|
464
|
+
RemoveContentFromCache(staleDeleted);
|
|
465
|
+
AddContentToCache(entry);
|
|
466
|
+
SaveRenameCache();
|
|
467
|
+
}
|
|
468
|
+
else
|
|
469
|
+
{
|
|
470
|
+
var renameInfo = new ContentRenameInfo
|
|
471
|
+
{
|
|
472
|
+
CreatedFullId = newFullId,
|
|
473
|
+
DeletedFullId = ultimateDeletedId,
|
|
474
|
+
OldName = ultimateOldName,
|
|
475
|
+
NewName = newName,
|
|
476
|
+
TypeName = entry.TypeName,
|
|
477
|
+
};
|
|
478
|
+
_explicitRenameTracking[newFullId] = renameInfo;
|
|
479
|
+
_explicitRenameTracking[ultimateDeletedId] = renameInfo;
|
|
480
|
+
_renameRegistry[newFullId] = renameInfo;
|
|
481
|
+
_renameRegistry[ultimateDeletedId] = renameInfo;
|
|
482
|
+
SaveRenameCache();
|
|
483
|
+
}
|
|
357
484
|
}
|
|
358
485
|
else
|
|
359
486
|
{
|
|
360
487
|
RemoveContentFromCache(entry);
|
|
488
|
+
|
|
489
|
+
// If this Created entry is the Created side of a prior rename (A→B), update tracking to A→C
|
|
490
|
+
if (_explicitRenameTracking.TryGetValue(contentId, out var priorRename) && priorRename.CreatedFullId == contentId)
|
|
491
|
+
{
|
|
492
|
+
_explicitRenameTracking.Remove(priorRename.CreatedFullId);
|
|
493
|
+
_explicitRenameTracking.Remove(priorRename.DeletedFullId);
|
|
494
|
+
_renameRegistry.Remove(priorRename.CreatedFullId);
|
|
495
|
+
_renameRegistry.Remove(priorRename.DeletedFullId);
|
|
496
|
+
|
|
497
|
+
// If renamed back to the original name (A→B→A), just clear tracking
|
|
498
|
+
if (newFullId != priorRename.DeletedFullId)
|
|
499
|
+
{
|
|
500
|
+
var renameInfo = new ContentRenameInfo
|
|
501
|
+
{
|
|
502
|
+
CreatedFullId = newFullId,
|
|
503
|
+
DeletedFullId = priorRename.DeletedFullId,
|
|
504
|
+
OldName = priorRename.OldName,
|
|
505
|
+
NewName = newName,
|
|
506
|
+
TypeName = entry.TypeName,
|
|
507
|
+
};
|
|
508
|
+
_explicitRenameTracking[newFullId] = renameInfo;
|
|
509
|
+
_explicitRenameTracking[priorRename.DeletedFullId] = renameInfo;
|
|
510
|
+
_renameRegistry[newFullId] = renameInfo;
|
|
511
|
+
_renameRegistry[priorRename.DeletedFullId] = renameInfo;
|
|
512
|
+
}
|
|
513
|
+
SaveRenameCache();
|
|
514
|
+
}
|
|
515
|
+
|
|
361
516
|
entry.Name = newName;
|
|
362
517
|
entry.FullId = newFullId;
|
|
363
518
|
AddContentToCache(entry);
|
|
@@ -410,7 +565,7 @@ namespace Beamable.Editor.ContentService
|
|
|
410
565
|
|
|
411
566
|
public async Promise PublishContentsWithProgress()
|
|
412
567
|
{
|
|
413
|
-
|
|
568
|
+
BeginActionProgress(PUBLISH_OPERATION_TITLE, "Publishing contents...", true);
|
|
414
569
|
publishedContents = 0;
|
|
415
570
|
|
|
416
571
|
try
|
|
@@ -438,12 +593,60 @@ namespace Beamable.Editor.ContentService
|
|
|
438
593
|
}
|
|
439
594
|
}
|
|
440
595
|
|
|
596
|
+
/// <summary>
|
|
597
|
+
/// Finishes the active content operation, clears any modal progress UI, and reloads local content state.
|
|
598
|
+
/// </summary>
|
|
441
599
|
private void FinishActionProgress()
|
|
442
600
|
{
|
|
443
|
-
|
|
601
|
+
if (_showUnityModalProgress)
|
|
602
|
+
{
|
|
603
|
+
EditorUtility.ClearProgressBar();
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
CurrentProgress.IsActive = false;
|
|
607
|
+
ProgressUpdateVersion++;
|
|
444
608
|
_ = Reload();
|
|
445
609
|
}
|
|
446
610
|
|
|
611
|
+
/// <summary>
|
|
612
|
+
/// Initializes progress state for a content operation. Sync can use in-window progress only, while publish can still opt into Unity's modal progress UI.
|
|
613
|
+
/// </summary>
|
|
614
|
+
private void BeginActionProgress(string title, string description, bool showUnityModalProgress)
|
|
615
|
+
{
|
|
616
|
+
_showUnityModalProgress = showUnityModalProgress;
|
|
617
|
+
CurrentProgress.IsActive = true;
|
|
618
|
+
CurrentProgress.Title = title;
|
|
619
|
+
CurrentProgress.Description = description;
|
|
620
|
+
CurrentProgress.CurrentContentName = string.Empty;
|
|
621
|
+
CurrentProgress.ProcessedItems = 0;
|
|
622
|
+
CurrentProgress.TotalItems = 0;
|
|
623
|
+
CurrentProgress.Progress = 0;
|
|
624
|
+
CurrentProgress.HasError = false;
|
|
625
|
+
ProgressUpdateVersion++;
|
|
626
|
+
|
|
627
|
+
if (_showUnityModalProgress)
|
|
628
|
+
{
|
|
629
|
+
EditorUtility.DisplayProgressBar(title, description, 0);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/// <summary>
|
|
634
|
+
/// Converts the optional editor sync concurrency setting to the CLI argument value.
|
|
635
|
+
/// </summary>
|
|
636
|
+
/// <remarks>
|
|
637
|
+
/// Returning the default int omits the CLI argument, allowing the CLI default to apply. A configured value of 0 maps to -1 so the generated command includes an explicit unbounded setting.
|
|
638
|
+
/// </remarks>
|
|
639
|
+
private int GetEditorSyncDownloadMaxParallelCountCliOption()
|
|
640
|
+
{
|
|
641
|
+
if (_contentConfiguration.EditorSyncDownloadMaxParallelCount?.HasValue != true)
|
|
642
|
+
{
|
|
643
|
+
return default;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
var value = _contentConfiguration.EditorSyncDownloadMaxParallelCount.Value;
|
|
647
|
+
return value == 0 ? -1 : value;
|
|
648
|
+
}
|
|
649
|
+
|
|
447
650
|
public async Task PublishContents()
|
|
448
651
|
{
|
|
449
652
|
var contentPublishArgs = new ContentPublishArgs
|
|
@@ -520,6 +723,10 @@ namespace Beamable.Editor.ContentService
|
|
|
520
723
|
AddContentToCache(entry);
|
|
521
724
|
}
|
|
522
725
|
}
|
|
726
|
+
else
|
|
727
|
+
{
|
|
728
|
+
AddContentToCache(entry);
|
|
729
|
+
}
|
|
523
730
|
|
|
524
731
|
ValidationContext.AllContent.Remove(entry.FullId);
|
|
525
732
|
}
|
|
@@ -527,6 +734,7 @@ namespace Beamable.Editor.ContentService
|
|
|
527
734
|
|
|
528
735
|
if (hasRemoveManifest || hasChangeManifest)
|
|
529
736
|
{
|
|
737
|
+
RestoreRenameRegistry();
|
|
530
738
|
ManifestChangedCount++;
|
|
531
739
|
}
|
|
532
740
|
|
|
@@ -544,10 +752,10 @@ namespace Beamable.Editor.ContentService
|
|
|
544
752
|
_contentWatcher.OnProgressStreamContentPsProgressMessage(dp => { LatestProgressUpdate = dp.data; });
|
|
545
753
|
_ = _contentWatcher.Command.Run();
|
|
546
754
|
|
|
547
|
-
|
|
755
|
+
RemoteManifestsLoaded = false;
|
|
756
|
+
RemoteManifestsErrored = false;
|
|
548
757
|
var getAvailableManifestsPromise = _cli.ContentListManifests(new ContentListManifestsArgs()).OnStreamContentListManifestsCommandResults(dp =>
|
|
549
758
|
{
|
|
550
|
-
|
|
551
759
|
var manifestIds = new HashSet<string>();
|
|
552
760
|
foreach (var id in dp.data.localManifests)
|
|
553
761
|
{
|
|
@@ -558,41 +766,25 @@ namespace Beamable.Editor.ContentService
|
|
|
558
766
|
{
|
|
559
767
|
manifestIds.Add(id);
|
|
560
768
|
}
|
|
561
|
-
|
|
562
|
-
if (dp.data.remoteManifests.Count == 0)
|
|
563
|
-
{
|
|
564
|
-
// If no remote manifest on remote, it means that it is the first time that the customer is using this realm
|
|
565
|
-
// If so, we need to create the default contents
|
|
566
|
-
string[] guids = BeamableAssetDatabase.FindAssets<ContentObject>(new[] {Constants.Directories.DEFAULT_DATA_DIR});
|
|
567
|
-
foreach (string guid in guids)
|
|
568
|
-
{
|
|
569
|
-
string path = AssetDatabase.GUIDToAssetPath(guid);
|
|
570
|
-
ContentObject obj = AssetDatabase.LoadAssetAtPath<ContentObject>(path);
|
|
571
769
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}
|
|
580
|
-
}
|
|
770
|
+
// A realm with zero remote manifests has never had content published to it.
|
|
771
|
+
// Seeding default content is deferred to an explicit, user-initiated action
|
|
772
|
+
// (see DefaultContentImporter) so we never mutate the AssetDatabase / Addressables
|
|
773
|
+
// at init time. Here we only record the signal the Content Manager uses to offer
|
|
774
|
+
// the opt-in import prompt.
|
|
775
|
+
RemoteManifestCount = dp.data.remoteManifests.Count;
|
|
776
|
+
RemoteManifestsLoaded = true;
|
|
581
777
|
|
|
582
778
|
availableManifestIds = manifestIds.ToList();
|
|
583
779
|
}).OnError(dp =>
|
|
584
780
|
{
|
|
781
|
+
RemoteManifestsErrored = true;
|
|
585
782
|
Debug.LogError(dp.data.message);
|
|
586
783
|
}).Run();
|
|
587
|
-
|
|
784
|
+
|
|
588
785
|
await manifestIsFetchedTaskCompletion.Task;
|
|
589
786
|
await getAvailableManifestsPromise;
|
|
590
787
|
|
|
591
|
-
if (addedAnyDefault)
|
|
592
|
-
{
|
|
593
|
-
await PublishContents();
|
|
594
|
-
}
|
|
595
|
-
|
|
596
788
|
ManifestChangedCount++;
|
|
597
789
|
}
|
|
598
790
|
finally
|
|
@@ -619,6 +811,104 @@ namespace Beamable.Editor.ContentService
|
|
|
619
811
|
_statusContentCache.Clear();
|
|
620
812
|
_conflictedContentCache.Clear();
|
|
621
813
|
_contentIdTagsCache.Clear();
|
|
814
|
+
_lastSavedPropertiesCache.Clear();
|
|
815
|
+
_renameRegistry.Clear();
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
private void RestoreRenameRegistry()
|
|
819
|
+
{
|
|
820
|
+
_renameRegistry.Clear();
|
|
821
|
+
|
|
822
|
+
foreach (var kvp in _explicitRenameTracking)
|
|
823
|
+
{
|
|
824
|
+
if (EntriesCache.ContainsKey(kvp.Value.CreatedFullId) &&
|
|
825
|
+
EntriesCache.ContainsKey(kvp.Value.DeletedFullId))
|
|
826
|
+
{
|
|
827
|
+
_renameRegistry[kvp.Key] = kvp.Value;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
var staleKeys = _explicitRenameTracking
|
|
832
|
+
.Where(kvp => !EntriesCache.ContainsKey(kvp.Value.CreatedFullId) ||
|
|
833
|
+
!EntriesCache.ContainsKey(kvp.Value.DeletedFullId))
|
|
834
|
+
.Select(kvp => kvp.Key)
|
|
835
|
+
.ToList();
|
|
836
|
+
if (staleKeys.Count > 0)
|
|
837
|
+
{
|
|
838
|
+
foreach (var key in staleKeys)
|
|
839
|
+
_explicitRenameTracking.Remove(key);
|
|
840
|
+
SaveRenameCache();
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
private void LoadRenameCache()
|
|
845
|
+
{
|
|
846
|
+
try
|
|
847
|
+
{
|
|
848
|
+
if (File.Exists(RenameCachePath))
|
|
849
|
+
{
|
|
850
|
+
var json = File.ReadAllText(RenameCachePath);
|
|
851
|
+
var data = JsonUtility.FromJson<RenameCacheData>(json);
|
|
852
|
+
if (data?.Entries != null)
|
|
853
|
+
{
|
|
854
|
+
_explicitRenameTracking.Clear();
|
|
855
|
+
foreach (var e in data.Entries)
|
|
856
|
+
{
|
|
857
|
+
var info = new ContentRenameInfo
|
|
858
|
+
{
|
|
859
|
+
CreatedFullId = e.CreatedFullId,
|
|
860
|
+
DeletedFullId = e.DeletedFullId,
|
|
861
|
+
OldName = e.OldName,
|
|
862
|
+
NewName = e.NewName,
|
|
863
|
+
TypeName = e.TypeName,
|
|
864
|
+
};
|
|
865
|
+
_explicitRenameTracking[info.CreatedFullId] = info;
|
|
866
|
+
_explicitRenameTracking[info.DeletedFullId] = info;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
catch { }
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
private void SaveRenameCache()
|
|
875
|
+
{
|
|
876
|
+
try
|
|
877
|
+
{
|
|
878
|
+
var dir = Path.GetDirectoryName(RenameCachePath);
|
|
879
|
+
if (!string.IsNullOrEmpty(dir) && !Directory.Exists(dir))
|
|
880
|
+
Directory.CreateDirectory(dir);
|
|
881
|
+
var distinct = _explicitRenameTracking.Values
|
|
882
|
+
.GroupBy(r => r.CreatedFullId)
|
|
883
|
+
.Select(g => g.First())
|
|
884
|
+
.ToArray();
|
|
885
|
+
var data = new RenameCacheData
|
|
886
|
+
{
|
|
887
|
+
Entries = distinct.Select(r => new RenameCacheEntry
|
|
888
|
+
{
|
|
889
|
+
CreatedFullId = r.CreatedFullId,
|
|
890
|
+
DeletedFullId = r.DeletedFullId,
|
|
891
|
+
OldName = r.OldName,
|
|
892
|
+
NewName = r.NewName,
|
|
893
|
+
TypeName = r.TypeName,
|
|
894
|
+
}).ToArray()
|
|
895
|
+
};
|
|
896
|
+
File.WriteAllText(RenameCachePath, JsonUtility.ToJson(data));
|
|
897
|
+
}
|
|
898
|
+
catch { }
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
[Serializable]
|
|
902
|
+
private class RenameCacheData { public RenameCacheEntry[] Entries; }
|
|
903
|
+
|
|
904
|
+
[Serializable]
|
|
905
|
+
private class RenameCacheEntry
|
|
906
|
+
{
|
|
907
|
+
public string CreatedFullId;
|
|
908
|
+
public string DeletedFullId;
|
|
909
|
+
public string OldName;
|
|
910
|
+
public string NewName;
|
|
911
|
+
public string TypeName;
|
|
622
912
|
}
|
|
623
913
|
|
|
624
914
|
public void ReceiveStorageHandle(StorageHandle<CliContentService> handle)
|
|
@@ -745,13 +1035,19 @@ namespace Beamable.Editor.ContentService
|
|
|
745
1035
|
|
|
746
1036
|
private void AddContentToCache(LocalContentManifestEntry entry)
|
|
747
1037
|
{
|
|
1038
|
+
if (entry.StatusEnum is not ContentStatus.Deleted &&
|
|
1039
|
+
(string.IsNullOrEmpty(entry.JsonFilePath) || !File.Exists(entry.JsonFilePath)))
|
|
1040
|
+
{
|
|
1041
|
+
return;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
748
1044
|
var entryType = _contentTypeReflectionCache.GetTypeFromId(entry.FullId);
|
|
749
1045
|
if (!_contentTypeReflectionCache.TryGetName(entryType, out var typeName))
|
|
750
1046
|
{
|
|
751
1047
|
//Fallback to CLI Value
|
|
752
1048
|
typeName = entry.TypeName;
|
|
753
1049
|
}
|
|
754
|
-
|
|
1050
|
+
|
|
755
1051
|
if (!TypeContentCache.TryGetValue(typeName, out var typeContentList))
|
|
756
1052
|
{
|
|
757
1053
|
TypeContentCache[typeName] = typeContentList = new List<LocalContentManifestEntry>();;
|
|
@@ -779,7 +1075,7 @@ namespace Beamable.Editor.ContentService
|
|
|
779
1075
|
_contentIdTagsCache[entry.FullId] = entry.Tags.ToList();
|
|
780
1076
|
|
|
781
1077
|
EntriesCache[entry.FullId] = entry;
|
|
782
|
-
|
|
1078
|
+
|
|
783
1079
|
CacheScriptableContent(entry);
|
|
784
1080
|
|
|
785
1081
|
if (entry.StatusEnum is not ContentStatus.Deleted)
|
|
@@ -817,7 +1113,7 @@ namespace Beamable.Editor.ContentService
|
|
|
817
1113
|
contentObject = ScriptableObject.CreateInstance(type) as ContentObject;
|
|
818
1114
|
_contentScriptableCache[entry.FullId] = contentObject;
|
|
819
1115
|
}
|
|
820
|
-
|
|
1116
|
+
|
|
821
1117
|
contentObject = LoadContentObject(entry, contentObject);
|
|
822
1118
|
|
|
823
1119
|
Object.DontDestroyOnLoad(contentObject);
|
|
@@ -896,13 +1192,23 @@ namespace Beamable.Editor.ContentService
|
|
|
896
1192
|
string onSuccessBaseMessage,
|
|
897
1193
|
string onErrorBaseMessage, ref int countItem)
|
|
898
1194
|
{
|
|
899
|
-
|
|
900
|
-
|
|
1195
|
+
int totalItems = Math.Max(data.totalItems, 0);
|
|
1196
|
+
string description = CurrentProgress.Description;
|
|
1197
|
+
float progress = totalItems == 0 ? 0 : Mathf.Clamp01((float)countItem / totalItems);
|
|
1198
|
+
int processedItemsForDisplay = countItem;
|
|
901
1199
|
|
|
902
1200
|
switch (data.EventType)
|
|
903
1201
|
{
|
|
904
1202
|
case 0: // Error on Content Progress Update
|
|
905
|
-
|
|
1203
|
+
CurrentProgress.HasError = true;
|
|
1204
|
+
CurrentProgress.CurrentContentName = data.contentName;
|
|
1205
|
+
CurrentProgress.TotalItems = totalItems;
|
|
1206
|
+
CurrentProgress.Description = string.Format(onErrorBaseMessage, data.contentName, data.errorMessage);
|
|
1207
|
+
ProgressUpdateVersion++;
|
|
1208
|
+
if (_showUnityModalProgress)
|
|
1209
|
+
{
|
|
1210
|
+
EditorUtility.ClearProgressBar();
|
|
1211
|
+
}
|
|
906
1212
|
EditorUtility.DisplayDialog(
|
|
907
1213
|
operationTitle,
|
|
908
1214
|
string.Format(onErrorBaseMessage, data.contentName, data.errorMessage),
|
|
@@ -911,14 +1217,33 @@ namespace Beamable.Editor.ContentService
|
|
|
911
1217
|
return;
|
|
912
1218
|
case 1: // Sync Complete
|
|
913
1219
|
case 2: // Publish Complete
|
|
914
|
-
|
|
1220
|
+
CurrentProgress.CurrentContentName = data.contentName;
|
|
1221
|
+
int visibleCount = totalItems == 0 ? 0 : Mathf.Min(totalItems, countItem + 1);
|
|
1222
|
+
processedItemsForDisplay = visibleCount;
|
|
1223
|
+
description = string.Format(onSuccessBaseMessage, data.contentName, visibleCount, totalItems);
|
|
1224
|
+
progress = totalItems == 0 ? 1 : Mathf.Clamp01((float)visibleCount / totalItems);
|
|
915
1225
|
break;
|
|
916
1226
|
case 3: // Update Processed item count
|
|
917
1227
|
countItem = data.processedItems;
|
|
1228
|
+
processedItemsForDisplay = totalItems == 0 ? countItem : Mathf.Min(countItem, totalItems);
|
|
1229
|
+
progress = totalItems == 0 ? 1 : Mathf.Clamp01((float)processedItemsForDisplay / totalItems);
|
|
1230
|
+
description = totalItems == 0
|
|
1231
|
+
? $"{operationTitle} complete."
|
|
1232
|
+
: $"{processedItemsForDisplay}/{totalItems} items processed.";
|
|
918
1233
|
break;
|
|
919
1234
|
}
|
|
920
1235
|
|
|
921
|
-
|
|
1236
|
+
CurrentProgress.Title = operationTitle;
|
|
1237
|
+
CurrentProgress.Description = description;
|
|
1238
|
+
CurrentProgress.ProcessedItems = processedItemsForDisplay;
|
|
1239
|
+
CurrentProgress.TotalItems = totalItems;
|
|
1240
|
+
CurrentProgress.Progress = progress;
|
|
1241
|
+
ProgressUpdateVersion++;
|
|
1242
|
+
|
|
1243
|
+
if (_showUnityModalProgress)
|
|
1244
|
+
{
|
|
1245
|
+
EditorUtility.DisplayProgressBar(operationTitle, description, progress);
|
|
1246
|
+
}
|
|
922
1247
|
}
|
|
923
1248
|
|
|
924
1249
|
public void SetManifestId(string id)
|