com.beamable 5.0.1-PREVIEW.RC3 → 5.0.1
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 +8 -10
- package/Common/README.md +3 -16
- package/Common/Runtime/AgnosticAttribute.cs +2 -2
- package/Common/Runtime/Api/AliasHelper.cs +2 -2
- package/Common/Runtime/Api/Analytics/AnalyticsEventRequest.cs +2 -2
- package/Common/Runtime/Api/Analytics/AnalyticsService.cs +2 -2
- package/Common/Runtime/Api/Analytics/IBeamAnalyticsService.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/CoreEvent.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/IAnalyticsEvent.cs +2 -2
- package/Common/Runtime/Api/Analytics/Models/SampleCustomEvent.cs +2 -2
- package/Common/Runtime/Api/Announcements/AbsAnnouncementsApi.cs +2 -2
- package/Common/Runtime/Api/Announcements/IAnnouncementsApi.cs +2 -2
- package/Common/Runtime/Api/Auth/AuthApi.cs +2 -2
- package/Common/Runtime/Api/Auth/IAuthApi.cs +2 -2
- package/Common/Runtime/Api/Calendars/AbsCalendarApi.cs +2 -2
- package/Common/Runtime/Api/Calendars/ICalendarApi.cs +2 -2
- package/Common/Runtime/Api/Chat/ChatApi.cs +2 -2
- package/Common/Runtime/Api/Chat/IChatApi.cs +2 -2
- package/Common/Runtime/Api/CloudData/CloudDataApi.cs +2 -2
- package/Common/Runtime/Api/CloudData/ICloudDataApi.cs +2 -2
- package/Common/Runtime/Api/CometClientData.cs +2 -2
- package/Common/Runtime/Api/Commerce/ICommerceApi.cs +2 -2
- package/Common/Runtime/Api/Content/IContentApi.cs +2 -2
- package/Common/Runtime/Api/Events/AbsEventsApi.cs +26 -23
- package/Common/Runtime/Api/Events/IEventsApi.cs +2 -2
- package/Common/Runtime/Api/Groups/GroupsApi.cs +2 -2
- package/Common/Runtime/Api/Groups/IGroupsApi.cs +2 -2
- package/Common/Runtime/Api/IAccessToken.cs +2 -2
- package/Common/Runtime/Api/IBeamableFilesystemAccessor.cs +2 -2
- package/Common/Runtime/Api/IBeamableRequester.cs +2 -2
- package/Common/Runtime/Api/IConnectivityChecker.cs +2 -2
- package/Common/Runtime/Api/IHasBeamableRequester.cs +2 -2
- package/Common/Runtime/Api/IServiceRoutingStrategy.cs +2 -2
- package/Common/Runtime/Api/ISupportsGet.cs +2 -2
- package/Common/Runtime/Api/IUserContext.cs +2 -2
- package/Common/Runtime/Api/IUserDataCache.cs +2 -2
- package/Common/Runtime/Api/Inventory/IInventoryApi.cs +4 -71
- package/Common/Runtime/Api/Inventory/InventoryApi.cs +37 -136
- package/Common/Runtime/Api/Inventory/InventoryUpdateBuilder.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/ILeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Leaderboards/LeaderboardApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/ILobbyApi.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Lobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyNotification.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyPlayer.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyRestriction.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyService.cs +2 -2
- package/Common/Runtime/Api/Lobbies/LobbyUtils.cs +2 -2
- package/Common/Runtime/Api/Lobbies/NotInLobby.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/AddTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/CreateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinByPasscodeRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/JoinLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveFromLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/RemoveTagsRequest.cs +2 -2
- package/Common/Runtime/Api/Lobbies/Requests/UpdateLobbyRequest.cs +2 -2
- package/Common/Runtime/Api/Mail/AbsMailApi.cs +2 -2
- package/Common/Runtime/Api/Mail/IMailApi.cs +2 -2
- package/Common/Runtime/Api/Notifications/INotificationService.cs +2 -2
- package/Common/Runtime/Api/Notifications/PrimitiveStringPayload.cs +2 -2
- package/Common/Runtime/Api/Parties/IPartyApi.cs +2 -2
- package/Common/Runtime/Api/Parties/NotInParty.cs +2 -2
- package/Common/Runtime/Api/Parties/Party.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyNotifications.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyRestriction.cs +2 -2
- package/Common/Runtime/Api/Parties/PartyService.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/CreatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PartyQueryResponse.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/PlayerRequest.cs +2 -2
- package/Common/Runtime/Api/Parties/Requests/UpdatePartyRequest.cs +2 -2
- package/Common/Runtime/Api/Payments/IPaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Payments/PaymentsApi.cs +2 -2
- package/Common/Runtime/Api/Presence/IPresenceApi.cs +2 -2
- package/Common/Runtime/Api/Presence/PresenceService.cs +2 -2
- package/Common/Runtime/Api/Push/IPushApi.cs +2 -2
- package/Common/Runtime/Api/QueryBuilder.cs +2 -2
- package/Common/Runtime/Api/Realms/IAliasService.cs +2 -2
- package/Common/Runtime/Api/Realms/IRealmApi.cs +2 -2
- package/Common/Runtime/Api/Realms/RealmService.cs +2 -2
- package/Common/Runtime/Api/SignedRequesterHelper.cs +2 -2
- package/Common/Runtime/Api/Social/ISocialApi.cs +2 -2
- package/Common/Runtime/Api/Social/SocialApi.cs +2 -2
- package/Common/Runtime/Api/Stats/AbsStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/IStatsApi.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsAccessType.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsApiHelper.cs +2 -2
- package/Common/Runtime/Api/Stats/StatsDomainType.cs +2 -2
- package/Common/Runtime/Api/Tournaments/ITournamentApi.cs +2 -2
- package/Common/Runtime/Api/Tournaments/TournamentApi.cs +2 -2
- package/Common/Runtime/BeamCli/CliContractTypeAttribute.cs +2 -2
- package/Common/Runtime/BeamCli/CliOtelData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CliLogMessage.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/CollectorStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/Constants.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotActionType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentSnapshotType.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ContentStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifest.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifestEntry.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestAuthor.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestProjectData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ContentService/TagStatus.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/EnvironmentVersionData.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/GenerateEnvOutput.cs +2 -2
- package/Common/Runtime/BeamCli/Contracts/ServiceInfo.cs +2 -2
- package/Common/Runtime/BeamCli/ErrorOutput.cs +2 -2
- package/Common/Runtime/BeamCli/IBeamCommand.cs +2 -2
- package/Common/Runtime/BeamCli/Reporting.cs +2 -2
- package/Common/Runtime/BeamCli/ServiceInfoHelper.cs +2 -2
- package/Common/Runtime/BeamGenerateSchemaAttribute.cs +2 -2
- package/Common/Runtime/BeamableColorUtil.cs +2 -2
- package/Common/Runtime/BeamableEnumExtensions.cs +2 -2
- package/Common/Runtime/BeamableTaskExtensions.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentBag.cs +2 -2
- package/Common/Runtime/Collections/ConcurrentDictionary.cs +2 -2
- package/Common/Runtime/Constants/Constants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ArchiveConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ConfigConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ContentManagerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/CronConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/DockerConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/EnvironmentConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/LoginBaseConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/MigrationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/NotificationConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/OtelConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/RequesterConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/SchedulesConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ServiceConstants.cs +2 -7
- package/Common/Runtime/Constants/Implementations/SpewConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TestingToolConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolbarConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/ToolboxConstants.cs +2 -2
- package/Common/Runtime/Constants/Implementations/TooltipConstants.cs +2 -2
- package/Common/Runtime/Content/ClientContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ClientManifest.cs +2 -2
- package/Common/Runtime/Content/ClientPermissions.cs +2 -2
- package/Common/Runtime/Content/ContentCorruptedException.cs +2 -2
- package/Common/Runtime/Content/ContentDataInfo.cs +2 -2
- package/Common/Runtime/Content/ContentDeserializationException.cs +2 -2
- package/Common/Runtime/Content/ContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentFilterType.cs +2 -2
- package/Common/Runtime/Content/ContentNotFoundException.cs +2 -2
- package/Common/Runtime/Content/ContentObject.cs +2 -2
- package/Common/Runtime/Content/ContentQuery.cs +2 -2
- package/Common/Runtime/Content/ContentQueryExtensions.cs +2 -2
- package/Common/Runtime/Content/ContentRef.cs +2 -2
- package/Common/Runtime/Content/ContentSerializer.cs +2 -2
- package/Common/Runtime/Content/ContentTypeAttribute.cs +2 -2
- package/Common/Runtime/Content/ContentTypeReflectionCache.cs +2 -2
- package/Common/Runtime/Content/ContentVisibility.cs +2 -2
- package/Common/Runtime/Content/Federation.cs +2 -2
- package/Common/Runtime/Content/IContentObject.cs +2 -2
- package/Common/Runtime/Content/IContentService.cs +2 -2
- package/Common/Runtime/Content/IIgnoreSerializationCallbacks.cs +2 -2
- package/Common/Runtime/Content/IgnoreContentFieldAttribute.cs +2 -2
- package/Common/Runtime/Content/Optionals.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/FilePathSelectorAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/HideUnlessServerPackageInstalled.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ReadonlyIfAttribute.cs +2 -2
- package/Common/Runtime/Content/PropertyAttributes/ShowOnlyAttribute.cs +2 -2
- package/Common/Runtime/Content/RenderAsRefAttribute.cs +2 -2
- package/Common/Runtime/Content/SerializableDictionary.cs +2 -2
- package/Common/Runtime/Content/Utility/DateUtility.cs +2 -2
- package/Common/Runtime/Content/Validation/AggregateContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeBlank.cs +2 -2
- package/Common/Runtime/Content/Validation/CannotBeEmpty.cs +2 -2
- package/Common/Runtime/Content/Validation/ContentValidationException.cs +2 -2
- package/Common/Runtime/Content/Validation/FederationMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeComparatorString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrency.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeCurrencyOrItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeDateString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeItem.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeLeaderboard.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonDefault.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeNonNegative.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeOneOf.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBePositive.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeSlugString.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeTimeSpanDuration.cs +2 -2
- package/Common/Runtime/Content/Validation/MustBeValidCron.cs +2 -2
- package/Common/Runtime/Content/Validation/MustContain.cs +2 -2
- package/Common/Runtime/Content/Validation/MustReferenceContent.cs +2 -2
- package/Common/Runtime/Content/Validation/RouteParametersMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/ServiceRouteMustBeValid.cs +2 -2
- package/Common/Runtime/Content/Validation/TimeSpanDisplayAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationAttribute.cs +2 -2
- package/Common/Runtime/Content/Validation/ValidationContext.cs +2 -2
- package/Common/Runtime/CronExpression/CronLocale.cs +2 -2
- package/Common/Runtime/CronExpression/ErrorData.cs +2 -2
- package/Common/Runtime/CronExpression/ExpressionParser.cs +2 -2
- package/Common/Runtime/CronExpression/Options.cs +2 -2
- package/Common/Runtime/Debug.cs +2 -2
- package/Common/Runtime/DefaultQuery.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyBuilder.cs +2 -2
- package/Common/Runtime/Dependencies/DependencyProvider.cs +2 -12
- package/Common/Runtime/Dependencies/Exceptions.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyList.cs +2 -2
- package/Common/Runtime/Dependencies/IDependencyNameProvider.cs +2 -2
- package/Common/Runtime/Dependencies/RegisterBeamableDependenciesAttribute.cs +2 -2
- package/Common/Runtime/Dependencies/ServiceStorage.cs +2 -2
- package/Common/Runtime/Dependencies/Utils.cs +2 -2
- package/Common/Runtime/DocUtils.cs +2 -2
- package/Common/Runtime/Environment/PackageVersion.cs +2 -2
- package/Common/Runtime/Federation/FederatedGameServer.cs +2 -2
- package/Common/Runtime/Federation/FederatedInventory.cs +2 -2
- package/Common/Runtime/Federation/FederatedLogin.cs +2 -2
- package/Common/Runtime/Federation/FederatedPlayerInit.cs +2 -2
- package/Common/Runtime/Federation/Federation.cs +2 -2
- package/Common/Runtime/IRuntimeConfigProvider.cs +2 -2
- package/Common/Runtime/ISearchableElement.cs +2 -2
- package/Common/Runtime/JsonSerializable/DeleteStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/DiffStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonData.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/JsonSerializable.cs +2 -2
- package/Common/Runtime/JsonSerializable/LoadStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/MessagePackStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/SaveStream.cs +2 -2
- package/Common/Runtime/JsonSerializable/TypeLookupFactory.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementApiContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementContent.cs +2 -2
- package/Common/Runtime/Modules/Announcements/AnnouncementRef.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarContent.cs +2 -2
- package/Common/Runtime/Modules/Calendars/CalendarRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationContentRef.cs +2 -2
- package/Common/Runtime/Modules/Groups/GroupDonationsContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/CurrencyRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemContent.cs +2 -2
- package/Common/Runtime/Modules/Inventory/ItemRef.cs +2 -2
- package/Common/Runtime/Modules/Inventory/VipContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardContent.cs +2 -2
- package/Common/Runtime/Modules/Leaderboards/LeaderboardRef.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ApiContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EmailContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/EventContent.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/PlayerReward.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleDefinition.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/ScheduleExtensions.cs +2 -2
- package/Common/Runtime/Modules/SharedContent/SimGameType.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingLink.cs +2 -2
- package/Common/Runtime/Modules/Shop/ListingRef.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKUContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/SKURef.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreContent.cs +2 -2
- package/Common/Runtime/Modules/Shop/StoreRef.cs +2 -2
- package/Common/Runtime/Modules/Steam/ISteamService.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentColorConstants.cs +2 -2
- package/Common/Runtime/Modules/Tournaments/TournamentContent.cs +2 -2
- package/Common/Runtime/ObjectExtensions.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AccountsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AnnouncementsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/AuthBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAdmin.gs.cs +6 -14
- package/Common/Runtime/OpenApi/BeamAdminCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuth.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamAuthCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamo.gs.cs +38 -136
- package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +8 -32
- package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +84 -184
- package/Common/Runtime/OpenApi/BeamCustomerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamLobby.gs.cs +4 -4
- package/Common/Runtime/OpenApi/BeamLobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMailbox.gs.cs +2 -6
- package/Common/Runtime/OpenApi/BeamMailboxCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamMatchmaking.gs.cs +4 -4
- package/Common/Runtime/OpenApi/BeamMatchmakingCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamParty.gs.cs +6 -6
- package/Common/Runtime/OpenApi/BeamPartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayer.gs.cs +8 -20
- package/Common/Runtime/OpenApi/BeamPlayerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobby.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerlobbyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerparty.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerpartyCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticket.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPlayerticketCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamPresence.gs.cs +2 -6
- package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +42 -90
- package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +6 -22
- package/Common/Runtime/OpenApi/BeamServiceplanCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/BeamoBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CalendarsObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CloudsavingBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/CommerceObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/ContentBasic.gs.cs +2 -21
- package/Common/Runtime/OpenApi/ContentBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Event-playersObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Event-playersObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/EventsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Group-usersObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Group-usersObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/GroupsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/GroupsObjectCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/InventoryObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/LeaderboardsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/LeaderboardsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/LeaderboardsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/MailBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/MailBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/MailObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/Models.gs.cs +9 -322
- package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +2 -21
- package/Common/Runtime/OpenApi/NotificationBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PaymentsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PushBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/PushBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/RealmsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/RealmsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SessionBasic.gs.cs +16 -16
- package/Common/Runtime/OpenApi/SessionBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/SocialBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/StatsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TournamentsObject.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasic.gs.cs +2 -2
- package/Common/Runtime/OpenApi/TrialsBasicCommon.gs.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/BeamoExtensions.cs +2 -2
- package/Common/Runtime/OpenApiExtensions/LegacyConverterExtensions.cs +2 -189
- package/Common/Runtime/OpenApiSystem.cs +2 -2
- package/Common/Runtime/Player/Lazy.cs +2 -2
- package/Common/Runtime/Player/Observables.cs +2 -2
- package/Common/Runtime/Pooling/ClassPool.cs +2 -2
- package/Common/Runtime/Pooling/StringBuilderPool.cs +2 -2
- package/Common/Runtime/Promise.cs +43 -66
- package/Common/Runtime/ReflectionCache/BeamContextSystemAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/INamingAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/IReflectionAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/PreserveAttribute.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_Attributes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_BaseTypes.cs +2 -2
- package/Common/Runtime/ReflectionCache/ReflectionCache_SignatureMatching.cs +2 -2
- package/Common/Runtime/Scheduler/BeamScheduler.cs +2 -2
- package/Common/Runtime/Scheduler/Cron.cs +2 -2
- package/Common/Runtime/Scheduler/CronValidation.cs +2 -2
- package/Common/Runtime/Semantics/ServiceName.cs +4 -25
- package/Common/Runtime/SmallerJSON/IRawJsonProvider.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.ArrayDict.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.FromString.cs +2 -2
- package/Common/Runtime/SmallerJSON/SmallerJSON.cs +2 -226
- package/Common/Runtime/Spew/Logger.cs +2 -2
- package/Common/Runtime/Spew/SpewLoggerAttribute.cs +2 -2
- package/Common/Runtime/Trie.cs +2 -2
- package/Common/Runtime/TypeExtensions.cs +2 -2
- package/Common/Runtime/Util/BeamAssemblyVersionUtil.cs +2 -2
- package/Common/Runtime/Util/BeamFileUtil.cs +2 -2
- package/Common/Runtime/Util/DocsPageHelper.cs +2 -2
- package/Common/Runtime/Util/NaturalStringComparer.cs +2 -2
- package/Editor/BeamCli/Commands/Beam.cs +0 -7
- package/Editor/BeamCli/Commands/BeamDeploymentPlan.cs +0 -7
- package/Editor/BeamCli/Commands/BeamDeploymentRelease.cs +0 -7
- package/Editor/BeamCli/Commands/BeamProjectBuild.cs +0 -7
- package/Editor/BeamCli/Commands/BeamProjectGenerateClientOapi.cs +0 -14
- package/Editor/BeamCli/Extensions/BeamManifestServiceEntry_ComputedTypes.cs +1 -1
- package/Editor/Server/MicroserviceConfiguration.cs +0 -3
- package/Editor/Server/UI/PublishWindow/UsamPublishWindow.cs +1 -5
- package/Editor/Server/Usam/UsamService_GenerateClient.cs +15 -8
- package/Runtime/Core/Platform/SDK/Events/EventsService.cs +2 -8
- package/Runtime/Core/Platform/SDK/Inventory/InventoryService.cs +3 -7
- package/Runtime/Environment/Resources/env-default.json +3 -3
- package/Runtime/Environment/Resources/versions-default.json +1 -1
- package/Runtime/Server/MicroserviceClient.cs +2 -5
- package/Samples~/LightBeamSamples/SceneLoader/Editor/LightBeamBuilds.cs +6 -16
- package/Tests/Runtime/Beamable/Environment/PackageVersionTests/ImplicitConversionTest.cs +2 -2
- package/Tests/Runtime/Beamable/Platform/Inventory/InventoryServiceTests/UpdateTests.cs +2 -4
- package/Tests/Runtime/Beamable/Player/Inventory/GetItemTests.cs +9 -16
- package/package.json +1 -1
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs +0 -16
- package/Common/Runtime/Constants/Implementations/PortalExtensionConstants.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamPlayersession.gs.cs +0 -110
- package/Common/Runtime/OpenApi/BeamPlayersession.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs +0 -45
- package/Common/Runtime/OpenApi/BeamPlayersessionCommon.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamSession.gs.cs +0 -114
- package/Common/Runtime/OpenApi/BeamSession.gs.cs.meta +0 -11
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs +0 -45
- package/Common/Runtime/OpenApi/BeamSessionCommon.gs.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamAccountId.cs +0 -91
- package/Common/Runtime/Semantics/BeamAccountId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamCid.cs +0 -89
- package/Common/Runtime/Semantics/BeamCid.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamContentId.cs +0 -55
- package/Common/Runtime/Semantics/BeamContentId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamContentManifestId.cs +0 -49
- package/Common/Runtime/Semantics/BeamContentManifestId.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamGamerTag.cs +0 -90
- package/Common/Runtime/Semantics/BeamGamerTag.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamPid.cs +0 -49
- package/Common/Runtime/Semantics/BeamPid.cs.meta +0 -11
- package/Common/Runtime/Semantics/BeamStats.cs +0 -62
- package/Common/Runtime/Semantics/BeamStats.cs.meta +0 -11
- package/Common/Runtime/Semantics/IBeamSemanticType.cs +0 -16
- package/Common/Runtime/Semantics/IBeamSemanticType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistory.cs +0 -97
- package/Editor/BeamCli/Commands/BeamContentHistory.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelist.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs +0 -23
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistEntry.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistoryChangelistPage.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs +0 -16
- package/Editor/BeamCli/Commands/BeamContentHistoryCommandEvent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs +0 -15
- package/Editor/BeamCli/Commands/BeamContentHistoryEntriesPage.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs +0 -16
- package/Editor/BeamCli/Commands/BeamContentHistoryEntry.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs +0 -82
- package/Editor/BeamCli/Commands/BeamContentHistoryRestoreContent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs +0 -71
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelist.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistorySyncChangelistCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs +0 -82
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContent.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamContentHistorySyncContentCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs +0 -12
- package/Editor/BeamCli/Commands/BeamListMountSitesCommandResults.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs +0 -12
- package/Editor/BeamCli/Commands/BeamListReplacementTypeCommandOutput.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs +0 -14
- package/Editor/BeamCli/Commands/BeamMountSiteConfig.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs +0 -13
- package/Editor/BeamCli/Commands/BeamMountSiteSelector.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs +0 -55
- package/Editor/BeamCli/Commands/BeamPortalExtensionAddMicroservice.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs +0 -51
- package/Editor/BeamCli/Commands/BeamPortalExtensionListMountSites.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs +0 -63
- package/Editor/BeamCli/Commands/BeamPortalExtensionSetConfig.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs +0 -81
- package/Editor/BeamCli/Commands/BeamProjectAddReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs +0 -58
- package/Editor/BeamCli/Commands/BeamProjectListReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs +0 -114
- package/Editor/BeamCli/Commands/BeamProjectNewPortalExtension.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs +0 -60
- package/Editor/BeamCli/Commands/BeamProjectRemoveReplacementType.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs +0 -12
- package/Editor/BeamCli/Commands/BeamRemotePortalConfiguration.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs +0 -15
- package/Editor/BeamCli/Commands/BeamReplacementTypeInfo.cs.meta +0 -11
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs +0 -11
- package/Editor/BeamCli/Commands/BeamSetPortalExtensionConfigCommandResults.cs.meta +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
#if UNITY_WEBGL
|
|
5
5
|
#define DISABLE_THREADING
|
|
@@ -161,7 +161,6 @@ namespace Beamable.Common
|
|
|
161
161
|
/// <param name="val"></param>
|
|
162
162
|
public void CompleteSuccess(T val)
|
|
163
163
|
{
|
|
164
|
-
Action<T> copyCallbacks;
|
|
165
164
|
lock (_lock)
|
|
166
165
|
{
|
|
167
166
|
if (done)
|
|
@@ -171,19 +170,18 @@ namespace Beamable.Common
|
|
|
171
170
|
|
|
172
171
|
_val = val;
|
|
173
172
|
done = true;
|
|
174
|
-
|
|
173
|
+
try
|
|
174
|
+
{
|
|
175
|
+
_callbacks?.Invoke(val);
|
|
176
|
+
}
|
|
177
|
+
catch (Exception e)
|
|
178
|
+
{
|
|
179
|
+
BeamableLogger.LogException(e);
|
|
180
|
+
}
|
|
181
|
+
|
|
175
182
|
_callbacks = null;
|
|
176
183
|
errbacks = null;
|
|
177
184
|
}
|
|
178
|
-
|
|
179
|
-
try
|
|
180
|
-
{
|
|
181
|
-
copyCallbacks?.Invoke(_val);
|
|
182
|
-
}
|
|
183
|
-
catch (Exception e)
|
|
184
|
-
{
|
|
185
|
-
BeamableLogger.LogException(e);
|
|
186
|
-
}
|
|
187
185
|
}
|
|
188
186
|
|
|
189
187
|
/// <summary>
|
|
@@ -192,8 +190,6 @@ namespace Beamable.Common
|
|
|
192
190
|
/// <param name="ex">exception to complete Promise with</param>
|
|
193
191
|
public void CompleteError(Exception ex)
|
|
194
192
|
{
|
|
195
|
-
Action<Exception> copyErrBacks = null;
|
|
196
|
-
var copyHadAnyErrBacks = false;
|
|
197
193
|
lock (_lock)
|
|
198
194
|
{
|
|
199
195
|
if (done)
|
|
@@ -208,28 +204,25 @@ namespace Beamable.Common
|
|
|
208
204
|
}
|
|
209
205
|
done = true;
|
|
210
206
|
errInfo = ExceptionDispatchInfo.Capture(err);
|
|
211
|
-
|
|
212
|
-
copyErrBacks = errbacks;
|
|
213
|
-
copyHadAnyErrBacks = HadAnyErrbacks;
|
|
214
207
|
|
|
215
|
-
|
|
216
|
-
errbacks = null;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
try
|
|
220
|
-
{
|
|
221
|
-
if (!copyHadAnyErrBacks)
|
|
208
|
+
try
|
|
222
209
|
{
|
|
223
|
-
|
|
210
|
+
if (!HadAnyErrbacks)
|
|
211
|
+
{
|
|
212
|
+
InvokeUncaughtPromise();
|
|
213
|
+
}
|
|
214
|
+
else
|
|
215
|
+
{
|
|
216
|
+
errbacks?.Invoke(ex);
|
|
217
|
+
}
|
|
224
218
|
}
|
|
225
|
-
|
|
219
|
+
catch (Exception e)
|
|
226
220
|
{
|
|
227
|
-
|
|
221
|
+
BeamableLogger.LogException(e);
|
|
228
222
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
BeamableLogger.LogException(e);
|
|
223
|
+
|
|
224
|
+
_callbacks = null;
|
|
225
|
+
errbacks = null;
|
|
233
226
|
}
|
|
234
227
|
}
|
|
235
228
|
|
|
@@ -239,14 +232,20 @@ namespace Beamable.Common
|
|
|
239
232
|
/// <param name="callback"></param>
|
|
240
233
|
public Promise<T> Then(Action<T> callback)
|
|
241
234
|
{
|
|
242
|
-
var shouldInvokeRightNow = false;
|
|
243
235
|
lock (_lock)
|
|
244
236
|
{
|
|
245
237
|
if (done)
|
|
246
238
|
{
|
|
247
239
|
if (err == null)
|
|
248
240
|
{
|
|
249
|
-
|
|
241
|
+
try
|
|
242
|
+
{
|
|
243
|
+
callback(_val);
|
|
244
|
+
}
|
|
245
|
+
catch (Exception e)
|
|
246
|
+
{
|
|
247
|
+
BeamableLogger.LogException(e);
|
|
248
|
+
}
|
|
250
249
|
}
|
|
251
250
|
else
|
|
252
251
|
{
|
|
@@ -263,18 +262,6 @@ namespace Beamable.Common
|
|
|
263
262
|
}
|
|
264
263
|
}
|
|
265
264
|
|
|
266
|
-
if (shouldInvokeRightNow)
|
|
267
|
-
{
|
|
268
|
-
try
|
|
269
|
-
{
|
|
270
|
-
callback.Invoke(_val);
|
|
271
|
-
}
|
|
272
|
-
catch (Exception e)
|
|
273
|
-
{
|
|
274
|
-
BeamableLogger.LogException(e);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
265
|
return this;
|
|
279
266
|
}
|
|
280
267
|
|
|
@@ -305,7 +292,6 @@ namespace Beamable.Common
|
|
|
305
292
|
/// <param name="errback"></param>
|
|
306
293
|
public Promise<T> Error(Action<Exception> errback)
|
|
307
294
|
{
|
|
308
|
-
var shouldRunRightNow = false;
|
|
309
295
|
lock (_lock)
|
|
310
296
|
{
|
|
311
297
|
HadAnyErrbacks = true;
|
|
@@ -313,7 +299,14 @@ namespace Beamable.Common
|
|
|
313
299
|
{
|
|
314
300
|
if (err != null)
|
|
315
301
|
{
|
|
316
|
-
|
|
302
|
+
try
|
|
303
|
+
{
|
|
304
|
+
errback(err);
|
|
305
|
+
}
|
|
306
|
+
catch (Exception e)
|
|
307
|
+
{
|
|
308
|
+
BeamableLogger.LogException(e);
|
|
309
|
+
}
|
|
317
310
|
}
|
|
318
311
|
}
|
|
319
312
|
else
|
|
@@ -322,18 +315,6 @@ namespace Beamable.Common
|
|
|
322
315
|
}
|
|
323
316
|
}
|
|
324
317
|
|
|
325
|
-
if (shouldRunRightNow)
|
|
326
|
-
{
|
|
327
|
-
try
|
|
328
|
-
{
|
|
329
|
-
errback?.Invoke(err);
|
|
330
|
-
}
|
|
331
|
-
catch (Exception e)
|
|
332
|
-
{
|
|
333
|
-
BeamableLogger.LogException(e);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
318
|
return this;
|
|
338
319
|
}
|
|
339
320
|
|
|
@@ -1074,16 +1055,12 @@ namespace Beamable.Common
|
|
|
1074
1055
|
public static Promise<T> RecoverWith<T>(this Promise<T> promise, Func<Exception, Promise<T>> callback)
|
|
1075
1056
|
{
|
|
1076
1057
|
var result = new Promise<T>();
|
|
1077
|
-
promise
|
|
1078
|
-
.Then(value => result.CompleteSuccess(value))
|
|
1079
|
-
.Error(err =>
|
|
1058
|
+
promise.Then(value => result.CompleteSuccess(value)).Error(err =>
|
|
1080
1059
|
{
|
|
1081
1060
|
try
|
|
1082
1061
|
{
|
|
1083
1062
|
var nextPromise = callback(err);
|
|
1084
|
-
nextPromise
|
|
1085
|
-
.Then(value => result.CompleteSuccess(value))
|
|
1086
|
-
.Error(errInner =>
|
|
1063
|
+
nextPromise.Then(value => result.CompleteSuccess(value)).Error(errInner =>
|
|
1087
1064
|
{
|
|
1088
1065
|
result.CompleteError(errInner);
|
|
1089
1066
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using Beamable.Api.Autogenerated.Models;
|
|
5
5
|
using Beamable.Api.Autogenerated.Scheduler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Linq;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Text.RegularExpressions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.BeamCli;
|
|
5
5
|
using System;
|
|
@@ -7,13 +7,10 @@ using System.Text.RegularExpressions;
|
|
|
7
7
|
|
|
8
8
|
namespace Beamable.Common.Semantics
|
|
9
9
|
{
|
|
10
|
-
[CliContractType
|
|
11
|
-
public struct ServiceName
|
|
10
|
+
[CliContractType]
|
|
11
|
+
public struct ServiceName
|
|
12
12
|
{
|
|
13
13
|
public string Value { get; }
|
|
14
|
-
|
|
15
|
-
public string SemanticName => "ServiceName";
|
|
16
|
-
|
|
17
14
|
public ServiceName(string value)
|
|
18
15
|
{
|
|
19
16
|
// if we do not set the value skip checks
|
|
@@ -33,28 +30,10 @@ namespace Beamable.Common.Semantics
|
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
public static implicit operator string(ServiceName d) => d.Value;
|
|
36
|
-
public static implicit operator ServiceName(string s) => new ServiceName(s);
|
|
37
|
-
|
|
38
|
-
public bool Equals(string other)
|
|
39
|
-
{
|
|
40
|
-
return other == Value;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
public bool Equals(ServiceName other)
|
|
44
|
-
{
|
|
45
|
-
return other.Value == Value;
|
|
46
|
-
}
|
|
47
33
|
|
|
48
34
|
public override string ToString()
|
|
49
35
|
{
|
|
50
36
|
return Value;
|
|
51
37
|
}
|
|
52
|
-
|
|
53
|
-
public string ToJson()
|
|
54
|
-
{
|
|
55
|
-
return $"\"{Value}\"";
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
public Type OpenApiType => typeof(string);
|
|
59
38
|
}
|
|
60
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
namespace Beamable.Serialization.SmallerJSON
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
5
5
|
// a copy of this software and associated documentation files (the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
* Simplified fork of MiniJSON optimized to minimize heap allocations
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
* Simplified fork of MiniJSON optimized to minimize heap allocations
|
|
@@ -80,35 +80,6 @@ namespace Beamable.Serialization.SmallerJSON
|
|
|
80
80
|
return obj;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
/// <summary>
|
|
85
|
-
/// Deserialize JSON into a concrete type. Unlike Unity JsonUtility, this supports
|
|
86
|
-
/// custom semantic wrapper types (ex: types implementing IBeamSemanticType<T>)
|
|
87
|
-
/// even when JSON contains only the primitive token (string/number).
|
|
88
|
-
/// </summary>
|
|
89
|
-
public static T Deserialize<T>(string json)
|
|
90
|
-
{
|
|
91
|
-
return (T)Deserialize(json, typeof(T));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/// <summary>
|
|
95
|
-
/// Deserialize JSON into a concrete type (runtime type overload).
|
|
96
|
-
/// </summary>
|
|
97
|
-
public static object Deserialize(string json, Type targetType)
|
|
98
|
-
{
|
|
99
|
-
if (json == null) return null;
|
|
100
|
-
|
|
101
|
-
// First parse into SmallerJSON's object model (ArrayDict/List/primitives).
|
|
102
|
-
object root;
|
|
103
|
-
using (var parser = new StringBasedParser(json))
|
|
104
|
-
{
|
|
105
|
-
root = parser.ParseValue();
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Then materialize into the requested type.
|
|
109
|
-
return ObjectMapper.ConvertToType(root, targetType);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
83
|
|
|
113
84
|
public static bool IsValidJson(string strInput)
|
|
114
85
|
{
|
|
@@ -1081,200 +1052,5 @@ namespace Beamable.Serialization.SmallerJSON
|
|
|
1081
1052
|
}
|
|
1082
1053
|
}
|
|
1083
1054
|
}
|
|
1084
|
-
|
|
1085
|
-
private static class ObjectMapper
|
|
1086
|
-
{
|
|
1087
|
-
private static readonly Type SerializeFieldType = typeof(SerializeField);
|
|
1088
|
-
|
|
1089
|
-
// NOTE: We cannot reference Beamable.Common.Semantics directly from this folder.
|
|
1090
|
-
// We detect semantic types via reflection by interface full name instead
|
|
1091
|
-
private const string BeamSemanticInterfaceFullName = "Beamable.Common.Semantics.IBeamSemanticType`1";
|
|
1092
|
-
|
|
1093
|
-
public static object ConvertToType(object node, Type targetType)
|
|
1094
|
-
{
|
|
1095
|
-
if (targetType == null) throw new ArgumentNullException(nameof(targetType));
|
|
1096
|
-
|
|
1097
|
-
// Null handling
|
|
1098
|
-
if (node == null)
|
|
1099
|
-
{
|
|
1100
|
-
targetType = Nullable.GetUnderlyingType(targetType) ?? targetType;
|
|
1101
|
-
return targetType.IsValueType ? Activator.CreateInstance(targetType) : null;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
// Unwrap nullable
|
|
1105
|
-
targetType = Nullable.GetUnderlyingType(targetType) ?? targetType;
|
|
1106
|
-
|
|
1107
|
-
// Semantic types: construct from primitive JSON tokens
|
|
1108
|
-
if (TryGetSemanticPrimitiveType(targetType, out var primitiveType))
|
|
1109
|
-
{
|
|
1110
|
-
return ConstructSemantic(targetType, primitiveType, node);
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
// Direct assign
|
|
1114
|
-
if (targetType.IsInstanceOfType(node))
|
|
1115
|
-
{
|
|
1116
|
-
return node;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
// Enums
|
|
1120
|
-
if (targetType.IsEnum)
|
|
1121
|
-
{
|
|
1122
|
-
if (node is string s) return Enum.Parse(targetType, s, ignoreCase: true);
|
|
1123
|
-
if (node is long l) return Enum.ToObject(targetType, (int)l);
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
// Common scalars
|
|
1127
|
-
if (targetType == typeof(string)) return node.ToString();
|
|
1128
|
-
if (targetType == typeof(bool)) return Convert.ToBoolean(node);
|
|
1129
|
-
if (targetType == typeof(long)) return Convert.ToInt64(node);
|
|
1130
|
-
if (targetType == typeof(int)) return Convert.ToInt32(node);
|
|
1131
|
-
if (targetType == typeof(double)) return Convert.ToDouble(node);
|
|
1132
|
-
if (targetType == typeof(float)) return Convert.ToSingle(node);
|
|
1133
|
-
if (targetType == typeof(decimal)) return Convert.ToDecimal(node);
|
|
1134
|
-
|
|
1135
|
-
// Dictionaries (only generic Dictionary<string, TValue> supported here)
|
|
1136
|
-
if (typeof(IDictionary).IsAssignableFrom(targetType) && targetType.IsGenericType)
|
|
1137
|
-
{
|
|
1138
|
-
var genArgs = targetType.GetGenericArguments();
|
|
1139
|
-
if (genArgs.Length == 2 && genArgs[0] == typeof(string) && node is ArrayDict dictNode)
|
|
1140
|
-
{
|
|
1141
|
-
var valueType = genArgs[1];
|
|
1142
|
-
var dict = (IDictionary)Activator.CreateInstance(targetType);
|
|
1143
|
-
foreach (var kvp in dictNode)
|
|
1144
|
-
{
|
|
1145
|
-
dict[kvp.Key] = ConvertToType(kvp.Value, valueType);
|
|
1146
|
-
}
|
|
1147
|
-
return dict;
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
// Arrays
|
|
1152
|
-
if (targetType.IsArray && node is IList listNodeForArray)
|
|
1153
|
-
{
|
|
1154
|
-
var elemType = targetType.GetElementType();
|
|
1155
|
-
var arr = Array.CreateInstance(elemType!, listNodeForArray.Count);
|
|
1156
|
-
for (int i = 0; i < listNodeForArray.Count; i++)
|
|
1157
|
-
{
|
|
1158
|
-
arr.SetValue(ConvertToType(listNodeForArray[i], elemType!), i);
|
|
1159
|
-
}
|
|
1160
|
-
return arr;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
// Lists
|
|
1164
|
-
if (typeof(IList).IsAssignableFrom(targetType) && node is IList listNode)
|
|
1165
|
-
{
|
|
1166
|
-
var elemType = targetType.IsGenericType ? targetType.GetGenericArguments()[0] : typeof(object);
|
|
1167
|
-
var list = (IList)Activator.CreateInstance(targetType);
|
|
1168
|
-
foreach (var elem in listNode)
|
|
1169
|
-
{
|
|
1170
|
-
list.Add(ConvertToType(elem, elemType));
|
|
1171
|
-
}
|
|
1172
|
-
return list;
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
// POCO object
|
|
1176
|
-
if (node is ArrayDict objNode)
|
|
1177
|
-
{
|
|
1178
|
-
var instance = Activator.CreateInstance(targetType);
|
|
1179
|
-
|
|
1180
|
-
// Mirror existing Serializer rules: fields only, allow [SerializeField] privates,
|
|
1181
|
-
// skip [NonSerialized] fields.
|
|
1182
|
-
var fields = targetType.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
|
|
1183
|
-
for (int i = 0; i < fields.Length; i++)
|
|
1184
|
-
{
|
|
1185
|
-
var field = fields[i];
|
|
1186
|
-
|
|
1187
|
-
var hasSerializeField = field.GetCustomAttribute(SerializeFieldType) != null;
|
|
1188
|
-
var canBeSerialized = (hasSerializeField || !field.IsNotSerialized);
|
|
1189
|
-
if (!canBeSerialized) continue;
|
|
1190
|
-
|
|
1191
|
-
if (!objNode.TryGetValue(field.Name, out var rawValue)) continue;
|
|
1192
|
-
|
|
1193
|
-
var converted = ConvertToType(rawValue, field.FieldType);
|
|
1194
|
-
field.SetValue(instance, converted);
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
// If the target uses Unity callbacks, respect them (parity with existing Serializer behavior)
|
|
1198
|
-
if (instance is ISerializationCallbackReceiver receiver)
|
|
1199
|
-
{
|
|
1200
|
-
receiver.OnAfterDeserialize();
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
return instance;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
throw new InvalidOperationException(
|
|
1207
|
-
$"SmallerJSON cannot convert node type [{node.GetType().FullName}] to [{targetType.FullName}].");
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
private static bool TryGetSemanticPrimitiveType(Type semanticType, out Type primitiveType)
|
|
1211
|
-
{
|
|
1212
|
-
var iface = semanticType.GetInterfaces()
|
|
1213
|
-
.FirstOrDefault(i => i.IsGenericType && i.GetGenericTypeDefinition().FullName == BeamSemanticInterfaceFullName);
|
|
1214
|
-
|
|
1215
|
-
if (iface == null)
|
|
1216
|
-
{
|
|
1217
|
-
primitiveType = null;
|
|
1218
|
-
return false;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
primitiveType = iface.GetGenericArguments()[0];
|
|
1222
|
-
return true;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
private static object ConstructSemantic(Type semanticType, Type primitiveType, object node)
|
|
1226
|
-
{
|
|
1227
|
-
// Prefer ctor(string) when JSON is a string. Many long-backed semantic types accept string too
|
|
1228
|
-
// and preserve formatting (leading zeros etc) or validate (ServiceName).
|
|
1229
|
-
if (node is string s)
|
|
1230
|
-
{
|
|
1231
|
-
var stringCtor = semanticType.GetConstructor(new[] { typeof(string) });
|
|
1232
|
-
if (stringCtor != null) return stringCtor.Invoke(new object[] { s });
|
|
1233
|
-
|
|
1234
|
-
if (primitiveType == typeof(long))
|
|
1235
|
-
{
|
|
1236
|
-
if (!long.TryParse(s, System.Globalization.NumberStyles.Integer,
|
|
1237
|
-
System.Globalization.CultureInfo.InvariantCulture, out var parsed))
|
|
1238
|
-
{
|
|
1239
|
-
throw new FormatException($"Cannot parse '{s}' as long for semantic type [{semanticType.FullName}].");
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
var longCtor = semanticType.GetConstructor(new[] { typeof(long) });
|
|
1243
|
-
if (longCtor != null) return longCtor.Invoke(new object[] { parsed });
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
throw new MissingMethodException(
|
|
1247
|
-
$"Semantic type [{semanticType.FullName}] has no public ctor(string) and cannot be built from JSON string.");
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
// If JSON is numeric and semantic primitive is long
|
|
1251
|
-
if (primitiveType == typeof(long))
|
|
1252
|
-
{
|
|
1253
|
-
var l = Convert.ToInt64(node, System.Globalization.CultureInfo.InvariantCulture);
|
|
1254
|
-
var longCtor = semanticType.GetConstructor(new[] { typeof(long) });
|
|
1255
|
-
if (longCtor != null) return longCtor.Invoke(new object[] { l });
|
|
1256
|
-
|
|
1257
|
-
// Some semantic types might only expose ctor(string); allow numeric -> string as fallback.
|
|
1258
|
-
var stringCtor = semanticType.GetConstructor(new[] { typeof(string) });
|
|
1259
|
-
if (stringCtor != null) return stringCtor.Invoke(new object[] { l.ToString(System.Globalization.CultureInfo.InvariantCulture) });
|
|
1260
|
-
|
|
1261
|
-
throw new MissingMethodException($"Semantic type [{semanticType.FullName}] must have ctor(long) or ctor(string).");
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
// If semantic primitive is string, coerce to string
|
|
1265
|
-
if (primitiveType == typeof(string))
|
|
1266
|
-
{
|
|
1267
|
-
var stringCtor = semanticType.GetConstructor(new[] { typeof(string) });
|
|
1268
|
-
if (stringCtor == null)
|
|
1269
|
-
throw new MissingMethodException($"Semantic type [{semanticType.FullName}] must have ctor(string).");
|
|
1270
|
-
|
|
1271
|
-
return stringCtor.Invoke(new object[] { node.ToString() });
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
throw new NotSupportedException(
|
|
1275
|
-
$"Semantic type [{semanticType.FullName}] uses unsupported primitive [{primitiveType.FullName}].");
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
1055
|
}
|
|
1280
1056
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
//#define PREPEND_SPEW_METADATA
|
|
5
5
|
// With PREPEND_SPEW_METADATA defined, all spew logs will have frame # and time prepended.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Diagnostics;
|
package/Common/Runtime/Trie.cs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.Collections.Generic;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using Beamable.Common.Spew;
|
|
5
5
|
using System;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
-
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
1
|
+
// this file was copied from nuget package Beamable.Common@7.0.1
|
|
2
|
+
// https://www.nuget.org/packages/Beamable.Common/7.0.1
|
|
3
3
|
|
|
4
4
|
using System;
|
|
5
5
|
using System.IO;
|