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,999 @@
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 Settings System
16
+ /// <summary>Public facing system that allows interfacing with Magnopus Connected Services' settings service.</summary>
17
+ /// <remarks>Offers methods for storing and retrieving client settings.</remarks>
18
+
19
+ public class SettingsSystem : Csp.Systems.SystemBase
20
+ {
21
+ internal override string _safeTypeName { get; } = "csp_systems_SettingsSystem";
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_SettingsSystem_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_SettingsSystem_SetNDAStatus_void_StringRC_bool_NullResultCallback(
55
+ IntPtr @class,
56
+ string InUserId,
57
+ bool InValue,
58
+ SetNDAStatusCallbackDelegate callback,
59
+ IntPtr callbackStateObject
60
+ );
61
+
62
+ [
63
+ DllImport(
64
+ #if !UNITY_EDITOR && UNITY_IOS
65
+ "__Internal"
66
+ #elif DEBUG
67
+ "ConnectedSpacesPlatform_D"
68
+ #else
69
+ "ConnectedSpacesPlatform"
70
+ #endif
71
+ ),
72
+ SuppressUnmanagedCodeSecurity
73
+ ]
74
+ static extern void csp_systems_SettingsSystem_GetNDAStatus_void_StringRC_BooleanResultCallback(
75
+ IntPtr @class,
76
+ string InUserId,
77
+ GetNDAStatusCallbackDelegate callback,
78
+ IntPtr callbackStateObject
79
+ );
80
+
81
+ [
82
+ DllImport(
83
+ #if !UNITY_EDITOR && UNITY_IOS
84
+ "__Internal"
85
+ #elif DEBUG
86
+ "ConnectedSpacesPlatform_D"
87
+ #else
88
+ "ConnectedSpacesPlatform"
89
+ #endif
90
+ ),
91
+ SuppressUnmanagedCodeSecurity
92
+ ]
93
+ static extern void csp_systems_SettingsSystem_SetNewsletterStatus_void_StringRC_bool_NullResultCallback(
94
+ IntPtr @class,
95
+ string InUserId,
96
+ bool InValue,
97
+ SetNewsletterStatusCallbackDelegate callback,
98
+ IntPtr callbackStateObject
99
+ );
100
+
101
+ [
102
+ DllImport(
103
+ #if !UNITY_EDITOR && UNITY_IOS
104
+ "__Internal"
105
+ #elif DEBUG
106
+ "ConnectedSpacesPlatform_D"
107
+ #else
108
+ "ConnectedSpacesPlatform"
109
+ #endif
110
+ ),
111
+ SuppressUnmanagedCodeSecurity
112
+ ]
113
+ static extern void csp_systems_SettingsSystem_GetNewsletterStatus_void_StringRC_BooleanResultCallback(
114
+ IntPtr @class,
115
+ string InUserId,
116
+ GetNewsletterStatusCallbackDelegate callback,
117
+ IntPtr callbackStateObject
118
+ );
119
+
120
+ [
121
+ DllImport(
122
+ #if !UNITY_EDITOR && UNITY_IOS
123
+ "__Internal"
124
+ #elif DEBUG
125
+ "ConnectedSpacesPlatform_D"
126
+ #else
127
+ "ConnectedSpacesPlatform"
128
+ #endif
129
+ ),
130
+ SuppressUnmanagedCodeSecurity
131
+ ]
132
+ static extern void csp_systems_SettingsSystem_AddRecentlyVisitedSpace_void_StringRC_StringC_NullResultCallback(
133
+ IntPtr @class,
134
+ string InUserId,
135
+ string InSpaceID,
136
+ AddRecentlyVisitedSpaceCallbackDelegate callback,
137
+ IntPtr callbackStateObject
138
+ );
139
+
140
+ [
141
+ DllImport(
142
+ #if !UNITY_EDITOR && UNITY_IOS
143
+ "__Internal"
144
+ #elif DEBUG
145
+ "ConnectedSpacesPlatform_D"
146
+ #else
147
+ "ConnectedSpacesPlatform"
148
+ #endif
149
+ ),
150
+ SuppressUnmanagedCodeSecurity
151
+ ]
152
+ static extern void csp_systems_SettingsSystem_GetRecentlyVisitedSpaces_void_StringRC_StringArrayResultCallback(
153
+ IntPtr @class,
154
+ string InUserId,
155
+ GetRecentlyVisitedSpacesCallbackDelegate callback,
156
+ IntPtr callbackStateObject
157
+ );
158
+
159
+ [
160
+ DllImport(
161
+ #if !UNITY_EDITOR && UNITY_IOS
162
+ "__Internal"
163
+ #elif DEBUG
164
+ "ConnectedSpacesPlatform_D"
165
+ #else
166
+ "ConnectedSpacesPlatform"
167
+ #endif
168
+ ),
169
+ SuppressUnmanagedCodeSecurity
170
+ ]
171
+ static extern void csp_systems_SettingsSystem_ClearRecentlyVisitedSpaces_void_StringRC_NullResultCallback(
172
+ IntPtr @class,
173
+ string InUserId,
174
+ ClearRecentlyVisitedSpacesCallbackDelegate callback,
175
+ IntPtr callbackStateObject
176
+ );
177
+
178
+ [
179
+ DllImport(
180
+ #if !UNITY_EDITOR && UNITY_IOS
181
+ "__Internal"
182
+ #elif DEBUG
183
+ "ConnectedSpacesPlatform_D"
184
+ #else
185
+ "ConnectedSpacesPlatform"
186
+ #endif
187
+ ),
188
+ SuppressUnmanagedCodeSecurity
189
+ ]
190
+ static extern void csp_systems_SettingsSystem_AddBlockedSpace_void_StringRC_StringC_NullResultCallback(
191
+ IntPtr @class,
192
+ string InUserId,
193
+ string InSpaceID,
194
+ AddBlockedSpaceCallbackDelegate callback,
195
+ IntPtr callbackStateObject
196
+ );
197
+
198
+ [
199
+ DllImport(
200
+ #if !UNITY_EDITOR && UNITY_IOS
201
+ "__Internal"
202
+ #elif DEBUG
203
+ "ConnectedSpacesPlatform_D"
204
+ #else
205
+ "ConnectedSpacesPlatform"
206
+ #endif
207
+ ),
208
+ SuppressUnmanagedCodeSecurity
209
+ ]
210
+ static extern void csp_systems_SettingsSystem_RemoveBlockedSpace_void_StringRC_StringC_NullResultCallback(
211
+ IntPtr @class,
212
+ string InUserId,
213
+ string InSpaceID,
214
+ RemoveBlockedSpaceCallbackDelegate callback,
215
+ IntPtr callbackStateObject
216
+ );
217
+
218
+ [
219
+ DllImport(
220
+ #if !UNITY_EDITOR && UNITY_IOS
221
+ "__Internal"
222
+ #elif DEBUG
223
+ "ConnectedSpacesPlatform_D"
224
+ #else
225
+ "ConnectedSpacesPlatform"
226
+ #endif
227
+ ),
228
+ SuppressUnmanagedCodeSecurity
229
+ ]
230
+ static extern void csp_systems_SettingsSystem_GetBlockedSpaces_void_StringRC_StringArrayResultCallback(
231
+ IntPtr @class,
232
+ string InUserId,
233
+ GetBlockedSpacesCallbackDelegate callback,
234
+ IntPtr callbackStateObject
235
+ );
236
+
237
+ [
238
+ DllImport(
239
+ #if !UNITY_EDITOR && UNITY_IOS
240
+ "__Internal"
241
+ #elif DEBUG
242
+ "ConnectedSpacesPlatform_D"
243
+ #else
244
+ "ConnectedSpacesPlatform"
245
+ #endif
246
+ ),
247
+ SuppressUnmanagedCodeSecurity
248
+ ]
249
+ static extern void csp_systems_SettingsSystem_ClearBlockedSpaces_void_StringRC_NullResultCallback(
250
+ IntPtr @class,
251
+ string InUserId,
252
+ ClearBlockedSpacesCallbackDelegate callback,
253
+ IntPtr callbackStateObject
254
+ );
255
+
256
+ [
257
+ DllImport(
258
+ #if !UNITY_EDITOR && UNITY_IOS
259
+ "__Internal"
260
+ #elif DEBUG
261
+ "ConnectedSpacesPlatform_D"
262
+ #else
263
+ "ConnectedSpacesPlatform"
264
+ #endif
265
+ ),
266
+ SuppressUnmanagedCodeSecurity
267
+ ]
268
+ static extern void csp_systems_SettingsSystem_UpdateAvatarPortrait_void_StringRC_FileAssetDataSourceRC_NullResultCallback(
269
+ IntPtr @class,
270
+ string UserId,
271
+ IntPtr NewAvatarPortrait,
272
+ UpdateAvatarPortraitCallbackDelegate callback,
273
+ IntPtr callbackStateObject
274
+ );
275
+
276
+ [
277
+ DllImport(
278
+ #if !UNITY_EDITOR && UNITY_IOS
279
+ "__Internal"
280
+ #elif DEBUG
281
+ "ConnectedSpacesPlatform_D"
282
+ #else
283
+ "ConnectedSpacesPlatform"
284
+ #endif
285
+ ),
286
+ SuppressUnmanagedCodeSecurity
287
+ ]
288
+ static extern void csp_systems_SettingsSystem_GetAvatarPortrait_void_StringRC_UriResultCallback(
289
+ IntPtr @class,
290
+ string UserId,
291
+ GetAvatarPortraitCallbackDelegate callback,
292
+ IntPtr callbackStateObject
293
+ );
294
+
295
+ [
296
+ DllImport(
297
+ #if !UNITY_EDITOR && UNITY_IOS
298
+ "__Internal"
299
+ #elif DEBUG
300
+ "ConnectedSpacesPlatform_D"
301
+ #else
302
+ "ConnectedSpacesPlatform"
303
+ #endif
304
+ ),
305
+ SuppressUnmanagedCodeSecurity
306
+ ]
307
+ static extern void csp_systems_SettingsSystem_UpdateAvatarPortraitWithBuffer_void_StringRC_BufferAssetDataSourceRC_NullResultCallback(
308
+ IntPtr @class,
309
+ string UserId,
310
+ IntPtr NewAvatarPortrait,
311
+ UpdateAvatarPortraitWithBufferCallbackDelegate callback,
312
+ IntPtr callbackStateObject
313
+ );
314
+
315
+ [
316
+ DllImport(
317
+ #if !UNITY_EDITOR && UNITY_IOS
318
+ "__Internal"
319
+ #elif DEBUG
320
+ "ConnectedSpacesPlatform_D"
321
+ #else
322
+ "ConnectedSpacesPlatform"
323
+ #endif
324
+ ),
325
+ SuppressUnmanagedCodeSecurity
326
+ ]
327
+ static extern NativePointer csp_systems_SettingsSystem_Ctor();
328
+
329
+ #pragma warning restore IDE1006
330
+ #endregion
331
+
332
+ internal SettingsSystem(NativePointer ptr) : base(ptr) { }
333
+
334
+ public SettingsSystem(Csp.Systems.SystemBase baseInstance)
335
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
336
+ {
337
+ // Prevent previous instance from freeing underlying pointer when destroyed
338
+ baseInstance._ownsPtr = false;
339
+ }
340
+
341
+ delegate void SetNDAStatusCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
342
+
343
+ delegate void GetNDAStatusCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
344
+
345
+ delegate void SetNewsletterStatusCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
346
+
347
+ delegate void GetNewsletterStatusCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
348
+
349
+ delegate void AddRecentlyVisitedSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
350
+
351
+ delegate void GetRecentlyVisitedSpacesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
352
+
353
+ delegate void ClearRecentlyVisitedSpacesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
354
+
355
+ delegate void AddBlockedSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
356
+
357
+ delegate void RemoveBlockedSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
358
+
359
+ delegate void GetBlockedSpacesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
360
+
361
+ delegate void ClearBlockedSpacesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
362
+
363
+ delegate void UpdateAvatarPortraitCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
364
+
365
+ delegate void GetAvatarPortraitCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
366
+
367
+ delegate void UpdateAvatarPortraitWithBufferCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
368
+
369
+ ~SettingsSystem()
370
+ {
371
+ //RealDispose();
372
+ }
373
+
374
+ void RealDispose()
375
+ {
376
+ if (_ownsPtr && !_disposed)
377
+ {
378
+ csp_systems_SettingsSystem_Dtor(_ptr);
379
+ _disposed = true;
380
+ }
381
+
382
+ _disposed = true;
383
+ }
384
+
385
+ new public void Dispose()
386
+ {
387
+ RealDispose();
388
+ GC.SuppressFinalize(this);
389
+ }
390
+
391
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
392
+ [AOT.MonoPInvokeCallback (typeof (SetNDAStatusCallbackDelegate))]
393
+ #endif
394
+ static void SetNDAStatusCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
395
+ {
396
+ var _handle = (GCHandle)_StateObject__;
397
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
398
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
399
+
400
+ var task_result = new Csp.Systems.NullResult(_Result);
401
+
402
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
403
+ {
404
+ return;
405
+ }
406
+
407
+ tcs.SetResult(task_result);
408
+ _handle.Free();
409
+ }
410
+
411
+ static readonly SetNDAStatusCallbackDelegate SetNDAStatusDelegateInstance =
412
+ SetNDAStatusCallbackDelegateFunction;
413
+
414
+ /// <summary>Set a boolean indicating whether the current user has completed a non-disclosure agreement.</summary>
415
+ /// <remarks>NullResultCallback. Returns status of the update task, no payload expected.</remarks>
416
+ /// <param name="InValue">Boolean reflecting desired state to store in magnopus connected services.</param>
417
+ /// <returns>The result for the request</returns>
418
+
419
+ public Task<Csp.Systems.NullResult> SetNDAStatus(string InUserId, bool InValue)
420
+ {
421
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
422
+ var handle = GCHandle.Alloc(tcs);
423
+
424
+ csp_systems_SettingsSystem_SetNDAStatus_void_StringRC_bool_NullResultCallback(
425
+ _ptr,
426
+ InUserId,
427
+ InValue,
428
+ SetNDAStatusDelegateInstance,
429
+ (IntPtr)handle
430
+ );
431
+
432
+ return tcs.Task;
433
+ }
434
+
435
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
436
+ [AOT.MonoPInvokeCallback (typeof (GetNDAStatusCallbackDelegate))]
437
+ #endif
438
+ static void GetNDAStatusCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
439
+ {
440
+ var _handle = (GCHandle)_StateObject__;
441
+ var tcs = (TaskCompletionSource<Csp.Systems.BooleanResult>)_handle.Target;
442
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
443
+
444
+ var task_result = new Csp.Systems.BooleanResult(_Result);
445
+
446
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
447
+ {
448
+ return;
449
+ }
450
+
451
+ tcs.SetResult(task_result);
452
+ _handle.Free();
453
+ }
454
+
455
+ static readonly GetNDAStatusCallbackDelegate GetNDAStatusDelegateInstance =
456
+ GetNDAStatusCallbackDelegateFunction;
457
+
458
+ /// <summary>Get a boolean indicating whether the current user has completed a non-disclosure agreement.</summary>
459
+ /// <returns>The result for the request</returns>
460
+
461
+ public Task<Csp.Systems.BooleanResult> GetNDAStatus(string InUserId)
462
+ {
463
+ var tcs = new TaskCompletionSource<Csp.Systems.BooleanResult>(this);
464
+ var handle = GCHandle.Alloc(tcs);
465
+
466
+ csp_systems_SettingsSystem_GetNDAStatus_void_StringRC_BooleanResultCallback(
467
+ _ptr,
468
+ InUserId,
469
+ GetNDAStatusDelegateInstance,
470
+ (IntPtr)handle
471
+ );
472
+
473
+ return tcs.Task;
474
+ }
475
+
476
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
477
+ [AOT.MonoPInvokeCallback (typeof (SetNewsletterStatusCallbackDelegate))]
478
+ #endif
479
+ static void SetNewsletterStatusCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
480
+ {
481
+ var _handle = (GCHandle)_StateObject__;
482
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
483
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
484
+
485
+ var task_result = new Csp.Systems.NullResult(_Result);
486
+
487
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
488
+ {
489
+ return;
490
+ }
491
+
492
+ tcs.SetResult(task_result);
493
+ _handle.Free();
494
+ }
495
+
496
+ static readonly SetNewsletterStatusCallbackDelegate SetNewsletterStatusDelegateInstance =
497
+ SetNewsletterStatusCallbackDelegateFunction;
498
+
499
+ /// <summary>Opt in or out to receiving a newsletter for the current user.</summary>
500
+ /// <remarks>NullResultCallback. Returns status of the update task, no payload expected.</remarks>
501
+ /// <param name="InValue">Boolean reflecting desired state to store in magnopus connected services</param>
502
+ /// <returns>The result for the request</returns>
503
+
504
+ public Task<Csp.Systems.NullResult> SetNewsletterStatus(string InUserId, bool InValue)
505
+ {
506
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
507
+ var handle = GCHandle.Alloc(tcs);
508
+
509
+ csp_systems_SettingsSystem_SetNewsletterStatus_void_StringRC_bool_NullResultCallback(
510
+ _ptr,
511
+ InUserId,
512
+ InValue,
513
+ SetNewsletterStatusDelegateInstance,
514
+ (IntPtr)handle
515
+ );
516
+
517
+ return tcs.Task;
518
+ }
519
+
520
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
521
+ [AOT.MonoPInvokeCallback (typeof (GetNewsletterStatusCallbackDelegate))]
522
+ #endif
523
+ static void GetNewsletterStatusCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
524
+ {
525
+ var _handle = (GCHandle)_StateObject__;
526
+ var tcs = (TaskCompletionSource<Csp.Systems.BooleanResult>)_handle.Target;
527
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
528
+
529
+ var task_result = new Csp.Systems.BooleanResult(_Result);
530
+
531
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
532
+ {
533
+ return;
534
+ }
535
+
536
+ tcs.SetResult(task_result);
537
+ _handle.Free();
538
+ }
539
+
540
+ static readonly GetNewsletterStatusCallbackDelegate GetNewsletterStatusDelegateInstance =
541
+ GetNewsletterStatusCallbackDelegateFunction;
542
+
543
+ /// <summary>Get a boolean indicating whether the current user has opted into receiving a newsletter.</summary>
544
+ /// <returns>The result for the request</returns>
545
+
546
+ public Task<Csp.Systems.BooleanResult> GetNewsletterStatus(string InUserId)
547
+ {
548
+ var tcs = new TaskCompletionSource<Csp.Systems.BooleanResult>(this);
549
+ var handle = GCHandle.Alloc(tcs);
550
+
551
+ csp_systems_SettingsSystem_GetNewsletterStatus_void_StringRC_BooleanResultCallback(
552
+ _ptr,
553
+ InUserId,
554
+ GetNewsletterStatusDelegateInstance,
555
+ (IntPtr)handle
556
+ );
557
+
558
+ return tcs.Task;
559
+ }
560
+
561
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
562
+ [AOT.MonoPInvokeCallback (typeof (AddRecentlyVisitedSpaceCallbackDelegate))]
563
+ #endif
564
+ static void AddRecentlyVisitedSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
565
+ {
566
+ var _handle = (GCHandle)_StateObject__;
567
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
568
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
569
+
570
+ var task_result = new Csp.Systems.NullResult(_Result);
571
+
572
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
573
+ {
574
+ return;
575
+ }
576
+
577
+ tcs.SetResult(task_result);
578
+ _handle.Free();
579
+ }
580
+
581
+ static readonly AddRecentlyVisitedSpaceCallbackDelegate AddRecentlyVisitedSpaceDelegateInstance =
582
+ AddRecentlyVisitedSpaceCallbackDelegateFunction;
583
+
584
+ /// <summary>Add a Space to the current user's list of recently visited Spaces</summary>
585
+ /// <remarks>Supplying a SpaceID will store as the most recent space, manages the list order and storing to Magnopus Connected Services.</remarks>
586
+ /// <remarks>NullResultCallback. Returns status of the update task, no payload expected.</remarks>
587
+ /// <param name="InSpaceID">SpaceID of most recent space entered</param>
588
+ /// <returns>The result for the request</returns>
589
+
590
+ public Task<Csp.Systems.NullResult> AddRecentlyVisitedSpace(string InUserId, string InSpaceID)
591
+ {
592
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
593
+ var handle = GCHandle.Alloc(tcs);
594
+
595
+ csp_systems_SettingsSystem_AddRecentlyVisitedSpace_void_StringRC_StringC_NullResultCallback(
596
+ _ptr,
597
+ InUserId,
598
+ InSpaceID,
599
+ AddRecentlyVisitedSpaceDelegateInstance,
600
+ (IntPtr)handle
601
+ );
602
+
603
+ return tcs.Task;
604
+ }
605
+
606
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
607
+ [AOT.MonoPInvokeCallback (typeof (GetRecentlyVisitedSpacesCallbackDelegate))]
608
+ #endif
609
+ static void GetRecentlyVisitedSpacesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
610
+ {
611
+ var _handle = (GCHandle)_StateObject__;
612
+ var tcs = (TaskCompletionSource<Csp.Systems.StringArrayResult>)_handle.Target;
613
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
614
+
615
+ var task_result = new Csp.Systems.StringArrayResult(_Result);
616
+
617
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
618
+ {
619
+ return;
620
+ }
621
+
622
+ tcs.SetResult(task_result);
623
+ _handle.Free();
624
+ }
625
+
626
+ static readonly GetRecentlyVisitedSpacesCallbackDelegate GetRecentlyVisitedSpacesDelegateInstance =
627
+ GetRecentlyVisitedSpacesCallbackDelegateFunction;
628
+
629
+ /// <summary>Get an array of the most recently visited Spaces for the current user.</summary>
630
+ /// <remarks>Returns an csp::common::Array of csp::common::Strings ordered from most to least recent spaces up to a maximum of 10 entries.</remarks>
631
+ /// <returns>The result for the request</returns>
632
+
633
+ public Task<Csp.Systems.StringArrayResult> GetRecentlyVisitedSpaces(string InUserId)
634
+ {
635
+ var tcs = new TaskCompletionSource<Csp.Systems.StringArrayResult>(this);
636
+ var handle = GCHandle.Alloc(tcs);
637
+
638
+ csp_systems_SettingsSystem_GetRecentlyVisitedSpaces_void_StringRC_StringArrayResultCallback(
639
+ _ptr,
640
+ InUserId,
641
+ GetRecentlyVisitedSpacesDelegateInstance,
642
+ (IntPtr)handle
643
+ );
644
+
645
+ return tcs.Task;
646
+ }
647
+
648
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
649
+ [AOT.MonoPInvokeCallback (typeof (ClearRecentlyVisitedSpacesCallbackDelegate))]
650
+ #endif
651
+ static void ClearRecentlyVisitedSpacesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
652
+ {
653
+ var _handle = (GCHandle)_StateObject__;
654
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
655
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
656
+
657
+ var task_result = new Csp.Systems.NullResult(_Result);
658
+
659
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
660
+ {
661
+ return;
662
+ }
663
+
664
+ tcs.SetResult(task_result);
665
+ _handle.Free();
666
+ }
667
+
668
+ static readonly ClearRecentlyVisitedSpacesCallbackDelegate ClearRecentlyVisitedSpacesDelegateInstance =
669
+ ClearRecentlyVisitedSpacesCallbackDelegateFunction;
670
+
671
+ /// <summary>Clear the list of recently-visited spaces for the current user.</summary>
672
+ /// <returns>The result for the request</returns>
673
+
674
+ public Task<Csp.Systems.NullResult> ClearRecentlyVisitedSpaces(string InUserId)
675
+ {
676
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
677
+ var handle = GCHandle.Alloc(tcs);
678
+
679
+ csp_systems_SettingsSystem_ClearRecentlyVisitedSpaces_void_StringRC_NullResultCallback(
680
+ _ptr,
681
+ InUserId,
682
+ ClearRecentlyVisitedSpacesDelegateInstance,
683
+ (IntPtr)handle
684
+ );
685
+
686
+ return tcs.Task;
687
+ }
688
+
689
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
690
+ [AOT.MonoPInvokeCallback (typeof (AddBlockedSpaceCallbackDelegate))]
691
+ #endif
692
+ static void AddBlockedSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
693
+ {
694
+ var _handle = (GCHandle)_StateObject__;
695
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
696
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
697
+
698
+ var task_result = new Csp.Systems.NullResult(_Result);
699
+
700
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
701
+ {
702
+ return;
703
+ }
704
+
705
+ tcs.SetResult(task_result);
706
+ _handle.Free();
707
+ }
708
+
709
+ static readonly AddBlockedSpaceCallbackDelegate AddBlockedSpaceDelegateInstance =
710
+ AddBlockedSpaceCallbackDelegateFunction;
711
+
712
+ /// <summary>Block a space for the current user.</summary>
713
+ /// <remarks>The client is expected to implement the actual space filtering functionality as this function only adds the provided space to a list and will</remarks>
714
+ /// <remarks>not affect the spaces you get back from `SpaceSystem::GetSpaces()`.</remarks>
715
+ /// <param name="InSpaceID">SpaceID of most space to block</param>
716
+ /// <returns>The result for the request</returns>
717
+
718
+ public Task<Csp.Systems.NullResult> AddBlockedSpace(string InUserId, string InSpaceID)
719
+ {
720
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
721
+ var handle = GCHandle.Alloc(tcs);
722
+
723
+ csp_systems_SettingsSystem_AddBlockedSpace_void_StringRC_StringC_NullResultCallback(
724
+ _ptr,
725
+ InUserId,
726
+ InSpaceID,
727
+ AddBlockedSpaceDelegateInstance,
728
+ (IntPtr)handle
729
+ );
730
+
731
+ return tcs.Task;
732
+ }
733
+
734
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
735
+ [AOT.MonoPInvokeCallback (typeof (RemoveBlockedSpaceCallbackDelegate))]
736
+ #endif
737
+ static void RemoveBlockedSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
738
+ {
739
+ var _handle = (GCHandle)_StateObject__;
740
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
741
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
742
+
743
+ var task_result = new Csp.Systems.NullResult(_Result);
744
+
745
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
746
+ {
747
+ return;
748
+ }
749
+
750
+ tcs.SetResult(task_result);
751
+ _handle.Free();
752
+ }
753
+
754
+ static readonly RemoveBlockedSpaceCallbackDelegate RemoveBlockedSpaceDelegateInstance =
755
+ RemoveBlockedSpaceCallbackDelegateFunction;
756
+
757
+ /// <summary>Unblock a space for the current user.</summary>
758
+ /// <param name="InSpaceID">SpaceID of most space to block</param>
759
+ /// <returns>The result for the request</returns>
760
+
761
+ public Task<Csp.Systems.NullResult> RemoveBlockedSpace(string InUserId, string InSpaceID)
762
+ {
763
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
764
+ var handle = GCHandle.Alloc(tcs);
765
+
766
+ csp_systems_SettingsSystem_RemoveBlockedSpace_void_StringRC_StringC_NullResultCallback(
767
+ _ptr,
768
+ InUserId,
769
+ InSpaceID,
770
+ RemoveBlockedSpaceDelegateInstance,
771
+ (IntPtr)handle
772
+ );
773
+
774
+ return tcs.Task;
775
+ }
776
+
777
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
778
+ [AOT.MonoPInvokeCallback (typeof (GetBlockedSpacesCallbackDelegate))]
779
+ #endif
780
+ static void GetBlockedSpacesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
781
+ {
782
+ var _handle = (GCHandle)_StateObject__;
783
+ var tcs = (TaskCompletionSource<Csp.Systems.StringArrayResult>)_handle.Target;
784
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
785
+
786
+ var task_result = new Csp.Systems.StringArrayResult(_Result);
787
+
788
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
789
+ {
790
+ return;
791
+ }
792
+
793
+ tcs.SetResult(task_result);
794
+ _handle.Free();
795
+ }
796
+
797
+ static readonly GetBlockedSpacesCallbackDelegate GetBlockedSpacesDelegateInstance =
798
+ GetBlockedSpacesCallbackDelegateFunction;
799
+
800
+ /// <summary>Get a list of Spaces that were blocked by the current user.</summary>
801
+ /// <remarks>Returns an csp::common::Array of csp::common::Strings ordered from most to least recent blocked spaces.</remarks>
802
+ /// <returns>The result for the request</returns>
803
+
804
+ public Task<Csp.Systems.StringArrayResult> GetBlockedSpaces(string InUserId)
805
+ {
806
+ var tcs = new TaskCompletionSource<Csp.Systems.StringArrayResult>(this);
807
+ var handle = GCHandle.Alloc(tcs);
808
+
809
+ csp_systems_SettingsSystem_GetBlockedSpaces_void_StringRC_StringArrayResultCallback(
810
+ _ptr,
811
+ InUserId,
812
+ GetBlockedSpacesDelegateInstance,
813
+ (IntPtr)handle
814
+ );
815
+
816
+ return tcs.Task;
817
+ }
818
+
819
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
820
+ [AOT.MonoPInvokeCallback (typeof (ClearBlockedSpacesCallbackDelegate))]
821
+ #endif
822
+ static void ClearBlockedSpacesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
823
+ {
824
+ var _handle = (GCHandle)_StateObject__;
825
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
826
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
827
+
828
+ var task_result = new Csp.Systems.NullResult(_Result);
829
+
830
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
831
+ {
832
+ return;
833
+ }
834
+
835
+ tcs.SetResult(task_result);
836
+ _handle.Free();
837
+ }
838
+
839
+ static readonly ClearBlockedSpacesCallbackDelegate ClearBlockedSpacesDelegateInstance =
840
+ ClearBlockedSpacesCallbackDelegateFunction;
841
+
842
+ /// <summary>Clear the list of blocked Spaces for the current user.</summary>
843
+ /// <returns>The result for the request</returns>
844
+
845
+ public Task<Csp.Systems.NullResult> ClearBlockedSpaces(string InUserId)
846
+ {
847
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
848
+ var handle = GCHandle.Alloc(tcs);
849
+
850
+ csp_systems_SettingsSystem_ClearBlockedSpaces_void_StringRC_NullResultCallback(
851
+ _ptr,
852
+ InUserId,
853
+ ClearBlockedSpacesDelegateInstance,
854
+ (IntPtr)handle
855
+ );
856
+
857
+ return tcs.Task;
858
+ }
859
+
860
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
861
+ [AOT.MonoPInvokeCallback (typeof (UpdateAvatarPortraitCallbackDelegate))]
862
+ #endif
863
+ static void UpdateAvatarPortraitCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
864
+ {
865
+ var _handle = (GCHandle)_StateObject__;
866
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
867
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
868
+
869
+ var task_result = new Csp.Systems.NullResult(_Result);
870
+
871
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
872
+ {
873
+ return;
874
+ }
875
+
876
+ tcs.SetResult(task_result);
877
+ _handle.Free();
878
+ }
879
+
880
+ static readonly UpdateAvatarPortraitCallbackDelegate UpdateAvatarPortraitDelegateInstance =
881
+ UpdateAvatarPortraitCallbackDelegateFunction;
882
+
883
+ /// <summary>Updates the Portrait Avatar image or adds one if it didn't have it previously using FileAssetDataSource</summary>
884
+ /// <param name="UserId">UserId of Avatar Portrait</param>
885
+ /// <param name="NewAvatarPortrait">New Portrait Avatar information</param>
886
+ /// <returns>The result for the request</returns>
887
+
888
+ public Task<Csp.Systems.NullResult> UpdateAvatarPortrait(
889
+ string UserId,
890
+ Csp.Systems.FileAssetDataSource NewAvatarPortrait
891
+ ) {
892
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
893
+ var handle = GCHandle.Alloc(tcs);
894
+
895
+ csp_systems_SettingsSystem_UpdateAvatarPortrait_void_StringRC_FileAssetDataSourceRC_NullResultCallback(
896
+ _ptr,
897
+ UserId,
898
+ NewAvatarPortrait._ptr,
899
+ UpdateAvatarPortraitDelegateInstance,
900
+ (IntPtr)handle
901
+ );
902
+
903
+ return tcs.Task;
904
+ }
905
+
906
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
907
+ [AOT.MonoPInvokeCallback (typeof (GetAvatarPortraitCallbackDelegate))]
908
+ #endif
909
+ static void GetAvatarPortraitCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
910
+ {
911
+ var _handle = (GCHandle)_StateObject__;
912
+ var tcs = (TaskCompletionSource<Csp.Systems.UriResult>)_handle.Target;
913
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
914
+
915
+ var task_result = new Csp.Systems.UriResult(_Result);
916
+
917
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
918
+ {
919
+ return;
920
+ }
921
+
922
+ tcs.SetResult(task_result);
923
+ _handle.Free();
924
+ }
925
+
926
+ static readonly GetAvatarPortraitCallbackDelegate GetAvatarPortraitDelegateInstance =
927
+ GetAvatarPortraitCallbackDelegateFunction;
928
+
929
+ /// <summary>Retrieves the Avatar Portrait information associated with the space</summary>
930
+ /// <remarks>If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound</remarks>
931
+ /// <remarks>and the Uri field inside the UriResult will be empty</remarks>
932
+ /// <param name="UserId">UserId of Avatar Portrait</param>
933
+ /// <returns>Result class</returns>
934
+
935
+ public Task<Csp.Systems.UriResult> GetAvatarPortrait(string UserId)
936
+ {
937
+ var tcs = new TaskCompletionSource<Csp.Systems.UriResult>(this);
938
+ var handle = GCHandle.Alloc(tcs);
939
+
940
+ csp_systems_SettingsSystem_GetAvatarPortrait_void_StringRC_UriResultCallback(
941
+ _ptr,
942
+ UserId,
943
+ GetAvatarPortraitDelegateInstance,
944
+ (IntPtr)handle
945
+ );
946
+
947
+ return tcs.Task;
948
+ }
949
+
950
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
951
+ [AOT.MonoPInvokeCallback (typeof (UpdateAvatarPortraitWithBufferCallbackDelegate))]
952
+ #endif
953
+ static void UpdateAvatarPortraitWithBufferCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
954
+ {
955
+ var _handle = (GCHandle)_StateObject__;
956
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
957
+ var _this = (SettingsSystem)tcs.Task.AsyncState;
958
+
959
+ var task_result = new Csp.Systems.NullResult(_Result);
960
+
961
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
962
+ {
963
+ return;
964
+ }
965
+
966
+ tcs.SetResult(task_result);
967
+ _handle.Free();
968
+ }
969
+
970
+ static readonly UpdateAvatarPortraitWithBufferCallbackDelegate UpdateAvatarPortraitWithBufferDelegateInstance =
971
+ UpdateAvatarPortraitWithBufferCallbackDelegateFunction;
972
+
973
+ /// <summary>Updates the Avatar Portrait image or adds one if it didn't have it previously using BufferAssetDataSource</summary>
974
+ /// <param name="UserId">UserId of Avatar Portrait</param>
975
+ /// <param name="NewAvatarPortrait">New Avatar Portrait information</param>
976
+ /// <returns>The result for the request</returns>
977
+
978
+ public Task<Csp.Systems.NullResult> UpdateAvatarPortraitWithBuffer(
979
+ string UserId,
980
+ Csp.Systems.BufferAssetDataSource NewAvatarPortrait
981
+ ) {
982
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
983
+ var handle = GCHandle.Alloc(tcs);
984
+
985
+ csp_systems_SettingsSystem_UpdateAvatarPortraitWithBuffer_void_StringRC_BufferAssetDataSourceRC_NullResultCallback(
986
+ _ptr,
987
+ UserId,
988
+ NewAvatarPortrait._ptr,
989
+ UpdateAvatarPortraitWithBufferDelegateInstance,
990
+ (IntPtr)handle
991
+ );
992
+
993
+ return tcs.Task;
994
+ }
995
+
996
+ protected SettingsSystem() { }
997
+ }
998
+ }
999
+