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,784 @@
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.Multiplayer
14
+ {
15
+ /// @ingroup Conversation System
16
+ /// <summary>Public facing system that can handle conversations taking place between users of a space in the form of thread messages.</summary>
17
+
18
+ public class ConversationSystem : NativeClassWrapper
19
+ {
20
+ internal override string _safeTypeName { get; } = "csp_multiplayer_ConversationSystem";
21
+
22
+ #region P/Invoke
23
+ #pragma warning disable IDE1006
24
+
25
+
26
+
27
+ [
28
+ DllImport(
29
+ #if !UNITY_EDITOR && UNITY_IOS
30
+ "__Internal"
31
+ #elif DEBUG
32
+ "ConnectedSpacesPlatform_D"
33
+ #else
34
+ "ConnectedSpacesPlatform"
35
+ #endif
36
+ ),
37
+ SuppressUnmanagedCodeSecurity
38
+ ]
39
+ static extern NativePointer csp_multiplayer_ConversationSystem_Ctor_MultiplayerConnectionP(
40
+ IntPtr InMultiPlayerConnection
41
+ );
42
+
43
+ [
44
+ DllImport(
45
+ #if !UNITY_EDITOR && UNITY_IOS
46
+ "__Internal"
47
+ #elif DEBUG
48
+ "ConnectedSpacesPlatform_D"
49
+ #else
50
+ "ConnectedSpacesPlatform"
51
+ #endif
52
+ ),
53
+ SuppressUnmanagedCodeSecurity
54
+ ]
55
+ static extern void csp_multiplayer_ConversationSystem_CreateConversation_void_StringRC_StringResultCallback(
56
+ IntPtr @class,
57
+ string Message,
58
+ CreateConversationCallbackDelegate 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_multiplayer_ConversationSystem_AddMessageToConversation_void_StringRC_StringRC_StringRC_MessageResultCallback(
75
+ IntPtr @class,
76
+ string ConversationId,
77
+ string SenderDisplayName,
78
+ string Message,
79
+ AddMessageToConversationCallbackDelegate callback,
80
+ IntPtr callbackStateObject
81
+ );
82
+
83
+ [
84
+ DllImport(
85
+ #if !UNITY_EDITOR && UNITY_IOS
86
+ "__Internal"
87
+ #elif DEBUG
88
+ "ConnectedSpacesPlatform_D"
89
+ #else
90
+ "ConnectedSpacesPlatform"
91
+ #endif
92
+ ),
93
+ SuppressUnmanagedCodeSecurity
94
+ ]
95
+ static extern void csp_multiplayer_ConversationSystem_GetMessagesFromConversation_void_StringRC_intRC_intRC_MessageCollectionResultCallback(
96
+ IntPtr @class,
97
+ string ConversationId,
98
+ IntPtr ResultsSkipNumber,
99
+ IntPtr ResultsMaxNumber,
100
+ GetMessagesFromConversationCallbackDelegate callback,
101
+ IntPtr callbackStateObject
102
+ );
103
+
104
+ [
105
+ DllImport(
106
+ #if !UNITY_EDITOR && UNITY_IOS
107
+ "__Internal"
108
+ #elif DEBUG
109
+ "ConnectedSpacesPlatform_D"
110
+ #else
111
+ "ConnectedSpacesPlatform"
112
+ #endif
113
+ ),
114
+ SuppressUnmanagedCodeSecurity
115
+ ]
116
+ static extern void csp_multiplayer_ConversationSystem_GetConversationInformation_void_StringRC_ConversationResultCallback(
117
+ IntPtr @class,
118
+ string ConversationId,
119
+ GetConversationInformationCallbackDelegate callback,
120
+ IntPtr callbackStateObject
121
+ );
122
+
123
+ [
124
+ DllImport(
125
+ #if !UNITY_EDITOR && UNITY_IOS
126
+ "__Internal"
127
+ #elif DEBUG
128
+ "ConnectedSpacesPlatform_D"
129
+ #else
130
+ "ConnectedSpacesPlatform"
131
+ #endif
132
+ ),
133
+ SuppressUnmanagedCodeSecurity
134
+ ]
135
+ static extern void csp_multiplayer_ConversationSystem_SetConversationInformation_void_StringRC_ConversationInfoRC_ConversationResultCallback(
136
+ IntPtr @class,
137
+ string ConversationId,
138
+ IntPtr ConversationData,
139
+ SetConversationInformationCallbackDelegate callback,
140
+ IntPtr callbackStateObject
141
+ );
142
+
143
+ [
144
+ DllImport(
145
+ #if !UNITY_EDITOR && UNITY_IOS
146
+ "__Internal"
147
+ #elif DEBUG
148
+ "ConnectedSpacesPlatform_D"
149
+ #else
150
+ "ConnectedSpacesPlatform"
151
+ #endif
152
+ ),
153
+ SuppressUnmanagedCodeSecurity
154
+ ]
155
+ static extern void csp_multiplayer_ConversationSystem_GetMessage_void_StringRC_MessageResultCallback(
156
+ IntPtr @class,
157
+ string MessageId,
158
+ GetMessageCallbackDelegate callback,
159
+ IntPtr callbackStateObject
160
+ );
161
+
162
+ [
163
+ DllImport(
164
+ #if !UNITY_EDITOR && UNITY_IOS
165
+ "__Internal"
166
+ #elif DEBUG
167
+ "ConnectedSpacesPlatform_D"
168
+ #else
169
+ "ConnectedSpacesPlatform"
170
+ #endif
171
+ ),
172
+ SuppressUnmanagedCodeSecurity
173
+ ]
174
+ static extern void csp_multiplayer_ConversationSystem_SetMessageInformation_void_StringRC_MessageInfoRC_MessageResultCallback(
175
+ IntPtr @class,
176
+ string MessageId,
177
+ IntPtr MessageData,
178
+ SetMessageInformationCallbackDelegate callback,
179
+ IntPtr callbackStateObject
180
+ );
181
+
182
+ [
183
+ DllImport(
184
+ #if !UNITY_EDITOR && UNITY_IOS
185
+ "__Internal"
186
+ #elif DEBUG
187
+ "ConnectedSpacesPlatform_D"
188
+ #else
189
+ "ConnectedSpacesPlatform"
190
+ #endif
191
+ ),
192
+ SuppressUnmanagedCodeSecurity
193
+ ]
194
+ static extern void csp_multiplayer_ConversationSystem_GetMessageInformation_void_StringRC_MessageResultCallback(
195
+ IntPtr @class,
196
+ string MessageId,
197
+ GetMessageInformationCallbackDelegate callback,
198
+ IntPtr callbackStateObject
199
+ );
200
+
201
+ [
202
+ DllImport(
203
+ #if !UNITY_EDITOR && UNITY_IOS
204
+ "__Internal"
205
+ #elif DEBUG
206
+ "ConnectedSpacesPlatform_D"
207
+ #else
208
+ "ConnectedSpacesPlatform"
209
+ #endif
210
+ ),
211
+ SuppressUnmanagedCodeSecurity
212
+ ]
213
+ static extern void csp_multiplayer_ConversationSystem_DeleteConversation_void_StringRC_NullResultCallback(
214
+ IntPtr @class,
215
+ string ConversationId,
216
+ DeleteConversationCallbackDelegate callback,
217
+ IntPtr callbackStateObject
218
+ );
219
+
220
+ [
221
+ DllImport(
222
+ #if !UNITY_EDITOR && UNITY_IOS
223
+ "__Internal"
224
+ #elif DEBUG
225
+ "ConnectedSpacesPlatform_D"
226
+ #else
227
+ "ConnectedSpacesPlatform"
228
+ #endif
229
+ ),
230
+ SuppressUnmanagedCodeSecurity
231
+ ]
232
+ static extern void csp_multiplayer_ConversationSystem_DeleteMessage_void_StringRC_NullResultCallback(
233
+ IntPtr @class,
234
+ string MessageId,
235
+ DeleteMessageCallbackDelegate callback,
236
+ IntPtr callbackStateObject
237
+ );
238
+
239
+ [
240
+ DllImport(
241
+ #if !UNITY_EDITOR && UNITY_IOS
242
+ "__Internal"
243
+ #elif DEBUG
244
+ "ConnectedSpacesPlatform_D"
245
+ #else
246
+ "ConnectedSpacesPlatform"
247
+ #endif
248
+ ),
249
+ SuppressUnmanagedCodeSecurity
250
+ ]
251
+ static extern void csp_multiplayer_ConversationSystem_Dtor(IntPtr @class);
252
+
253
+ #pragma warning restore IDE1006
254
+ #endregion
255
+
256
+ internal ConversationSystem(NativePointer ptr) : base(ptr) { }
257
+
258
+ delegate void CreateConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
259
+
260
+ delegate void AddMessageToConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
261
+
262
+ delegate void GetMessagesFromConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
263
+
264
+ delegate void GetConversationInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
265
+
266
+ delegate void SetConversationInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
267
+
268
+ delegate void GetMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
269
+
270
+ delegate void SetMessageInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
271
+
272
+ delegate void GetMessageInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
273
+
274
+ delegate void DeleteConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
275
+
276
+ delegate void DeleteMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
277
+
278
+ /// <summary>Constructs a conversation system instance that uses the given multiplayer connection.</summary>
279
+ /// <param name="InMultiPlayerConnection">The connection to be used.</param>
280
+
281
+ public ConversationSystem(Csp.Multiplayer.MultiplayerConnection InMultiPlayerConnection)
282
+ {
283
+ var np = csp_multiplayer_ConversationSystem_Ctor_MultiplayerConnectionP(InMultiPlayerConnection._ptr);
284
+ _ptr = np.Pointer;
285
+ _ownsPtr = np.OwnsOwnData;
286
+ }
287
+
288
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
289
+ [AOT.MonoPInvokeCallback (typeof (CreateConversationCallbackDelegate))]
290
+ #endif
291
+ static void CreateConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
292
+ {
293
+ var _handle = (GCHandle)_StateObject__;
294
+ var tcs = (TaskCompletionSource<Csp.Systems.StringResult>)_handle.Target;
295
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
296
+
297
+ var task_result = new Csp.Systems.StringResult(_Result);
298
+
299
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
300
+ {
301
+ return;
302
+ }
303
+
304
+ tcs.SetResult(task_result);
305
+ _handle.Free();
306
+ }
307
+
308
+ static readonly CreateConversationCallbackDelegate CreateConversationDelegateInstance =
309
+ CreateConversationCallbackDelegateFunction;
310
+
311
+ /// <summary>Creates a new conversation with the initial message and provides the conversation ID to the given callback.</summary>
312
+ /// <param name="Message">The message to be stored.</param>
313
+ /// <returns>The result for the request</returns>
314
+
315
+ public Task<Csp.Systems.StringResult> CreateConversation(string Message)
316
+ {
317
+ var tcs = new TaskCompletionSource<Csp.Systems.StringResult>(this);
318
+ var handle = GCHandle.Alloc(tcs);
319
+
320
+ csp_multiplayer_ConversationSystem_CreateConversation_void_StringRC_StringResultCallback(
321
+ _ptr,
322
+ Message,
323
+ CreateConversationDelegateInstance,
324
+ (IntPtr)handle
325
+ );
326
+
327
+ return tcs.Task;
328
+ }
329
+
330
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
331
+ [AOT.MonoPInvokeCallback (typeof (AddMessageToConversationCallbackDelegate))]
332
+ #endif
333
+ static void AddMessageToConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
334
+ {
335
+ var _handle = (GCHandle)_StateObject__;
336
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
337
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
338
+
339
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
340
+
341
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
342
+ {
343
+ return;
344
+ }
345
+
346
+ tcs.SetResult(task_result);
347
+ _handle.Free();
348
+ }
349
+
350
+ static readonly AddMessageToConversationCallbackDelegate AddMessageToConversationDelegateInstance =
351
+ AddMessageToConversationCallbackDelegateFunction;
352
+
353
+ /// <summary>Adds a message to a brand new conversation or to an already existing one</summary>
354
+ /// <remarks>/// Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.</remarks>
355
+ /// <remarks>Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
356
+ /// <remarks>{ConversationSystemParams of type ReplicatedType : ConversationMessageType::NewMessage, ConversationId of type ReplicatedType : String}.</remarks>
357
+ /// <remarks>/// @param ConversationId csp::common::String : A new message will be linked to the provided conversation id.</remarks>
358
+ /// <param name="SenderDisplayName">The display name of the message sender.</param>
359
+ /// <param name="Message">The message to be stored.</param>
360
+ /// <returns>The result for the request</returns>
361
+
362
+ public Task<Csp.Multiplayer.MessageResult> AddMessageToConversation(
363
+ string ConversationId,
364
+ string SenderDisplayName,
365
+ string Message
366
+ ) {
367
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
368
+ var handle = GCHandle.Alloc(tcs);
369
+
370
+ csp_multiplayer_ConversationSystem_AddMessageToConversation_void_StringRC_StringRC_StringRC_MessageResultCallback(
371
+ _ptr,
372
+ ConversationId,
373
+ SenderDisplayName,
374
+ Message,
375
+ AddMessageToConversationDelegateInstance,
376
+ (IntPtr)handle
377
+ );
378
+
379
+ return tcs.Task;
380
+ }
381
+
382
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
383
+ [AOT.MonoPInvokeCallback (typeof (GetMessagesFromConversationCallbackDelegate))]
384
+ #endif
385
+ static void GetMessagesFromConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
386
+ {
387
+ var _handle = (GCHandle)_StateObject__;
388
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>)_handle.Target;
389
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
390
+
391
+ var task_result = new Csp.Multiplayer.MessageCollectionResult(_Result);
392
+
393
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
394
+ {
395
+ return;
396
+ }
397
+
398
+ tcs.SetResult(task_result);
399
+ _handle.Free();
400
+ }
401
+
402
+ static readonly GetMessagesFromConversationCallbackDelegate GetMessagesFromConversationDelegateInstance =
403
+ GetMessagesFromConversationCallbackDelegateFunction;
404
+
405
+ /// <summary>Retrieves messages that are linked to the provided Conversation ID.</summary>
406
+ /// <param name="ConversationId">Conversation ID.</param>
407
+ /// <param name="ResultsSkipNumber">Optional parameter representing the number of result entries that will be skipped from the result.</param>
408
+ /// <remarks>For no skip pass nullptr.</remarks>
409
+ /// <param name="ResultsMaxNumber">Optional parameter representing the maximum number of result entries to be retrieved. For all</param>
410
+ /// <remarks>available result entries pass nullptr.</remarks>
411
+ /// <returns>The result for the request</returns>
412
+
413
+ public Task<Csp.Multiplayer.MessageCollectionResult> GetMessagesFromConversation(
414
+ string ConversationId,
415
+ int? ResultsSkipNumber,
416
+ int? ResultsMaxNumber
417
+ ) {
418
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>(this);
419
+ var handle = GCHandle.Alloc(tcs);
420
+
421
+ var ResultsSkipNumberPointer = IntPtr.Zero;
422
+ unsafe
423
+ {
424
+ if (ResultsSkipNumber.HasValue)
425
+ {
426
+ var ptr = stackalloc int[1];
427
+ *ptr = ResultsSkipNumber.Value;
428
+ ResultsSkipNumberPointer = (IntPtr)ptr;
429
+ }
430
+ }
431
+ var ResultsMaxNumberPointer = IntPtr.Zero;
432
+ unsafe
433
+ {
434
+ if (ResultsMaxNumber.HasValue)
435
+ {
436
+ var ptr = stackalloc int[1];
437
+ *ptr = ResultsMaxNumber.Value;
438
+ ResultsMaxNumberPointer = (IntPtr)ptr;
439
+ }
440
+ }
441
+
442
+ csp_multiplayer_ConversationSystem_GetMessagesFromConversation_void_StringRC_intRC_intRC_MessageCollectionResultCallback(
443
+ _ptr,
444
+ ConversationId,
445
+ ResultsSkipNumberPointer,
446
+ ResultsMaxNumberPointer,
447
+ GetMessagesFromConversationDelegateInstance,
448
+ (IntPtr)handle
449
+ );
450
+
451
+ return tcs.Task;
452
+ }
453
+
454
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
455
+ [AOT.MonoPInvokeCallback (typeof (GetConversationInformationCallbackDelegate))]
456
+ #endif
457
+ static void GetConversationInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
458
+ {
459
+ var _handle = (GCHandle)_StateObject__;
460
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
461
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
462
+
463
+ var task_result = new Csp.Multiplayer.ConversationResult(_Result);
464
+
465
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
466
+ {
467
+ return;
468
+ }
469
+
470
+ tcs.SetResult(task_result);
471
+ _handle.Free();
472
+ }
473
+
474
+ static readonly GetConversationInformationCallbackDelegate GetConversationInformationDelegateInstance =
475
+ GetConversationInformationCallbackDelegateFunction;
476
+
477
+ /// <summary>Retrieves the conversation information.</summary>
478
+ /// <param name="ConversationId">Conversation ID.</param>
479
+ /// <returns>The result for the request</returns>
480
+
481
+ public Task<Csp.Multiplayer.ConversationResult> GetConversationInformation(string ConversationId)
482
+ {
483
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
484
+ var handle = GCHandle.Alloc(tcs);
485
+
486
+ csp_multiplayer_ConversationSystem_GetConversationInformation_void_StringRC_ConversationResultCallback(
487
+ _ptr,
488
+ ConversationId,
489
+ GetConversationInformationDelegateInstance,
490
+ (IntPtr)handle
491
+ );
492
+
493
+ return tcs.Task;
494
+ }
495
+
496
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
497
+ [AOT.MonoPInvokeCallback (typeof (SetConversationInformationCallbackDelegate))]
498
+ #endif
499
+ static void SetConversationInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
500
+ {
501
+ var _handle = (GCHandle)_StateObject__;
502
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
503
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
504
+
505
+ var task_result = new Csp.Multiplayer.ConversationResult(_Result);
506
+
507
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
508
+ {
509
+ return;
510
+ }
511
+
512
+ tcs.SetResult(task_result);
513
+ _handle.Free();
514
+ }
515
+
516
+ static readonly SetConversationInformationCallbackDelegate SetConversationInformationDelegateInstance =
517
+ SetConversationInformationCallbackDelegateFunction;
518
+
519
+ /// <summary>Sets the conversation information.</summary>
520
+ /// <param name="ConversationId">Conversation ID.</param>
521
+ /// <param name="ConversationData">Conversation Data.</param>
522
+ /// <returns>The result for the request</returns>
523
+
524
+ public Task<Csp.Multiplayer.ConversationResult> SetConversationInformation(
525
+ string ConversationId,
526
+ Csp.Multiplayer.ConversationInfo ConversationData
527
+ ) {
528
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
529
+ var handle = GCHandle.Alloc(tcs);
530
+
531
+ csp_multiplayer_ConversationSystem_SetConversationInformation_void_StringRC_ConversationInfoRC_ConversationResultCallback(
532
+ _ptr,
533
+ ConversationId,
534
+ ConversationData._ptr,
535
+ SetConversationInformationDelegateInstance,
536
+ (IntPtr)handle
537
+ );
538
+
539
+ return tcs.Task;
540
+ }
541
+
542
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
543
+ [AOT.MonoPInvokeCallback (typeof (GetMessageCallbackDelegate))]
544
+ #endif
545
+ static void GetMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
546
+ {
547
+ var _handle = (GCHandle)_StateObject__;
548
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
549
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
550
+
551
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
552
+
553
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
554
+ {
555
+ return;
556
+ }
557
+
558
+ tcs.SetResult(task_result);
559
+ _handle.Free();
560
+ }
561
+
562
+ static readonly GetMessageCallbackDelegate GetMessageDelegateInstance = GetMessageCallbackDelegateFunction;
563
+
564
+ /// <summary>Retrieves one particular message.</summary>
565
+ /// <param name="MessageId">ID of the message to be retrieved.</param>
566
+ /// <returns>The result for the request</returns>
567
+
568
+ public Task<Csp.Multiplayer.MessageResult> GetMessage(string MessageId)
569
+ {
570
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
571
+ var handle = GCHandle.Alloc(tcs);
572
+
573
+ csp_multiplayer_ConversationSystem_GetMessage_void_StringRC_MessageResultCallback(
574
+ _ptr,
575
+ MessageId,
576
+ GetMessageDelegateInstance,
577
+ (IntPtr)handle
578
+ );
579
+
580
+ return tcs.Task;
581
+ }
582
+
583
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
584
+ [AOT.MonoPInvokeCallback (typeof (SetMessageInformationCallbackDelegate))]
585
+ #endif
586
+ static void SetMessageInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
587
+ {
588
+ var _handle = (GCHandle)_StateObject__;
589
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
590
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
591
+
592
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
593
+
594
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
595
+ {
596
+ return;
597
+ }
598
+
599
+ tcs.SetResult(task_result);
600
+ _handle.Free();
601
+ }
602
+
603
+ static readonly SetMessageInformationCallbackDelegate SetMessageInformationDelegateInstance =
604
+ SetMessageInformationCallbackDelegateFunction;
605
+
606
+ /// <summary>Sets the message information.</summary>
607
+ /// <param name="MessageId">ID of the message to be retrieved.</param>
608
+ /// <param name="MessageData">Message Data.</param>
609
+ /// <returns>The result for the request</returns>
610
+
611
+ public Task<Csp.Multiplayer.MessageResult> SetMessageInformation(
612
+ string MessageId,
613
+ Csp.Multiplayer.MessageInfo MessageData
614
+ ) {
615
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
616
+ var handle = GCHandle.Alloc(tcs);
617
+
618
+ csp_multiplayer_ConversationSystem_SetMessageInformation_void_StringRC_MessageInfoRC_MessageResultCallback(
619
+ _ptr,
620
+ MessageId,
621
+ MessageData._ptr,
622
+ SetMessageInformationDelegateInstance,
623
+ (IntPtr)handle
624
+ );
625
+
626
+ return tcs.Task;
627
+ }
628
+
629
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
630
+ [AOT.MonoPInvokeCallback (typeof (GetMessageInformationCallbackDelegate))]
631
+ #endif
632
+ static void GetMessageInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
633
+ {
634
+ var _handle = (GCHandle)_StateObject__;
635
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
636
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
637
+
638
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
639
+
640
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
641
+ {
642
+ return;
643
+ }
644
+
645
+ tcs.SetResult(task_result);
646
+ _handle.Free();
647
+ }
648
+
649
+ static readonly GetMessageInformationCallbackDelegate GetMessageInformationDelegateInstance =
650
+ GetMessageInformationCallbackDelegateFunction;
651
+
652
+ /// <summary>Retrieves the message information.</summary>
653
+ /// <param name="MessageId">Message ID.</param>
654
+ /// <returns>The result for the request</returns>
655
+
656
+ public Task<Csp.Multiplayer.MessageResult> GetMessageInformation(string MessageId)
657
+ {
658
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
659
+ var handle = GCHandle.Alloc(tcs);
660
+
661
+ csp_multiplayer_ConversationSystem_GetMessageInformation_void_StringRC_MessageResultCallback(
662
+ _ptr,
663
+ MessageId,
664
+ GetMessageInformationDelegateInstance,
665
+ (IntPtr)handle
666
+ );
667
+
668
+ return tcs.Task;
669
+ }
670
+
671
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
672
+ [AOT.MonoPInvokeCallback (typeof (DeleteConversationCallbackDelegate))]
673
+ #endif
674
+ static void DeleteConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
675
+ {
676
+ var _handle = (GCHandle)_StateObject__;
677
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
678
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
679
+
680
+ var task_result = new Csp.Systems.NullResult(_Result);
681
+
682
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
683
+ {
684
+ return;
685
+ }
686
+
687
+ tcs.SetResult(task_result);
688
+ _handle.Free();
689
+ }
690
+
691
+ static readonly DeleteConversationCallbackDelegate DeleteConversationDelegateInstance =
692
+ DeleteConversationCallbackDelegateFunction;
693
+
694
+ /// <summary>Deletes all the messages that are part of the conversation.</summary>
695
+ /// <remarks>/// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
696
+ /// <remarks>{ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteConversation, ConversationId of type ReplicatedType :</remarks>
697
+ /// <remarks>String}.</remarks>
698
+ /// <remarks>/// @param ConversationId csp::common::String : ID of the conversation that will be deleted. After this operation finishes successful this ID will</remarks>
699
+ /// <remarks>not be valid anymore.</remarks>
700
+ /// <returns>The result for the request</returns>
701
+
702
+ public Task<Csp.Systems.NullResult> DeleteConversation(string ConversationId)
703
+ {
704
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
705
+ var handle = GCHandle.Alloc(tcs);
706
+
707
+ csp_multiplayer_ConversationSystem_DeleteConversation_void_StringRC_NullResultCallback(
708
+ _ptr,
709
+ ConversationId,
710
+ DeleteConversationDelegateInstance,
711
+ (IntPtr)handle
712
+ );
713
+
714
+ return tcs.Task;
715
+ }
716
+
717
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
718
+ [AOT.MonoPInvokeCallback (typeof (DeleteMessageCallbackDelegate))]
719
+ #endif
720
+ static void DeleteMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
721
+ {
722
+ var _handle = (GCHandle)_StateObject__;
723
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
724
+ var _this = (ConversationSystem)tcs.Task.AsyncState;
725
+
726
+ var task_result = new Csp.Systems.NullResult(_Result);
727
+
728
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
729
+ {
730
+ return;
731
+ }
732
+
733
+ tcs.SetResult(task_result);
734
+ _handle.Free();
735
+ }
736
+
737
+ static readonly DeleteMessageCallbackDelegate DeleteMessageDelegateInstance =
738
+ DeleteMessageCallbackDelegateFunction;
739
+
740
+ /// <summary>Deletes a particular message.</summary>
741
+ /// <remarks>/// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
742
+ /// <remarks>{ ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteMessage, MessageId of type ReplicatedType : String }.</remarks>
743
+ /// <remarks>/// @param MessageId csp::common::String : ID of the message that will be deleted.</remarks>
744
+ /// <returns>The result for the request</returns>
745
+
746
+ public Task<Csp.Systems.NullResult> DeleteMessage(string MessageId)
747
+ {
748
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
749
+ var handle = GCHandle.Alloc(tcs);
750
+
751
+ csp_multiplayer_ConversationSystem_DeleteMessage_void_StringRC_NullResultCallback(
752
+ _ptr,
753
+ MessageId,
754
+ DeleteMessageDelegateInstance,
755
+ (IntPtr)handle
756
+ );
757
+
758
+ return tcs.Task;
759
+ }
760
+
761
+ ~ConversationSystem()
762
+ {
763
+ //RealDispose();
764
+ }
765
+
766
+ void RealDispose()
767
+ {
768
+ if (_ownsPtr && !_disposed)
769
+ {
770
+ csp_multiplayer_ConversationSystem_Dtor(_ptr);
771
+ _disposed = true;
772
+ }
773
+
774
+ _disposed = true;
775
+ }
776
+
777
+ public void Dispose()
778
+ {
779
+ RealDispose();
780
+ GC.SuppressFinalize(this);
781
+ }
782
+ }
783
+ }
784
+