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.
Files changed (524) hide show
  1. package/Editor/NativePluginBuildProcessor.asmdef +16 -0
  2. package/Editor/NativePluginBuildProcessor.asmdef.meta +7 -0
  3. package/Editor/NativePluginBuildProcessor.cs +41 -0
  4. package/Editor/NativePluginBuildProcessor.cs.meta +11 -0
  5. package/Editor.meta +7 -0
  6. package/Source/CSPFoundation.cs +417 -0
  7. package/Source/CSPFoundation.cs.meta +11 -0
  8. package/Source/ClientUserAgent.cs +292 -0
  9. package/Source/ClientUserAgent.cs.meta +11 -0
  10. package/Source/Common/Array.cs +201 -0
  11. package/Source/Common/Array.cs.meta +11 -0
  12. package/Source/Common/CancellationToken.cs +175 -0
  13. package/Source/Common/CancellationToken.cs.meta +11 -0
  14. package/Source/Common/FileExtensions.cs +15317 -0
  15. package/Source/Common/FileExtensions.cs.meta +11 -0
  16. package/Source/Common/List.cs +275 -0
  17. package/Source/Common/List.cs.meta +11 -0
  18. package/Source/Common/Map.cs +283 -0
  19. package/Source/Common/Map.cs.meta +11 -0
  20. package/Source/Common/MimeTypeHelper.cs +210 -0
  21. package/Source/Common/MimeTypeHelper.cs.meta +11 -0
  22. package/Source/Common/MimeTypes.cs +10565 -0
  23. package/Source/Common/MimeTypes.cs.meta +11 -0
  24. package/Source/Common/Variant.cs +573 -0
  25. package/Source/Common/Variant.cs.meta +11 -0
  26. package/Source/Common/VariantType.cs +28 -0
  27. package/Source/Common/VariantType.cs.meta +11 -0
  28. package/Source/Common/Vector3.cs +268 -0
  29. package/Source/Common/Vector3.cs.meta +11 -0
  30. package/Source/Common/Vector4.cs +328 -0
  31. package/Source/Common/Vector4.cs.meta +11 -0
  32. package/Source/Common.meta +7 -0
  33. package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef +14 -0
  34. package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef.meta +7 -0
  35. package/Source/Csp.cs +83 -0
  36. package/Source/Csp.cs.meta +11 -0
  37. package/Source/EThirdPartyPlatform.cs +26 -0
  38. package/Source/EThirdPartyPlatform.cs.meta +11 -0
  39. package/Source/EndpointURIs.cs +258 -0
  40. package/Source/EndpointURIs.cs.meta +11 -0
  41. package/Source/Il2cppPreserver.cs +29 -0
  42. package/Source/Il2cppPreserver.cs.meta +11 -0
  43. package/Source/Multiplayer/AssetDetailBlobParams.cs +270 -0
  44. package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +11 -0
  45. package/Source/Multiplayer/ComponentBase.cs +339 -0
  46. package/Source/Multiplayer/ComponentBase.cs.meta +11 -0
  47. package/Source/Multiplayer/ComponentType.cs +46 -0
  48. package/Source/Multiplayer/ComponentType.cs.meta +11 -0
  49. package/Source/Multiplayer/ComponentUpdateInfo.cs +161 -0
  50. package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +11 -0
  51. package/Source/Multiplayer/ComponentUpdateType.cs +24 -0
  52. package/Source/Multiplayer/ComponentUpdateType.cs.meta +11 -0
  53. package/Source/Multiplayer/Components/AnimatedModelActions.cs +25 -0
  54. package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +11 -0
  55. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs +36 -0
  56. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +11 -0
  57. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +793 -0
  58. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +11 -0
  59. package/Source/Multiplayer/Components/AudioPlaybackState.cs +25 -0
  60. package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +11 -0
  61. package/Source/Multiplayer/Components/AudioPropertyKeys.cs +33 -0
  62. package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +11 -0
  63. package/Source/Multiplayer/Components/AudioSpaceComponent.cs +693 -0
  64. package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +11 -0
  65. package/Source/Multiplayer/Components/AudioType.cs +24 -0
  66. package/Source/Multiplayer/Components/AudioType.cs.meta +11 -0
  67. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs +37 -0
  68. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +11 -0
  69. package/Source/Multiplayer/Components/AvatarPlayMode.cs +26 -0
  70. package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +11 -0
  71. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs +946 -0
  72. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +11 -0
  73. package/Source/Multiplayer/Components/AvatarState.cs +29 -0
  74. package/Source/Multiplayer/Components/AvatarState.cs.meta +11 -0
  75. package/Source/Multiplayer/Components/BillboardMode.cs +24 -0
  76. package/Source/Multiplayer/Components/BillboardMode.cs.meta +11 -0
  77. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs +32 -0
  78. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +11 -0
  79. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs +597 -0
  80. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +11 -0
  81. package/Source/Multiplayer/Components/CollisionMode.cs +23 -0
  82. package/Source/Multiplayer/Components/CollisionMode.cs.meta +11 -0
  83. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs +30 -0
  84. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +11 -0
  85. package/Source/Multiplayer/Components/CollisionShape.cs +25 -0
  86. package/Source/Multiplayer/Components/CollisionShape.cs.meta +11 -0
  87. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs +757 -0
  88. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +11 -0
  89. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs +30 -0
  90. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +11 -0
  91. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +1105 -0
  92. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +11 -0
  93. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs +24 -0
  94. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +11 -0
  95. package/Source/Multiplayer/Components/CustomSpaceComponent.cs +370 -0
  96. package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +11 -0
  97. package/Source/Multiplayer/Components/DisplayMode.cs +24 -0
  98. package/Source/Multiplayer/Components/DisplayMode.cs.meta +11 -0
  99. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs +24 -0
  100. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +11 -0
  101. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs +216 -0
  102. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +11 -0
  103. package/Source/Multiplayer/Components/ExternalLinkActions.cs +23 -0
  104. package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +11 -0
  105. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs +31 -0
  106. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +11 -0
  107. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs +579 -0
  108. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +11 -0
  109. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs +30 -0
  110. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +11 -0
  111. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs +569 -0
  112. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +11 -0
  113. package/Source/Multiplayer/Components/FogMode.cs +24 -0
  114. package/Source/Multiplayer/Components/FogMode.cs.meta +11 -0
  115. package/Source/Multiplayer/Components/FogPropertyKeys.cs +36 -0
  116. package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +11 -0
  117. package/Source/Multiplayer/Components/FogSpaceComponent.cs +836 -0
  118. package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +11 -0
  119. package/Source/Multiplayer/Components/ImagePropertyKeys.cs +33 -0
  120. package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +11 -0
  121. package/Source/Multiplayer/Components/ImageSpaceComponent.cs +693 -0
  122. package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +11 -0
  123. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs +24 -0
  124. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +11 -0
  125. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs +28 -0
  126. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +11 -0
  127. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs +24 -0
  128. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +11 -0
  129. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs +24 -0
  130. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +11 -0
  131. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs +24 -0
  132. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +11 -0
  133. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs +24 -0
  134. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +11 -0
  135. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs +27 -0
  136. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +11 -0
  137. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs +27 -0
  138. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +11 -0
  139. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs +28 -0
  140. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +11 -0
  141. package/Source/Multiplayer/Components/Interfaces.meta +7 -0
  142. package/Source/Multiplayer/Components/LightCookieType.cs +24 -0
  143. package/Source/Multiplayer/Components/LightCookieType.cs.meta +11 -0
  144. package/Source/Multiplayer/Components/LightPropertyKeys.cs +38 -0
  145. package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +11 -0
  146. package/Source/Multiplayer/Components/LightShadowType.cs +25 -0
  147. package/Source/Multiplayer/Components/LightShadowType.cs.meta +11 -0
  148. package/Source/Multiplayer/Components/LightSpaceComponent.cs +891 -0
  149. package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +11 -0
  150. package/Source/Multiplayer/Components/LightType.cs +25 -0
  151. package/Source/Multiplayer/Components/LightType.cs.meta +11 -0
  152. package/Source/Multiplayer/Components/LocomotionModel.cs +24 -0
  153. package/Source/Multiplayer/Components/LocomotionModel.cs.meta +11 -0
  154. package/Source/Multiplayer/Components/PortalPropertyKeys.cs +30 -0
  155. package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +11 -0
  156. package/Source/Multiplayer/Components/PortalSpaceComponent.cs +371 -0
  157. package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +11 -0
  158. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs +30 -0
  159. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +11 -0
  160. package/Source/Multiplayer/Components/ReflectionShape.cs +23 -0
  161. package/Source/Multiplayer/Components/ReflectionShape.cs.meta +11 -0
  162. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs +515 -0
  163. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +11 -0
  164. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs +25 -0
  165. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +11 -0
  166. package/Source/Multiplayer/Components/ScriptScope.cs +24 -0
  167. package/Source/Multiplayer/Components/ScriptScope.cs.meta +11 -0
  168. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs +258 -0
  169. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +11 -0
  170. package/Source/Multiplayer/Components/SplinePropertyKeys.cs +23 -0
  171. package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +11 -0
  172. package/Source/Multiplayer/Components/SplineSpaceComponent.cs +184 -0
  173. package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +11 -0
  174. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs +32 -0
  175. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +11 -0
  176. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +640 -0
  177. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +11 -0
  178. package/Source/Multiplayer/Components/VideoPlayerActions.cs +24 -0
  179. package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +11 -0
  180. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs +25 -0
  181. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +11 -0
  182. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs +42 -0
  183. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +11 -0
  184. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs +25 -0
  185. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +11 -0
  186. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs +1187 -0
  187. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +11 -0
  188. package/Source/Multiplayer/Components.meta +7 -0
  189. package/Source/Multiplayer/ConnectionState.cs +25 -0
  190. package/Source/Multiplayer/ConnectionState.cs.meta +11 -0
  191. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs +293 -0
  192. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +11 -0
  193. package/Source/Multiplayer/Conversation/ConversationInfo.cs +205 -0
  194. package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +11 -0
  195. package/Source/Multiplayer/Conversation/ConversationMessageType.cs +26 -0
  196. package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +11 -0
  197. package/Source/Multiplayer/Conversation/ConversationResult.cs +152 -0
  198. package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +11 -0
  199. package/Source/Multiplayer/Conversation/ConversationSystem.cs +784 -0
  200. package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +11 -0
  201. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +175 -0
  202. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +11 -0
  203. package/Source/Multiplayer/Conversation/MessageInfo.cs +172 -0
  204. package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +11 -0
  205. package/Source/Multiplayer/Conversation/MessageResult.cs +150 -0
  206. package/Source/Multiplayer/Conversation/MessageResult.cs.meta +11 -0
  207. package/Source/Multiplayer/Conversation.meta +7 -0
  208. package/Source/Multiplayer/ConversationSystemParams.cs +165 -0
  209. package/Source/Multiplayer/ConversationSystemParams.cs.meta +11 -0
  210. package/Source/Multiplayer/EAssetChangeType.cs +27 -0
  211. package/Source/Multiplayer/EAssetChangeType.cs.meta +11 -0
  212. package/Source/Multiplayer/IEntityDeserialiser.cs +70 -0
  213. package/Source/Multiplayer/IEntityDeserialiser.cs.meta +11 -0
  214. package/Source/Multiplayer/IEntitySerialiser.cs +63 -0
  215. package/Source/Multiplayer/IEntitySerialiser.cs.meta +11 -0
  216. package/Source/Multiplayer/MultiplayerConnection.cs +964 -0
  217. package/Source/Multiplayer/MultiplayerConnection.cs.meta +11 -0
  218. package/Source/Multiplayer/PropertyUpdateInfo.cs +159 -0
  219. package/Source/Multiplayer/PropertyUpdateInfo.cs.meta +11 -0
  220. package/Source/Multiplayer/ReplicatedValue.cs +593 -0
  221. package/Source/Multiplayer/ReplicatedValue.cs.meta +11 -0
  222. package/Source/Multiplayer/ReplicatedValueType.cs +28 -0
  223. package/Source/Multiplayer/ReplicatedValueType.cs.meta +11 -0
  224. package/Source/Multiplayer/Script/EntityScript.cs +479 -0
  225. package/Source/Multiplayer/Script/EntityScript.cs.meta +11 -0
  226. package/Source/Multiplayer/Script.meta +7 -0
  227. package/Source/Multiplayer/SpaceEntity.cs +1202 -0
  228. package/Source/Multiplayer/SpaceEntity.cs.meta +11 -0
  229. package/Source/Multiplayer/SpaceEntitySystem.cs +1304 -0
  230. package/Source/Multiplayer/SpaceEntitySystem.cs.meta +11 -0
  231. package/Source/Multiplayer/SpaceEntityType.cs +25 -0
  232. package/Source/Multiplayer/SpaceEntityType.cs.meta +11 -0
  233. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs +27 -0
  234. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +11 -0
  235. package/Source/Multiplayer/SpaceTransform.cs +232 -0
  236. package/Source/Multiplayer/SpaceTransform.cs.meta +11 -0
  237. package/Source/Multiplayer.meta +7 -0
  238. package/Source/NativeClassWrapper.cs +42 -0
  239. package/Source/NativeClassWrapper.cs.meta +11 -0
  240. package/Source/ProgressEventArgs.cs +15 -0
  241. package/Source/ProgressEventArgs.cs.meta +11 -0
  242. package/Source/Ref.cs +28 -0
  243. package/Source/Ref.cs.meta +11 -0
  244. package/Source/Services/EResultCode.cs +26 -0
  245. package/Source/Services/EResultCode.cs.meta +11 -0
  246. package/Source/Services/ResultBase.cs +237 -0
  247. package/Source/Services/ResultBase.cs.meta +11 -0
  248. package/Source/Services/WebService.cs +91 -0
  249. package/Source/Services/WebService.cs.meta +11 -0
  250. package/Source/Services.meta +7 -0
  251. package/Source/Systems/Analytics/AnalyticsEvent.cs +288 -0
  252. package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +11 -0
  253. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs +78 -0
  254. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +11 -0
  255. package/Source/Systems/Analytics/AnalyticsSystem.cs +116 -0
  256. package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +11 -0
  257. package/Source/Systems/Analytics/IAnalyticsProvider.cs +85 -0
  258. package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +11 -0
  259. package/Source/Systems/Analytics.meta +7 -0
  260. package/Source/Systems/Assets/Asset.cs +698 -0
  261. package/Source/Systems/Assets/Asset.cs.meta +11 -0
  262. package/Source/Systems/Assets/AssetCollection.cs +605 -0
  263. package/Source/Systems/Assets/AssetCollection.cs.meta +11 -0
  264. package/Source/Systems/Assets/AssetCollectionResult.cs +119 -0
  265. package/Source/Systems/Assets/AssetCollectionResult.cs.meta +11 -0
  266. package/Source/Systems/Assets/AssetCollectionsResult.cs +161 -0
  267. package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +11 -0
  268. package/Source/Systems/Assets/AssetDataResult.cs +175 -0
  269. package/Source/Systems/Assets/AssetDataResult.cs.meta +11 -0
  270. package/Source/Systems/Assets/AssetDataSource.cs +24 -0
  271. package/Source/Systems/Assets/AssetDataSource.cs.meta +11 -0
  272. package/Source/Systems/Assets/AssetResult.cs +131 -0
  273. package/Source/Systems/Assets/AssetResult.cs.meta +11 -0
  274. package/Source/Systems/Assets/AssetSystem.cs +1601 -0
  275. package/Source/Systems/Assets/AssetSystem.cs.meta +11 -0
  276. package/Source/Systems/Assets/AssetsResult.cs +148 -0
  277. package/Source/Systems/Assets/AssetsResult.cs.meta +11 -0
  278. package/Source/Systems/Assets/BufferAssetDataSource.cs +214 -0
  279. package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +11 -0
  280. package/Source/Systems/Assets/EAssetCollectionType.cs +24 -0
  281. package/Source/Systems/Assets/EAssetCollectionType.cs.meta +11 -0
  282. package/Source/Systems/Assets/EAssetPlatform.cs +20 -0
  283. package/Source/Systems/Assets/EAssetPlatform.cs.meta +11 -0
  284. package/Source/Systems/Assets/EAssetType.cs +30 -0
  285. package/Source/Systems/Assets/EAssetType.cs.meta +11 -0
  286. package/Source/Systems/Assets/FileAssetDataSource.cs +177 -0
  287. package/Source/Systems/Assets/FileAssetDataSource.cs.meta +11 -0
  288. package/Source/Systems/Assets/LODAsset.cs +157 -0
  289. package/Source/Systems/Assets/LODAsset.cs.meta +11 -0
  290. package/Source/Systems/Assets/LODChain.cs +158 -0
  291. package/Source/Systems/Assets/LODChain.cs.meta +11 -0
  292. package/Source/Systems/Assets/LODChainResult.cs +131 -0
  293. package/Source/Systems/Assets/LODChainResult.cs.meta +11 -0
  294. package/Source/Systems/Assets/UriResult.cs +193 -0
  295. package/Source/Systems/Assets/UriResult.cs.meta +11 -0
  296. package/Source/Systems/Assets.meta +7 -0
  297. package/Source/Systems/BooleanResult.cs +146 -0
  298. package/Source/Systems/BooleanResult.cs.meta +11 -0
  299. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs +112 -0
  300. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +11 -0
  301. package/Source/Systems/ECommerce/CartInfo.cs +233 -0
  302. package/Source/Systems/ECommerce/CartInfo.cs.meta +11 -0
  303. package/Source/Systems/ECommerce/CartInfoResult.cs +132 -0
  304. package/Source/Systems/ECommerce/CartInfoResult.cs.meta +11 -0
  305. package/Source/Systems/ECommerce/CartLine.cs +197 -0
  306. package/Source/Systems/ECommerce/CartLine.cs.meta +11 -0
  307. package/Source/Systems/ECommerce/CheckoutInfo.cs +161 -0
  308. package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +11 -0
  309. package/Source/Systems/ECommerce/CheckoutInfoResult.cs +117 -0
  310. package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +11 -0
  311. package/Source/Systems/ECommerce/CurrencyInfo.cs +161 -0
  312. package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +11 -0
  313. package/Source/Systems/ECommerce/ECommerceSystem.cs +564 -0
  314. package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +11 -0
  315. package/Source/Systems/ECommerce/ProductInfo.cs +341 -0
  316. package/Source/Systems/ECommerce/ProductInfo.cs.meta +11 -0
  317. package/Source/Systems/ECommerce/ProductInfoResult.cs +117 -0
  318. package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +11 -0
  319. package/Source/Systems/ECommerce/ProductMediaInfo.cs +269 -0
  320. package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +11 -0
  321. package/Source/Systems/ECommerce/ProductVariantInfo.cs +342 -0
  322. package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +11 -0
  323. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs +269 -0
  324. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +11 -0
  325. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs +120 -0
  326. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +11 -0
  327. package/Source/Systems/ECommerce/VariantOptionInfo.cs +161 -0
  328. package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +11 -0
  329. package/Source/Systems/ECommerce.meta +7 -0
  330. package/Source/Systems/EventTicketing/EventTicket.cs +378 -0
  331. package/Source/Systems/EventTicketing/EventTicket.cs.meta +11 -0
  332. package/Source/Systems/EventTicketing/EventTicketResult.cs +115 -0
  333. package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +11 -0
  334. package/Source/Systems/EventTicketing/EventTicketingSystem.cs +563 -0
  335. package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +11 -0
  336. package/Source/Systems/EventTicketing/EventTicketingVendor.cs +24 -0
  337. package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +11 -0
  338. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs +115 -0
  339. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +11 -0
  340. package/Source/Systems/EventTicketing/TicketStatus.cs +26 -0
  341. package/Source/Systems/EventTicketing/TicketStatus.cs.meta +11 -0
  342. package/Source/Systems/EventTicketing/TicketedEvent.cs +305 -0
  343. package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +11 -0
  344. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs +117 -0
  345. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +11 -0
  346. package/Source/Systems/EventTicketing/TicketedEventResult.cs +117 -0
  347. package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +11 -0
  348. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs +248 -0
  349. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +11 -0
  350. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs +115 -0
  351. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +11 -0
  352. package/Source/Systems/EventTicketing.meta +7 -0
  353. package/Source/Systems/GraphQL/GraphQLResult.cs +146 -0
  354. package/Source/Systems/GraphQL/GraphQLResult.cs.meta +11 -0
  355. package/Source/Systems/GraphQL/GraphQLSystem.cs +221 -0
  356. package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +11 -0
  357. package/Source/Systems/GraphQL.meta +7 -0
  358. package/Source/Systems/HTTPHeadersResult.cs +147 -0
  359. package/Source/Systems/HTTPHeadersResult.cs.meta +11 -0
  360. package/Source/Systems/Log/LogLevel.cs +28 -0
  361. package/Source/Systems/Log/LogLevel.cs.meta +11 -0
  362. package/Source/Systems/Log/LogSystem.cs +331 -0
  363. package/Source/Systems/Log/LogSystem.cs.meta +11 -0
  364. package/Source/Systems/Log.meta +7 -0
  365. package/Source/Systems/Maintenance/MaintenanceInfo.cs +211 -0
  366. package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +11 -0
  367. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs +252 -0
  368. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +11 -0
  369. package/Source/Systems/Maintenance/MaintenanceSystem.cs +154 -0
  370. package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +11 -0
  371. package/Source/Systems/Maintenance.meta +7 -0
  372. package/Source/Systems/NullResult.cs +122 -0
  373. package/Source/Systems/NullResult.cs.meta +11 -0
  374. package/Source/Systems/Script/ScriptSystem.cs +198 -0
  375. package/Source/Systems/Script/ScriptSystem.cs.meta +11 -0
  376. package/Source/Systems/Script.meta +7 -0
  377. package/Source/Systems/Settings/SettingsCollection.cs +191 -0
  378. package/Source/Systems/Settings/SettingsCollection.cs.meta +11 -0
  379. package/Source/Systems/Settings/SettingsCollectionResult.cs +119 -0
  380. package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +11 -0
  381. package/Source/Systems/Settings/SettingsSystem.cs +999 -0
  382. package/Source/Systems/Settings/SettingsSystem.cs.meta +11 -0
  383. package/Source/Systems/Settings.meta +7 -0
  384. package/Source/Systems/Spaces/BasicSpace.cs +225 -0
  385. package/Source/Systems/Spaces/BasicSpace.cs.meta +11 -0
  386. package/Source/Systems/Spaces/BasicSpaceResult.cs +111 -0
  387. package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +11 -0
  388. package/Source/Systems/Spaces/BasicSpacesResult.cs +144 -0
  389. package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +11 -0
  390. package/Source/Systems/Spaces/InviteUserRoleInfo.cs +178 -0
  391. package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +11 -0
  392. package/Source/Systems/Spaces/PendingInvitesResult.cs +117 -0
  393. package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +11 -0
  394. package/Source/Systems/Spaces/Site.cs +259 -0
  395. package/Source/Systems/Spaces/Site.cs.meta +11 -0
  396. package/Source/Systems/Spaces/SiteResult.cs +114 -0
  397. package/Source/Systems/Spaces/SiteResult.cs.meta +11 -0
  398. package/Source/Systems/Spaces/SitesCollectionResult.cs +117 -0
  399. package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +11 -0
  400. package/Source/Systems/Spaces/Space.cs +321 -0
  401. package/Source/Systems/Spaces/Space.cs.meta +11 -0
  402. package/Source/Systems/Spaces/SpaceAttributes.cs +27 -0
  403. package/Source/Systems/Spaces/SpaceAttributes.cs.meta +11 -0
  404. package/Source/Systems/Spaces/SpaceGeoLocation.cs +225 -0
  405. package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +11 -0
  406. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs +162 -0
  407. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +11 -0
  408. package/Source/Systems/Spaces/SpaceMetadataResult.cs +144 -0
  409. package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +11 -0
  410. package/Source/Systems/Spaces/SpaceResult.cs +160 -0
  411. package/Source/Systems/Spaces/SpaceResult.cs.meta +11 -0
  412. package/Source/Systems/Spaces/SpaceSystem.cs +2322 -0
  413. package/Source/Systems/Spaces/SpaceSystem.cs.meta +11 -0
  414. package/Source/Systems/Spaces/SpaceUserRole.cs +22 -0
  415. package/Source/Systems/Spaces/SpaceUserRole.cs.meta +11 -0
  416. package/Source/Systems/Spaces/SpacesMetadataResult.cs +146 -0
  417. package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +11 -0
  418. package/Source/Systems/Spaces/SpacesResult.cs +132 -0
  419. package/Source/Systems/Spaces/SpacesResult.cs.meta +11 -0
  420. package/Source/Systems/Spaces/UserRoleCollectionResult.cs +146 -0
  421. package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +11 -0
  422. package/Source/Systems/Spaces/UserRoleInfo.cs +178 -0
  423. package/Source/Systems/Spaces/UserRoleInfo.cs.meta +11 -0
  424. package/Source/Systems/Spaces.meta +7 -0
  425. package/Source/Systems/Spatial/Anchor.cs +534 -0
  426. package/Source/Systems/Spatial/Anchor.cs.meta +11 -0
  427. package/Source/Systems/Spatial/AnchorCollectionResult.cs +117 -0
  428. package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +11 -0
  429. package/Source/Systems/Spatial/AnchorProvider.cs +20 -0
  430. package/Source/Systems/Spatial/AnchorProvider.cs.meta +11 -0
  431. package/Source/Systems/Spatial/AnchorResolution.cs +293 -0
  432. package/Source/Systems/Spatial/AnchorResolution.cs.meta +11 -0
  433. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs +119 -0
  434. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +11 -0
  435. package/Source/Systems/Spatial/AnchorResolutionResult.cs +119 -0
  436. package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +11 -0
  437. package/Source/Systems/Spatial/AnchorResult.cs +111 -0
  438. package/Source/Systems/Spatial/AnchorResult.cs.meta +11 -0
  439. package/Source/Systems/Spatial/AnchorSystem.cs +738 -0
  440. package/Source/Systems/Spatial/AnchorSystem.cs.meta +11 -0
  441. package/Source/Systems/Spatial/EPointOfInterestType.cs +20 -0
  442. package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +11 -0
  443. package/Source/Systems/Spatial/GeoLocation.cs +202 -0
  444. package/Source/Systems/Spatial/GeoLocation.cs.meta +11 -0
  445. package/Source/Systems/Spatial/OlyAnchorPosition.cs +216 -0
  446. package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +11 -0
  447. package/Source/Systems/Spatial/OlyRotation.cs +250 -0
  448. package/Source/Systems/Spatial/OlyRotation.cs.meta +11 -0
  449. package/Source/Systems/Spatial/POICollectionResult.cs +117 -0
  450. package/Source/Systems/Spatial/POICollectionResult.cs.meta +11 -0
  451. package/Source/Systems/Spatial/POIResult.cs +113 -0
  452. package/Source/Systems/Spatial/POIResult.cs.meta +11 -0
  453. package/Source/Systems/Spatial/PointOfInterest.cs +463 -0
  454. package/Source/Systems/Spatial/PointOfInterest.cs.meta +11 -0
  455. package/Source/Systems/Spatial/PointOfInterestSystem.cs +314 -0
  456. package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +11 -0
  457. package/Source/Systems/Spatial.meta +7 -0
  458. package/Source/Systems/StringArrayResult.cs +146 -0
  459. package/Source/Systems/StringArrayResult.cs.meta +11 -0
  460. package/Source/Systems/StringResult.cs +149 -0
  461. package/Source/Systems/StringResult.cs.meta +11 -0
  462. package/Source/Systems/SystemBase.cs +84 -0
  463. package/Source/Systems/SystemBase.cs.meta +11 -0
  464. package/Source/Systems/SystemsManager.cs +474 -0
  465. package/Source/Systems/SystemsManager.cs.meta +11 -0
  466. package/Source/Systems/UInt64Result.cs +146 -0
  467. package/Source/Systems/UInt64Result.cs.meta +11 -0
  468. package/Source/Systems/Users/AgoraUserTokenParams.cs +326 -0
  469. package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +11 -0
  470. package/Source/Systems/Users/AgoraUserTokenResult.cs +130 -0
  471. package/Source/Systems/Users/AgoraUserTokenResult.cs.meta +11 -0
  472. package/Source/Systems/Users/BasicProfile.cs +259 -0
  473. package/Source/Systems/Users/BasicProfile.cs.meta +11 -0
  474. package/Source/Systems/Users/BasicProfilesResult.cs +112 -0
  475. package/Source/Systems/Users/BasicProfilesResult.cs.meta +11 -0
  476. package/Source/Systems/Users/ELoginState.cs +25 -0
  477. package/Source/Systems/Users/ELoginState.cs.meta +11 -0
  478. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs +28 -0
  479. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +11 -0
  480. package/Source/Systems/Users/LoginState.cs +304 -0
  481. package/Source/Systems/Users/LoginState.cs.meta +11 -0
  482. package/Source/Systems/Users/LoginStateResult.cs +126 -0
  483. package/Source/Systems/Users/LoginStateResult.cs.meta +11 -0
  484. package/Source/Systems/Users/LoginTokenInfo.cs +224 -0
  485. package/Source/Systems/Users/LoginTokenInfo.cs.meta +11 -0
  486. package/Source/Systems/Users/LoginTokenReceived.cs +129 -0
  487. package/Source/Systems/Users/LoginTokenReceived.cs.meta +11 -0
  488. package/Source/Systems/Users/LogoutResult.cs +105 -0
  489. package/Source/Systems/Users/LogoutResult.cs.meta +11 -0
  490. package/Source/Systems/Users/PingResponseReceived.cs +106 -0
  491. package/Source/Systems/Users/PingResponseReceived.cs.meta +11 -0
  492. package/Source/Systems/Users/Profile.cs +367 -0
  493. package/Source/Systems/Users/Profile.cs.meta +11 -0
  494. package/Source/Systems/Users/ProfileResult.cs +110 -0
  495. package/Source/Systems/Users/ProfileResult.cs.meta +11 -0
  496. package/Source/Systems/Users/ProviderDetailsResult.cs +142 -0
  497. package/Source/Systems/Users/ProviderDetailsResult.cs.meta +11 -0
  498. package/Source/Systems/Users/ThirdPartyProviderDetails.cs +231 -0
  499. package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +11 -0
  500. package/Source/Systems/Users/UserSystem.cs +1468 -0
  501. package/Source/Systems/Users/UserSystem.cs.meta +11 -0
  502. package/Source/Systems/Users.meta +7 -0
  503. package/Source/Systems/Voip/VoipSystem.cs +132 -0
  504. package/Source/Systems/Voip/VoipSystem.cs.meta +11 -0
  505. package/Source/Systems/Voip.meta +7 -0
  506. package/Source/Systems.meta +7 -0
  507. package/Source/Web/EResponseCodes.cs +83 -0
  508. package/Source/Web/EResponseCodes.cs.meta +11 -0
  509. package/Source/Web.meta +7 -0
  510. package/Source/WrapperHelper.cs +96 -0
  511. package/Source/WrapperHelper.cs.meta +11 -0
  512. package/Source.meta +7 -0
  513. package/android64/libConnectedSpacesPlatform.so +0 -0
  514. package/android64/libConnectedSpacesPlatform.so.meta +79 -0
  515. package/android64/libConnectedSpacesPlatform_D.so +0 -0
  516. package/android64/libConnectedSpacesPlatform_D.so.meta +79 -0
  517. package/android64.meta +7 -0
  518. package/package.json +13 -0
  519. package/package.json.meta +7 -0
  520. package/windows/ConnectedSpacesPlatform.dll +0 -0
  521. package/windows/ConnectedSpacesPlatform.dll.meta +79 -0
  522. package/windows/ConnectedSpacesPlatform_D.dll +0 -0
  523. package/windows/ConnectedSpacesPlatform_D.dll.meta +79 -0
  524. 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
+