com.beamable 5.0.0-PREVIEW.RC2 → 5.0.0-PREVIEW.RC4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.attestation.p7m +0 -0
- package/CHANGELOG.md +5 -0
- 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 +2 -2
- 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 +2 -2
- package/Common/Runtime/Api/Inventory/InventoryApi.cs +2 -2
- package/Common/Runtime/Api/Inventory/InventoryUpdateBuilder.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/ILeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/LeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/ILobbyApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Lobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyNotification.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyPlayer.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyRestriction.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyService.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyUtils.cs +2 -2
- package/Common/Runtime/Api/Lobbies/NotInLobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/AddTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/CreateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinByPasscodeRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveFromLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/UpdateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Mail/AbsMailApi.cs +2 -2
- package/Common/Runtime/Api/Mail/IMailApi.cs +2 -2
- package/Common/Runtime/Api/Notifications/INotificationService.cs +2 -2
- package/Common/Runtime/Api/Notifications/PrimitiveStringPayload.cs +2 -2
- package/Common/Runtime/Api/Parties/IPartyApi.cs +2 -2
- package/Common/Runtime/Api/Parties/NotInParty.cs +2 -2
- package/Common/Runtime/Api/Parties/Party.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyNotifications.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyRestriction.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyService.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/CreatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PartyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PlayerRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/UpdatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Payments/IPaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Payments/PaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Presence/IPresenceApi.cs +2 -2
- package/Common/Runtime/Api/Presence/PresenceService.cs +2 -2
- package/Common/Runtime/Api/Push/IPushApi.cs +2 -2
- package/Common/Runtime/Api/QueryBuilder.cs +2 -2
- package/Common/Runtime/Api/Realms/IAliasService.cs +2 -2
- package/Common/Runtime/Api/Realms/IRealmApi.cs +2 -2
- package/Common/Runtime/Api/Realms/RealmService.cs +2 -2
- package/Common/Runtime/Api/SignedRequesterHelper.cs +2 -2
- package/Common/Runtime/Api/Social/ISocialApi.cs +2 -2
- package/Common/Runtime/Api/Social/SocialApi.cs +2 -2
- package/Common/Runtime/Api/Stats/AbsStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/IStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsAccessType.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsApiHelper.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsDomainType.cs +2 -2
- package/Common/Runtime/Api/Tournaments/ITournamentApi.cs +2 -2
- package/Common/Runtime/Api/Tournaments/TournamentApi.cs +2 -2
- package/Common/Runtime/BeamCli/CliContractTypeAttribute.cs +2 -2
- package/Common/Runtime/BeamCli/CliOtelData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CliLogMessage.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CollectorStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/Constants.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotActionType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifest.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifestEntry.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestAuthor.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestProjectData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/TagStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/EnvironmentVersionData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/GenerateEnvOutput.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ServiceInfo.cs +2 -2
- package/Common/Runtime/BeamCli/ErrorOutput.cs +2 -2
- package/Common/Runtime/BeamCli/IBeamCommand.cs +2 -2
- package/Common/Runtime/BeamCli/Reporting.cs +2 -2
- package/Common/Runtime/BeamCli/ServiceInfoHelper.cs +2 -2
- package/Common/Runtime/BeamGenerateSchemaAttribute.cs +2 -2
- package/Common/Runtime/BeamableColorUtil.cs +2 -2
- package/Common/Runtime/BeamableEnumExtensions.cs +2 -2
- package/Common/Runtime/BeamableTaskExtensions.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentBag.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentDictionary.cs +2 -2
- package/Common/Runtime/Constants/Constants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ArchiveConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ConfigConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentManagerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/CronConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/DockerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/EnvironmentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/LoginBaseConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/MigrationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/NotificationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/OtelConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/RequesterConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/SchedulesConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ServiceConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/SpewConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TestingToolConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolbarConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolboxConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TooltipConstants.cs +2 -2
- package/Common/Runtime/Content/ClientContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ClientManifest.cs +2 -2
- package/Common/Runtime/Content/ClientPermissions.cs +2 -2
- package/Common/Runtime/Content/ContentCorruptedException.cs +2 -2
- package/Common/Runtime/Content/ContentDataInfo.cs +2 -2
- package/Common/Runtime/Content/ContentDeserializationException.cs +2 -2
- package/Common/Runtime/Content/ContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentFilterType.cs +2 -2
- package/Common/Runtime/Content/ContentNotFoundException.cs +2 -2
- package/Common/Runtime/Content/ContentObject.cs +3 -3
- package/Common/Runtime/Content/ContentQuery.cs +2 -2
- package/Common/Runtime/Content/ContentQueryExtensions.cs +2 -2
- package/Common/Runtime/Content/ContentRef.cs +2 -2
- package/Common/Runtime/Content/ContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ContentTypeAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentTypeReflectionCache.cs +2 -2
- package/Common/Runtime/Content/ContentVisibility.cs +2 -2
- package/Common/Runtime/Content/Federation.cs +2 -2
- package/Common/Runtime/Content/IContentObject.cs +2 -2
- package/Common/Runtime/Content/IContentService.cs +2 -2
- package/Common/Runtime/Content/IIgnoreSerializationCallbacks.cs +2 -2
- package/Common/Runtime/Content/IgnoreContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/Optionals.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/FilePathSelectorAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/HideUnlessServerPackageInstalled.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ReadonlyIfAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ShowOnlyAttribute.cs +2 -2
- package/Common/Runtime/Content/RenderAsRefAttribute.cs +2 -2
- package/Common/Runtime/Content/SerializableDictionary.cs +2 -2
- package/Common/Runtime/Content/Utility/DateUtility.cs +2 -2
- package/Common/Runtime/Content/Validation/AggregateContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeBlank.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeEmpty.cs +2 -2
- package/Common/Runtime/Content/Validation/ContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/FederationMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeComparatorString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrency.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrencyOrItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeDateString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeLeaderboard.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonDefault.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonNegative.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeOneOf.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBePositive.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeSlugString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeTimeSpanDuration.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeValidCron.cs +2 -2
- package/Common/Runtime/Content/Validation/MustContain.cs +2 -2
- package/Common/Runtime/Content/Validation/MustReferenceContent.cs +2 -2
- package/Common/Runtime/Content/Validation/RouteParametersMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/ServiceRouteMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/TimeSpanDisplayAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationContext.cs +2 -2
- package/Common/Runtime/CronExpression/CronLocale.cs +2 -2
- package/Common/Runtime/CronExpression/ErrorData.cs +2 -2
- package/Common/Runtime/CronExpression/ExpressionParser.cs +2 -2
- package/Common/Runtime/CronExpression/Options.cs +2 -2
- package/Common/Runtime/Debug.cs +2 -2
- package/Common/Runtime/DefaultQuery.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyBuilder.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyProvider.cs +2 -2
- package/Common/Runtime/Dependencies/Exceptions.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyList.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyNameProvider.cs +2 -2
- package/Common/Runtime/Dependencies/RegisterBeamableDependenciesAttribute.cs +2 -2
- package/Common/Runtime/Dependencies/ServiceStorage.cs +2 -2
- package/Common/Runtime/Dependencies/Utils.cs +2 -2
- package/Common/Runtime/DocUtils.cs +2 -2
- package/Common/Runtime/Environment/PackageVersion.cs +2 -2
- package/Common/Runtime/Federation/FederatedGameServer.cs +2 -2
- package/Common/Runtime/Federation/FederatedInventory.cs +2 -2
- package/Common/Runtime/Federation/FederatedLogin.cs +2 -2
- package/Common/Runtime/Federation/FederatedPlayerInit.cs +2 -2
- package/Common/Runtime/Federation/Federation.cs +2 -2
- package/Common/Runtime/IRuntimeConfigProvider.cs +2 -2
- package/Common/Runtime/ISearchableElement.cs +2 -2
- package/Common/Runtime/JsonSerializable/DeleteStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/DiffStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonData.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSerializable.cs +2 -2
- package/Common/Runtime/JsonSerializable/LoadStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/MessagePackStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/SaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/TypeLookupFactory.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementApiContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementRef.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarContent.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationContentRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationsContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/VipContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardRef.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ApiContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EmailContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EventContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/PlayerReward.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleDefinition.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleExtensions.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/SimGameType.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingLink.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingRef.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKUContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKURef.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreRef.cs +2 -2
- package/Common/Runtime/Modules/Steam/ISteamService.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentColorConstants.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentContent.cs +2 -2
- package/Common/Runtime/ObjectExtensions.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAdmin.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAdminCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuth.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuthCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamo.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +157 -85
- package/Common/Runtime/OpenApi/BeamCustomerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamLobby.gs.cs +320 -318
- package/Common/Runtime/OpenApi/BeamLobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailbox.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailboxCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMatchmaking.gs.cs +169 -169
- package/Common/Runtime/OpenApi/BeamMatchmakingCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamParty.gs.cs +247 -219
- package/Common/Runtime/OpenApi/BeamPartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayer.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobby.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerparty.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerpartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticket.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticketCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPresence.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +6 -6
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplanCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceObject.gs.cs +7 -7
- package/Common/Runtime/OpenApi/ContentBasic.gs.cs +2 -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 +7 -7
- 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 +54 -34
- 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 +366 -187
- package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/NotificationBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsObject.gs.cs +4 -4
- 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 +6 -6
- package/Common/Runtime/OpenApi/RealmsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/BeamoExtensions.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/LegacyConverterExtensions.cs +2 -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 +2 -2
- package/Common/Runtime/ReflectionCache/BeamContextSystemAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/INamingAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/IReflectionAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/PreserveAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_Attributes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_BaseTypes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_SignatureMatching.cs +2 -2
- package/Common/Runtime/Scheduler/BeamScheduler.cs +2 -2
- package/Common/Runtime/Scheduler/Cron.cs +2 -2
- package/Common/Runtime/Scheduler/CronValidation.cs +2 -2
- package/Common/Runtime/Semantics/ServiceName.cs +2 -2
- package/Common/Runtime/SmallerJSON/IRawJsonProvider.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.ArrayDict.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.FromString.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.cs +2 -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/BeamCli.cs +25 -23
- package/Editor/BeamCli/BeamCommand.cs +5 -2
- package/Editor/BeamCli/BeamWebCommand.cs +2 -2
- package/Editor/BeamCli/Extensions/DiscoveryExtensions.cs +17 -1
- package/Editor/BeamCli/UI/BeamCliWindow_Commands.cs +80 -53
- package/Editor/ContentService/CliContentService.cs +5 -9
- package/Editor/Server/Usam/UsamService.cs +3 -1
- package/Editor/UI/AccountWindow/AccountWindow.cs +3 -2
- package/Editor/UI/ContentWindow/ContentWindow_ItemsPanel.cs +31 -19
- package/Editor/Utility/UnityOtelManager.cs +6 -2
- package/Runtime/Environment/Resources/env-default.json +1 -1
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ namespace Beamable.Editor.BeamCli.Commands
|
|
|
26
26
|
|
|
27
27
|
public Action<BeamArgs> argModifier = null;
|
|
28
28
|
public Stack<Action<BeamArgs>> argStackModifier = new Stack<Action<BeamArgs>>();
|
|
29
|
+
private readonly BeamCli _beamCli;
|
|
29
30
|
|
|
30
31
|
public void ModifierNextDefault(Action<BeamArgs> modifier) => argStackModifier.Push(modifier);
|
|
31
32
|
|
|
@@ -43,9 +44,10 @@ namespace Beamable.Editor.BeamCli.Commands
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
public BeamCommands(IBeamCommandFactory factory)
|
|
47
|
+
public BeamCommands(IBeamCommandFactory factory, BeamCli beamCli)
|
|
47
48
|
{
|
|
48
49
|
_factory = factory;
|
|
50
|
+
_beamCli = beamCli;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
public IBeamCommand CreateCustom(string args)
|
|
@@ -73,7 +75,8 @@ namespace Beamable.Editor.BeamCli.Commands
|
|
|
73
75
|
emitLogStreams = true,
|
|
74
76
|
engine = "unity",
|
|
75
77
|
engineVersion = Application.unityVersion,
|
|
76
|
-
engineSdkVersion = BeamableEnvironment.SdkVersion.ToString()
|
|
78
|
+
engineSdkVersion = BeamableEnvironment.SdkVersion.ToString(),
|
|
79
|
+
preferRemoteFederation = _beamCli.CurrentRealm?.IsProduction ?? false
|
|
77
80
|
};
|
|
78
81
|
return beamArgs;
|
|
79
82
|
}
|
|
@@ -96,13 +96,13 @@ namespace Beamable.Editor.BeamCli
|
|
|
96
96
|
public BeamWebCommandFactory(
|
|
97
97
|
BeamableDispatcher dispatcher,
|
|
98
98
|
BeamWebCliCommandHistory history,
|
|
99
|
-
BeamWebCommandFactoryOptions options)
|
|
99
|
+
BeamWebCommandFactoryOptions options, BeamCli beamCli)
|
|
100
100
|
{
|
|
101
101
|
this.dispatcher = dispatcher;
|
|
102
102
|
_history = history;
|
|
103
103
|
_options = options;
|
|
104
104
|
processFactory = new BeamCommandFactory(dispatcher);
|
|
105
|
-
processCommands = new BeamCommands(processFactory);
|
|
105
|
+
processCommands = new BeamCommands(processFactory, beamCli);
|
|
106
106
|
_options.port = _options.startPortOverride.GetOrElse(8432);
|
|
107
107
|
|
|
108
108
|
dispatcher.Run("cli-server-discovery", ServerDiscoveryLoop());
|
|
@@ -8,8 +8,24 @@ namespace Beamable.Editor.BeamCli.Extensions
|
|
|
8
8
|
{
|
|
9
9
|
public static bool IsLocal(this BeamServiceInstance instance)
|
|
10
10
|
{
|
|
11
|
-
return instance.latestHostEvent != null
|
|
11
|
+
return (instance.latestHostEvent != null && instance.latestHostEvent.IsValid()) ||
|
|
12
|
+
(instance.latestDockerEvent != null && instance.latestDockerEvent.IsValid());
|
|
12
13
|
}
|
|
14
|
+
|
|
15
|
+
public static bool IsValid(this BeamDockerServiceDescriptor instance)
|
|
16
|
+
{
|
|
17
|
+
return !string.IsNullOrEmpty(instance.containerId)
|
|
18
|
+
|| !string.IsNullOrEmpty(instance.routingKey)
|
|
19
|
+
|| !string.IsNullOrEmpty(instance.service)
|
|
20
|
+
|| !string.IsNullOrEmpty(instance.serviceType);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public static bool IsValid(this BeamHostServiceDescriptor instance)
|
|
24
|
+
{
|
|
25
|
+
return !string.IsNullOrEmpty(instance.service)
|
|
26
|
+
|| !string.IsNullOrEmpty(instance.routingKey);
|
|
27
|
+
}
|
|
28
|
+
|
|
13
29
|
public static bool IsRemote(this BeamServiceInstance instance)
|
|
14
30
|
{
|
|
15
31
|
return instance.latestRemoteEvent != null;
|
|
@@ -48,10 +48,12 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
48
48
|
public CommandStatusFilterView completedFilter = new CommandStatusFilterView();
|
|
49
49
|
public CommandStatusFilterView errorFilter = new CommandStatusFilterView();
|
|
50
50
|
public CommandStatusFilterView lostFilter = new CommandStatusFilterView();
|
|
51
|
+
public CommandStatusFilterView createdFilter = new CommandStatusFilterView();
|
|
51
52
|
|
|
52
53
|
|
|
53
54
|
public enum CommandStatus
|
|
54
55
|
{
|
|
56
|
+
Created,
|
|
55
57
|
Running,
|
|
56
58
|
Completed,
|
|
57
59
|
Error,
|
|
@@ -60,6 +62,7 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
60
62
|
|
|
61
63
|
private readonly Dictionary<CommandStatus, string> commandsStatusIconMap = new Dictionary<CommandStatus, string>()
|
|
62
64
|
{
|
|
65
|
+
{CommandStatus.Created, "sv_icon_dot0_sml"},
|
|
63
66
|
{CommandStatus.Running, "sv_icon_dot13_sml"},
|
|
64
67
|
{CommandStatus.Completed, "sv_icon_dot11_sml"},
|
|
65
68
|
{CommandStatus.Error, "sv_icon_dot14_sml"},
|
|
@@ -122,6 +125,7 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
122
125
|
DrawCommandStatusFilter(CommandStatus.Completed, completedFilter);
|
|
123
126
|
DrawCommandStatusFilter(CommandStatus.Error, errorFilter);
|
|
124
127
|
DrawCommandStatusFilter(CommandStatus.Lost, lostFilter);
|
|
128
|
+
DrawCommandStatusFilter(CommandStatus.Created, createdFilter);
|
|
125
129
|
|
|
126
130
|
EditorGUILayout.EndHorizontal();
|
|
127
131
|
|
|
@@ -327,6 +331,7 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
327
331
|
public List<CommandDescriptionView> FilterCommands()
|
|
328
332
|
{
|
|
329
333
|
var lostCount = 0;
|
|
334
|
+
var createdCount = 0;
|
|
330
335
|
var completedCount = 0;
|
|
331
336
|
var runningCount = 0;
|
|
332
337
|
var errorCount = 0;
|
|
@@ -338,75 +343,92 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
338
343
|
var parsedCommand = ParseCommandString(commandDescriptor.commandString);
|
|
339
344
|
var status = GetCommandStatus(commandDescriptor);
|
|
340
345
|
|
|
341
|
-
|
|
346
|
+
switch (status)
|
|
342
347
|
{
|
|
343
|
-
|
|
348
|
+
case CommandStatus.Running:
|
|
344
349
|
{
|
|
345
|
-
|
|
350
|
+
if (runningFilter.enabled)
|
|
346
351
|
{
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
if (runningFilter.enabled)
|
|
352
|
+
filteredList.Add(new CommandDescriptionView()
|
|
353
|
+
{
|
|
354
|
+
command = parsedCommand.command,
|
|
355
|
+
timeStamp = TimeDisplayUtil.GetLogDisplayTime(commandDescriptor.createdTime),
|
|
356
|
+
status = status,
|
|
357
|
+
id = commandDescriptor.id,
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
runningCount++;
|
|
362
|
+
} break;
|
|
363
|
+
case CommandStatus.Created:
|
|
360
364
|
{
|
|
361
|
-
|
|
365
|
+
if (createdFilter.enabled)
|
|
362
366
|
{
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
if (completedFilter.enabled)
|
|
367
|
+
filteredList.Add(new CommandDescriptionView()
|
|
368
|
+
{
|
|
369
|
+
command = parsedCommand.command,
|
|
370
|
+
timeStamp = TimeDisplayUtil.GetLogDisplayTime(commandDescriptor.createdTime),
|
|
371
|
+
status = status,
|
|
372
|
+
id = commandDescriptor.id,
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
createdCount++;
|
|
377
|
+
} break;
|
|
378
|
+
case CommandStatus.Error:
|
|
376
379
|
{
|
|
377
|
-
|
|
380
|
+
if (errorFilter.enabled)
|
|
378
381
|
{
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
382
|
+
filteredList.Add(new CommandDescriptionView()
|
|
383
|
+
{
|
|
384
|
+
command = parsedCommand.command,
|
|
385
|
+
timeStamp = TimeDisplayUtil.GetLogDisplayTime(commandDescriptor.createdTime),
|
|
386
|
+
status = status,
|
|
387
|
+
id = commandDescriptor.id,
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
errorCount++;
|
|
392
|
+
} break;
|
|
393
|
+
case CommandStatus.Lost:
|
|
394
|
+
{
|
|
395
|
+
if (lostFilter.enabled)
|
|
396
|
+
{
|
|
397
|
+
filteredList.Add(new CommandDescriptionView()
|
|
398
|
+
{
|
|
399
|
+
command = parsedCommand.command,
|
|
400
|
+
timeStamp = TimeDisplayUtil.GetLogDisplayTime(commandDescriptor.createdTime),
|
|
401
|
+
status = status,
|
|
402
|
+
id = commandDescriptor.id,
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
lostCount++;
|
|
407
|
+
} break;
|
|
408
|
+
case CommandStatus.Completed:
|
|
392
409
|
{
|
|
393
|
-
|
|
410
|
+
if (completedFilter.enabled)
|
|
394
411
|
{
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
412
|
+
filteredList.Add(new CommandDescriptionView()
|
|
413
|
+
{
|
|
414
|
+
command = parsedCommand.command,
|
|
415
|
+
timeStamp = TimeDisplayUtil.GetLogDisplayTime(commandDescriptor.createdTime),
|
|
416
|
+
status = status,
|
|
417
|
+
id = commandDescriptor.id,
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
completedCount++;
|
|
422
|
+
} break;
|
|
403
423
|
}
|
|
424
|
+
|
|
404
425
|
}
|
|
405
426
|
|
|
406
427
|
errorFilter.count = errorCount;
|
|
407
428
|
completedFilter.count = completedCount;
|
|
408
429
|
runningFilter.count = runningCount;
|
|
409
430
|
lostFilter.count = lostCount;
|
|
431
|
+
createdFilter.count = createdCount;
|
|
410
432
|
|
|
411
433
|
return filteredList;
|
|
412
434
|
}
|
|
@@ -481,6 +503,11 @@ namespace Beamable.Editor.BeamCli.UI
|
|
|
481
503
|
return command.errors.Count > 0 ? CommandStatus.Error : CommandStatus.Completed;
|
|
482
504
|
}
|
|
483
505
|
|
|
506
|
+
if (command.startTime < 0)
|
|
507
|
+
{
|
|
508
|
+
return CommandStatus.Created;
|
|
509
|
+
}
|
|
510
|
+
|
|
484
511
|
return CommandStatus.Running;
|
|
485
512
|
}
|
|
486
513
|
|
|
@@ -97,10 +97,10 @@ namespace Beamable.Editor.ContentService
|
|
|
97
97
|
string propertiesJson = ClientContentSerializer.SerializeProperties(selectedContentObject);
|
|
98
98
|
bool hasValidationError = selectedContentObject.HasValidationErrors(GetValidationContext(), out List<string> _);
|
|
99
99
|
UpdateContentValidationStatus(selectedContentObject.Id, hasValidationError);
|
|
100
|
-
SaveContent(selectedContentObject.Id, propertiesJson);
|
|
100
|
+
SaveContent(selectedContentObject.Id, propertiesJson, () => SetContentTags(selectedContentObject.Id, selectedContentObject.Tags));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
public void SaveContent(string contentId, string contentPropertiesJson)
|
|
103
|
+
public void SaveContent(string contentId, string contentPropertiesJson, Action onCompleted = null)
|
|
104
104
|
{
|
|
105
105
|
var saveCommand = _cli.ContentSave(new ContentSaveArgs()
|
|
106
106
|
{
|
|
@@ -108,7 +108,7 @@ namespace Beamable.Editor.ContentService
|
|
|
108
108
|
contentIds = new[] {contentId},
|
|
109
109
|
contentProperties = new[] {contentPropertiesJson}
|
|
110
110
|
});
|
|
111
|
-
saveCommand.Run();
|
|
111
|
+
saveCommand.Run().Then(_ => { onCompleted?.Invoke(); });
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
public async Task<BeamContentSnapshotListResult> GetContentSnapshots()
|
|
@@ -340,6 +340,8 @@ namespace Beamable.Editor.ContentService
|
|
|
340
340
|
AddContentToCache(entry);
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
+
ManifestChangedCount++;
|
|
344
|
+
|
|
343
345
|
BeamUnityFileUtils.RenameFile(originalPath, fullName);
|
|
344
346
|
|
|
345
347
|
return newFullId;
|
|
@@ -387,12 +389,6 @@ namespace Beamable.Editor.ContentService
|
|
|
387
389
|
{
|
|
388
390
|
EditorUtility.DisplayProgressBar(PUBLISH_OPERATION_TITLE, "Publishing contents...", 0);
|
|
389
391
|
publishedContents = 0;
|
|
390
|
-
|
|
391
|
-
if (_contentWatcher != null)
|
|
392
|
-
{
|
|
393
|
-
_contentWatcher.Cancel();
|
|
394
|
-
_contentWatcher = null;
|
|
395
|
-
}
|
|
396
392
|
|
|
397
393
|
try
|
|
398
394
|
{
|
|
@@ -392,6 +392,8 @@ namespace Beamable.Server.Editor.Usam
|
|
|
392
392
|
|
|
393
393
|
public void ListenForStatus()
|
|
394
394
|
{
|
|
395
|
+
if (_ctx.BeamCli.IsLoggedOut) return;
|
|
396
|
+
|
|
395
397
|
if (_watchCommand != null)
|
|
396
398
|
{
|
|
397
399
|
_watchCommand.Cancel();
|
|
@@ -814,7 +816,7 @@ namespace Beamable.Server.Editor.Usam
|
|
|
814
816
|
|
|
815
817
|
void StopStorage(BeamManifestStorageEntry storage)
|
|
816
818
|
{
|
|
817
|
-
var stopCommand = _cli.
|
|
819
|
+
var stopCommand = _cli.ProjectStop(new ()
|
|
818
820
|
{
|
|
819
821
|
ids = new string[] {storage.beamoId},
|
|
820
822
|
});
|
|
@@ -19,7 +19,8 @@ namespace Beamable.Editor.Accounts
|
|
|
19
19
|
public BeamEditorContext context;
|
|
20
20
|
|
|
21
21
|
private GUIStyle _errorStyle;
|
|
22
|
-
private static readonly Vector2
|
|
22
|
+
private static readonly Vector2 LoggedWindowMinSize = new(630, 660);
|
|
23
|
+
private static readonly Vector2 WindowMinSize = new(330, 660);
|
|
23
24
|
|
|
24
25
|
[MenuItem(
|
|
25
26
|
Constants.MenuItems.Windows.Paths.MENU_ITEM_PATH_WINDOW_BEAMABLE + "/" +
|
|
@@ -96,7 +97,7 @@ namespace Beamable.Editor.Accounts
|
|
|
96
97
|
}
|
|
97
98
|
else
|
|
98
99
|
{
|
|
99
|
-
minSize =
|
|
100
|
+
minSize = LoggedWindowMinSize;
|
|
100
101
|
Draw_SignedIn();
|
|
101
102
|
}
|
|
102
103
|
}
|
|
@@ -690,14 +690,21 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
690
690
|
|
|
691
691
|
if (shouldShowMenu)
|
|
692
692
|
{
|
|
693
|
-
// AddDelayedAction(() =>
|
|
694
693
|
var evt = Event.current;
|
|
695
|
-
var
|
|
694
|
+
var screenMousePosition = GUIUtility.GUIToScreenPoint(evt.mousePosition);
|
|
696
695
|
Event.current.Use();
|
|
697
696
|
Repaint();
|
|
698
|
-
|
|
697
|
+
// Fix: https://github.com/beamable/BeamableProduct/issues/4479
|
|
698
|
+
// We need to do a double-delay call to ensure that the ActiveSelected items will be properly drawn as
|
|
699
|
+
// selected, the second delay is necessary because when setting the Selection.activeObject Unity forces
|
|
700
|
+
// a repaint, but the IMGUI can still access the old selection state.
|
|
701
|
+
// So we need to wait another frame to make it right
|
|
702
|
+
EditorApplication.delayCall += () =>
|
|
703
|
+
{
|
|
704
|
+
Repaint();
|
|
705
|
+
EditorApplication.delayCall += () => ShowItemOptionsMenu(screenMousePosition);
|
|
706
|
+
};
|
|
699
707
|
return;
|
|
700
|
-
|
|
701
708
|
}
|
|
702
709
|
|
|
703
710
|
|
|
@@ -714,7 +721,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
714
721
|
Repaint();
|
|
715
722
|
}
|
|
716
723
|
|
|
717
|
-
private void ShowItemOptionsMenu(Vector2
|
|
724
|
+
private void ShowItemOptionsMenu(Vector2 screenPosition)
|
|
718
725
|
{
|
|
719
726
|
GenericMenu menu = new GenericMenu();
|
|
720
727
|
|
|
@@ -746,18 +753,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
746
753
|
() => { InternalEditorUtility.OpenFileAtLineExternal(entry.JsonFilePath, 1); });
|
|
747
754
|
menu.AddItem(new GUIContent("Duplicate Item"), false, () =>
|
|
748
755
|
{
|
|
749
|
-
|
|
750
|
-
{
|
|
751
|
-
var duplicatedObject = Instantiate(contentObject);
|
|
752
|
-
string baseName = $"{contentObject.ContentName}_Copy";
|
|
753
|
-
int itemsWithBaseNameCount = _contentService.GetContentsFromType(contentObject.GetType())
|
|
754
|
-
.Count(item => item.Name.StartsWith(baseName));
|
|
755
|
-
duplicatedObject.SetContentName($"{baseName}{itemsWithBaseNameCount}");
|
|
756
|
-
duplicatedObject.ContentStatus = ContentStatus.Created;
|
|
757
|
-
_contentService.SaveContent(duplicatedObject);
|
|
758
|
-
Selection.activeObject = duplicatedObject;
|
|
759
|
-
}
|
|
760
|
-
|
|
756
|
+
DuplicateContent(entry);
|
|
761
757
|
});
|
|
762
758
|
|
|
763
759
|
menu.AddItem(new GUIContent("Rename Item"), false, () =>
|
|
@@ -786,7 +782,7 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
786
782
|
});
|
|
787
783
|
}
|
|
788
784
|
|
|
789
|
-
if (entry.StatusEnum is not ContentStatus.UpToDate)
|
|
785
|
+
if (entry.StatusEnum is not ContentStatus.UpToDate and not ContentStatus.Created)
|
|
790
786
|
{
|
|
791
787
|
menu.AddItem(new GUIContent("Revert Item"), false,
|
|
792
788
|
() =>
|
|
@@ -872,7 +868,23 @@ namespace Beamable.Editor.UI.ContentWindow
|
|
|
872
868
|
|
|
873
869
|
}
|
|
874
870
|
|
|
875
|
-
menu.DropDown(new Rect(
|
|
871
|
+
menu.DropDown(new Rect(GUIUtility.ScreenToGUIPoint(screenPosition), Vector2.zero));
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
private void DuplicateContent(LocalContentManifestEntry entry)
|
|
875
|
+
{
|
|
876
|
+
if (_contentService.TryGetContentObject(entry.FullId, out var contentObject))
|
|
877
|
+
{
|
|
878
|
+
var duplicatedObject = Instantiate(contentObject);
|
|
879
|
+
string baseName = $"{contentObject.ContentName}_Copy";
|
|
880
|
+
int itemsWithBaseNameCount = _contentService.GetContentsFromType(contentObject.GetType())
|
|
881
|
+
.Count(item => item.Name.StartsWith(baseName));
|
|
882
|
+
duplicatedObject.SetContentName($"{baseName}{itemsWithBaseNameCount}");
|
|
883
|
+
duplicatedObject.ContentStatus = ContentStatus.Created;
|
|
884
|
+
duplicatedObject.Tags = entry.Tags;
|
|
885
|
+
_contentService.SaveContent(duplicatedObject);
|
|
886
|
+
Selection.activeObject = duplicatedObject;
|
|
887
|
+
}
|
|
876
888
|
}
|
|
877
889
|
|
|
878
890
|
private void StartEditEntryName(LocalContentManifestEntry entry)
|
|
@@ -35,7 +35,8 @@ namespace Beamable.Editor.Utility
|
|
|
35
35
|
private ConcurrentDictionary<string, CliOtelLogRecord> _cachedLogs = new();
|
|
36
36
|
private ConcurrentDictionary<string, List<string>> _cachedTimestamps = new();
|
|
37
37
|
private readonly BeamCommands _cli;
|
|
38
|
-
|
|
38
|
+
private readonly BeamEditorContext _ctx;
|
|
39
|
+
|
|
39
40
|
private List<string> BeamableNamespaces = new()
|
|
40
41
|
{
|
|
41
42
|
"Beamable.Editor",
|
|
@@ -69,9 +70,10 @@ namespace Beamable.Editor.Utility
|
|
|
69
70
|
|
|
70
71
|
public static string UnityOtelLogsFolder => Path.Join(Application.temporaryCachePath, "OtelLogs");
|
|
71
72
|
|
|
72
|
-
public UnityOtelManager(BeamCommands cli)
|
|
73
|
+
public UnityOtelManager(BeamCommands cli, BeamEditorContext ctx)
|
|
73
74
|
{
|
|
74
75
|
_cli = cli;
|
|
76
|
+
_ctx = ctx;
|
|
75
77
|
EditorApplication.update += HandleUpdate;
|
|
76
78
|
Application.logMessageReceived += OnUnityLogReceived;
|
|
77
79
|
Application.wantsToQuit += OnUnityQuitting;
|
|
@@ -148,6 +150,8 @@ namespace Beamable.Editor.Utility
|
|
|
148
150
|
|
|
149
151
|
public async Promise PublishLogs(int maxLogFileCount = 10)
|
|
150
152
|
{
|
|
153
|
+
if (_ctx.BeamCli.IsLoggedOut) return;
|
|
154
|
+
|
|
151
155
|
_lastTimePublished = EditorApplication.timeSinceStartup;
|
|
152
156
|
try
|
|
153
157
|
{
|