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,738 @@
|
|
|
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 Anchor System
|
|
16
|
+
/// <summary>Public facing system that allows interfacing with Magnopus Connected Services' concept of an Anchor.</summary>
|
|
17
|
+
/// <remarks>Offers methods for creating and deleting Anchors.</remarks>
|
|
18
|
+
|
|
19
|
+
public class AnchorSystem : Csp.Systems.SystemBase
|
|
20
|
+
{
|
|
21
|
+
internal override string _safeTypeName { get; } = "csp_systems_AnchorSystem";
|
|
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 void csp_systems_AnchorSystem_Dtor(IntPtr @class);
|
|
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_AnchorSystem_CreateAnchor_void_AnchorProvider_StringRC_StringRC_GeoLocationRC_OlyAnchorPositionRC_OlyRotationRC_MapRC_ArrayRC_AnchorResultCallback(
|
|
55
|
+
IntPtr @class,
|
|
56
|
+
AnchorProvider ThirdPartyAnchorProvider,
|
|
57
|
+
string ThirdPartyAnchorId,
|
|
58
|
+
string AssetCollectionId,
|
|
59
|
+
IntPtr Location,
|
|
60
|
+
IntPtr Position,
|
|
61
|
+
IntPtr Rotation,
|
|
62
|
+
IntPtr SpatialKeyValue,
|
|
63
|
+
IntPtr Tags,
|
|
64
|
+
CreateAnchorCallbackDelegate callback,
|
|
65
|
+
IntPtr callbackStateObject
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
[
|
|
69
|
+
DllImport(
|
|
70
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
71
|
+
"__Internal"
|
|
72
|
+
#elif DEBUG
|
|
73
|
+
"ConnectedSpacesPlatform_D"
|
|
74
|
+
#else
|
|
75
|
+
"ConnectedSpacesPlatform"
|
|
76
|
+
#endif
|
|
77
|
+
),
|
|
78
|
+
SuppressUnmanagedCodeSecurity
|
|
79
|
+
]
|
|
80
|
+
static extern void csp_systems_AnchorSystem_CreateAnchorInSpace_void_AnchorProvider_StringRC_StringRC_uint64_t_StringRC_GeoLocationRC_OlyAnchorPositionRC_OlyRotationRC_MapRC_ArrayRC_AnchorResultCallback(
|
|
81
|
+
IntPtr @class,
|
|
82
|
+
AnchorProvider ThirdPartyAnchorProvider,
|
|
83
|
+
string ThirdPartyAnchorId,
|
|
84
|
+
string SpaceId,
|
|
85
|
+
ulong SpaceEntityId,
|
|
86
|
+
string AssetCollectionId,
|
|
87
|
+
IntPtr Location,
|
|
88
|
+
IntPtr Position,
|
|
89
|
+
IntPtr Rotation,
|
|
90
|
+
IntPtr SpatialKeyValue,
|
|
91
|
+
IntPtr Tags,
|
|
92
|
+
CreateAnchorInSpaceCallbackDelegate 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_AnchorSystem_DeleteAnchors_void_ArrayRC_NullResultCallback(
|
|
109
|
+
IntPtr @class,
|
|
110
|
+
IntPtr AnchorIds,
|
|
111
|
+
DeleteAnchorsCallbackDelegate 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_AnchorSystem_GetAnchorsInArea_void_GeoLocationRC_doubleC_ArrayRC_ArrayRC_ArrayRC_boolRC_ArrayRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
128
|
+
IntPtr @class,
|
|
129
|
+
IntPtr OriginLocation,
|
|
130
|
+
double AreaRadius,
|
|
131
|
+
IntPtr SpatialKeys,
|
|
132
|
+
IntPtr SpatialValues,
|
|
133
|
+
IntPtr Tags,
|
|
134
|
+
IntPtr AllTags,
|
|
135
|
+
IntPtr SpaceIds,
|
|
136
|
+
IntPtr Skip,
|
|
137
|
+
IntPtr Limit,
|
|
138
|
+
GetAnchorsInAreaCallbackDelegate callback,
|
|
139
|
+
IntPtr callbackStateObject
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
[
|
|
143
|
+
DllImport(
|
|
144
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
145
|
+
"__Internal"
|
|
146
|
+
#elif DEBUG
|
|
147
|
+
"ConnectedSpacesPlatform_D"
|
|
148
|
+
#else
|
|
149
|
+
"ConnectedSpacesPlatform"
|
|
150
|
+
#endif
|
|
151
|
+
),
|
|
152
|
+
SuppressUnmanagedCodeSecurity
|
|
153
|
+
]
|
|
154
|
+
static extern void csp_systems_AnchorSystem_GetAnchorsInSpace_void_StringRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
155
|
+
IntPtr @class,
|
|
156
|
+
string SpaceId,
|
|
157
|
+
IntPtr Skip,
|
|
158
|
+
IntPtr Limit,
|
|
159
|
+
GetAnchorsInSpaceCallbackDelegate callback,
|
|
160
|
+
IntPtr callbackStateObject
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
[
|
|
164
|
+
DllImport(
|
|
165
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
166
|
+
"__Internal"
|
|
167
|
+
#elif DEBUG
|
|
168
|
+
"ConnectedSpacesPlatform_D"
|
|
169
|
+
#else
|
|
170
|
+
"ConnectedSpacesPlatform"
|
|
171
|
+
#endif
|
|
172
|
+
),
|
|
173
|
+
SuppressUnmanagedCodeSecurity
|
|
174
|
+
]
|
|
175
|
+
static extern void csp_systems_AnchorSystem_GetAnchorsByAssetCollectionId_void_StringRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
176
|
+
IntPtr @class,
|
|
177
|
+
string AssetCollectionId,
|
|
178
|
+
IntPtr Skip,
|
|
179
|
+
IntPtr Limit,
|
|
180
|
+
GetAnchorsByAssetCollectionIdCallbackDelegate callback,
|
|
181
|
+
IntPtr callbackStateObject
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
[
|
|
185
|
+
DllImport(
|
|
186
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
187
|
+
"__Internal"
|
|
188
|
+
#elif DEBUG
|
|
189
|
+
"ConnectedSpacesPlatform_D"
|
|
190
|
+
#else
|
|
191
|
+
"ConnectedSpacesPlatform"
|
|
192
|
+
#endif
|
|
193
|
+
),
|
|
194
|
+
SuppressUnmanagedCodeSecurity
|
|
195
|
+
]
|
|
196
|
+
static extern void csp_systems_AnchorSystem_CreateAnchorResolution_void_StringRC_bool_int_double_ArrayRC_AnchorResolutionResultCallback(
|
|
197
|
+
IntPtr @class,
|
|
198
|
+
string AnchorId,
|
|
199
|
+
bool SuccessfullyResolved,
|
|
200
|
+
int ResolveAttempted,
|
|
201
|
+
double ResolveTime,
|
|
202
|
+
IntPtr Tags,
|
|
203
|
+
CreateAnchorResolutionCallbackDelegate callback,
|
|
204
|
+
IntPtr callbackStateObject
|
|
205
|
+
);
|
|
206
|
+
|
|
207
|
+
[
|
|
208
|
+
DllImport(
|
|
209
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
210
|
+
"__Internal"
|
|
211
|
+
#elif DEBUG
|
|
212
|
+
"ConnectedSpacesPlatform_D"
|
|
213
|
+
#else
|
|
214
|
+
"ConnectedSpacesPlatform"
|
|
215
|
+
#endif
|
|
216
|
+
),
|
|
217
|
+
SuppressUnmanagedCodeSecurity
|
|
218
|
+
]
|
|
219
|
+
static extern NativePointer csp_systems_AnchorSystem_Ctor();
|
|
220
|
+
|
|
221
|
+
#pragma warning restore IDE1006
|
|
222
|
+
#endregion
|
|
223
|
+
|
|
224
|
+
internal AnchorSystem(NativePointer ptr) : base(ptr) { }
|
|
225
|
+
|
|
226
|
+
public AnchorSystem(Csp.Systems.SystemBase baseInstance)
|
|
227
|
+
: base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
|
|
228
|
+
{
|
|
229
|
+
// Prevent previous instance from freeing underlying pointer when destroyed
|
|
230
|
+
baseInstance._ownsPtr = false;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
delegate void CreateAnchorCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
234
|
+
|
|
235
|
+
delegate void CreateAnchorInSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
236
|
+
|
|
237
|
+
delegate void DeleteAnchorsCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
238
|
+
|
|
239
|
+
delegate void GetAnchorsInAreaCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
240
|
+
|
|
241
|
+
delegate void GetAnchorsInSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
242
|
+
|
|
243
|
+
delegate void GetAnchorsByAssetCollectionIdCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
244
|
+
|
|
245
|
+
delegate void CreateAnchorResolutionCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
246
|
+
|
|
247
|
+
~AnchorSystem()
|
|
248
|
+
{
|
|
249
|
+
//RealDispose();
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
void RealDispose()
|
|
253
|
+
{
|
|
254
|
+
if (_ownsPtr && !_disposed)
|
|
255
|
+
{
|
|
256
|
+
csp_systems_AnchorSystem_Dtor(_ptr);
|
|
257
|
+
_disposed = true;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
_disposed = true;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
new public void Dispose()
|
|
264
|
+
{
|
|
265
|
+
RealDispose();
|
|
266
|
+
GC.SuppressFinalize(this);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
270
|
+
[AOT.MonoPInvokeCallback (typeof (CreateAnchorCallbackDelegate))]
|
|
271
|
+
#endif
|
|
272
|
+
static void CreateAnchorCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
273
|
+
{
|
|
274
|
+
var _handle = (GCHandle)_StateObject__;
|
|
275
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorResult>)_handle.Target;
|
|
276
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
277
|
+
|
|
278
|
+
var task_result = new Csp.Systems.AnchorResult(_Result);
|
|
279
|
+
|
|
280
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
281
|
+
{
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
tcs.SetResult(task_result);
|
|
286
|
+
_handle.Free();
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
static readonly CreateAnchorCallbackDelegate CreateAnchorDelegateInstance =
|
|
290
|
+
CreateAnchorCallbackDelegateFunction;
|
|
291
|
+
|
|
292
|
+
/// <summary>Creates a new Anchor.</summary>
|
|
293
|
+
/// <param name="ThirdPartyAnchorProvider">The 3rd party used for the new anchor</param>
|
|
294
|
+
/// <param name="ThirdPartyAnchorId">The ID of the new anchor in the 3rd party system</param>
|
|
295
|
+
/// <param name="AssetCollectionId">ID of the asset collection the new anchor is associated with</param>
|
|
296
|
+
/// <param name="Location">The geographical location of the new anchor</param>
|
|
297
|
+
/// <param name="Position">The virtual position inside a space of the new anchor</param>
|
|
298
|
+
/// <param name="Rotation">The rotation of the new anchor</param>
|
|
299
|
+
/// <param name="SpatialKeyValue">Optional searchable spatialkeyvalue info to be associated with the anchor</param>
|
|
300
|
+
/// <remarks>Either the value or the key can be search for.</remarks>
|
|
301
|
+
/// <param name="Tags">Optional array of strings to add to the anchor as tags</param>
|
|
302
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
303
|
+
|
|
304
|
+
public Task<Csp.Systems.AnchorResult> CreateAnchor(
|
|
305
|
+
Csp.Systems.AnchorProvider ThirdPartyAnchorProvider,
|
|
306
|
+
string ThirdPartyAnchorId,
|
|
307
|
+
string AssetCollectionId,
|
|
308
|
+
Csp.Systems.GeoLocation Location,
|
|
309
|
+
Csp.Systems.OlyAnchorPosition Position,
|
|
310
|
+
Csp.Systems.OlyRotation Rotation,
|
|
311
|
+
Csp.Common.Map<string, string>? SpatialKeyValue,
|
|
312
|
+
Csp.Common.Array<string>? Tags
|
|
313
|
+
) {
|
|
314
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorResult>(this);
|
|
315
|
+
var handle = GCHandle.Alloc(tcs);
|
|
316
|
+
|
|
317
|
+
csp_systems_AnchorSystem_CreateAnchor_void_AnchorProvider_StringRC_StringRC_GeoLocationRC_OlyAnchorPositionRC_OlyRotationRC_MapRC_ArrayRC_AnchorResultCallback(
|
|
318
|
+
_ptr,
|
|
319
|
+
ThirdPartyAnchorProvider,
|
|
320
|
+
ThirdPartyAnchorId,
|
|
321
|
+
AssetCollectionId,
|
|
322
|
+
Location._ptr,
|
|
323
|
+
Position._ptr,
|
|
324
|
+
Rotation._ptr,
|
|
325
|
+
SpatialKeyValue?._ptr ?? IntPtr.Zero,
|
|
326
|
+
Tags?._ptr ?? IntPtr.Zero,
|
|
327
|
+
CreateAnchorDelegateInstance,
|
|
328
|
+
(IntPtr)handle
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
return tcs.Task;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
335
|
+
[AOT.MonoPInvokeCallback (typeof (CreateAnchorInSpaceCallbackDelegate))]
|
|
336
|
+
#endif
|
|
337
|
+
static void CreateAnchorInSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
338
|
+
{
|
|
339
|
+
var _handle = (GCHandle)_StateObject__;
|
|
340
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorResult>)_handle.Target;
|
|
341
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
342
|
+
|
|
343
|
+
var task_result = new Csp.Systems.AnchorResult(_Result);
|
|
344
|
+
|
|
345
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
346
|
+
{
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
tcs.SetResult(task_result);
|
|
351
|
+
_handle.Free();
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
static readonly CreateAnchorInSpaceCallbackDelegate CreateAnchorInSpaceDelegateInstance =
|
|
355
|
+
CreateAnchorInSpaceCallbackDelegateFunction;
|
|
356
|
+
|
|
357
|
+
/// <summary>Creates a new Anchor in a space.</summary>
|
|
358
|
+
/// <param name="ThirdPartyAnchorProvider">The 3rd party used for the new anchor</param>
|
|
359
|
+
/// <param name="ThirdPartyAnchorId">The ID of the new anchor in the 3rd party system</param>
|
|
360
|
+
/// <param name="SpaceId">The space that the new anchor is associated with</param>
|
|
361
|
+
/// <param name="SpaceEntityId">The multiplayer object the new anchor is associated with</param>
|
|
362
|
+
/// <param name="AssetCollectionId">ID of the asset collection the new anchor is associated with</param>
|
|
363
|
+
/// <param name="Location">The geographical location of the new anchor</param>
|
|
364
|
+
/// <param name="Position">The virtual position inside a space of the new anchor</param>
|
|
365
|
+
/// <param name="Rotation">The rotation of the new anchor</param>
|
|
366
|
+
/// <param name="SpatialKeyValue">Optional searchable spatialkeyvalue info to be associated with the anchor</param>
|
|
367
|
+
/// <remarks>Either the value or the key can be search for.</remarks>
|
|
368
|
+
/// <param name="Tags">Optional array of strings to add to the anchor as tags</param>
|
|
369
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
370
|
+
|
|
371
|
+
public Task<Csp.Systems.AnchorResult> CreateAnchorInSpace(
|
|
372
|
+
Csp.Systems.AnchorProvider ThirdPartyAnchorProvider,
|
|
373
|
+
string ThirdPartyAnchorId,
|
|
374
|
+
string SpaceId,
|
|
375
|
+
ulong SpaceEntityId,
|
|
376
|
+
string AssetCollectionId,
|
|
377
|
+
Csp.Systems.GeoLocation Location,
|
|
378
|
+
Csp.Systems.OlyAnchorPosition Position,
|
|
379
|
+
Csp.Systems.OlyRotation Rotation,
|
|
380
|
+
Csp.Common.Map<string, string>? SpatialKeyValue,
|
|
381
|
+
Csp.Common.Array<string>? Tags
|
|
382
|
+
) {
|
|
383
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorResult>(this);
|
|
384
|
+
var handle = GCHandle.Alloc(tcs);
|
|
385
|
+
|
|
386
|
+
csp_systems_AnchorSystem_CreateAnchorInSpace_void_AnchorProvider_StringRC_StringRC_uint64_t_StringRC_GeoLocationRC_OlyAnchorPositionRC_OlyRotationRC_MapRC_ArrayRC_AnchorResultCallback(
|
|
387
|
+
_ptr,
|
|
388
|
+
ThirdPartyAnchorProvider,
|
|
389
|
+
ThirdPartyAnchorId,
|
|
390
|
+
SpaceId,
|
|
391
|
+
SpaceEntityId,
|
|
392
|
+
AssetCollectionId,
|
|
393
|
+
Location._ptr,
|
|
394
|
+
Position._ptr,
|
|
395
|
+
Rotation._ptr,
|
|
396
|
+
SpatialKeyValue?._ptr ?? IntPtr.Zero,
|
|
397
|
+
Tags?._ptr ?? IntPtr.Zero,
|
|
398
|
+
CreateAnchorInSpaceDelegateInstance,
|
|
399
|
+
(IntPtr)handle
|
|
400
|
+
);
|
|
401
|
+
|
|
402
|
+
return tcs.Task;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
406
|
+
[AOT.MonoPInvokeCallback (typeof (DeleteAnchorsCallbackDelegate))]
|
|
407
|
+
#endif
|
|
408
|
+
static void DeleteAnchorsCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
409
|
+
{
|
|
410
|
+
var _handle = (GCHandle)_StateObject__;
|
|
411
|
+
var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
|
|
412
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
413
|
+
|
|
414
|
+
var task_result = new Csp.Systems.NullResult(_Result);
|
|
415
|
+
|
|
416
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
417
|
+
{
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
tcs.SetResult(task_result);
|
|
422
|
+
_handle.Free();
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
static readonly DeleteAnchorsCallbackDelegate DeleteAnchorsDelegateInstance =
|
|
426
|
+
DeleteAnchorsCallbackDelegateFunction;
|
|
427
|
+
|
|
428
|
+
/// <summary>Deletes a list of Anchors</summary>
|
|
429
|
+
/// <param name="AnchorIds">List of Anchor IDs to be deleted</param>
|
|
430
|
+
/// <returns>The result for the request</returns>
|
|
431
|
+
|
|
432
|
+
public Task<Csp.Systems.NullResult> DeleteAnchors(Csp.Common.Array<string> AnchorIds)
|
|
433
|
+
{
|
|
434
|
+
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
435
|
+
var handle = GCHandle.Alloc(tcs);
|
|
436
|
+
|
|
437
|
+
csp_systems_AnchorSystem_DeleteAnchors_void_ArrayRC_NullResultCallback(
|
|
438
|
+
_ptr,
|
|
439
|
+
AnchorIds._ptr,
|
|
440
|
+
DeleteAnchorsDelegateInstance,
|
|
441
|
+
(IntPtr)handle
|
|
442
|
+
);
|
|
443
|
+
|
|
444
|
+
return tcs.Task;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
448
|
+
[AOT.MonoPInvokeCallback (typeof (GetAnchorsInAreaCallbackDelegate))]
|
|
449
|
+
#endif
|
|
450
|
+
static void GetAnchorsInAreaCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
451
|
+
{
|
|
452
|
+
var _handle = (GCHandle)_StateObject__;
|
|
453
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorCollectionResult>)_handle.Target;
|
|
454
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
455
|
+
|
|
456
|
+
var task_result = new Csp.Systems.AnchorCollectionResult(_Result);
|
|
457
|
+
|
|
458
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
459
|
+
{
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
tcs.SetResult(task_result);
|
|
464
|
+
_handle.Free();
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
static readonly GetAnchorsInAreaCallbackDelegate GetAnchorsInAreaDelegateInstance =
|
|
468
|
+
GetAnchorsInAreaCallbackDelegateFunction;
|
|
469
|
+
|
|
470
|
+
/// <summary>Retrieves an array with all the Anchors that are located inside the circular area defined by the parameters</summary>
|
|
471
|
+
/// <param name="OriginLocation">Latitude and longitude coordinates of the circular area origin</param>
|
|
472
|
+
/// <param name="AreaRadius">Radius from the circular area origin in meters</param>
|
|
473
|
+
/// <param name="SpatialKeys">Optional searchable spatialkeys info associated with the anchor</param>
|
|
474
|
+
/// <param name="SpatialValues">Optional searchable spatialvalues associated with the anchor</param>
|
|
475
|
+
/// <param name="Tags">Optional searchable tags info associated with the anchor</param>
|
|
476
|
+
/// <param name="AllTags">Optional flag to determine of all tags must be present in anchor</param>
|
|
477
|
+
/// <param name="SpaceIds">Optional array of ids of spaces to search within</param>
|
|
478
|
+
/// <param name="Skip">Optional number of result entries that will be skipped from the result.</param>
|
|
479
|
+
/// <param name="Limit">Optional maximum number of result entries to be retrieved. for all available result entries pass</param>
|
|
480
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
481
|
+
|
|
482
|
+
public Task<Csp.Systems.AnchorCollectionResult> GetAnchorsInArea(
|
|
483
|
+
Csp.Systems.GeoLocation OriginLocation,
|
|
484
|
+
double AreaRadius,
|
|
485
|
+
Csp.Common.Array<string>? SpatialKeys,
|
|
486
|
+
Csp.Common.Array<string>? SpatialValues,
|
|
487
|
+
Csp.Common.Array<string>? Tags,
|
|
488
|
+
bool? AllTags,
|
|
489
|
+
Csp.Common.Array<string>? SpaceIds,
|
|
490
|
+
int? Skip,
|
|
491
|
+
int? Limit
|
|
492
|
+
) {
|
|
493
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorCollectionResult>(this);
|
|
494
|
+
var handle = GCHandle.Alloc(tcs);
|
|
495
|
+
|
|
496
|
+
var AllTagsPointer = IntPtr.Zero;
|
|
497
|
+
unsafe
|
|
498
|
+
{
|
|
499
|
+
if (AllTags.HasValue)
|
|
500
|
+
{
|
|
501
|
+
var ptr = stackalloc bool[1];
|
|
502
|
+
*ptr = AllTags.Value;
|
|
503
|
+
AllTagsPointer = (IntPtr)ptr;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
var SkipPointer = IntPtr.Zero;
|
|
507
|
+
unsafe
|
|
508
|
+
{
|
|
509
|
+
if (Skip.HasValue)
|
|
510
|
+
{
|
|
511
|
+
var ptr = stackalloc int[1];
|
|
512
|
+
*ptr = Skip.Value;
|
|
513
|
+
SkipPointer = (IntPtr)ptr;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
var LimitPointer = IntPtr.Zero;
|
|
517
|
+
unsafe
|
|
518
|
+
{
|
|
519
|
+
if (Limit.HasValue)
|
|
520
|
+
{
|
|
521
|
+
var ptr = stackalloc int[1];
|
|
522
|
+
*ptr = Limit.Value;
|
|
523
|
+
LimitPointer = (IntPtr)ptr;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
csp_systems_AnchorSystem_GetAnchorsInArea_void_GeoLocationRC_doubleC_ArrayRC_ArrayRC_ArrayRC_boolRC_ArrayRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
528
|
+
_ptr,
|
|
529
|
+
OriginLocation._ptr,
|
|
530
|
+
AreaRadius,
|
|
531
|
+
SpatialKeys?._ptr ?? IntPtr.Zero,
|
|
532
|
+
SpatialValues?._ptr ?? IntPtr.Zero,
|
|
533
|
+
Tags?._ptr ?? IntPtr.Zero,
|
|
534
|
+
AllTagsPointer,
|
|
535
|
+
SpaceIds?._ptr ?? IntPtr.Zero,
|
|
536
|
+
SkipPointer,
|
|
537
|
+
LimitPointer,
|
|
538
|
+
GetAnchorsInAreaDelegateInstance,
|
|
539
|
+
(IntPtr)handle
|
|
540
|
+
);
|
|
541
|
+
|
|
542
|
+
return tcs.Task;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
546
|
+
[AOT.MonoPInvokeCallback (typeof (GetAnchorsInSpaceCallbackDelegate))]
|
|
547
|
+
#endif
|
|
548
|
+
static void GetAnchorsInSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
549
|
+
{
|
|
550
|
+
var _handle = (GCHandle)_StateObject__;
|
|
551
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorCollectionResult>)_handle.Target;
|
|
552
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
553
|
+
|
|
554
|
+
var task_result = new Csp.Systems.AnchorCollectionResult(_Result);
|
|
555
|
+
|
|
556
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
557
|
+
{
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
tcs.SetResult(task_result);
|
|
562
|
+
_handle.Free();
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
static readonly GetAnchorsInSpaceCallbackDelegate GetAnchorsInSpaceDelegateInstance =
|
|
566
|
+
GetAnchorsInSpaceCallbackDelegateFunction;
|
|
567
|
+
|
|
568
|
+
/// <summary>Retrieves an array with all the Anchors that are located inside the given space</summary>
|
|
569
|
+
/// <param name="SpaceId">Id of the space to search within</param>
|
|
570
|
+
/// <param name="Skip">Optional number of result entries that will be skipped from the result.</param>
|
|
571
|
+
/// <param name="Limit">Optional maximum number of result entries to be retrieved. for all available result entries pass</param>
|
|
572
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
573
|
+
|
|
574
|
+
public Task<Csp.Systems.AnchorCollectionResult> GetAnchorsInSpace(string SpaceId, int? Skip, int? Limit)
|
|
575
|
+
{
|
|
576
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorCollectionResult>(this);
|
|
577
|
+
var handle = GCHandle.Alloc(tcs);
|
|
578
|
+
|
|
579
|
+
var SkipPointer = IntPtr.Zero;
|
|
580
|
+
unsafe
|
|
581
|
+
{
|
|
582
|
+
if (Skip.HasValue)
|
|
583
|
+
{
|
|
584
|
+
var ptr = stackalloc int[1];
|
|
585
|
+
*ptr = Skip.Value;
|
|
586
|
+
SkipPointer = (IntPtr)ptr;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
var LimitPointer = IntPtr.Zero;
|
|
590
|
+
unsafe
|
|
591
|
+
{
|
|
592
|
+
if (Limit.HasValue)
|
|
593
|
+
{
|
|
594
|
+
var ptr = stackalloc int[1];
|
|
595
|
+
*ptr = Limit.Value;
|
|
596
|
+
LimitPointer = (IntPtr)ptr;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
csp_systems_AnchorSystem_GetAnchorsInSpace_void_StringRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
601
|
+
_ptr,
|
|
602
|
+
SpaceId,
|
|
603
|
+
SkipPointer,
|
|
604
|
+
LimitPointer,
|
|
605
|
+
GetAnchorsInSpaceDelegateInstance,
|
|
606
|
+
(IntPtr)handle
|
|
607
|
+
);
|
|
608
|
+
|
|
609
|
+
return tcs.Task;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
613
|
+
[AOT.MonoPInvokeCallback (typeof (GetAnchorsByAssetCollectionIdCallbackDelegate))]
|
|
614
|
+
#endif
|
|
615
|
+
static void GetAnchorsByAssetCollectionIdCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
616
|
+
{
|
|
617
|
+
var _handle = (GCHandle)_StateObject__;
|
|
618
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorCollectionResult>)_handle.Target;
|
|
619
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
620
|
+
|
|
621
|
+
var task_result = new Csp.Systems.AnchorCollectionResult(_Result);
|
|
622
|
+
|
|
623
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
624
|
+
{
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
tcs.SetResult(task_result);
|
|
629
|
+
_handle.Free();
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
static readonly GetAnchorsByAssetCollectionIdCallbackDelegate GetAnchorsByAssetCollectionIdDelegateInstance =
|
|
633
|
+
GetAnchorsByAssetCollectionIdCallbackDelegateFunction;
|
|
634
|
+
|
|
635
|
+
/// <summary>Retrieves a list of Anchors that belong to the given AssetCollection</summary>
|
|
636
|
+
/// <param name="AssetCollectionId">Id of the assetcollection to filter by</param>
|
|
637
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
638
|
+
|
|
639
|
+
public Task<Csp.Systems.AnchorCollectionResult> GetAnchorsByAssetCollectionId(
|
|
640
|
+
string AssetCollectionId,
|
|
641
|
+
int? Skip,
|
|
642
|
+
int? Limit
|
|
643
|
+
) {
|
|
644
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorCollectionResult>(this);
|
|
645
|
+
var handle = GCHandle.Alloc(tcs);
|
|
646
|
+
|
|
647
|
+
var SkipPointer = IntPtr.Zero;
|
|
648
|
+
unsafe
|
|
649
|
+
{
|
|
650
|
+
if (Skip.HasValue)
|
|
651
|
+
{
|
|
652
|
+
var ptr = stackalloc int[1];
|
|
653
|
+
*ptr = Skip.Value;
|
|
654
|
+
SkipPointer = (IntPtr)ptr;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
var LimitPointer = IntPtr.Zero;
|
|
658
|
+
unsafe
|
|
659
|
+
{
|
|
660
|
+
if (Limit.HasValue)
|
|
661
|
+
{
|
|
662
|
+
var ptr = stackalloc int[1];
|
|
663
|
+
*ptr = Limit.Value;
|
|
664
|
+
LimitPointer = (IntPtr)ptr;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
csp_systems_AnchorSystem_GetAnchorsByAssetCollectionId_void_StringRC_intRC_intRC_AnchorCollectionResultCallback(
|
|
669
|
+
_ptr,
|
|
670
|
+
AssetCollectionId,
|
|
671
|
+
SkipPointer,
|
|
672
|
+
LimitPointer,
|
|
673
|
+
GetAnchorsByAssetCollectionIdDelegateInstance,
|
|
674
|
+
(IntPtr)handle
|
|
675
|
+
);
|
|
676
|
+
|
|
677
|
+
return tcs.Task;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
681
|
+
[AOT.MonoPInvokeCallback (typeof (CreateAnchorResolutionCallbackDelegate))]
|
|
682
|
+
#endif
|
|
683
|
+
static void CreateAnchorResolutionCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
684
|
+
{
|
|
685
|
+
var _handle = (GCHandle)_StateObject__;
|
|
686
|
+
var tcs = (TaskCompletionSource<Csp.Systems.AnchorResolutionResult>)_handle.Target;
|
|
687
|
+
var _this = (AnchorSystem)tcs.Task.AsyncState;
|
|
688
|
+
|
|
689
|
+
var task_result = new Csp.Systems.AnchorResolutionResult(_Result);
|
|
690
|
+
|
|
691
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
692
|
+
{
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
tcs.SetResult(task_result);
|
|
697
|
+
_handle.Free();
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
static readonly CreateAnchorResolutionCallbackDelegate CreateAnchorResolutionDelegateInstance =
|
|
701
|
+
CreateAnchorResolutionCallbackDelegateFunction;
|
|
702
|
+
|
|
703
|
+
/// <summary>Creates a new AnchorResolution.</summary>
|
|
704
|
+
/// <param name="AnchorId">Anchor Id to associate AnchorResolution with</param>
|
|
705
|
+
/// <param name="SuccessfullyResolved">Successfully resolved value for an anchor</param>
|
|
706
|
+
/// <param name="ResolveAttempted">Number of resolve attempted for an anchor</param>
|
|
707
|
+
/// <param name="ResolveTime">Resolve time of anchor in seconds</param>
|
|
708
|
+
/// <param name="Tags">Optional searchable tags info associated with the anchorresolution</param>
|
|
709
|
+
/// <returns>Data class containing information on task result/progress</returns>
|
|
710
|
+
|
|
711
|
+
public Task<Csp.Systems.AnchorResolutionResult> CreateAnchorResolution(
|
|
712
|
+
string AnchorId,
|
|
713
|
+
bool SuccessfullyResolved,
|
|
714
|
+
int ResolveAttempted,
|
|
715
|
+
double ResolveTime,
|
|
716
|
+
Csp.Common.Array<string> Tags
|
|
717
|
+
) {
|
|
718
|
+
var tcs = new TaskCompletionSource<Csp.Systems.AnchorResolutionResult>(this);
|
|
719
|
+
var handle = GCHandle.Alloc(tcs);
|
|
720
|
+
|
|
721
|
+
csp_systems_AnchorSystem_CreateAnchorResolution_void_StringRC_bool_int_double_ArrayRC_AnchorResolutionResultCallback(
|
|
722
|
+
_ptr,
|
|
723
|
+
AnchorId,
|
|
724
|
+
SuccessfullyResolved,
|
|
725
|
+
ResolveAttempted,
|
|
726
|
+
ResolveTime,
|
|
727
|
+
Tags._ptr,
|
|
728
|
+
CreateAnchorResolutionDelegateInstance,
|
|
729
|
+
(IntPtr)handle
|
|
730
|
+
);
|
|
731
|
+
|
|
732
|
+
return tcs.Task;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
protected AnchorSystem() { }
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|