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
|
@@ -31,7 +31,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
31
31
|
{
|
|
32
32
|
if (_contentService.HasConflictedContent || _contentService.HasInvalidContent || !_contentService.HasChangedContents)
|
|
33
33
|
{
|
|
34
|
-
|
|
34
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
43
43
|
{
|
|
44
44
|
_contentService.PublishContentsWithProgress().Then(_ =>
|
|
45
45
|
{
|
|
46
|
-
|
|
46
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -55,9 +55,9 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
55
55
|
|
|
56
56
|
private void DrawRevertPanel()
|
|
57
57
|
{
|
|
58
|
-
if (!_contentService.HasChangedContents)
|
|
58
|
+
if (!_contentService.HasChangedContents && !_contentService.CurrentProgress.IsActive)
|
|
59
59
|
{
|
|
60
|
-
|
|
60
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -69,7 +69,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
69
69
|
{
|
|
70
70
|
_revertAction?.Invoke().Then(_ =>
|
|
71
71
|
{
|
|
72
|
-
|
|
72
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -195,7 +195,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
195
195
|
GUILayout.FlexibleSpace();
|
|
196
196
|
if (BeamGUI.CancelButton("Back", GUILayout.Width(60)))
|
|
197
197
|
{
|
|
198
|
-
|
|
198
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
@@ -240,26 +240,67 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
240
240
|
EditorGUILayout.EndScrollView();
|
|
241
241
|
|
|
242
242
|
EditorGUILayout.Space(12);
|
|
243
|
+
|
|
244
|
+
if (DrawContentOperationProgress())
|
|
245
|
+
{
|
|
246
|
+
EditorGUILayout.Space(12);
|
|
247
|
+
}
|
|
243
248
|
|
|
244
249
|
var buttonsRect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(30f));
|
|
245
250
|
var buttonsRectController = new EditorGUIRectController(buttonsRect);
|
|
246
251
|
var primaryBtnContent = new GUIContent(buttonText);
|
|
247
252
|
var primaryBtnSize = GUI.skin.button.CalcSize(primaryBtnContent);
|
|
248
253
|
|
|
249
|
-
if (BeamGUI.
|
|
254
|
+
if (BeamGUI.ShowDisabled(!_contentService.CurrentProgress.IsActive,
|
|
255
|
+
() => BeamGUI.PrimaryButton(buttonsRectController.ReserveWidthFromRight(primaryBtnSize.x + BASE_PADDING * 2), primaryBtnContent)))
|
|
250
256
|
{
|
|
251
257
|
onButtonClicked?.Invoke();
|
|
252
258
|
}
|
|
253
259
|
var cancelBtnContent = new GUIContent("Cancel");
|
|
254
260
|
var cancelBtnSize = GUI.skin.button.CalcSize(cancelBtnContent);
|
|
255
|
-
if (BeamGUI.
|
|
261
|
+
if (BeamGUI.ShowDisabled(!_contentService.CurrentProgress.IsActive,
|
|
262
|
+
() => BeamGUI.CustomButton(buttonsRectController.ReserveWidthFromRight(cancelBtnSize.x + BASE_PADDING * 2), cancelBtnContent, BeamGUI.ColorizeButton(Color.gray))))
|
|
256
263
|
{
|
|
257
|
-
|
|
264
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
258
265
|
}
|
|
259
266
|
|
|
260
267
|
EditorGUILayout.EndVertical();
|
|
261
268
|
}
|
|
262
269
|
|
|
270
|
+
/// <summary>
|
|
271
|
+
/// Draws the active content operation progress bar in the Content Manager action panel.
|
|
272
|
+
/// </summary>
|
|
273
|
+
/// <returns>True when progress UI was drawn and the caller should reserve spacing for it.</returns>
|
|
274
|
+
private bool DrawContentOperationProgress()
|
|
275
|
+
{
|
|
276
|
+
var progress = _contentService.CurrentProgress;
|
|
277
|
+
if (!progress.IsActive)
|
|
278
|
+
{
|
|
279
|
+
return false;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
var progressAction = progress.Title == "Publish Contents" ? "published" : "synced";
|
|
283
|
+
var progressText = progress.TotalItems > 0
|
|
284
|
+
? $"{progress.ProcessedItems}/{progress.TotalItems} items {progressAction}"
|
|
285
|
+
: $"Preparing {progress.Title.ToLowerInvariant()}...";
|
|
286
|
+
|
|
287
|
+
if (!string.IsNullOrEmpty(progress.CurrentContentName))
|
|
288
|
+
{
|
|
289
|
+
progressText = $"{progressText} - {progress.CurrentContentName}";
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
EditorGUILayout.LabelField(progress.Title, EditorStyles.boldLabel);
|
|
293
|
+
var progressRect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(20));
|
|
294
|
+
EditorGUI.ProgressBar(progressRect, progress.Progress, progressText);
|
|
295
|
+
|
|
296
|
+
if (!string.IsNullOrEmpty(progress.Description))
|
|
297
|
+
{
|
|
298
|
+
EditorGUILayout.LabelField(progress.Description, _contentHeaderDescriptionStyle);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
return true;
|
|
302
|
+
}
|
|
303
|
+
|
|
263
304
|
private void DrawChangedContents(float width,
|
|
264
305
|
string headerName,
|
|
265
306
|
Texture icon,
|
|
@@ -119,7 +119,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
119
119
|
{
|
|
120
120
|
if (BeamGUI.HeaderButton("Content Editor", BeamGUI.iconContentEditorIcon, width: 90, iconPadding: 2))
|
|
121
121
|
{
|
|
122
|
-
|
|
122
|
+
ChangeWindowStatusDelayed(ContentWindowStatus.Normal);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
if (_windowStatus is ContentWindowStatus.Normal || _windowStatus is ContentWindowStatus.Validate)
|
|
@@ -260,6 +260,17 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
260
260
|
Repaint();
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
/// <summary>
|
|
264
|
+
/// Defers Content Manager state changes until the current IMGUI event has finished.
|
|
265
|
+
/// </summary>
|
|
266
|
+
/// <remarks>
|
|
267
|
+
/// Some state transitions remove or add controls. Deferring them avoids mismatched layout groups during repaint.
|
|
268
|
+
/// </remarks>
|
|
269
|
+
private void ChangeWindowStatusDelayed(ContentWindowStatus windowStatus)
|
|
270
|
+
{
|
|
271
|
+
EditorApplication.delayCall += () => ChangeWindowStatus(windowStatus);
|
|
272
|
+
}
|
|
273
|
+
|
|
263
274
|
private void DrawLowBarHeader(Rect rect)
|
|
264
275
|
{
|
|
265
276
|
if (NeedsMigration) return;
|
|
@@ -420,27 +431,27 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
420
431
|
|
|
421
432
|
private async Promise RevertAllContents()
|
|
422
433
|
{
|
|
423
|
-
await _contentService.SyncContentsWithProgress(true, true, true, true);
|
|
434
|
+
await _contentService.SyncContentsWithProgress(true, true, true, true, showUnityModalProgress: false);
|
|
424
435
|
}
|
|
425
436
|
|
|
426
437
|
private async Promise RevertModifiedContents()
|
|
427
438
|
{
|
|
428
|
-
await _contentService.SyncContentsWithProgress(true, false, false, false);
|
|
439
|
+
await _contentService.SyncContentsWithProgress(true, false, false, false, showUnityModalProgress: false);
|
|
429
440
|
}
|
|
430
441
|
|
|
431
442
|
private async Promise RevertConflictedContents()
|
|
432
443
|
{
|
|
433
|
-
await _contentService.SyncContentsWithProgress(false, false, true, false);
|
|
444
|
+
await _contentService.SyncContentsWithProgress(false, false, true, false, showUnityModalProgress: false);
|
|
434
445
|
}
|
|
435
446
|
|
|
436
447
|
private async Promise RevertDeletedContents()
|
|
437
448
|
{
|
|
438
|
-
await _contentService.SyncContentsWithProgress(false, false, false, true);
|
|
449
|
+
await _contentService.SyncContentsWithProgress(false, false, false, true, showUnityModalProgress: false);
|
|
439
450
|
}
|
|
440
451
|
|
|
441
452
|
private async Promise RevertAllNewContents()
|
|
442
453
|
{
|
|
443
|
-
await _contentService.SyncContentsWithProgress(false, true, false, false);
|
|
454
|
+
await _contentService.SyncContentsWithProgress(false, true, false, false, showUnityModalProgress: false);
|
|
444
455
|
}
|
|
445
456
|
|
|
446
457
|
|
|
@@ -387,6 +387,9 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
var contentObject = CreateInstance(type) as ContentObject;
|
|
390
|
+
// Force Unity's serializer to instantiate all nested [Serializable] reference fields
|
|
391
|
+
// (e.g. Optional abd strings types) with proper default instances instead of leaving them null.
|
|
392
|
+
JsonUtility.FromJsonOverwrite(JsonUtility.ToJson(contentObject), contentObject);
|
|
390
393
|
string baseName = $"New_{itemType.Replace(".","_")}_";
|
|
391
394
|
int nextNumber = _contentService.GetContentsFromType(type)
|
|
392
395
|
.Select(item => item.Name)
|
|
@@ -15,7 +15,7 @@ namespace Beamable.Editor.Library
|
|
|
15
15
|
{
|
|
16
16
|
WindowDefaultConfig = new BeamEditorWindowInitConfig()
|
|
17
17
|
{
|
|
18
|
-
Title = "Beam
|
|
18
|
+
Title = "Beam Samples",
|
|
19
19
|
FocusOnShow = false,
|
|
20
20
|
DockPreferenceTypeName = typeof(SceneView).AssemblyQualifiedName,
|
|
21
21
|
RequireLoggedUser = true,
|
|
@@ -25,7 +25,7 @@ namespace Beamable.Editor.Library
|
|
|
25
25
|
[MenuItem(
|
|
26
26
|
Constants.MenuItems.Windows.Paths.MENU_ITEM_PATH_WINDOW_BEAMABLE + "/" +
|
|
27
27
|
Constants.Commons.OPEN + " " +
|
|
28
|
-
"Beam
|
|
28
|
+
"Beam Samples",
|
|
29
29
|
priority = Constants.MenuItems.Windows.Orders.MENU_ITEM_PATH_WINDOW_PRIORITY_2
|
|
30
30
|
)]
|
|
31
31
|
public static async void Init() => _ = await GetFullyInitializedWindow();
|
|
@@ -8,28 +8,7 @@ namespace Beamable.Editor.Library
|
|
|
8
8
|
{
|
|
9
9
|
void DrawMain()
|
|
10
10
|
{
|
|
11
|
-
DrawHeader();
|
|
12
11
|
DrawSampleSection();
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
void DrawHeader()
|
|
16
|
-
{
|
|
17
|
-
BeamGUI.DrawHeaderSection(this, ActiveContext,
|
|
18
|
-
drawTopBarGui: () =>
|
|
19
|
-
{
|
|
20
|
-
// there aren't really any options that make sense yet.
|
|
21
|
-
},
|
|
22
|
-
drawLowBarGui: () =>
|
|
23
|
-
{
|
|
24
|
-
},
|
|
25
|
-
onClickedRefresh: () =>
|
|
26
|
-
{
|
|
27
|
-
library.Reload();
|
|
28
|
-
},
|
|
29
|
-
onClickedHelp: () =>
|
|
30
|
-
{
|
|
31
|
-
Application.OpenURL(DocsPageHelper.GetUnityDocsPageUrl("unity/samples/lightbeam/", EditorConstants.UNITY_CURRENT_DOCS_VERSION));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
13
|
}
|
|
35
14
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
using Beamable.Editor.Util;
|
|
2
2
|
using System.Collections.Generic;
|
|
3
|
+
using TMPro;
|
|
3
4
|
using UnityEditor;
|
|
4
5
|
using UnityEditor.Experimental;
|
|
5
6
|
using UnityEngine;
|
|
@@ -38,67 +39,116 @@ namespace Beamable.Editor.Library
|
|
|
38
39
|
margin = new RectOffset(12, 12, 12, 12)
|
|
39
40
|
});
|
|
40
41
|
|
|
42
|
+
// Header: welcome title and subtext
|
|
43
|
+
{
|
|
44
|
+
var headerStyle = new GUIStyle(EditorStyles.largeLabel)
|
|
45
|
+
{
|
|
46
|
+
fontStyle = FontStyle.Bold,
|
|
47
|
+
fontSize = 25,
|
|
48
|
+
wordWrap = true,
|
|
49
|
+
alignment = TextAnchor.UpperLeft,
|
|
50
|
+
margin = new RectOffset(2, 2, 4, 0),
|
|
51
|
+
padding = new RectOffset(2, 2, 0, 0)
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var subStyle = new GUIStyle(EditorStyles.label)
|
|
55
|
+
{
|
|
56
|
+
wordWrap = true,
|
|
57
|
+
richText = false,
|
|
58
|
+
fontSize = 12,
|
|
59
|
+
alignment = TextAnchor.UpperLeft,
|
|
60
|
+
margin = new RectOffset(2, 2, 0, 8),
|
|
61
|
+
padding = new RectOffset(2, 2, 0, 0)
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const string titleText = "Welcome to the Lightbeam Samples";
|
|
65
|
+
const string subText = "This section has ready-to-use samples covering features such as Player Accounts, Inventory, Cloud Saving, Friends, Lobbies, and more. Explore them to accelerate your integration with Beamable.";
|
|
66
|
+
|
|
67
|
+
var headerHeight = headerStyle.CalcHeight(new GUIContent(titleText), width);
|
|
68
|
+
var subHeight = subStyle.CalcHeight(new GUIContent(subText), width);
|
|
69
|
+
|
|
70
|
+
EditorGUILayout.LabelField(titleText, headerStyle, GUILayout.Height(headerHeight));
|
|
71
|
+
EditorGUILayout.LabelField(subText, subStyle, GUILayout.Height(subHeight));
|
|
72
|
+
|
|
73
|
+
EditorGUILayout.BeginHorizontal();
|
|
74
|
+
if (EditorGUILayout.LinkButton("Visit our documentation website →"))
|
|
75
|
+
{
|
|
76
|
+
library.OpenDocumentation("unity/samples/lightbeam/");
|
|
77
|
+
}
|
|
78
|
+
GUILayout.FlexibleSpace();
|
|
79
|
+
EditorGUILayout.EndHorizontal();
|
|
80
|
+
|
|
81
|
+
EditorGUILayout.Space(8);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Add Sample Cards
|
|
41
85
|
var count = library.lightbeams.Count;
|
|
42
86
|
var widthPerCard = Mathf.Clamp(width / count, minWidth, maxWidth);
|
|
43
87
|
var cardsPerRow = Mathf.FloorToInt(width / widthPerCard);
|
|
44
88
|
widthPerCard = Mathf.Min(maxWidth, width / cardsPerRow);
|
|
45
89
|
var heightPerCard = Mathf.Clamp(widthPerCard, minHeight, maxHeight);
|
|
46
|
-
var rows = Mathf.CeilToInt(count / (float)cardsPerRow);
|
|
47
|
-
|
|
90
|
+
var rows = Mathf.Max(Mathf.CeilToInt(count / (float)cardsPerRow),0);
|
|
48
91
|
|
|
49
92
|
var xOffset = (width * .5f) - (widthPerCard * .5f * cardsPerRow); // center the cards
|
|
50
93
|
var index = 0;
|
|
51
94
|
var cardRects = new List<Rect>();
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
95
|
+
|
|
96
|
+
// Add guard for minimun screen width
|
|
97
|
+
if (rows > 0)
|
|
98
|
+
{
|
|
55
99
|
{
|
|
56
|
-
|
|
57
|
-
for (var
|
|
100
|
+
// layout the rects
|
|
101
|
+
for (var r = 0; r < rows && index < library.lightbeams.Count; r++)
|
|
58
102
|
{
|
|
59
|
-
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
103
|
+
EditorGUILayout.BeginHorizontal();
|
|
104
|
+
for (var c = 0; c < cardsPerRow && index < library.lightbeams.Count; c++, index++)
|
|
105
|
+
{
|
|
106
|
+
|
|
107
|
+
var rect = GUILayoutUtility.GetRect(GUIContent.none, GUIStyle.none,
|
|
108
|
+
GUILayout.Width(widthPerCard),
|
|
109
|
+
GUILayout.Height(heightPerCard),
|
|
110
|
+
GUILayout.ExpandWidth(false));
|
|
111
|
+
|
|
112
|
+
int padding = 8;
|
|
113
|
+
var padded = new Rect(rect.x + padding + xOffset, rect.y + padding,
|
|
114
|
+
rect.width - padding * 2,
|
|
115
|
+
rect.height - padding * 2);
|
|
116
|
+
cardRects.Add(padded);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
EditorGUILayout.EndHorizontal();
|
|
69
120
|
}
|
|
70
|
-
|
|
71
|
-
EditorGUILayout.EndHorizontal();
|
|
72
121
|
}
|
|
73
|
-
}
|
|
74
122
|
|
|
75
|
-
{ // draw drop shadow
|
|
76
|
-
for (var i = 0; i < library.lightbeams.Count; i++)
|
|
77
123
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
124
|
+
// draw drop shadow
|
|
125
|
+
for (var i = 0; i < library.lightbeams.Count; i++)
|
|
126
|
+
{
|
|
127
|
+
var rect = cardRects[i];
|
|
128
|
+
|
|
129
|
+
var shadowOffset = 24;
|
|
130
|
+
var shadowRect = new Rect(rect.x - shadowOffset, rect.y + shadowOffset, rect.width,
|
|
131
|
+
rect.height);
|
|
132
|
+
GUI.DrawTexture(shadowRect, BeamGUI.iconShadowSoftA, ScaleMode.StretchToFill, true);
|
|
133
|
+
|
|
134
|
+
shadowOffset = 6;
|
|
135
|
+
shadowRect = new Rect(rect.x - shadowOffset, rect.y + shadowOffset, rect.width, rect.height);
|
|
136
|
+
GUI.DrawTexture(shadowRect, BeamGUI.iconShadowSoftA, ScaleMode.StretchToFill, true);
|
|
137
|
+
}
|
|
87
138
|
}
|
|
88
|
-
}
|
|
89
139
|
|
|
90
|
-
{ // draw the actual card content
|
|
91
|
-
for (var i = 0; i < library.lightbeams.Count; i++)
|
|
92
140
|
{
|
|
93
|
-
|
|
94
|
-
|
|
141
|
+
// draw the actual card content
|
|
142
|
+
for (var i = 0; i < library.lightbeams.Count; i++)
|
|
143
|
+
{
|
|
144
|
+
var rect = cardRects[i];
|
|
145
|
+
DrawSample(rect, library.lightbeams[i]);
|
|
146
|
+
}
|
|
95
147
|
}
|
|
96
148
|
}
|
|
97
149
|
|
|
98
150
|
EditorGUILayout.EndVertical();
|
|
99
151
|
EditorGUILayout.EndScrollView();
|
|
100
|
-
|
|
101
|
-
|
|
102
152
|
}
|
|
103
153
|
|
|
104
154
|
private Material iconMaterial;
|
|
@@ -262,6 +312,16 @@ namespace Beamable.Editor.Library
|
|
|
262
312
|
{
|
|
263
313
|
AddDelayedAction(() =>
|
|
264
314
|
{
|
|
315
|
+
|
|
316
|
+
// Search for the TMP Settings asset which is part of the Essential Resources
|
|
317
|
+
// Use this to detect if the TMP Pro Resources was imported already
|
|
318
|
+
string[] guid = AssetDatabase.FindAssets("t:TMP_Settings");
|
|
319
|
+
if (guid.Length == 0)
|
|
320
|
+
{
|
|
321
|
+
TMP_PackageResourceImporter.ImportResources(true,false,false);
|
|
322
|
+
Debug.Log("TMP Pro Resources Imported");
|
|
323
|
+
}
|
|
324
|
+
|
|
265
325
|
library.OpenSample(lightBeam);
|
|
266
326
|
});
|
|
267
327
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
using Beamable.Editor.BeamCli.Commands;
|
|
2
|
+
using UnityEditor;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
using static Beamable.Common.Constants;
|
|
5
|
+
|
|
6
|
+
namespace Beamable.Editor
|
|
7
|
+
{
|
|
8
|
+
public static class McpMenuItems
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
[MenuItem(MenuItems.Windows.Paths.MENU_ITEM_PATH_WINDOW_BEAMABLE_UTILITIES + "/Install MCP Server")]
|
|
12
|
+
private static async void InstallMcpServer()
|
|
13
|
+
{
|
|
14
|
+
var api = BeamEditorContext.Default;
|
|
15
|
+
await api.InitializePromise;
|
|
16
|
+
|
|
17
|
+
var command = api.Cli.McpSetup(new McpSetupArgs());
|
|
18
|
+
string resultPath = null;
|
|
19
|
+
|
|
20
|
+
command.OnStreamMcpSetupCommandResult(cb =>
|
|
21
|
+
{
|
|
22
|
+
resultPath = cb.data.configPath;
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
try
|
|
26
|
+
{
|
|
27
|
+
await command.Run();
|
|
28
|
+
if (!string.IsNullOrEmpty(resultPath))
|
|
29
|
+
{
|
|
30
|
+
Debug.Log($"[Beamable] MCP Server config written to: {resultPath}");
|
|
31
|
+
EditorUtility.DisplayDialog(
|
|
32
|
+
"MCP Server Installed",
|
|
33
|
+
$"MCP config written to:\n{resultPath}\n\nAI clients can now discover Beamable CLI tools via this config.",
|
|
34
|
+
"OK");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (System.Exception ex)
|
|
38
|
+
{
|
|
39
|
+
Debug.LogError($"[Beamable] Failed to install MCP Server: {ex.Message}");
|
|
40
|
+
EditorUtility.DisplayDialog(
|
|
41
|
+
"MCP Server Install Failed",
|
|
42
|
+
$"Could not install MCP Server config.\n\n{ex.Message}",
|
|
43
|
+
"OK");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
package/Runtime/Beam.cs
CHANGED
|
@@ -40,6 +40,7 @@ using Beamable.Common.Dependencies;
|
|
|
40
40
|
using Beamable.Common.Reflection;
|
|
41
41
|
using Beamable.Config;
|
|
42
42
|
using Beamable.Connection;
|
|
43
|
+
using Beamable.Console;
|
|
43
44
|
using Beamable.Content;
|
|
44
45
|
using Beamable.Coroutines;
|
|
45
46
|
using Beamable.Experimental.Api.Calendars;
|
|
@@ -168,6 +169,7 @@ namespace Beamable
|
|
|
168
169
|
DependencyBuilder.AddSingleton(contentReflectionCache);
|
|
169
170
|
DependencyBuilder.AddComponentSingleton<CoroutineService>();
|
|
170
171
|
DependencyBuilder.AddComponentSingleton<NotificationService>();
|
|
172
|
+
DependencyBuilder.AddComponentSingleton<BeamableAdminConsole>();
|
|
171
173
|
DependencyBuilder.AddComponentSingleton<BeamableBehaviour>();
|
|
172
174
|
DependencyBuilder.AddComponentSingleton<PubnubSubscriptionManager>(
|
|
173
175
|
(manager, provider) => manager.Initialize(provider.GetService<IPlatformService>(), provider));
|
package/Runtime/BeamContext.cs
CHANGED
|
@@ -20,6 +20,7 @@ using Beamable.Common.Dependencies;
|
|
|
20
20
|
using Beamable.Common.Spew;
|
|
21
21
|
using Beamable.Common.Util;
|
|
22
22
|
using Beamable.Connection;
|
|
23
|
+
using Beamable.Console;
|
|
23
24
|
using Beamable.Content.Utility;
|
|
24
25
|
using Beamable.Coroutines;
|
|
25
26
|
using Beamable.Player;
|
|
@@ -262,6 +263,7 @@ namespace Beamable
|
|
|
262
263
|
private ISessionService _sessionService;
|
|
263
264
|
private IHeartbeatService _heartbeatService;
|
|
264
265
|
private BeamableBehaviour _behaviour;
|
|
266
|
+
private BeamableAdminConsole _adminConsole;
|
|
265
267
|
private OfflineCache _offlineCache;
|
|
266
268
|
private RealmsBasicRealmConfiguration _realmConfig;
|
|
267
269
|
|
|
@@ -538,6 +540,13 @@ namespace Beamable
|
|
|
538
540
|
_notification = ServiceProvider.GetService<NotificationService>();
|
|
539
541
|
_sessionService = ServiceProvider.GetService<ISessionService>();
|
|
540
542
|
_behaviour = ServiceProvider.GetService<BeamableBehaviour>();
|
|
543
|
+
|
|
544
|
+
if (ConsoleConfiguration.Instance.EnableAdminConsole)
|
|
545
|
+
{
|
|
546
|
+
_adminConsole = ServiceProvider.GetService<BeamableAdminConsole>();
|
|
547
|
+
_adminConsole.InitializeConsole(this);
|
|
548
|
+
}
|
|
549
|
+
|
|
541
550
|
_offlineCache = ServiceProvider.GetService<OfflineCache>();
|
|
542
551
|
_connectivityService = ServiceProvider.GetService<IConnectivityService>();
|
|
543
552
|
|
|
@@ -820,8 +829,6 @@ namespace Beamable
|
|
|
820
829
|
}
|
|
821
830
|
}
|
|
822
831
|
|
|
823
|
-
|
|
824
|
-
|
|
825
832
|
/// <summary>
|
|
826
833
|
/// Create or retrieve a <see cref="BeamContext"/> for the given <see cref="PlayerCode"/>. There is only one instance of a context per <see cref="PlayerCode"/>.
|
|
827
834
|
/// A <see cref="BeamableBehaviour"/> is required because the context needs to attach specific Unity components to a GameObject, and the given <see cref="BeamableBehaviour"/>'s GameObject will be used.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
using Beamable.Api.Autogenerated.EventPlayers;
|
|
1
2
|
using Beamable.Common;
|
|
2
3
|
using Beamable.Common.Api;
|
|
3
4
|
using Beamable.Common.Api.Events;
|
|
4
5
|
using Beamable.Common.Dependencies;
|
|
5
6
|
using System;
|
|
7
|
+
using ConverterExtensions = Beamable.Api.Autogenerated.Models.LegacyConverterExtensions;
|
|
6
8
|
|
|
7
9
|
namespace Beamable.Api.Events
|
|
8
10
|
{
|
|
@@ -38,9 +40,10 @@ namespace Beamable.Api.Events
|
|
|
38
40
|
/// </summary>
|
|
39
41
|
public class EventsService : AbsEventsApi, IHasPlatformSubscriber<EventSubscription, EventsGetResponse, EventsGetResponse>
|
|
40
42
|
{
|
|
43
|
+
|
|
41
44
|
public EventSubscription Subscribable { get; }
|
|
42
45
|
|
|
43
|
-
public EventsService(
|
|
46
|
+
public EventsService(IDependencyProvider provider, IEventPlayersApi eventPlayersApi, IUserContext userContext) : base(eventPlayersApi, userContext)
|
|
44
47
|
{
|
|
45
48
|
Subscribable = new EventSubscription(provider);
|
|
46
49
|
}
|
|
@@ -99,7 +102,10 @@ namespace Beamable.Api.Events
|
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
|
|
102
|
-
public override Promise<EventsGetResponse> GetCurrent(string scope = "")
|
|
105
|
+
public override Promise<EventsGetResponse> GetCurrent(string scope = "")
|
|
106
|
+
{
|
|
107
|
+
return EventPlayersApi.ObjectGet(UserContext.UserId).Map(ConverterExtensions.ToLegacy);
|
|
108
|
+
}
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
public class TryEventClaimResponse
|
|
@@ -2,6 +2,8 @@ using Beamable.Common;
|
|
|
2
2
|
using Beamable.Common.Api;
|
|
3
3
|
using Beamable.Common.Api.Inventory;
|
|
4
4
|
using Beamable.Common.Dependencies;
|
|
5
|
+
using System;
|
|
6
|
+
using IInventoryApi = Beamable.Api.Autogenerated.Inventory.IInventoryApi;
|
|
5
7
|
|
|
6
8
|
namespace Beamable.Api.Inventory
|
|
7
9
|
{
|
|
@@ -120,17 +122,19 @@ namespace Beamable.Api.Inventory
|
|
|
120
122
|
{
|
|
121
123
|
public InventorySubscription Subscribable { get; }
|
|
122
124
|
|
|
123
|
-
public InventoryService(IDependencyProvider provider, InventorySubscription subscription) : base(provider.GetService<
|
|
125
|
+
public InventoryService(IDependencyProvider provider, InventorySubscription subscription) : base(provider.GetService<IInventoryApi>(), provider.GetService<IUserContext>())
|
|
124
126
|
{
|
|
125
127
|
Subscribable = subscription;
|
|
126
128
|
}
|
|
127
129
|
|
|
128
|
-
public InventoryService(IDependencyProvider provider) : base(provider.GetService<
|
|
130
|
+
public InventoryService(IDependencyProvider provider) : base(provider.GetService<IInventoryApi>(), provider.GetService<IUserContext>())
|
|
129
131
|
{
|
|
130
132
|
Subscribable = new InventorySubscription(provider);
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
|
|
135
|
+
[Obsolete("This constructor is deprecated and kept only for backward compatibility. Use InventoryService(IDependencyProvider provider) or InventoryService(IDependencyProvider provider, InventorySubscription subscription) instead.")]
|
|
136
|
+
|
|
137
|
+
public InventoryService(IPlatformService platform, IBeamableRequester requester, IDependencyProvider provider) : base(provider.GetService<IInventoryApi>(), platform)
|
|
134
138
|
{
|
|
135
139
|
Subscribable = new InventorySubscription(provider);
|
|
136
140
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
"environment": "
|
|
1
|
+
{
|
|
2
|
+
"environment": "staging",
|
|
3
3
|
"apiUrl": "https://api.beamable.com",
|
|
4
4
|
"portalUrl": "https://portal.beamable.com",
|
|
5
5
|
"beamMongoExpressUrl": "https://storage.beamable.com",
|
|
6
6
|
"dockerRegistryUrl": "https://microservices.beamable.com/v2/",
|
|
7
7
|
"isUnityVsp": "false",
|
|
8
|
-
"sdkVersion": "5.0.
|
|
8
|
+
"sdkVersion": "5.1.0-PREVIEW.RC2"
|
|
9
9
|
}
|