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,564 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// @ingroup ECommerce System
16
+ /// <summary>Public facing system that allows interfacing with CSP's concept of a ECommerce platform.</summary>
17
+ /// <remarks>Offers methods for utilising Ecommerce through CSP</remarks>
18
+
19
+ public class ECommerceSystem : Csp.Systems.SystemBase
20
+ {
21
+ internal override string _safeTypeName { get; } = "csp_systems_ECommerceSystem";
22
+
23
+ #region P/Invoke
24
+ #pragma warning disable IDE1006
25
+
26
+
27
+
28
+ [
29
+ DllImport(
30
+ #if !UNITY_EDITOR && UNITY_IOS
31
+ "__Internal"
32
+ #elif DEBUG
33
+ "ConnectedSpacesPlatform_D"
34
+ #else
35
+ "ConnectedSpacesPlatform"
36
+ #endif
37
+ ),
38
+ SuppressUnmanagedCodeSecurity
39
+ ]
40
+ static extern NativePointer csp_systems_ECommerceSystem_Ctor();
41
+
42
+ [
43
+ DllImport(
44
+ #if !UNITY_EDITOR && UNITY_IOS
45
+ "__Internal"
46
+ #elif DEBUG
47
+ "ConnectedSpacesPlatform_D"
48
+ #else
49
+ "ConnectedSpacesPlatform"
50
+ #endif
51
+ ),
52
+ SuppressUnmanagedCodeSecurity
53
+ ]
54
+ static extern void csp_systems_ECommerceSystem_Dtor(IntPtr @class);
55
+
56
+ [
57
+ DllImport(
58
+ #if !UNITY_EDITOR && UNITY_IOS
59
+ "__Internal"
60
+ #elif DEBUG
61
+ "ConnectedSpacesPlatform_D"
62
+ #else
63
+ "ConnectedSpacesPlatform"
64
+ #endif
65
+ ),
66
+ SuppressUnmanagedCodeSecurity
67
+ ]
68
+ static extern void csp_systems_ECommerceSystem_GetProductInformation_void_StringRC_StringRC_ProductInfoResultCallback(
69
+ IntPtr @class,
70
+ string SpaceId,
71
+ string ProductId,
72
+ GetProductInformationCallbackDelegate callback,
73
+ IntPtr callbackStateObject
74
+ );
75
+
76
+ [
77
+ DllImport(
78
+ #if !UNITY_EDITOR && UNITY_IOS
79
+ "__Internal"
80
+ #elif DEBUG
81
+ "ConnectedSpacesPlatform_D"
82
+ #else
83
+ "ConnectedSpacesPlatform"
84
+ #endif
85
+ ),
86
+ SuppressUnmanagedCodeSecurity
87
+ ]
88
+ static extern void csp_systems_ECommerceSystem_GetCheckoutInformation_void_StringRC_StringRC_CheckoutInfoResultCallback(
89
+ IntPtr @class,
90
+ string SpaceId,
91
+ string CartId,
92
+ GetCheckoutInformationCallbackDelegate callback,
93
+ IntPtr callbackStateObject
94
+ );
95
+
96
+ [
97
+ DllImport(
98
+ #if !UNITY_EDITOR && UNITY_IOS
99
+ "__Internal"
100
+ #elif DEBUG
101
+ "ConnectedSpacesPlatform_D"
102
+ #else
103
+ "ConnectedSpacesPlatform"
104
+ #endif
105
+ ),
106
+ SuppressUnmanagedCodeSecurity
107
+ ]
108
+ static extern void csp_systems_ECommerceSystem_CreateCart_void_StringRC_CartInfoResultCallback(
109
+ IntPtr @class,
110
+ string SpaceId,
111
+ CreateCartCallbackDelegate callback,
112
+ IntPtr callbackStateObject
113
+ );
114
+
115
+ [
116
+ DllImport(
117
+ #if !UNITY_EDITOR && UNITY_IOS
118
+ "__Internal"
119
+ #elif DEBUG
120
+ "ConnectedSpacesPlatform_D"
121
+ #else
122
+ "ConnectedSpacesPlatform"
123
+ #endif
124
+ ),
125
+ SuppressUnmanagedCodeSecurity
126
+ ]
127
+ static extern void csp_systems_ECommerceSystem_GetCart_void_StringRC_StringRC_CartInfoResultCallback(
128
+ IntPtr @class,
129
+ string SpaceId,
130
+ string CartId,
131
+ GetCartCallbackDelegate callback,
132
+ IntPtr callbackStateObject
133
+ );
134
+
135
+ [
136
+ DllImport(
137
+ #if !UNITY_EDITOR && UNITY_IOS
138
+ "__Internal"
139
+ #elif DEBUG
140
+ "ConnectedSpacesPlatform_D"
141
+ #else
142
+ "ConnectedSpacesPlatform"
143
+ #endif
144
+ ),
145
+ SuppressUnmanagedCodeSecurity
146
+ ]
147
+ static extern void csp_systems_ECommerceSystem_AddShopifyStore_void_StringRC_StringRC_boolC_StringRC_AddShopifyStoreResultCallback(
148
+ IntPtr @class,
149
+ string StoreName,
150
+ string SpaceId,
151
+ bool IsEcommerceActive,
152
+ string PrivateAccessToken,
153
+ AddShopifyStoreCallbackDelegate callback,
154
+ IntPtr callbackStateObject
155
+ );
156
+
157
+ [
158
+ DllImport(
159
+ #if !UNITY_EDITOR && UNITY_IOS
160
+ "__Internal"
161
+ #elif DEBUG
162
+ "ConnectedSpacesPlatform_D"
163
+ #else
164
+ "ConnectedSpacesPlatform"
165
+ #endif
166
+ ),
167
+ SuppressUnmanagedCodeSecurity
168
+ ]
169
+ static extern void csp_systems_ECommerceSystem_ValidateShopifyStore_void_StringRC_StringRC_ValidateShopifyStoreResultCallback(
170
+ IntPtr @class,
171
+ string StoreName,
172
+ string PrivateAccessToken,
173
+ ValidateShopifyStoreCallbackDelegate callback,
174
+ IntPtr callbackStateObject
175
+ );
176
+
177
+ [
178
+ DllImport(
179
+ #if !UNITY_EDITOR && UNITY_IOS
180
+ "__Internal"
181
+ #elif DEBUG
182
+ "ConnectedSpacesPlatform_D"
183
+ #else
184
+ "ConnectedSpacesPlatform"
185
+ #endif
186
+ ),
187
+ SuppressUnmanagedCodeSecurity
188
+ ]
189
+ static extern void csp_systems_ECommerceSystem_UpdateCartInformation_void_CartInfoRC_CartInfoResultCallback(
190
+ IntPtr @class,
191
+ IntPtr CartInformation,
192
+ UpdateCartInformationCallbackDelegate callback,
193
+ IntPtr callbackStateObject
194
+ );
195
+
196
+ #pragma warning restore IDE1006
197
+ #endregion
198
+
199
+ internal ECommerceSystem(NativePointer ptr) : base(ptr) { }
200
+
201
+ public ECommerceSystem(Csp.Systems.SystemBase baseInstance)
202
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
203
+ {
204
+ // Prevent previous instance from freeing underlying pointer when destroyed
205
+ baseInstance._ownsPtr = false;
206
+ }
207
+
208
+ delegate void GetProductInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
209
+
210
+ delegate void GetCheckoutInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
211
+
212
+ delegate void CreateCartCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
213
+
214
+ delegate void GetCartCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
215
+
216
+ delegate void AddShopifyStoreCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
217
+
218
+ delegate void ValidateShopifyStoreCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
219
+
220
+ delegate void UpdateCartInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
221
+
222
+ public ECommerceSystem()
223
+ {
224
+ var np = csp_systems_ECommerceSystem_Ctor();
225
+ _ptr = np.Pointer;
226
+ _ownsPtr = np.OwnsOwnData;
227
+ }
228
+
229
+ ~ECommerceSystem()
230
+ {
231
+ //RealDispose();
232
+ }
233
+
234
+ void RealDispose()
235
+ {
236
+ if (_ownsPtr && !_disposed)
237
+ {
238
+ csp_systems_ECommerceSystem_Dtor(_ptr);
239
+ _disposed = true;
240
+ }
241
+
242
+ _disposed = true;
243
+ }
244
+
245
+ new public void Dispose()
246
+ {
247
+ RealDispose();
248
+ GC.SuppressFinalize(this);
249
+ }
250
+
251
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
252
+ [AOT.MonoPInvokeCallback (typeof (GetProductInformationCallbackDelegate))]
253
+ #endif
254
+ static void GetProductInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
255
+ {
256
+ var _handle = (GCHandle)_StateObject__;
257
+ var tcs = (TaskCompletionSource<Csp.Systems.ProductInfoResult>)_handle.Target;
258
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
259
+
260
+ var task_result = new Csp.Systems.ProductInfoResult(_Result);
261
+
262
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
263
+ {
264
+ return;
265
+ }
266
+
267
+ tcs.SetResult(task_result);
268
+ _handle.Free();
269
+ }
270
+
271
+ static readonly GetProductInformationCallbackDelegate GetProductInformationDelegateInstance =
272
+ GetProductInformationCallbackDelegateFunction;
273
+
274
+ /// <summary>Get product information from a shopify store within a space</summary>
275
+ /// <param name="SpaceId">Space id of product</param>
276
+ /// <param name="ProductId">Product id of product</param>
277
+ /// <returns>The result for the request</returns>
278
+
279
+ public Task<Csp.Systems.ProductInfoResult> GetProductInformation(string SpaceId, string ProductId)
280
+ {
281
+ var tcs = new TaskCompletionSource<Csp.Systems.ProductInfoResult>(this);
282
+ var handle = GCHandle.Alloc(tcs);
283
+
284
+ csp_systems_ECommerceSystem_GetProductInformation_void_StringRC_StringRC_ProductInfoResultCallback(
285
+ _ptr,
286
+ SpaceId,
287
+ ProductId,
288
+ GetProductInformationDelegateInstance,
289
+ (IntPtr)handle
290
+ );
291
+
292
+ return tcs.Task;
293
+ }
294
+
295
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
296
+ [AOT.MonoPInvokeCallback (typeof (GetCheckoutInformationCallbackDelegate))]
297
+ #endif
298
+ static void GetCheckoutInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
299
+ {
300
+ var _handle = (GCHandle)_StateObject__;
301
+ var tcs = (TaskCompletionSource<Csp.Systems.CheckoutInfoResult>)_handle.Target;
302
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
303
+
304
+ var task_result = new Csp.Systems.CheckoutInfoResult(_Result);
305
+
306
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
307
+ {
308
+ return;
309
+ }
310
+
311
+ tcs.SetResult(task_result);
312
+ _handle.Free();
313
+ }
314
+
315
+ static readonly GetCheckoutInformationCallbackDelegate GetCheckoutInformationDelegateInstance =
316
+ GetCheckoutInformationCallbackDelegateFunction;
317
+
318
+ /// <summary>Get checkout information from a shopify store within a space</summary>
319
+ /// <param name="SpaceId">Space id of the cart</param>
320
+ /// <param name="CartId">Id of cart being checked out</param>
321
+ /// <returns>The result for the request</returns>
322
+
323
+ public Task<Csp.Systems.CheckoutInfoResult> GetCheckoutInformation(string SpaceId, string CartId)
324
+ {
325
+ var tcs = new TaskCompletionSource<Csp.Systems.CheckoutInfoResult>(this);
326
+ var handle = GCHandle.Alloc(tcs);
327
+
328
+ csp_systems_ECommerceSystem_GetCheckoutInformation_void_StringRC_StringRC_CheckoutInfoResultCallback(
329
+ _ptr,
330
+ SpaceId,
331
+ CartId,
332
+ GetCheckoutInformationDelegateInstance,
333
+ (IntPtr)handle
334
+ );
335
+
336
+ return tcs.Task;
337
+ }
338
+
339
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
340
+ [AOT.MonoPInvokeCallback (typeof (CreateCartCallbackDelegate))]
341
+ #endif
342
+ static void CreateCartCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
343
+ {
344
+ var _handle = (GCHandle)_StateObject__;
345
+ var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
346
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
347
+
348
+ var task_result = new Csp.Systems.CartInfoResult(_Result);
349
+
350
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
351
+ {
352
+ return;
353
+ }
354
+
355
+ tcs.SetResult(task_result);
356
+ _handle.Free();
357
+ }
358
+
359
+ static readonly CreateCartCallbackDelegate CreateCartDelegateInstance = CreateCartCallbackDelegateFunction;
360
+
361
+ /// <summary>Creates a cart for the current user in the given space.</summary>
362
+ /// <param name="SpaceId">ID of the space to create the cart for.</param>
363
+ /// <returns>The result for the request</returns>
364
+
365
+ public Task<Csp.Systems.CartInfoResult> CreateCart(string SpaceId)
366
+ {
367
+ var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
368
+ var handle = GCHandle.Alloc(tcs);
369
+
370
+ csp_systems_ECommerceSystem_CreateCart_void_StringRC_CartInfoResultCallback(
371
+ _ptr,
372
+ SpaceId,
373
+ CreateCartDelegateInstance,
374
+ (IntPtr)handle
375
+ );
376
+
377
+ return tcs.Task;
378
+ }
379
+
380
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
381
+ [AOT.MonoPInvokeCallback (typeof (GetCartCallbackDelegate))]
382
+ #endif
383
+ static void GetCartCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
384
+ {
385
+ var _handle = (GCHandle)_StateObject__;
386
+ var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
387
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
388
+
389
+ var task_result = new Csp.Systems.CartInfoResult(_Result);
390
+
391
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
392
+ {
393
+ return;
394
+ }
395
+
396
+ tcs.SetResult(task_result);
397
+ _handle.Free();
398
+ }
399
+
400
+ static readonly GetCartCallbackDelegate GetCartDelegateInstance = GetCartCallbackDelegateFunction;
401
+
402
+ /// <summary>Gets a cart for the current user in the given space.</summary>
403
+ /// <param name="SpaceId">ID of the space the cart belongs to.</param>
404
+ /// <param name="CartId">ID of the cart.</param>
405
+ /// <returns>The result for the request</returns>
406
+
407
+ public Task<Csp.Systems.CartInfoResult> GetCart(string SpaceId, string CartId)
408
+ {
409
+ var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
410
+ var handle = GCHandle.Alloc(tcs);
411
+
412
+ csp_systems_ECommerceSystem_GetCart_void_StringRC_StringRC_CartInfoResultCallback(
413
+ _ptr,
414
+ SpaceId,
415
+ CartId,
416
+ GetCartDelegateInstance,
417
+ (IntPtr)handle
418
+ );
419
+
420
+ return tcs.Task;
421
+ }
422
+
423
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
424
+ [AOT.MonoPInvokeCallback (typeof (AddShopifyStoreCallbackDelegate))]
425
+ #endif
426
+ static void AddShopifyStoreCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
427
+ {
428
+ var _handle = (GCHandle)_StateObject__;
429
+ var tcs = (TaskCompletionSource<Csp.Systems.AddShopifyStoreResult>)_handle.Target;
430
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
431
+
432
+ var task_result = new Csp.Systems.AddShopifyStoreResult(_Result);
433
+
434
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
435
+ {
436
+ return;
437
+ }
438
+
439
+ tcs.SetResult(task_result);
440
+ _handle.Free();
441
+ }
442
+
443
+ static readonly AddShopifyStoreCallbackDelegate AddShopifyStoreDelegateInstance =
444
+ AddShopifyStoreCallbackDelegateFunction;
445
+
446
+ /// <summary>Adds a Shopify store to a space.</summary>
447
+ /// <param name="StoreName">The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.</param>
448
+ /// <param name="SpaceId">ID of the space to link the store to.</param>
449
+ /// <param name="IsEcommerceActive">Bool to set the ecommerce system status on creation.</param>
450
+ /// <param name="PrivateAccessToken">The access token for the shopify storefront.</param>
451
+ /// <returns>The result for the request</returns>
452
+
453
+ public Task<Csp.Systems.AddShopifyStoreResult> AddShopifyStore(
454
+ string StoreName,
455
+ string SpaceId,
456
+ bool IsEcommerceActive,
457
+ string PrivateAccessToken
458
+ ) {
459
+ var tcs = new TaskCompletionSource<Csp.Systems.AddShopifyStoreResult>(this);
460
+ var handle = GCHandle.Alloc(tcs);
461
+
462
+ csp_systems_ECommerceSystem_AddShopifyStore_void_StringRC_StringRC_boolC_StringRC_AddShopifyStoreResultCallback(
463
+ _ptr,
464
+ StoreName,
465
+ SpaceId,
466
+ IsEcommerceActive,
467
+ PrivateAccessToken,
468
+ AddShopifyStoreDelegateInstance,
469
+ (IntPtr)handle
470
+ );
471
+
472
+ return tcs.Task;
473
+ }
474
+
475
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
476
+ [AOT.MonoPInvokeCallback (typeof (ValidateShopifyStoreCallbackDelegate))]
477
+ #endif
478
+ static void ValidateShopifyStoreCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
479
+ {
480
+ var _handle = (GCHandle)_StateObject__;
481
+ var tcs = (TaskCompletionSource<Csp.Systems.ValidateShopifyStoreResult>)_handle.Target;
482
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
483
+
484
+ var task_result = new Csp.Systems.ValidateShopifyStoreResult(_Result);
485
+
486
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
487
+ {
488
+ return;
489
+ }
490
+
491
+ tcs.SetResult(task_result);
492
+ _handle.Free();
493
+ }
494
+
495
+ static readonly ValidateShopifyStoreCallbackDelegate ValidateShopifyStoreDelegateInstance =
496
+ ValidateShopifyStoreCallbackDelegateFunction;
497
+
498
+ /// <summary>Validates a shopify store given a store name and an access token.</summary>
499
+ /// <param name="StoreName">The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.</param>
500
+ /// <param name="PrivateAccessToken">The access token for the shopify storefront.</param>
501
+ /// <returns>The result for the request</returns>
502
+
503
+ public Task<Csp.Systems.ValidateShopifyStoreResult> ValidateShopifyStore(
504
+ string StoreName,
505
+ string PrivateAccessToken
506
+ ) {
507
+ var tcs = new TaskCompletionSource<Csp.Systems.ValidateShopifyStoreResult>(this);
508
+ var handle = GCHandle.Alloc(tcs);
509
+
510
+ csp_systems_ECommerceSystem_ValidateShopifyStore_void_StringRC_StringRC_ValidateShopifyStoreResultCallback(
511
+ _ptr,
512
+ StoreName,
513
+ PrivateAccessToken,
514
+ ValidateShopifyStoreDelegateInstance,
515
+ (IntPtr)handle
516
+ );
517
+
518
+ return tcs.Task;
519
+ }
520
+
521
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
522
+ [AOT.MonoPInvokeCallback (typeof (UpdateCartInformationCallbackDelegate))]
523
+ #endif
524
+ static void UpdateCartInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
525
+ {
526
+ var _handle = (GCHandle)_StateObject__;
527
+ var tcs = (TaskCompletionSource<Csp.Systems.CartInfoResult>)_handle.Target;
528
+ var _this = (ECommerceSystem)tcs.Task.AsyncState;
529
+
530
+ var task_result = new Csp.Systems.CartInfoResult(_Result);
531
+
532
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
533
+ {
534
+ return;
535
+ }
536
+
537
+ tcs.SetResult(task_result);
538
+ _handle.Free();
539
+ }
540
+
541
+ static readonly UpdateCartInformationCallbackDelegate UpdateCartInformationDelegateInstance =
542
+ UpdateCartInformationCallbackDelegateFunction;
543
+
544
+ /// <summary>Update cart information from a shopify store within a space</summary>
545
+ /// <param name="CartInformation">Updated Cart Object.</param>
546
+ /// <returns>The result for the request</returns>
547
+
548
+ public Task<Csp.Systems.CartInfoResult> UpdateCartInformation(Csp.Systems.CartInfo CartInformation)
549
+ {
550
+ var tcs = new TaskCompletionSource<Csp.Systems.CartInfoResult>(this);
551
+ var handle = GCHandle.Alloc(tcs);
552
+
553
+ csp_systems_ECommerceSystem_UpdateCartInformation_void_CartInfoRC_CartInfoResultCallback(
554
+ _ptr,
555
+ CartInformation._ptr,
556
+ UpdateCartInformationDelegateInstance,
557
+ (IntPtr)handle
558
+ );
559
+
560
+ return tcs.Task;
561
+ }
562
+ }
563
+ }
564
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 14e31abf029b400aa88a15686b7a9393
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData: null
10
+ assetBundleName: null
11
+ assetBundleVariant: null