connected-spaces-platform.unity.core 4.15.2 → 4.17.0
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/Editor/NativePluginBuildProcessor.cs.meta +1 -1
- package/Editor.meta +1 -1
- package/README.md +53 -6
- package/README.md.meta +1 -1
- package/Source/CSPFoundation.cs.meta +1 -1
- package/Source/ClientUserAgent.cs.meta +1 -1
- package/Source/Common/Array.cs +0 -1
- package/Source/Common/Array.cs.meta +1 -1
- package/Source/Common/CancellationToken.cs.meta +1 -1
- package/Source/Common/FileExtensions.cs.meta +1 -1
- package/Source/Common/List.cs +0 -1
- package/Source/Common/List.cs.meta +1 -1
- package/Source/Common/Map.cs +0 -2
- package/Source/Common/Map.cs.meta +1 -1
- package/Source/Common/MimeTypeHelper.cs.meta +1 -1
- package/Source/Common/MimeTypes.cs.meta +1 -1
- package/Source/Common/Variant.cs.meta +1 -1
- package/Source/Common/VariantType.cs.meta +1 -1
- package/Source/Common/Vector3.cs.meta +1 -1
- package/Source/Common/Vector4.cs.meta +1 -1
- package/Source/Common.meta +1 -1
- package/Source/Csp.cs.meta +1 -1
- package/Source/EThirdPartyPlatform.cs.meta +1 -1
- package/Source/EndpointURIs.cs.meta +1 -1
- package/Source/Il2cppPreserver.cs.meta +1 -1
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
- package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
- package/Source/Multiplayer/ComponentType.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +10 -10
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces.meta +1 -1
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components.meta +1 -1
- package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationResult.cs +3 -3
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationSystem.cs +10 -10
- package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +3 -3
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageResult.cs +3 -3
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation.meta +1 -1
- package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
- package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
- package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
- package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
- package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
- package/Source/Multiplayer/PropertyUpdateInfo.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
- package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
- package/Source/Multiplayer/Script.meta +1 -1
- package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
- package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
- package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
- package/Source/Multiplayer.meta +1 -1
- package/Source/NativeClassWrapper.cs.meta +1 -1
- package/Source/ProgressEventArgs.cs.meta +1 -1
- package/Source/Ref.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
- package/Source/Systems/Analytics.meta +1 -1
- package/Source/Systems/Assets/Asset.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionResult.cs +2 -2
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionsResult.cs +3 -3
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataResult.cs +2 -2
- package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/AssetResult.cs +2 -2
- package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetSystem.cs +21 -21
- package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
- package/Source/Systems/Assets/AssetsResult.cs +3 -3
- package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
- package/Source/Systems/Assets/LODChain.cs.meta +1 -1
- package/Source/Systems/Assets/LODChainResult.cs +3 -3
- package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
- package/Source/Systems/Assets/UriResult.cs +3 -31
- package/Source/Systems/Assets/UriResult.cs.meta +1 -1
- package/Source/Systems/Assets.meta +1 -1
- package/Source/Systems/BooleanResult.cs +3 -3
- package/Source/Systems/BooleanResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs +2 -2
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfoResult.cs +3 -3
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs +2 -2
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ECommerceSystem.cs +7 -7
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoResult.cs +2 -2
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs +2 -2
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce.meta +1 -1
- package/Source/Systems/ERequestFailureReason.cs +54 -0
- package/Source/{Services/WebService.cs.meta → Systems/ERequestFailureReason.cs.meta} +1 -1
- package/Source/{Services → Systems}/EResultCode.cs +1 -1
- package/Source/{Services → Systems}/EResultCode.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketResult.cs +2 -2
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs +6 -6
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs +2 -2
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs +2 -2
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventResult.cs +2 -2
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs +2 -2
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLResult.cs +2 -2
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLSystem.cs +2 -2
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
- package/Source/Systems/GraphQL.meta +1 -1
- package/Source/Systems/HTTPHeadersResult.cs +3 -3
- package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
- package/Source/Systems/Log/LogLevel.cs.meta +1 -1
- package/Source/Systems/Log/LogSystem.cs.meta +1 -1
- package/Source/Systems/Log.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs +4 -4
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
- package/Source/Systems/Maintenance.meta +1 -1
- package/Source/Systems/NullResult.cs +3 -3
- package/Source/Systems/NullResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitResult.cs +2 -2
- package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaInfo.cs +0 -34
- package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaResult.cs +2 -2
- package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesLimitResult.cs +2 -2
- package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesQuotaResult.cs +2 -2
- package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/PeriodEnum.cs +2 -1
- package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
- package/Source/Systems/Quota/QuotaSystem.cs +8 -8
- package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
- package/Source/Systems/Quota/TierFeatures.cs +1 -0
- package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
- package/Source/Systems/Quota/TierNames.cs +1 -0
- package/Source/Systems/Quota/TierNames.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierResult.cs +2 -2
- package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
- package/Source/Systems/Quota.meta +1 -1
- package/Source/{Services → Systems}/ResultBase.cs +25 -23
- package/Source/{Services → Systems}/ResultBase.cs.meta +1 -1
- package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
- package/Source/Systems/Script.meta +1 -1
- package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollectionResult.cs +2 -2
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsSystem.cs +14 -14
- package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
- package/Source/Systems/Settings.meta +1 -1
- package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpaceResult.cs +2 -2
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpacesResult.cs +2 -2
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
- package/Source/Systems/Spaces/PendingInvitesResult.cs +2 -2
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Site.cs.meta +1 -1
- package/Source/Systems/Spaces/SiteResult.cs +2 -2
- package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SitesCollectionResult.cs +2 -2
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Space.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs +3 -3
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceMetadataResult.cs +3 -3
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceResult.cs +3 -3
- package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceSystem.cs +31 -31
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesMetadataResult.cs +3 -3
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesResult.cs +3 -3
- package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs +3 -3
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces.meta +1 -1
- package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorCollectionResult.cs +2 -2
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs +2 -2
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionResult.cs +2 -2
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResult.cs +2 -2
- package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorSystem.cs +7 -7
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
- package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
- package/Source/Systems/Spatial/POICollectionResult.cs +2 -2
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/POIResult.cs +2 -2
- package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterestSystem.cs +3 -3
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
- package/Source/Systems/Spatial.meta +1 -1
- package/Source/Systems/StringArrayResult.cs +3 -3
- package/Source/Systems/StringArrayResult.cs.meta +1 -1
- package/Source/Systems/StringResult.cs +3 -3
- package/Source/Systems/StringResult.cs.meta +1 -1
- package/Source/Systems/SystemBase.cs.meta +1 -1
- package/Source/Systems/SystemsManager.cs.meta +1 -1
- package/Source/Systems/UInt64Result.cs +3 -3
- package/Source/Systems/UInt64Result.cs.meta +1 -1
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
- package/Source/Systems/Users/AgoraUserTokenResult.cs +2 -2
- package/Source/Systems/Users/AgoraUserTokenResult.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfilesResult.cs +2 -2
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
- package/Source/Systems/Users/CheckoutSessionUrlResult.cs +141 -0
- package/Source/{Services/EResultBaseFailureReason.cs.meta → Systems/Users/CheckoutSessionUrlResult.cs.meta} +1 -1
- package/Source/Systems/Users/CustomerPortalUrlResult.cs +141 -0
- package/Source/Systems/Users/CustomerPortalUrlResult.cs.meta +11 -0
- package/Source/Systems/Users/ELoginState.cs.meta +1 -1
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
- package/Source/Systems/Users/LoginState.cs.meta +1 -1
- package/Source/Systems/Users/LoginStateResult.cs +2 -2
- package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenReceived.cs +2 -2
- package/Source/Systems/Users/LoginTokenReceived.cs.meta +1 -1
- package/Source/Systems/Users/LogoutResult.cs.meta +1 -1
- package/Source/Systems/Users/PingResponseReceived.cs +2 -2
- package/Source/Systems/Users/PingResponseReceived.cs.meta +1 -1
- package/Source/Systems/Users/Profile.cs.meta +1 -1
- package/Source/Systems/Users/ProfileResult.cs +2 -2
- package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
- package/Source/Systems/Users/ProviderDetailsResult.cs +2 -2
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
- package/Source/Systems/Users/UserSystem.cs +151 -21
- package/Source/Systems/Users/UserSystem.cs.meta +1 -1
- package/Source/Systems/Users.meta +1 -1
- package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
- package/Source/Systems/Voip.meta +1 -1
- package/Source/Systems.meta +1 -1
- package/Source/Web/EResponseCodes.cs.meta +1 -1
- package/Source/Web.meta +1 -1
- package/Source/WrapperHelper.cs.meta +1 -1
- package/Source.meta +1 -1
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +1 -1
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
- package/android64.meta +1 -1
- package/ios/libConnectedSpacesPlatform.a +0 -0
- package/ios/libConnectedSpacesPlatform.a.meta +1 -1
- package/ios/libcrypto.a.meta +1 -1
- package/ios/libssl.a.meta +1 -1
- package/ios.meta +1 -1
- package/macosx/libConnectedSpacesPlatform.dylib +0 -0
- package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
- package/macosx.meta +1 -1
- package/package.json +1 -1
- package/package.json.meta +1 -1
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
- package/windows.meta +1 -1
- package/Source/Services/EResultBaseFailureReason.cs +0 -21
- package/Source/Services/WebService.cs +0 -91
- package/Source/Services.meta +0 -7
- package/Source/Systems/Users/ELoginStateResultFailureReason.cs +0 -22
- package/Source/Systems/Users/ELoginStateResultFailureReason.cs.meta +0 -11
|
@@ -363,10 +363,11 @@ namespace Csp.Systems
|
|
|
363
363
|
),
|
|
364
364
|
SuppressUnmanagedCodeSecurity
|
|
365
365
|
]
|
|
366
|
-
static extern void
|
|
366
|
+
static extern void csp_systems_UserSystem_ForgotPassword_void_StringRC_StringRC_StringRC_bool_NullResultCallback(
|
|
367
367
|
IntPtr @class,
|
|
368
368
|
string Email,
|
|
369
369
|
string RedirectUrl,
|
|
370
|
+
string EmailLinkUrl,
|
|
370
371
|
bool UseTokenChangePasswordUrl,
|
|
371
372
|
ForgotPasswordCallbackDelegate callback,
|
|
372
373
|
IntPtr callbackStateObject
|
|
@@ -467,6 +468,44 @@ namespace Csp.Systems
|
|
|
467
468
|
IntPtr callbackStateObject
|
|
468
469
|
);
|
|
469
470
|
|
|
471
|
+
[
|
|
472
|
+
DllImport(
|
|
473
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
474
|
+
"__Internal"
|
|
475
|
+
#elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
|
|
476
|
+
"ConnectedSpacesPlatform_D"
|
|
477
|
+
#else
|
|
478
|
+
"ConnectedSpacesPlatform"
|
|
479
|
+
#endif
|
|
480
|
+
),
|
|
481
|
+
SuppressUnmanagedCodeSecurity
|
|
482
|
+
]
|
|
483
|
+
static extern void csp_systems_UserSystem_GetCustomerPortalUrl_void_StringRC_CustomerPortalUrlResultCallback(
|
|
484
|
+
IntPtr @class,
|
|
485
|
+
string UserId,
|
|
486
|
+
GetCustomerPortalUrlCallbackDelegate callback,
|
|
487
|
+
IntPtr callbackStateObject
|
|
488
|
+
);
|
|
489
|
+
|
|
490
|
+
[
|
|
491
|
+
DllImport(
|
|
492
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
493
|
+
"__Internal"
|
|
494
|
+
#elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
|
|
495
|
+
"ConnectedSpacesPlatform_D"
|
|
496
|
+
#else
|
|
497
|
+
"ConnectedSpacesPlatform"
|
|
498
|
+
#endif
|
|
499
|
+
),
|
|
500
|
+
SuppressUnmanagedCodeSecurity
|
|
501
|
+
]
|
|
502
|
+
static extern void csp_systems_UserSystem_GetCheckoutSessionUrl_void_TierNamesRC_CheckoutSessionUrlResultCallback(
|
|
503
|
+
IntPtr @class,
|
|
504
|
+
IntPtr Tier,
|
|
505
|
+
GetCheckoutSessionUrlCallbackDelegate callback,
|
|
506
|
+
IntPtr callbackStateObject
|
|
507
|
+
);
|
|
508
|
+
|
|
470
509
|
[
|
|
471
510
|
DllImport(
|
|
472
511
|
#if !UNITY_EDITOR && UNITY_IOS
|
|
@@ -536,6 +575,10 @@ namespace Csp.Systems
|
|
|
536
575
|
|
|
537
576
|
delegate void ResendVerificationEmailCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
538
577
|
|
|
578
|
+
delegate void GetCustomerPortalUrlCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
579
|
+
|
|
580
|
+
delegate void GetCheckoutSessionUrlCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
581
|
+
|
|
539
582
|
readonly List<GCHandle> eventHandles = new List<GCHandle>();
|
|
540
583
|
|
|
541
584
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
@@ -620,7 +663,7 @@ namespace Csp.Systems
|
|
|
620
663
|
|
|
621
664
|
var task_result = new Csp.Systems.LoginStateResult(_Result);
|
|
622
665
|
|
|
623
|
-
if (task_result.GetResultCode() == Csp.
|
|
666
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
624
667
|
{
|
|
625
668
|
return;
|
|
626
669
|
}
|
|
@@ -682,7 +725,7 @@ namespace Csp.Systems
|
|
|
682
725
|
|
|
683
726
|
var task_result = new Csp.Systems.LoginStateResult(_Result);
|
|
684
727
|
|
|
685
|
-
if (task_result.GetResultCode() == Csp.
|
|
728
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
686
729
|
{
|
|
687
730
|
return;
|
|
688
731
|
}
|
|
@@ -728,7 +771,7 @@ namespace Csp.Systems
|
|
|
728
771
|
|
|
729
772
|
var task_result = new Csp.Systems.LoginStateResult(_Result);
|
|
730
773
|
|
|
731
|
-
if (task_result.GetResultCode() == Csp.
|
|
774
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
732
775
|
{
|
|
733
776
|
return;
|
|
734
777
|
}
|
|
@@ -800,7 +843,7 @@ namespace Csp.Systems
|
|
|
800
843
|
|
|
801
844
|
var task_result = new Csp.Systems.StringResult(_Result);
|
|
802
845
|
|
|
803
|
-
if (task_result.GetResultCode() == Csp.
|
|
846
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
804
847
|
{
|
|
805
848
|
return;
|
|
806
849
|
}
|
|
@@ -851,7 +894,7 @@ namespace Csp.Systems
|
|
|
851
894
|
|
|
852
895
|
var task_result = new Csp.Systems.LoginStateResult(_Result);
|
|
853
896
|
|
|
854
|
-
if (task_result.GetResultCode() == Csp.
|
|
897
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
855
898
|
{
|
|
856
899
|
return;
|
|
857
900
|
}
|
|
@@ -912,7 +955,7 @@ namespace Csp.Systems
|
|
|
912
955
|
|
|
913
956
|
var task_result = new Csp.Systems.LoginStateResult(_Result);
|
|
914
957
|
|
|
915
|
-
if (task_result.GetResultCode() == Csp.
|
|
958
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
916
959
|
{
|
|
917
960
|
return;
|
|
918
961
|
}
|
|
@@ -955,7 +998,7 @@ namespace Csp.Systems
|
|
|
955
998
|
|
|
956
999
|
var task_result = new Csp.Systems.LogoutResult(_Result);
|
|
957
1000
|
|
|
958
|
-
if (task_result.GetResultCode() == Csp.
|
|
1001
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
959
1002
|
{
|
|
960
1003
|
return;
|
|
961
1004
|
}
|
|
@@ -990,7 +1033,7 @@ namespace Csp.Systems
|
|
|
990
1033
|
|
|
991
1034
|
var task_result = new Csp.Systems.ProfileResult(_Result);
|
|
992
1035
|
|
|
993
|
-
if (task_result.GetResultCode() == Csp.
|
|
1036
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
994
1037
|
{
|
|
995
1038
|
return;
|
|
996
1039
|
}
|
|
@@ -1053,7 +1096,7 @@ namespace Csp.Systems
|
|
|
1053
1096
|
|
|
1054
1097
|
var task_result = new Csp.Systems.ProfileResult(_Result);
|
|
1055
1098
|
|
|
1056
|
-
if (task_result.GetResultCode() == Csp.
|
|
1099
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1057
1100
|
{
|
|
1058
1101
|
return;
|
|
1059
1102
|
}
|
|
@@ -1105,7 +1148,7 @@ namespace Csp.Systems
|
|
|
1105
1148
|
|
|
1106
1149
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1107
1150
|
|
|
1108
|
-
if (task_result.GetResultCode() == Csp.
|
|
1151
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1109
1152
|
{
|
|
1110
1153
|
return;
|
|
1111
1154
|
}
|
|
@@ -1145,7 +1188,7 @@ namespace Csp.Systems
|
|
|
1145
1188
|
|
|
1146
1189
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1147
1190
|
|
|
1148
|
-
if (task_result.GetResultCode() == Csp.
|
|
1191
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1149
1192
|
{
|
|
1150
1193
|
return;
|
|
1151
1194
|
}
|
|
@@ -1191,7 +1234,7 @@ namespace Csp.Systems
|
|
|
1191
1234
|
|
|
1192
1235
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1193
1236
|
|
|
1194
|
-
if (task_result.GetResultCode() == Csp.
|
|
1237
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1195
1238
|
{
|
|
1196
1239
|
return;
|
|
1197
1240
|
}
|
|
@@ -1235,7 +1278,7 @@ namespace Csp.Systems
|
|
|
1235
1278
|
|
|
1236
1279
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1237
1280
|
|
|
1238
|
-
if (task_result.GetResultCode() == Csp.
|
|
1281
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1239
1282
|
{
|
|
1240
1283
|
return;
|
|
1241
1284
|
}
|
|
@@ -1276,7 +1319,7 @@ namespace Csp.Systems
|
|
|
1276
1319
|
|
|
1277
1320
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1278
1321
|
|
|
1279
|
-
if (task_result.GetResultCode() == Csp.
|
|
1322
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1280
1323
|
{
|
|
1281
1324
|
return;
|
|
1282
1325
|
}
|
|
@@ -1291,21 +1334,24 @@ namespace Csp.Systems
|
|
|
1291
1334
|
/// <summary>Allow a user to reset their password if forgotten by providing an email address.</summary>
|
|
1292
1335
|
/// <param name="Email">Account to recover password for</param>
|
|
1293
1336
|
/// <param name="RedirectUrl">The url to redirect the user to after they have registered</param>
|
|
1337
|
+
/// <param name="EmailLinkUrl">The url inside the reset email sent to the user</param>
|
|
1294
1338
|
/// @Param UseTokenChangePasswordUrl bool : if true the link in the email will direct the user to the Token Change URL
|
|
1295
1339
|
/// <returns>The result for the request</returns>
|
|
1296
1340
|
|
|
1297
1341
|
public Task<Csp.Systems.NullResult> ForgotPassword(
|
|
1298
1342
|
string Email,
|
|
1299
1343
|
string? RedirectUrl,
|
|
1344
|
+
string? EmailLinkUrl,
|
|
1300
1345
|
bool UseTokenChangePasswordUrl
|
|
1301
1346
|
) {
|
|
1302
1347
|
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
1303
1348
|
var handle = GCHandle.Alloc(tcs);
|
|
1304
1349
|
|
|
1305
|
-
|
|
1350
|
+
csp_systems_UserSystem_ForgotPassword_void_StringRC_StringRC_StringRC_bool_NullResultCallback(
|
|
1306
1351
|
_ptr,
|
|
1307
1352
|
Email,
|
|
1308
1353
|
RedirectUrl,
|
|
1354
|
+
EmailLinkUrl,
|
|
1309
1355
|
UseTokenChangePasswordUrl,
|
|
1310
1356
|
ForgotPasswordDelegateInstance,
|
|
1311
1357
|
(IntPtr)handle
|
|
@@ -1325,7 +1371,7 @@ namespace Csp.Systems
|
|
|
1325
1371
|
|
|
1326
1372
|
var task_result = new Csp.Systems.ProfileResult(_Result);
|
|
1327
1373
|
|
|
1328
|
-
if (task_result.GetResultCode() == Csp.
|
|
1374
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1329
1375
|
{
|
|
1330
1376
|
return;
|
|
1331
1377
|
}
|
|
@@ -1367,7 +1413,7 @@ namespace Csp.Systems
|
|
|
1367
1413
|
|
|
1368
1414
|
var task_result = new Csp.Systems.BasicProfilesResult(_Result);
|
|
1369
1415
|
|
|
1370
|
-
if (task_result.GetResultCode() == Csp.
|
|
1416
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1371
1417
|
{
|
|
1372
1418
|
return;
|
|
1373
1419
|
}
|
|
@@ -1409,7 +1455,7 @@ namespace Csp.Systems
|
|
|
1409
1455
|
|
|
1410
1456
|
var task_result = new Csp.Systems.PingResponseReceived(_Result);
|
|
1411
1457
|
|
|
1412
|
-
if (task_result.GetResultCode() == Csp.
|
|
1458
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1413
1459
|
{
|
|
1414
1460
|
return;
|
|
1415
1461
|
}
|
|
@@ -1444,7 +1490,7 @@ namespace Csp.Systems
|
|
|
1444
1490
|
|
|
1445
1491
|
var task_result = new Csp.Systems.AgoraUserTokenResult(_Result);
|
|
1446
1492
|
|
|
1447
|
-
if (task_result.GetResultCode() == Csp.
|
|
1493
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1448
1494
|
{
|
|
1449
1495
|
return;
|
|
1450
1496
|
}
|
|
@@ -1486,7 +1532,7 @@ namespace Csp.Systems
|
|
|
1486
1532
|
|
|
1487
1533
|
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1488
1534
|
|
|
1489
|
-
if (task_result.GetResultCode() == Csp.
|
|
1535
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1490
1536
|
{
|
|
1491
1537
|
return;
|
|
1492
1538
|
}
|
|
@@ -1519,6 +1565,90 @@ namespace Csp.Systems
|
|
|
1519
1565
|
return tcs.Task;
|
|
1520
1566
|
}
|
|
1521
1567
|
|
|
1568
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
1569
|
+
[AOT.MonoPInvokeCallback (typeof (GetCustomerPortalUrlCallbackDelegate))]
|
|
1570
|
+
#endif
|
|
1571
|
+
static void GetCustomerPortalUrlCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
1572
|
+
{
|
|
1573
|
+
var _handle = (GCHandle)_StateObject__;
|
|
1574
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CustomerPortalUrlResult>)_handle.Target;
|
|
1575
|
+
var _this = (UserSystem)tcs.Task.AsyncState;
|
|
1576
|
+
|
|
1577
|
+
var task_result = new Csp.Systems.CustomerPortalUrlResult(_Result);
|
|
1578
|
+
|
|
1579
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1580
|
+
{
|
|
1581
|
+
return;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
tcs.SetResult(task_result);
|
|
1585
|
+
_handle.Free();
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
static readonly GetCustomerPortalUrlCallbackDelegate GetCustomerPortalUrlDelegateInstance =
|
|
1589
|
+
GetCustomerPortalUrlCallbackDelegateFunction;
|
|
1590
|
+
|
|
1591
|
+
/// <summary>Get the Customer Portal Url for a user from Stripe</summary>
|
|
1592
|
+
/// <param name="UserId">The id of the user associated with the customer portal</param>
|
|
1593
|
+
/// <returns>The result for the request</returns>
|
|
1594
|
+
|
|
1595
|
+
public Task<Csp.Systems.CustomerPortalUrlResult> GetCustomerPortalUrl(string UserId)
|
|
1596
|
+
{
|
|
1597
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CustomerPortalUrlResult>(this);
|
|
1598
|
+
var handle = GCHandle.Alloc(tcs);
|
|
1599
|
+
|
|
1600
|
+
csp_systems_UserSystem_GetCustomerPortalUrl_void_StringRC_CustomerPortalUrlResultCallback(
|
|
1601
|
+
_ptr,
|
|
1602
|
+
UserId,
|
|
1603
|
+
GetCustomerPortalUrlDelegateInstance,
|
|
1604
|
+
(IntPtr)handle
|
|
1605
|
+
);
|
|
1606
|
+
|
|
1607
|
+
return tcs.Task;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
1611
|
+
[AOT.MonoPInvokeCallback (typeof (GetCheckoutSessionUrlCallbackDelegate))]
|
|
1612
|
+
#endif
|
|
1613
|
+
static void GetCheckoutSessionUrlCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
1614
|
+
{
|
|
1615
|
+
var _handle = (GCHandle)_StateObject__;
|
|
1616
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CheckoutSessionUrlResult>)_handle.Target;
|
|
1617
|
+
var _this = (UserSystem)tcs.Task.AsyncState;
|
|
1618
|
+
|
|
1619
|
+
var task_result = new Csp.Systems.CheckoutSessionUrlResult(_Result);
|
|
1620
|
+
|
|
1621
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1622
|
+
{
|
|
1623
|
+
return;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
tcs.SetResult(task_result);
|
|
1627
|
+
_handle.Free();
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
static readonly GetCheckoutSessionUrlCallbackDelegate GetCheckoutSessionUrlDelegateInstance =
|
|
1631
|
+
GetCheckoutSessionUrlCallbackDelegateFunction;
|
|
1632
|
+
|
|
1633
|
+
/// <summary>Get the checkout session Url for a user from Stripe</summary>
|
|
1634
|
+
/// <param name="Tier">The tier of the checkout session needed</param>
|
|
1635
|
+
/// <returns>The result for the request</returns>
|
|
1636
|
+
|
|
1637
|
+
public Task<Csp.Systems.CheckoutSessionUrlResult> GetCheckoutSessionUrl(Csp.Systems.TierNames Tier)
|
|
1638
|
+
{
|
|
1639
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CheckoutSessionUrlResult>(this);
|
|
1640
|
+
var handle = GCHandle.Alloc(tcs);
|
|
1641
|
+
|
|
1642
|
+
csp_systems_UserSystem_GetCheckoutSessionUrl_void_TierNamesRC_CheckoutSessionUrlResultCallback(
|
|
1643
|
+
_ptr,
|
|
1644
|
+
(IntPtr)Tier,
|
|
1645
|
+
GetCheckoutSessionUrlDelegateInstance,
|
|
1646
|
+
(IntPtr)handle
|
|
1647
|
+
);
|
|
1648
|
+
|
|
1649
|
+
return tcs.Task;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1522
1652
|
protected UserSystem() { }
|
|
1523
1653
|
}
|
|
1524
1654
|
}
|
package/Source/Systems/Voip.meta
CHANGED
package/Source/Systems.meta
CHANGED
package/Source/Web.meta
CHANGED
package/Source.meta
CHANGED
|
Binary file
|
|
Binary file
|
package/android64.meta
CHANGED
|
Binary file
|
package/ios/libcrypto.a.meta
CHANGED
package/ios/libssl.a.meta
CHANGED
package/ios.meta
CHANGED
|
Binary file
|
package/macosx.meta
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "connected-spaces-platform.unity.core",
|
|
3
3
|
"displayName": "connected-spaces-platform.unity.core",
|
|
4
4
|
"unity": "2020.1",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.17.0+490",
|
|
6
6
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"dependencies": {},
|
package/package.json.meta
CHANGED
|
Binary file
|
|
Binary file
|
package/windows.meta
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
-
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
-
|
|
4
|
-
#nullable enable annotations
|
|
5
|
-
|
|
6
|
-
using System;
|
|
7
|
-
using System.Collections.Generic;
|
|
8
|
-
using System.Reflection;
|
|
9
|
-
using System.Runtime.InteropServices;
|
|
10
|
-
using System.Security;
|
|
11
|
-
using System.Threading.Tasks;
|
|
12
|
-
|
|
13
|
-
namespace Csp.Services
|
|
14
|
-
{
|
|
15
|
-
public enum EResultBaseFailureReason
|
|
16
|
-
{
|
|
17
|
-
Unknown = -1,
|
|
18
|
-
None = 0,
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
-
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
-
|
|
4
|
-
#nullable enable annotations
|
|
5
|
-
|
|
6
|
-
using System;
|
|
7
|
-
using System.Collections.Generic;
|
|
8
|
-
using System.Reflection;
|
|
9
|
-
using System.Runtime.InteropServices;
|
|
10
|
-
using System.Security;
|
|
11
|
-
using System.Threading.Tasks;
|
|
12
|
-
|
|
13
|
-
namespace Csp.Services
|
|
14
|
-
{
|
|
15
|
-
/// @namespace csp::services
|
|
16
|
-
/// <remarks>This namespace wraps abstraction layers around Magnopus Services</remarks>
|
|
17
|
-
/// <summary>Abstract base class for all CHS web services.</summary>
|
|
18
|
-
|
|
19
|
-
public class WebService : NativeClassWrapper, IDisposable
|
|
20
|
-
{
|
|
21
|
-
internal override string _safeTypeName { get; } = "csp_services_WebService";
|
|
22
|
-
|
|
23
|
-
#region P/Invoke
|
|
24
|
-
#pragma warning disable IDE1006
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[
|
|
29
|
-
DllImport(
|
|
30
|
-
#if !UNITY_EDITOR && UNITY_IOS
|
|
31
|
-
"__Internal"
|
|
32
|
-
#elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
|
|
33
|
-
"ConnectedSpacesPlatform_D"
|
|
34
|
-
#else
|
|
35
|
-
"ConnectedSpacesPlatform"
|
|
36
|
-
#endif
|
|
37
|
-
),
|
|
38
|
-
SuppressUnmanagedCodeSecurity
|
|
39
|
-
]
|
|
40
|
-
static extern NativePointer csp_services_WebService_Ctor();
|
|
41
|
-
|
|
42
|
-
[
|
|
43
|
-
DllImport(
|
|
44
|
-
#if !UNITY_EDITOR && UNITY_IOS
|
|
45
|
-
"__Internal"
|
|
46
|
-
#elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
|
|
47
|
-
"ConnectedSpacesPlatform_D"
|
|
48
|
-
#else
|
|
49
|
-
"ConnectedSpacesPlatform"
|
|
50
|
-
#endif
|
|
51
|
-
),
|
|
52
|
-
SuppressUnmanagedCodeSecurity
|
|
53
|
-
]
|
|
54
|
-
static extern void csp_services_WebService_Dtor(IntPtr @class);
|
|
55
|
-
|
|
56
|
-
#pragma warning restore IDE1006
|
|
57
|
-
#endregion
|
|
58
|
-
|
|
59
|
-
internal WebService(NativePointer ptr) : base(ptr) { }
|
|
60
|
-
|
|
61
|
-
public WebService()
|
|
62
|
-
{
|
|
63
|
-
var np = csp_services_WebService_Ctor();
|
|
64
|
-
_ptr = np.Pointer;
|
|
65
|
-
_ownsPtr = np.OwnsOwnData;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
~WebService()
|
|
69
|
-
{
|
|
70
|
-
//RealDispose();
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
void RealDispose()
|
|
74
|
-
{
|
|
75
|
-
if (_ownsPtr && !_disposed)
|
|
76
|
-
{
|
|
77
|
-
csp_services_WebService_Dtor(_ptr);
|
|
78
|
-
_disposed = true;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
_disposed = true;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
public void Dispose()
|
|
85
|
-
{
|
|
86
|
-
RealDispose();
|
|
87
|
-
GC.SuppressFinalize(this);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|