connected-spaces-platform.unity.core 4.10.0-prerelease3
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.asmdef +16 -0
- package/Editor/NativePluginBuildProcessor.asmdef.meta +7 -0
- package/Editor/NativePluginBuildProcessor.cs +41 -0
- package/Editor/NativePluginBuildProcessor.cs.meta +11 -0
- package/Editor.meta +7 -0
- package/Source/CSPFoundation.cs +417 -0
- package/Source/CSPFoundation.cs.meta +11 -0
- package/Source/ClientUserAgent.cs +292 -0
- package/Source/ClientUserAgent.cs.meta +11 -0
- package/Source/Common/Array.cs +201 -0
- package/Source/Common/Array.cs.meta +11 -0
- package/Source/Common/CancellationToken.cs +175 -0
- package/Source/Common/CancellationToken.cs.meta +11 -0
- package/Source/Common/FileExtensions.cs +15317 -0
- package/Source/Common/FileExtensions.cs.meta +11 -0
- package/Source/Common/List.cs +275 -0
- package/Source/Common/List.cs.meta +11 -0
- package/Source/Common/Map.cs +283 -0
- package/Source/Common/Map.cs.meta +11 -0
- package/Source/Common/MimeTypeHelper.cs +210 -0
- package/Source/Common/MimeTypeHelper.cs.meta +11 -0
- package/Source/Common/MimeTypes.cs +10565 -0
- package/Source/Common/MimeTypes.cs.meta +11 -0
- package/Source/Common/Variant.cs +573 -0
- package/Source/Common/Variant.cs.meta +11 -0
- package/Source/Common/VariantType.cs +28 -0
- package/Source/Common/VariantType.cs.meta +11 -0
- package/Source/Common/Vector3.cs +268 -0
- package/Source/Common/Vector3.cs.meta +11 -0
- package/Source/Common/Vector4.cs +328 -0
- package/Source/Common/Vector4.cs.meta +11 -0
- package/Source/Common.meta +7 -0
- package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef +14 -0
- package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef.meta +7 -0
- package/Source/Csp.cs +83 -0
- package/Source/Csp.cs.meta +11 -0
- package/Source/EThirdPartyPlatform.cs +26 -0
- package/Source/EThirdPartyPlatform.cs.meta +11 -0
- package/Source/EndpointURIs.cs +258 -0
- package/Source/EndpointURIs.cs.meta +11 -0
- package/Source/Il2cppPreserver.cs +29 -0
- package/Source/Il2cppPreserver.cs.meta +11 -0
- package/Source/Multiplayer/AssetDetailBlobParams.cs +270 -0
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +11 -0
- package/Source/Multiplayer/ComponentBase.cs +339 -0
- package/Source/Multiplayer/ComponentBase.cs.meta +11 -0
- package/Source/Multiplayer/ComponentType.cs +46 -0
- package/Source/Multiplayer/ComponentType.cs.meta +11 -0
- package/Source/Multiplayer/ComponentUpdateInfo.cs +161 -0
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +11 -0
- package/Source/Multiplayer/ComponentUpdateType.cs +24 -0
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelActions.cs +25 -0
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs +36 -0
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +793 -0
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioPlaybackState.cs +25 -0
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs +33 -0
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs +693 -0
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioType.cs +24 -0
- package/Source/Multiplayer/Components/AudioType.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs +37 -0
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarPlayMode.cs +26 -0
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs +946 -0
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarState.cs +29 -0
- package/Source/Multiplayer/Components/AvatarState.cs.meta +11 -0
- package/Source/Multiplayer/Components/BillboardMode.cs +24 -0
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs +32 -0
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs +597 -0
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionMode.cs +23 -0
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionShape.cs +25 -0
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs +757 -0
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +1105 -0
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs +24 -0
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs +370 -0
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/DisplayMode.cs +24 -0
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs +24 -0
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs +216 -0
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkActions.cs +23 -0
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs +31 -0
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs +579 -0
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs +569 -0
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogMode.cs +24 -0
- package/Source/Multiplayer/Components/FogMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogPropertyKeys.cs +36 -0
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogSpaceComponent.cs +836 -0
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs +33 -0
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs +693 -0
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs +28 -0
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs +27 -0
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs +27 -0
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs +28 -0
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces.meta +7 -0
- package/Source/Multiplayer/Components/LightCookieType.cs +24 -0
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightPropertyKeys.cs +38 -0
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightShadowType.cs +25 -0
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightSpaceComponent.cs +891 -0
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightType.cs +25 -0
- package/Source/Multiplayer/Components/LightType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LocomotionModel.cs +24 -0
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +11 -0
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs +371 -0
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionShape.cs +23 -0
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs +515 -0
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs +25 -0
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptScope.cs +24 -0
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs +258 -0
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs +23 -0
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs +184 -0
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs +32 -0
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +640 -0
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerActions.cs +24 -0
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs +25 -0
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs +42 -0
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs +25 -0
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs +1187 -0
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components.meta +7 -0
- package/Source/Multiplayer/ConnectionState.cs +25 -0
- package/Source/Multiplayer/ConnectionState.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs +293 -0
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationInfo.cs +205 -0
- package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs +26 -0
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationResult.cs +152 -0
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationSystem.cs +784 -0
- package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +175 -0
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageInfo.cs +172 -0
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageResult.cs +150 -0
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation.meta +7 -0
- package/Source/Multiplayer/ConversationSystemParams.cs +165 -0
- package/Source/Multiplayer/ConversationSystemParams.cs.meta +11 -0
- package/Source/Multiplayer/EAssetChangeType.cs +27 -0
- package/Source/Multiplayer/EAssetChangeType.cs.meta +11 -0
- package/Source/Multiplayer/IEntityDeserialiser.cs +70 -0
- package/Source/Multiplayer/IEntityDeserialiser.cs.meta +11 -0
- package/Source/Multiplayer/IEntitySerialiser.cs +63 -0
- package/Source/Multiplayer/IEntitySerialiser.cs.meta +11 -0
- package/Source/Multiplayer/MultiplayerConnection.cs +964 -0
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +11 -0
- package/Source/Multiplayer/PropertyUpdateInfo.cs +159 -0
- package/Source/Multiplayer/PropertyUpdateInfo.cs.meta +11 -0
- package/Source/Multiplayer/ReplicatedValue.cs +593 -0
- package/Source/Multiplayer/ReplicatedValue.cs.meta +11 -0
- package/Source/Multiplayer/ReplicatedValueType.cs +28 -0
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +11 -0
- package/Source/Multiplayer/Script/EntityScript.cs +479 -0
- package/Source/Multiplayer/Script/EntityScript.cs.meta +11 -0
- package/Source/Multiplayer/Script.meta +7 -0
- package/Source/Multiplayer/SpaceEntity.cs +1202 -0
- package/Source/Multiplayer/SpaceEntity.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntitySystem.cs +1304 -0
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntityType.cs +25 -0
- package/Source/Multiplayer/SpaceEntityType.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs +27 -0
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +11 -0
- package/Source/Multiplayer/SpaceTransform.cs +232 -0
- package/Source/Multiplayer/SpaceTransform.cs.meta +11 -0
- package/Source/Multiplayer.meta +7 -0
- package/Source/NativeClassWrapper.cs +42 -0
- package/Source/NativeClassWrapper.cs.meta +11 -0
- package/Source/ProgressEventArgs.cs +15 -0
- package/Source/ProgressEventArgs.cs.meta +11 -0
- package/Source/Ref.cs +28 -0
- package/Source/Ref.cs.meta +11 -0
- package/Source/Services/EResultCode.cs +26 -0
- package/Source/Services/EResultCode.cs.meta +11 -0
- package/Source/Services/ResultBase.cs +237 -0
- package/Source/Services/ResultBase.cs.meta +11 -0
- package/Source/Services/WebService.cs +91 -0
- package/Source/Services/WebService.cs.meta +11 -0
- package/Source/Services.meta +7 -0
- package/Source/Systems/Analytics/AnalyticsEvent.cs +288 -0
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +11 -0
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs +78 -0
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +11 -0
- package/Source/Systems/Analytics/AnalyticsSystem.cs +116 -0
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +11 -0
- package/Source/Systems/Analytics/IAnalyticsProvider.cs +85 -0
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +11 -0
- package/Source/Systems/Analytics.meta +7 -0
- package/Source/Systems/Assets/Asset.cs +698 -0
- package/Source/Systems/Assets/Asset.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollection.cs +605 -0
- package/Source/Systems/Assets/AssetCollection.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollectionResult.cs +119 -0
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollectionsResult.cs +161 -0
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetDataResult.cs +175 -0
- package/Source/Systems/Assets/AssetDataResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetDataSource.cs +24 -0
- package/Source/Systems/Assets/AssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/AssetResult.cs +131 -0
- package/Source/Systems/Assets/AssetResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetSystem.cs +1601 -0
- package/Source/Systems/Assets/AssetSystem.cs.meta +11 -0
- package/Source/Systems/Assets/AssetsResult.cs +148 -0
- package/Source/Systems/Assets/AssetsResult.cs.meta +11 -0
- package/Source/Systems/Assets/BufferAssetDataSource.cs +214 -0
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetCollectionType.cs +24 -0
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetPlatform.cs +20 -0
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetType.cs +30 -0
- package/Source/Systems/Assets/EAssetType.cs.meta +11 -0
- package/Source/Systems/Assets/FileAssetDataSource.cs +177 -0
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/LODAsset.cs +157 -0
- package/Source/Systems/Assets/LODAsset.cs.meta +11 -0
- package/Source/Systems/Assets/LODChain.cs +158 -0
- package/Source/Systems/Assets/LODChain.cs.meta +11 -0
- package/Source/Systems/Assets/LODChainResult.cs +131 -0
- package/Source/Systems/Assets/LODChainResult.cs.meta +11 -0
- package/Source/Systems/Assets/UriResult.cs +193 -0
- package/Source/Systems/Assets/UriResult.cs.meta +11 -0
- package/Source/Systems/Assets.meta +7 -0
- package/Source/Systems/BooleanResult.cs +146 -0
- package/Source/Systems/BooleanResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs +112 -0
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartInfo.cs +233 -0
- package/Source/Systems/ECommerce/CartInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartInfoResult.cs +132 -0
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartLine.cs +197 -0
- package/Source/Systems/ECommerce/CartLine.cs.meta +11 -0
- package/Source/Systems/ECommerce/CheckoutInfo.cs +161 -0
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs +117 -0
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CurrencyInfo.cs +161 -0
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ECommerceSystem.cs +564 -0
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductInfo.cs +341 -0
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductInfoResult.cs +117 -0
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductMediaInfo.cs +269 -0
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductVariantInfo.cs +342 -0
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs +269 -0
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs +120 -0
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/VariantOptionInfo.cs +161 -0
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce.meta +7 -0
- package/Source/Systems/EventTicketing/EventTicket.cs +378 -0
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketResult.cs +115 -0
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs +563 -0
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs +24 -0
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +11 -0
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs +115 -0
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketStatus.cs +26 -0
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEvent.cs +305 -0
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs +117 -0
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventResult.cs +117 -0
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs +248 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs +115 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing.meta +7 -0
- package/Source/Systems/GraphQL/GraphQLResult.cs +146 -0
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +11 -0
- package/Source/Systems/GraphQL/GraphQLSystem.cs +221 -0
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +11 -0
- package/Source/Systems/GraphQL.meta +7 -0
- package/Source/Systems/HTTPHeadersResult.cs +147 -0
- package/Source/Systems/HTTPHeadersResult.cs.meta +11 -0
- package/Source/Systems/Log/LogLevel.cs +28 -0
- package/Source/Systems/Log/LogLevel.cs.meta +11 -0
- package/Source/Systems/Log/LogSystem.cs +331 -0
- package/Source/Systems/Log/LogSystem.cs.meta +11 -0
- package/Source/Systems/Log.meta +7 -0
- package/Source/Systems/Maintenance/MaintenanceInfo.cs +211 -0
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +11 -0
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs +252 -0
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +11 -0
- package/Source/Systems/Maintenance/MaintenanceSystem.cs +154 -0
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +11 -0
- package/Source/Systems/Maintenance.meta +7 -0
- package/Source/Systems/NullResult.cs +122 -0
- package/Source/Systems/NullResult.cs.meta +11 -0
- package/Source/Systems/Script/ScriptSystem.cs +198 -0
- package/Source/Systems/Script/ScriptSystem.cs.meta +11 -0
- package/Source/Systems/Script.meta +7 -0
- package/Source/Systems/Settings/SettingsCollection.cs +191 -0
- package/Source/Systems/Settings/SettingsCollection.cs.meta +11 -0
- package/Source/Systems/Settings/SettingsCollectionResult.cs +119 -0
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +11 -0
- package/Source/Systems/Settings/SettingsSystem.cs +999 -0
- package/Source/Systems/Settings/SettingsSystem.cs.meta +11 -0
- package/Source/Systems/Settings.meta +7 -0
- package/Source/Systems/Spaces/BasicSpace.cs +225 -0
- package/Source/Systems/Spaces/BasicSpace.cs.meta +11 -0
- package/Source/Systems/Spaces/BasicSpaceResult.cs +111 -0
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +11 -0
- package/Source/Systems/Spaces/BasicSpacesResult.cs +144 -0
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs +178 -0
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +11 -0
- package/Source/Systems/Spaces/PendingInvitesResult.cs +117 -0
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/Site.cs +259 -0
- package/Source/Systems/Spaces/Site.cs.meta +11 -0
- package/Source/Systems/Spaces/SiteResult.cs +114 -0
- package/Source/Systems/Spaces/SiteResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SitesCollectionResult.cs +117 -0
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spaces/Space.cs +321 -0
- package/Source/Systems/Spaces/Space.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceAttributes.cs +27 -0
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceGeoLocation.cs +225 -0
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs +162 -0
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceMetadataResult.cs +144 -0
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceResult.cs +160 -0
- package/Source/Systems/Spaces/SpaceResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceSystem.cs +2322 -0
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceUserRole.cs +22 -0
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +11 -0
- package/Source/Systems/Spaces/SpacesMetadataResult.cs +146 -0
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpacesResult.cs +132 -0
- package/Source/Systems/Spaces/SpacesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs +146 -0
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spaces/UserRoleInfo.cs +178 -0
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +11 -0
- package/Source/Systems/Spaces.meta +7 -0
- package/Source/Systems/Spatial/Anchor.cs +534 -0
- package/Source/Systems/Spatial/Anchor.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorCollectionResult.cs +117 -0
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorProvider.cs +20 -0
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolution.cs +293 -0
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs +119 -0
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolutionResult.cs +119 -0
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResult.cs +111 -0
- package/Source/Systems/Spatial/AnchorResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorSystem.cs +738 -0
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +11 -0
- package/Source/Systems/Spatial/EPointOfInterestType.cs +20 -0
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +11 -0
- package/Source/Systems/Spatial/GeoLocation.cs +202 -0
- package/Source/Systems/Spatial/GeoLocation.cs.meta +11 -0
- package/Source/Systems/Spatial/OlyAnchorPosition.cs +216 -0
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +11 -0
- package/Source/Systems/Spatial/OlyRotation.cs +250 -0
- package/Source/Systems/Spatial/OlyRotation.cs.meta +11 -0
- package/Source/Systems/Spatial/POICollectionResult.cs +117 -0
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/POIResult.cs +113 -0
- package/Source/Systems/Spatial/POIResult.cs.meta +11 -0
- package/Source/Systems/Spatial/PointOfInterest.cs +463 -0
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +11 -0
- package/Source/Systems/Spatial/PointOfInterestSystem.cs +314 -0
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +11 -0
- package/Source/Systems/Spatial.meta +7 -0
- package/Source/Systems/StringArrayResult.cs +146 -0
- package/Source/Systems/StringArrayResult.cs.meta +11 -0
- package/Source/Systems/StringResult.cs +149 -0
- package/Source/Systems/StringResult.cs.meta +11 -0
- package/Source/Systems/SystemBase.cs +84 -0
- package/Source/Systems/SystemBase.cs.meta +11 -0
- package/Source/Systems/SystemsManager.cs +474 -0
- package/Source/Systems/SystemsManager.cs.meta +11 -0
- package/Source/Systems/UInt64Result.cs +146 -0
- package/Source/Systems/UInt64Result.cs.meta +11 -0
- package/Source/Systems/Users/AgoraUserTokenParams.cs +326 -0
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +11 -0
- package/Source/Systems/Users/AgoraUserTokenResult.cs +130 -0
- package/Source/Systems/Users/AgoraUserTokenResult.cs.meta +11 -0
- package/Source/Systems/Users/BasicProfile.cs +259 -0
- package/Source/Systems/Users/BasicProfile.cs.meta +11 -0
- package/Source/Systems/Users/BasicProfilesResult.cs +112 -0
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +11 -0
- package/Source/Systems/Users/ELoginState.cs +25 -0
- package/Source/Systems/Users/ELoginState.cs.meta +11 -0
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs +28 -0
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +11 -0
- package/Source/Systems/Users/LoginState.cs +304 -0
- package/Source/Systems/Users/LoginState.cs.meta +11 -0
- package/Source/Systems/Users/LoginStateResult.cs +126 -0
- package/Source/Systems/Users/LoginStateResult.cs.meta +11 -0
- package/Source/Systems/Users/LoginTokenInfo.cs +224 -0
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +11 -0
- package/Source/Systems/Users/LoginTokenReceived.cs +129 -0
- package/Source/Systems/Users/LoginTokenReceived.cs.meta +11 -0
- package/Source/Systems/Users/LogoutResult.cs +105 -0
- package/Source/Systems/Users/LogoutResult.cs.meta +11 -0
- package/Source/Systems/Users/PingResponseReceived.cs +106 -0
- package/Source/Systems/Users/PingResponseReceived.cs.meta +11 -0
- package/Source/Systems/Users/Profile.cs +367 -0
- package/Source/Systems/Users/Profile.cs.meta +11 -0
- package/Source/Systems/Users/ProfileResult.cs +110 -0
- package/Source/Systems/Users/ProfileResult.cs.meta +11 -0
- package/Source/Systems/Users/ProviderDetailsResult.cs +142 -0
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +11 -0
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs +231 -0
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +11 -0
- package/Source/Systems/Users/UserSystem.cs +1468 -0
- package/Source/Systems/Users/UserSystem.cs.meta +11 -0
- package/Source/Systems/Users.meta +7 -0
- package/Source/Systems/Voip/VoipSystem.cs +132 -0
- package/Source/Systems/Voip/VoipSystem.cs.meta +11 -0
- package/Source/Systems/Voip.meta +7 -0
- package/Source/Systems.meta +7 -0
- package/Source/Web/EResponseCodes.cs +83 -0
- package/Source/Web/EResponseCodes.cs.meta +11 -0
- package/Source/Web.meta +7 -0
- package/Source/WrapperHelper.cs +96 -0
- package/Source/WrapperHelper.cs.meta +11 -0
- package/Source.meta +7 -0
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +79 -0
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +79 -0
- package/android64.meta +7 -0
- package/package.json +13 -0
- package/package.json.meta +7 -0
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +79 -0
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +79 -0
- package/windows.meta +7 -0
|
@@ -0,0 +1,564 @@
|
|
|
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.Systems
|
|
14
|
+
{
|
|
15
|
+
/// @ingroup ECommerce System
|
|
16
|
+
/// <summary>Public facing system that allows interfacing with CSP's concept of a ECommerce platform.</summary>
|
|
17
|
+
/// <remarks>Offers methods for utilising Ecommerce through CSP</remarks>
|
|
18
|
+
|
|
19
|
+
public class ECommerceSystem : Csp.Systems.SystemBase
|
|
20
|
+
{
|
|
21
|
+
internal override string _safeTypeName { get; } = "csp_systems_ECommerceSystem";
|
|
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
|
|
33
|
+
"ConnectedSpacesPlatform_D"
|
|
34
|
+
#else
|
|
35
|
+
"ConnectedSpacesPlatform"
|
|
36
|
+
#endif
|
|
37
|
+
),
|
|
38
|
+
SuppressUnmanagedCodeSecurity
|
|
39
|
+
]
|
|
40
|
+
static extern NativePointer csp_systems_ECommerceSystem_Ctor();
|
|
41
|
+
|
|
42
|
+
[
|
|
43
|
+
DllImport(
|
|
44
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
45
|
+
"__Internal"
|
|
46
|
+
#elif DEBUG
|
|
47
|
+
"ConnectedSpacesPlatform_D"
|
|
48
|
+
#else
|
|
49
|
+
"ConnectedSpacesPlatform"
|
|
50
|
+
#endif
|
|
51
|
+
),
|
|
52
|
+
SuppressUnmanagedCodeSecurity
|
|
53
|
+
]
|
|
54
|
+
static extern void csp_systems_ECommerceSystem_Dtor(IntPtr @class);
|
|
55
|
+
|
|
56
|
+
[
|
|
57
|
+
DllImport(
|
|
58
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
59
|
+
"__Internal"
|
|
60
|
+
#elif DEBUG
|
|
61
|
+
"ConnectedSpacesPlatform_D"
|
|
62
|
+
#else
|
|
63
|
+
"ConnectedSpacesPlatform"
|
|
64
|
+
#endif
|
|
65
|
+
),
|
|
66
|
+
SuppressUnmanagedCodeSecurity
|
|
67
|
+
]
|
|
68
|
+
static extern void csp_systems_ECommerceSystem_GetProductInformation_void_StringRC_StringRC_ProductInfoResultCallback(
|
|
69
|
+
IntPtr @class,
|
|
70
|
+
string SpaceId,
|
|
71
|
+
string ProductId,
|
|
72
|
+
GetProductInformationCallbackDelegate callback,
|
|
73
|
+
IntPtr callbackStateObject
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
[
|
|
77
|
+
DllImport(
|
|
78
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
79
|
+
"__Internal"
|
|
80
|
+
#elif DEBUG
|
|
81
|
+
"ConnectedSpacesPlatform_D"
|
|
82
|
+
#else
|
|
83
|
+
"ConnectedSpacesPlatform"
|
|
84
|
+
#endif
|
|
85
|
+
),
|
|
86
|
+
SuppressUnmanagedCodeSecurity
|
|
87
|
+
]
|
|
88
|
+
static extern void csp_systems_ECommerceSystem_GetCheckoutInformation_void_StringRC_StringRC_CheckoutInfoResultCallback(
|
|
89
|
+
IntPtr @class,
|
|
90
|
+
string SpaceId,
|
|
91
|
+
string CartId,
|
|
92
|
+
GetCheckoutInformationCallbackDelegate callback,
|
|
93
|
+
IntPtr callbackStateObject
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
[
|
|
97
|
+
DllImport(
|
|
98
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
99
|
+
"__Internal"
|
|
100
|
+
#elif DEBUG
|
|
101
|
+
"ConnectedSpacesPlatform_D"
|
|
102
|
+
#else
|
|
103
|
+
"ConnectedSpacesPlatform"
|
|
104
|
+
#endif
|
|
105
|
+
),
|
|
106
|
+
SuppressUnmanagedCodeSecurity
|
|
107
|
+
]
|
|
108
|
+
static extern void csp_systems_ECommerceSystem_CreateCart_void_StringRC_CartInfoResultCallback(
|
|
109
|
+
IntPtr @class,
|
|
110
|
+
string SpaceId,
|
|
111
|
+
CreateCartCallbackDelegate callback,
|
|
112
|
+
IntPtr callbackStateObject
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
[
|
|
116
|
+
DllImport(
|
|
117
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
118
|
+
"__Internal"
|
|
119
|
+
#elif DEBUG
|
|
120
|
+
"ConnectedSpacesPlatform_D"
|
|
121
|
+
#else
|
|
122
|
+
"ConnectedSpacesPlatform"
|
|
123
|
+
#endif
|
|
124
|
+
),
|
|
125
|
+
SuppressUnmanagedCodeSecurity
|
|
126
|
+
]
|
|
127
|
+
static extern void csp_systems_ECommerceSystem_GetCart_void_StringRC_StringRC_CartInfoResultCallback(
|
|
128
|
+
IntPtr @class,
|
|
129
|
+
string SpaceId,
|
|
130
|
+
string CartId,
|
|
131
|
+
GetCartCallbackDelegate callback,
|
|
132
|
+
IntPtr callbackStateObject
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
[
|
|
136
|
+
DllImport(
|
|
137
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
138
|
+
"__Internal"
|
|
139
|
+
#elif DEBUG
|
|
140
|
+
"ConnectedSpacesPlatform_D"
|
|
141
|
+
#else
|
|
142
|
+
"ConnectedSpacesPlatform"
|
|
143
|
+
#endif
|
|
144
|
+
),
|
|
145
|
+
SuppressUnmanagedCodeSecurity
|
|
146
|
+
]
|
|
147
|
+
static extern void csp_systems_ECommerceSystem_AddShopifyStore_void_StringRC_StringRC_boolC_StringRC_AddShopifyStoreResultCallback(
|
|
148
|
+
IntPtr @class,
|
|
149
|
+
string StoreName,
|
|
150
|
+
string SpaceId,
|
|
151
|
+
bool IsEcommerceActive,
|
|
152
|
+
string PrivateAccessToken,
|
|
153
|
+
AddShopifyStoreCallbackDelegate callback,
|
|
154
|
+
IntPtr callbackStateObject
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
[
|
|
158
|
+
DllImport(
|
|
159
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
160
|
+
"__Internal"
|
|
161
|
+
#elif DEBUG
|
|
162
|
+
"ConnectedSpacesPlatform_D"
|
|
163
|
+
#else
|
|
164
|
+
"ConnectedSpacesPlatform"
|
|
165
|
+
#endif
|
|
166
|
+
),
|
|
167
|
+
SuppressUnmanagedCodeSecurity
|
|
168
|
+
]
|
|
169
|
+
static extern void csp_systems_ECommerceSystem_ValidateShopifyStore_void_StringRC_StringRC_ValidateShopifyStoreResultCallback(
|
|
170
|
+
IntPtr @class,
|
|
171
|
+
string StoreName,
|
|
172
|
+
string PrivateAccessToken,
|
|
173
|
+
ValidateShopifyStoreCallbackDelegate callback,
|
|
174
|
+
IntPtr callbackStateObject
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
[
|
|
178
|
+
DllImport(
|
|
179
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
180
|
+
"__Internal"
|
|
181
|
+
#elif DEBUG
|
|
182
|
+
"ConnectedSpacesPlatform_D"
|
|
183
|
+
#else
|
|
184
|
+
"ConnectedSpacesPlatform"
|
|
185
|
+
#endif
|
|
186
|
+
),
|
|
187
|
+
SuppressUnmanagedCodeSecurity
|
|
188
|
+
]
|
|
189
|
+
static extern void csp_systems_ECommerceSystem_UpdateCartInformation_void_CartInfoRC_CartInfoResultCallback(
|
|
190
|
+
IntPtr @class,
|
|
191
|
+
IntPtr CartInformation,
|
|
192
|
+
UpdateCartInformationCallbackDelegate callback,
|
|
193
|
+
IntPtr callbackStateObject
|
|
194
|
+
);
|
|
195
|
+
|
|
196
|
+
#pragma warning restore IDE1006
|
|
197
|
+
#endregion
|
|
198
|
+
|
|
199
|
+
internal ECommerceSystem(NativePointer ptr) : base(ptr) { }
|
|
200
|
+
|
|
201
|
+
public ECommerceSystem(Csp.Systems.SystemBase baseInstance)
|
|
202
|
+
: base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
|
|
203
|
+
{
|
|
204
|
+
// Prevent previous instance from freeing underlying pointer when destroyed
|
|
205
|
+
baseInstance._ownsPtr = false;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
delegate void GetProductInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
209
|
+
|
|
210
|
+
delegate void GetCheckoutInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
211
|
+
|
|
212
|
+
delegate void CreateCartCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
213
|
+
|
|
214
|
+
delegate void GetCartCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
215
|
+
|
|
216
|
+
delegate void AddShopifyStoreCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
217
|
+
|
|
218
|
+
delegate void ValidateShopifyStoreCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
219
|
+
|
|
220
|
+
delegate void UpdateCartInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
221
|
+
|
|
222
|
+
public ECommerceSystem()
|
|
223
|
+
{
|
|
224
|
+
var np = csp_systems_ECommerceSystem_Ctor();
|
|
225
|
+
_ptr = np.Pointer;
|
|
226
|
+
_ownsPtr = np.OwnsOwnData;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
~ECommerceSystem()
|
|
230
|
+
{
|
|
231
|
+
//RealDispose();
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
void RealDispose()
|
|
235
|
+
{
|
|
236
|
+
if (_ownsPtr && !_disposed)
|
|
237
|
+
{
|
|
238
|
+
csp_systems_ECommerceSystem_Dtor(_ptr);
|
|
239
|
+
_disposed = true;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
_disposed = true;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
new public void Dispose()
|
|
246
|
+
{
|
|
247
|
+
RealDispose();
|
|
248
|
+
GC.SuppressFinalize(this);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
252
|
+
[AOT.MonoPInvokeCallback (typeof (GetProductInformationCallbackDelegate))]
|
|
253
|
+
#endif
|
|
254
|
+
static void GetProductInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
255
|
+
{
|
|
256
|
+
var _handle = (GCHandle)_StateObject__;
|
|
257
|
+
var tcs = (TaskCompletionSource<Csp.Systems.ProductInfoResult>)_handle.Target;
|
|
258
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
259
|
+
|
|
260
|
+
var task_result = new Csp.Systems.ProductInfoResult(_Result);
|
|
261
|
+
|
|
262
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
263
|
+
{
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
tcs.SetResult(task_result);
|
|
268
|
+
_handle.Free();
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
static readonly GetProductInformationCallbackDelegate GetProductInformationDelegateInstance =
|
|
272
|
+
GetProductInformationCallbackDelegateFunction;
|
|
273
|
+
|
|
274
|
+
/// <summary>Get product information from a shopify store within a space</summary>
|
|
275
|
+
/// <param name="SpaceId">Space id of product</param>
|
|
276
|
+
/// <param name="ProductId">Product id of product</param>
|
|
277
|
+
/// <returns>The result for the request</returns>
|
|
278
|
+
|
|
279
|
+
public Task<Csp.Systems.ProductInfoResult> GetProductInformation(string SpaceId, string ProductId)
|
|
280
|
+
{
|
|
281
|
+
var tcs = new TaskCompletionSource<Csp.Systems.ProductInfoResult>(this);
|
|
282
|
+
var handle = GCHandle.Alloc(tcs);
|
|
283
|
+
|
|
284
|
+
csp_systems_ECommerceSystem_GetProductInformation_void_StringRC_StringRC_ProductInfoResultCallback(
|
|
285
|
+
_ptr,
|
|
286
|
+
SpaceId,
|
|
287
|
+
ProductId,
|
|
288
|
+
GetProductInformationDelegateInstance,
|
|
289
|
+
(IntPtr)handle
|
|
290
|
+
);
|
|
291
|
+
|
|
292
|
+
return tcs.Task;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
296
|
+
[AOT.MonoPInvokeCallback (typeof (GetCheckoutInformationCallbackDelegate))]
|
|
297
|
+
#endif
|
|
298
|
+
static void GetCheckoutInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
299
|
+
{
|
|
300
|
+
var _handle = (GCHandle)_StateObject__;
|
|
301
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CheckoutInfoResult>)_handle.Target;
|
|
302
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
303
|
+
|
|
304
|
+
var task_result = new Csp.Systems.CheckoutInfoResult(_Result);
|
|
305
|
+
|
|
306
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
307
|
+
{
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
tcs.SetResult(task_result);
|
|
312
|
+
_handle.Free();
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
static readonly GetCheckoutInformationCallbackDelegate GetCheckoutInformationDelegateInstance =
|
|
316
|
+
GetCheckoutInformationCallbackDelegateFunction;
|
|
317
|
+
|
|
318
|
+
/// <summary>Get checkout information from a shopify store within a space</summary>
|
|
319
|
+
/// <param name="SpaceId">Space id of the cart</param>
|
|
320
|
+
/// <param name="CartId">Id of cart being checked out</param>
|
|
321
|
+
/// <returns>The result for the request</returns>
|
|
322
|
+
|
|
323
|
+
public Task<Csp.Systems.CheckoutInfoResult> GetCheckoutInformation(string SpaceId, string CartId)
|
|
324
|
+
{
|
|
325
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CheckoutInfoResult>(this);
|
|
326
|
+
var handle = GCHandle.Alloc(tcs);
|
|
327
|
+
|
|
328
|
+
csp_systems_ECommerceSystem_GetCheckoutInformation_void_StringRC_StringRC_CheckoutInfoResultCallback(
|
|
329
|
+
_ptr,
|
|
330
|
+
SpaceId,
|
|
331
|
+
CartId,
|
|
332
|
+
GetCheckoutInformationDelegateInstance,
|
|
333
|
+
(IntPtr)handle
|
|
334
|
+
);
|
|
335
|
+
|
|
336
|
+
return tcs.Task;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
340
|
+
[AOT.MonoPInvokeCallback (typeof (CreateCartCallbackDelegate))]
|
|
341
|
+
#endif
|
|
342
|
+
static void CreateCartCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
343
|
+
{
|
|
344
|
+
var _handle = (GCHandle)_StateObject__;
|
|
345
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
|
|
346
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
347
|
+
|
|
348
|
+
var task_result = new Csp.Systems.CartInfoResult(_Result);
|
|
349
|
+
|
|
350
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
351
|
+
{
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
tcs.SetResult(task_result);
|
|
356
|
+
_handle.Free();
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
static readonly CreateCartCallbackDelegate CreateCartDelegateInstance = CreateCartCallbackDelegateFunction;
|
|
360
|
+
|
|
361
|
+
/// <summary>Creates a cart for the current user in the given space.</summary>
|
|
362
|
+
/// <param name="SpaceId">ID of the space to create the cart for.</param>
|
|
363
|
+
/// <returns>The result for the request</returns>
|
|
364
|
+
|
|
365
|
+
public Task<Csp.Systems.CartInfoResult> CreateCart(string SpaceId)
|
|
366
|
+
{
|
|
367
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
|
|
368
|
+
var handle = GCHandle.Alloc(tcs);
|
|
369
|
+
|
|
370
|
+
csp_systems_ECommerceSystem_CreateCart_void_StringRC_CartInfoResultCallback(
|
|
371
|
+
_ptr,
|
|
372
|
+
SpaceId,
|
|
373
|
+
CreateCartDelegateInstance,
|
|
374
|
+
(IntPtr)handle
|
|
375
|
+
);
|
|
376
|
+
|
|
377
|
+
return tcs.Task;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
381
|
+
[AOT.MonoPInvokeCallback (typeof (GetCartCallbackDelegate))]
|
|
382
|
+
#endif
|
|
383
|
+
static void GetCartCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
384
|
+
{
|
|
385
|
+
var _handle = (GCHandle)_StateObject__;
|
|
386
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
|
|
387
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
388
|
+
|
|
389
|
+
var task_result = new Csp.Systems.CartInfoResult(_Result);
|
|
390
|
+
|
|
391
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
392
|
+
{
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
tcs.SetResult(task_result);
|
|
397
|
+
_handle.Free();
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static readonly GetCartCallbackDelegate GetCartDelegateInstance = GetCartCallbackDelegateFunction;
|
|
401
|
+
|
|
402
|
+
/// <summary>Gets a cart for the current user in the given space.</summary>
|
|
403
|
+
/// <param name="SpaceId">ID of the space the cart belongs to.</param>
|
|
404
|
+
/// <param name="CartId">ID of the cart.</param>
|
|
405
|
+
/// <returns>The result for the request</returns>
|
|
406
|
+
|
|
407
|
+
public Task<Csp.Systems.CartInfoResult> GetCart(string SpaceId, string CartId)
|
|
408
|
+
{
|
|
409
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
|
|
410
|
+
var handle = GCHandle.Alloc(tcs);
|
|
411
|
+
|
|
412
|
+
csp_systems_ECommerceSystem_GetCart_void_StringRC_StringRC_CartInfoResultCallback(
|
|
413
|
+
_ptr,
|
|
414
|
+
SpaceId,
|
|
415
|
+
CartId,
|
|
416
|
+
GetCartDelegateInstance,
|
|
417
|
+
(IntPtr)handle
|
|
418
|
+
);
|
|
419
|
+
|
|
420
|
+
return tcs.Task;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
424
|
+
[AOT.MonoPInvokeCallback (typeof (AddShopifyStoreCallbackDelegate))]
|
|
425
|
+
#endif
|
|
426
|
+
static void AddShopifyStoreCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
427
|
+
{
|
|
428
|
+
var _handle = (GCHandle)_StateObject__;
|
|
429
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AddShopifyStoreResult>)_handle.Target;
|
|
430
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
431
|
+
|
|
432
|
+
var task_result = new Csp.Systems.AddShopifyStoreResult(_Result);
|
|
433
|
+
|
|
434
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
435
|
+
{
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
tcs.SetResult(task_result);
|
|
440
|
+
_handle.Free();
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
static readonly AddShopifyStoreCallbackDelegate AddShopifyStoreDelegateInstance =
|
|
444
|
+
AddShopifyStoreCallbackDelegateFunction;
|
|
445
|
+
|
|
446
|
+
/// <summary>Adds a Shopify store to a space.</summary>
|
|
447
|
+
/// <param name="StoreName">The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.</param>
|
|
448
|
+
/// <param name="SpaceId">ID of the space to link the store to.</param>
|
|
449
|
+
/// <param name="IsEcommerceActive">Bool to set the ecommerce system status on creation.</param>
|
|
450
|
+
/// <param name="PrivateAccessToken">The access token for the shopify storefront.</param>
|
|
451
|
+
/// <returns>The result for the request</returns>
|
|
452
|
+
|
|
453
|
+
public Task<Csp.Systems.AddShopifyStoreResult> AddShopifyStore(
|
|
454
|
+
string StoreName,
|
|
455
|
+
string SpaceId,
|
|
456
|
+
bool IsEcommerceActive,
|
|
457
|
+
string PrivateAccessToken
|
|
458
|
+
) {
|
|
459
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AddShopifyStoreResult>(this);
|
|
460
|
+
var handle = GCHandle.Alloc(tcs);
|
|
461
|
+
|
|
462
|
+
csp_systems_ECommerceSystem_AddShopifyStore_void_StringRC_StringRC_boolC_StringRC_AddShopifyStoreResultCallback(
|
|
463
|
+
_ptr,
|
|
464
|
+
StoreName,
|
|
465
|
+
SpaceId,
|
|
466
|
+
IsEcommerceActive,
|
|
467
|
+
PrivateAccessToken,
|
|
468
|
+
AddShopifyStoreDelegateInstance,
|
|
469
|
+
(IntPtr)handle
|
|
470
|
+
);
|
|
471
|
+
|
|
472
|
+
return tcs.Task;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
476
|
+
[AOT.MonoPInvokeCallback (typeof (ValidateShopifyStoreCallbackDelegate))]
|
|
477
|
+
#endif
|
|
478
|
+
static void ValidateShopifyStoreCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
479
|
+
{
|
|
480
|
+
var _handle = (GCHandle)_StateObject__;
|
|
481
|
+
var tcs = (TaskCompletionSource<Csp.Systems.ValidateShopifyStoreResult>)_handle.Target;
|
|
482
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
483
|
+
|
|
484
|
+
var task_result = new Csp.Systems.ValidateShopifyStoreResult(_Result);
|
|
485
|
+
|
|
486
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
487
|
+
{
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
tcs.SetResult(task_result);
|
|
492
|
+
_handle.Free();
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
static readonly ValidateShopifyStoreCallbackDelegate ValidateShopifyStoreDelegateInstance =
|
|
496
|
+
ValidateShopifyStoreCallbackDelegateFunction;
|
|
497
|
+
|
|
498
|
+
/// <summary>Validates a shopify store given a store name and an access token.</summary>
|
|
499
|
+
/// <param name="StoreName">The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.</param>
|
|
500
|
+
/// <param name="PrivateAccessToken">The access token for the shopify storefront.</param>
|
|
501
|
+
/// <returns>The result for the request</returns>
|
|
502
|
+
|
|
503
|
+
public Task<Csp.Systems.ValidateShopifyStoreResult> ValidateShopifyStore(
|
|
504
|
+
string StoreName,
|
|
505
|
+
string PrivateAccessToken
|
|
506
|
+
) {
|
|
507
|
+
var tcs = new TaskCompletionSource<Csp.Systems.ValidateShopifyStoreResult>(this);
|
|
508
|
+
var handle = GCHandle.Alloc(tcs);
|
|
509
|
+
|
|
510
|
+
csp_systems_ECommerceSystem_ValidateShopifyStore_void_StringRC_StringRC_ValidateShopifyStoreResultCallback(
|
|
511
|
+
_ptr,
|
|
512
|
+
StoreName,
|
|
513
|
+
PrivateAccessToken,
|
|
514
|
+
ValidateShopifyStoreDelegateInstance,
|
|
515
|
+
(IntPtr)handle
|
|
516
|
+
);
|
|
517
|
+
|
|
518
|
+
return tcs.Task;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
522
|
+
[AOT.MonoPInvokeCallback (typeof (UpdateCartInformationCallbackDelegate))]
|
|
523
|
+
#endif
|
|
524
|
+
static void UpdateCartInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
525
|
+
{
|
|
526
|
+
var _handle = (GCHandle)_StateObject__;
|
|
527
|
+
var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
|
|
528
|
+
var _this = (ECommerceSystem)tcs.Task.AsyncState;
|
|
529
|
+
|
|
530
|
+
var task_result = new Csp.Systems.CartInfoResult(_Result);
|
|
531
|
+
|
|
532
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
533
|
+
{
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
tcs.SetResult(task_result);
|
|
538
|
+
_handle.Free();
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
static readonly UpdateCartInformationCallbackDelegate UpdateCartInformationDelegateInstance =
|
|
542
|
+
UpdateCartInformationCallbackDelegateFunction;
|
|
543
|
+
|
|
544
|
+
/// <summary>Update cart information from a shopify store within a space</summary>
|
|
545
|
+
/// <param name="CartInformation">Updated Cart Object.</param>
|
|
546
|
+
/// <returns>The result for the request</returns>
|
|
547
|
+
|
|
548
|
+
public Task<Csp.Systems.CartInfoResult> UpdateCartInformation(Csp.Systems.CartInfo CartInformation)
|
|
549
|
+
{
|
|
550
|
+
var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
|
|
551
|
+
var handle = GCHandle.Alloc(tcs);
|
|
552
|
+
|
|
553
|
+
csp_systems_ECommerceSystem_UpdateCartInformation_void_CartInfoRC_CartInfoResultCallback(
|
|
554
|
+
_ptr,
|
|
555
|
+
CartInformation._ptr,
|
|
556
|
+
UpdateCartInformationDelegateInstance,
|
|
557
|
+
(IntPtr)handle
|
|
558
|
+
);
|
|
559
|
+
|
|
560
|
+
return tcs.Task;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 14e31abf029b400aa88a15686b7a9393
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData: null
|
|
10
|
+
assetBundleName: null
|
|
11
|
+
assetBundleVariant: null
|