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,1105 @@
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 ConversationSpaceComponent
16
+ /// <summary>Data representation of an ConversationSpaceComponent.</summary>
17
+
18
+ public class ConversationSpaceComponent : Csp.Multiplayer.ComponentBase, IDisposable
19
+ {
20
+ internal override string _safeTypeName { get; } = "csp_multiplayer_ConversationSpaceComponent";
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_ConversationSpaceComponent_Ctor_SpaceEntityP(IntPtr Parent);
40
+
41
+ [
42
+ DllImport(
43
+ #if !UNITY_EDITOR && UNITY_IOS
44
+ "__Internal"
45
+ #elif DEBUG
46
+ "ConnectedSpacesPlatform_D"
47
+ #else
48
+ "ConnectedSpacesPlatform"
49
+ #endif
50
+ ),
51
+ SuppressUnmanagedCodeSecurity
52
+ ]
53
+ static extern void csp_multiplayer_ConversationSpaceComponent_CreateConversation_void_StringRC_StringResultCallback(
54
+ IntPtr @class,
55
+ string Message,
56
+ CreateConversationCallbackDelegate callback,
57
+ IntPtr callbackStateObject
58
+ );
59
+
60
+ [
61
+ DllImport(
62
+ #if !UNITY_EDITOR && UNITY_IOS
63
+ "__Internal"
64
+ #elif DEBUG
65
+ "ConnectedSpacesPlatform_D"
66
+ #else
67
+ "ConnectedSpacesPlatform"
68
+ #endif
69
+ ),
70
+ SuppressUnmanagedCodeSecurity
71
+ ]
72
+ static extern void csp_multiplayer_ConversationSpaceComponent_DeleteConversation_void_NullResultCallback(
73
+ IntPtr @class,
74
+ DeleteConversationCallbackDelegate callback,
75
+ IntPtr callbackStateObject
76
+ );
77
+
78
+ [
79
+ DllImport(
80
+ #if !UNITY_EDITOR && UNITY_IOS
81
+ "__Internal"
82
+ #elif DEBUG
83
+ "ConnectedSpacesPlatform_D"
84
+ #else
85
+ "ConnectedSpacesPlatform"
86
+ #endif
87
+ ),
88
+ SuppressUnmanagedCodeSecurity
89
+ ]
90
+ static extern void csp_multiplayer_ConversationSpaceComponent_AddMessage_void_StringRC_MessageResultCallback(
91
+ IntPtr @class,
92
+ string Message,
93
+ AddMessageCallbackDelegate callback,
94
+ IntPtr callbackStateObject
95
+ );
96
+
97
+ [
98
+ DllImport(
99
+ #if !UNITY_EDITOR && UNITY_IOS
100
+ "__Internal"
101
+ #elif DEBUG
102
+ "ConnectedSpacesPlatform_D"
103
+ #else
104
+ "ConnectedSpacesPlatform"
105
+ #endif
106
+ ),
107
+ SuppressUnmanagedCodeSecurity
108
+ ]
109
+ static extern void csp_multiplayer_ConversationSpaceComponent_DeleteMessage_void_StringRC_NullResultCallback(
110
+ IntPtr @class,
111
+ string MessageId,
112
+ DeleteMessageCallbackDelegate callback,
113
+ IntPtr callbackStateObject
114
+ );
115
+
116
+ [
117
+ DllImport(
118
+ #if !UNITY_EDITOR && UNITY_IOS
119
+ "__Internal"
120
+ #elif DEBUG
121
+ "ConnectedSpacesPlatform_D"
122
+ #else
123
+ "ConnectedSpacesPlatform"
124
+ #endif
125
+ ),
126
+ SuppressUnmanagedCodeSecurity
127
+ ]
128
+ static extern void csp_multiplayer_ConversationSpaceComponent_GetMessage_void_StringRC_MessageResultCallback(
129
+ IntPtr @class,
130
+ string MessageId,
131
+ GetMessageCallbackDelegate callback,
132
+ IntPtr callbackStateObject
133
+ );
134
+
135
+ [
136
+ DllImport(
137
+ #if !UNITY_EDITOR && UNITY_IOS
138
+ "__Internal"
139
+ #elif DEBUG
140
+ "ConnectedSpacesPlatform_D"
141
+ #else
142
+ "ConnectedSpacesPlatform"
143
+ #endif
144
+ ),
145
+ SuppressUnmanagedCodeSecurity
146
+ ]
147
+ static extern void csp_multiplayer_ConversationSpaceComponent_GetAllMessages_void_MessageCollectionResultCallback(
148
+ IntPtr @class,
149
+ GetAllMessagesCallbackDelegate callback,
150
+ IntPtr callbackStateObject
151
+ );
152
+
153
+ [
154
+ DllImport(
155
+ #if !UNITY_EDITOR && UNITY_IOS
156
+ "__Internal"
157
+ #elif DEBUG
158
+ "ConnectedSpacesPlatform_D"
159
+ #else
160
+ "ConnectedSpacesPlatform"
161
+ #endif
162
+ ),
163
+ SuppressUnmanagedCodeSecurity
164
+ ]
165
+ static extern void csp_multiplayer_ConversationSpaceComponent_GetConversationInfo_void_ConversationResultCallback(
166
+ IntPtr @class,
167
+ GetConversationInfoCallbackDelegate callback,
168
+ IntPtr callbackStateObject
169
+ );
170
+
171
+ [
172
+ DllImport(
173
+ #if !UNITY_EDITOR && UNITY_IOS
174
+ "__Internal"
175
+ #elif DEBUG
176
+ "ConnectedSpacesPlatform_D"
177
+ #else
178
+ "ConnectedSpacesPlatform"
179
+ #endif
180
+ ),
181
+ SuppressUnmanagedCodeSecurity
182
+ ]
183
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetConversationInfo_void_ConversationInfoRC_ConversationResultCallback(
184
+ IntPtr @class,
185
+ IntPtr ConversationData,
186
+ SetConversationInfoCallbackDelegate callback,
187
+ IntPtr callbackStateObject
188
+ );
189
+
190
+ [
191
+ DllImport(
192
+ #if !UNITY_EDITOR && UNITY_IOS
193
+ "__Internal"
194
+ #elif DEBUG
195
+ "ConnectedSpacesPlatform_D"
196
+ #else
197
+ "ConnectedSpacesPlatform"
198
+ #endif
199
+ ),
200
+ SuppressUnmanagedCodeSecurity
201
+ ]
202
+ static extern void csp_multiplayer_ConversationSpaceComponent_GetMessageInfo_void_StringRC_MessageResultCallback(
203
+ IntPtr @class,
204
+ string MessageId,
205
+ GetMessageInfoCallbackDelegate callback,
206
+ IntPtr callbackStateObject
207
+ );
208
+
209
+ [
210
+ DllImport(
211
+ #if !UNITY_EDITOR && UNITY_IOS
212
+ "__Internal"
213
+ #elif DEBUG
214
+ "ConnectedSpacesPlatform_D"
215
+ #else
216
+ "ConnectedSpacesPlatform"
217
+ #endif
218
+ ),
219
+ SuppressUnmanagedCodeSecurity
220
+ ]
221
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetMessageInfo_void_StringRC_MessageInfoRC_MessageResultCallback(
222
+ IntPtr @class,
223
+ string MessageId,
224
+ IntPtr MessageData,
225
+ SetMessageInfoCallbackDelegate callback,
226
+ IntPtr callbackStateObject
227
+ );
228
+
229
+ [
230
+ DllImport(
231
+ #if !UNITY_EDITOR && UNITY_IOS
232
+ "__Internal"
233
+ #elif DEBUG
234
+ "ConnectedSpacesPlatform_D"
235
+ #else
236
+ "ConnectedSpacesPlatform"
237
+ #endif
238
+ ),
239
+ SuppressUnmanagedCodeSecurity
240
+ ]
241
+ static extern NativePointer csp_multiplayer_ConversationSpaceComponent_GetPositionC_Vector3RC(IntPtr @class);
242
+
243
+ [
244
+ DllImport(
245
+ #if !UNITY_EDITOR && UNITY_IOS
246
+ "__Internal"
247
+ #elif DEBUG
248
+ "ConnectedSpacesPlatform_D"
249
+ #else
250
+ "ConnectedSpacesPlatform"
251
+ #endif
252
+ ),
253
+ SuppressUnmanagedCodeSecurity
254
+ ]
255
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetPosition_void_Vector3RC(
256
+ IntPtr @class,
257
+ IntPtr Value
258
+ );
259
+
260
+ [
261
+ DllImport(
262
+ #if !UNITY_EDITOR && UNITY_IOS
263
+ "__Internal"
264
+ #elif DEBUG
265
+ "ConnectedSpacesPlatform_D"
266
+ #else
267
+ "ConnectedSpacesPlatform"
268
+ #endif
269
+ ),
270
+ SuppressUnmanagedCodeSecurity
271
+ ]
272
+ static extern NativePointer csp_multiplayer_ConversationSpaceComponent_GetRotationC_Vector4RC(IntPtr @class);
273
+
274
+ [
275
+ DllImport(
276
+ #if !UNITY_EDITOR && UNITY_IOS
277
+ "__Internal"
278
+ #elif DEBUG
279
+ "ConnectedSpacesPlatform_D"
280
+ #else
281
+ "ConnectedSpacesPlatform"
282
+ #endif
283
+ ),
284
+ SuppressUnmanagedCodeSecurity
285
+ ]
286
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetRotation_void_Vector4RC(
287
+ IntPtr @class,
288
+ IntPtr Value
289
+ );
290
+
291
+ [
292
+ DllImport(
293
+ #if !UNITY_EDITOR && UNITY_IOS
294
+ "__Internal"
295
+ #elif DEBUG
296
+ "ConnectedSpacesPlatform_D"
297
+ #else
298
+ "ConnectedSpacesPlatform"
299
+ #endif
300
+ ),
301
+ SuppressUnmanagedCodeSecurity
302
+ ]
303
+ static extern bool csp_multiplayer_ConversationSpaceComponent_GetIsVisibleC_bool(IntPtr @class);
304
+
305
+ [
306
+ DllImport(
307
+ #if !UNITY_EDITOR && UNITY_IOS
308
+ "__Internal"
309
+ #elif DEBUG
310
+ "ConnectedSpacesPlatform_D"
311
+ #else
312
+ "ConnectedSpacesPlatform"
313
+ #endif
314
+ ),
315
+ SuppressUnmanagedCodeSecurity
316
+ ]
317
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetIsVisible_void_bool(IntPtr @class, bool Value);
318
+
319
+ [
320
+ DllImport(
321
+ #if !UNITY_EDITOR && UNITY_IOS
322
+ "__Internal"
323
+ #elif DEBUG
324
+ "ConnectedSpacesPlatform_D"
325
+ #else
326
+ "ConnectedSpacesPlatform"
327
+ #endif
328
+ ),
329
+ SuppressUnmanagedCodeSecurity
330
+ ]
331
+ static extern bool csp_multiplayer_ConversationSpaceComponent_GetIsActiveC_bool(IntPtr @class);
332
+
333
+ [
334
+ DllImport(
335
+ #if !UNITY_EDITOR && UNITY_IOS
336
+ "__Internal"
337
+ #elif DEBUG
338
+ "ConnectedSpacesPlatform_D"
339
+ #else
340
+ "ConnectedSpacesPlatform"
341
+ #endif
342
+ ),
343
+ SuppressUnmanagedCodeSecurity
344
+ ]
345
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetIsActive_void_bool(IntPtr @class, bool Value);
346
+
347
+ [
348
+ DllImport(
349
+ #if !UNITY_EDITOR && UNITY_IOS
350
+ "__Internal"
351
+ #elif DEBUG
352
+ "ConnectedSpacesPlatform_D"
353
+ #else
354
+ "ConnectedSpacesPlatform"
355
+ #endif
356
+ ),
357
+ SuppressUnmanagedCodeSecurity
358
+ ]
359
+ static extern bool csp_multiplayer_ConversationSpaceComponent_MoveConversationFromComponent_bool_ConversationSpaceComponentR(
360
+ IntPtr @class,
361
+ IntPtr OtherConversationComponent
362
+ );
363
+
364
+ [
365
+ DllImport(
366
+ #if !UNITY_EDITOR && UNITY_IOS
367
+ "__Internal"
368
+ #elif DEBUG
369
+ "ConnectedSpacesPlatform_D"
370
+ #else
371
+ "ConnectedSpacesPlatform"
372
+ #endif
373
+ ),
374
+ SuppressUnmanagedCodeSecurity
375
+ ]
376
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetTitle_void_StringRC(
377
+ IntPtr @class,
378
+ IntPtr Value
379
+ );
380
+
381
+ [
382
+ DllImport(
383
+ #if !UNITY_EDITOR && UNITY_IOS
384
+ "__Internal"
385
+ #elif DEBUG
386
+ "ConnectedSpacesPlatform_D"
387
+ #else
388
+ "ConnectedSpacesPlatform"
389
+ #endif
390
+ ),
391
+ SuppressUnmanagedCodeSecurity
392
+ ]
393
+ static extern IntPtr csp_multiplayer_ConversationSpaceComponent_GetTitleC_StringRC(IntPtr @class);
394
+
395
+ [
396
+ DllImport(
397
+ #if !UNITY_EDITOR && UNITY_IOS
398
+ "__Internal"
399
+ #elif DEBUG
400
+ "ConnectedSpacesPlatform_D"
401
+ #else
402
+ "ConnectedSpacesPlatform"
403
+ #endif
404
+ ),
405
+ SuppressUnmanagedCodeSecurity
406
+ ]
407
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetDate_void_StringRC(
408
+ IntPtr @class,
409
+ IntPtr Value
410
+ );
411
+
412
+ [
413
+ DllImport(
414
+ #if !UNITY_EDITOR && UNITY_IOS
415
+ "__Internal"
416
+ #elif DEBUG
417
+ "ConnectedSpacesPlatform_D"
418
+ #else
419
+ "ConnectedSpacesPlatform"
420
+ #endif
421
+ ),
422
+ SuppressUnmanagedCodeSecurity
423
+ ]
424
+ static extern IntPtr csp_multiplayer_ConversationSpaceComponent_GetDateC_StringRC(IntPtr @class);
425
+
426
+ [
427
+ DllImport(
428
+ #if !UNITY_EDITOR && UNITY_IOS
429
+ "__Internal"
430
+ #elif DEBUG
431
+ "ConnectedSpacesPlatform_D"
432
+ #else
433
+ "ConnectedSpacesPlatform"
434
+ #endif
435
+ ),
436
+ SuppressUnmanagedCodeSecurity
437
+ ]
438
+ static extern void csp_multiplayer_ConversationSpaceComponent_SetNumberOfReplies_void_int64_tC(
439
+ IntPtr @class,
440
+ long Value
441
+ );
442
+
443
+ [
444
+ DllImport(
445
+ #if !UNITY_EDITOR && UNITY_IOS
446
+ "__Internal"
447
+ #elif DEBUG
448
+ "ConnectedSpacesPlatform_D"
449
+ #else
450
+ "ConnectedSpacesPlatform"
451
+ #endif
452
+ ),
453
+ SuppressUnmanagedCodeSecurity
454
+ ]
455
+ static extern long csp_multiplayer_ConversationSpaceComponent_GetNumberOfRepliesC_int64_tC(IntPtr @class);
456
+
457
+ [
458
+ DllImport(
459
+ #if !UNITY_EDITOR && UNITY_IOS
460
+ "__Internal"
461
+ #elif DEBUG
462
+ "ConnectedSpacesPlatform_D"
463
+ #else
464
+ "ConnectedSpacesPlatform"
465
+ #endif
466
+ ),
467
+ SuppressUnmanagedCodeSecurity
468
+ ]
469
+ static extern void csp_multiplayer_ConversationSpaceComponent_Dtor(IntPtr @class);
470
+
471
+ #pragma warning restore IDE1006
472
+ #endregion
473
+
474
+ internal ConversationSpaceComponent(NativePointer ptr) : base(ptr) { }
475
+
476
+ public ConversationSpaceComponent(Csp.Multiplayer.ComponentBase baseInstance)
477
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
478
+ {
479
+ // Prevent previous instance from freeing underlying pointer when destroyed
480
+ baseInstance._ownsPtr = false;
481
+ }
482
+
483
+ delegate void CreateConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
484
+
485
+ delegate void DeleteConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
486
+
487
+ delegate void AddMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
488
+
489
+ delegate void DeleteMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
490
+
491
+ delegate void GetMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
492
+
493
+ delegate void GetAllMessagesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
494
+
495
+ delegate void GetConversationInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
496
+
497
+ delegate void SetConversationInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
498
+
499
+ delegate void GetMessageInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
500
+
501
+ delegate void SetMessageInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
502
+
503
+ /// <summary>Constructs the conversation component, and associates it with the specified Parent space entity.</summary>
504
+ /// <param name="Parent">The Space entity that owns this component.</param>
505
+
506
+ public ConversationSpaceComponent(Csp.Multiplayer.SpaceEntity Parent)
507
+ {
508
+ var np = csp_multiplayer_ConversationSpaceComponent_Ctor_SpaceEntityP(Parent._ptr);
509
+ _ptr = np.Pointer;
510
+ _ownsPtr = np.OwnsOwnData;
511
+ }
512
+
513
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
514
+ [AOT.MonoPInvokeCallback (typeof (CreateConversationCallbackDelegate))]
515
+ #endif
516
+ static void CreateConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
517
+ {
518
+ var _handle = (GCHandle)_StateObject__;
519
+ var tcs = (TaskCompletionSource<Csp.Systems.StringResult>)_handle.Target;
520
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
521
+
522
+ var task_result = new Csp.Systems.StringResult(_Result);
523
+
524
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
525
+ {
526
+ return;
527
+ }
528
+
529
+ tcs.SetResult(task_result);
530
+ _handle.Free();
531
+ }
532
+
533
+ static readonly CreateConversationCallbackDelegate CreateConversationDelegateInstance =
534
+ CreateConversationCallbackDelegateFunction;
535
+
536
+ /// <summary>Create a new conversation</summary>
537
+ /// <param name="Message">The message to be stored.</param>
538
+ /// <returns>The result for the request</returns>
539
+
540
+ public Task<Csp.Systems.StringResult> CreateConversation(string Message)
541
+ {
542
+ var tcs = new TaskCompletionSource<Csp.Systems.StringResult>(this);
543
+ var handle = GCHandle.Alloc(tcs);
544
+
545
+ csp_multiplayer_ConversationSpaceComponent_CreateConversation_void_StringRC_StringResultCallback(
546
+ _ptr,
547
+ Message,
548
+ CreateConversationDelegateInstance,
549
+ (IntPtr)handle
550
+ );
551
+
552
+ return tcs.Task;
553
+ }
554
+
555
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
556
+ [AOT.MonoPInvokeCallback (typeof (DeleteConversationCallbackDelegate))]
557
+ #endif
558
+ static void DeleteConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
559
+ {
560
+ var _handle = (GCHandle)_StateObject__;
561
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
562
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
563
+
564
+ var task_result = new Csp.Systems.NullResult(_Result);
565
+
566
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
567
+ {
568
+ return;
569
+ }
570
+
571
+ tcs.SetResult(task_result);
572
+ _handle.Free();
573
+ }
574
+
575
+ static readonly DeleteConversationCallbackDelegate DeleteConversationDelegateInstance =
576
+ DeleteConversationCallbackDelegateFunction;
577
+
578
+ /// <summary>Deletes all the messages that are part of the conversation</summary>
579
+ /// <returns>The result for the request</returns>
580
+
581
+ public Task<Csp.Systems.NullResult> DeleteConversation()
582
+ {
583
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
584
+ var handle = GCHandle.Alloc(tcs);
585
+
586
+ csp_multiplayer_ConversationSpaceComponent_DeleteConversation_void_NullResultCallback(
587
+ _ptr,
588
+ DeleteConversationDelegateInstance,
589
+ (IntPtr)handle
590
+ );
591
+
592
+ return tcs.Task;
593
+ }
594
+
595
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
596
+ [AOT.MonoPInvokeCallback (typeof (AddMessageCallbackDelegate))]
597
+ #endif
598
+ static void AddMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
599
+ {
600
+ var _handle = (GCHandle)_StateObject__;
601
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
602
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
603
+
604
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
605
+
606
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
607
+ {
608
+ return;
609
+ }
610
+
611
+ tcs.SetResult(task_result);
612
+ _handle.Free();
613
+ }
614
+
615
+ static readonly AddMessageCallbackDelegate AddMessageDelegateInstance = AddMessageCallbackDelegateFunction;
616
+
617
+ /// <summary>Adds a message to conversation</summary>
618
+ /// <remarks>Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.</remarks>
619
+ /// <param name="Message">The message to be stored.</param>
620
+ /// <returns>The result for the request</returns>
621
+
622
+ public Task<Csp.Multiplayer.MessageResult> AddMessage(string Message)
623
+ {
624
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
625
+ var handle = GCHandle.Alloc(tcs);
626
+
627
+ csp_multiplayer_ConversationSpaceComponent_AddMessage_void_StringRC_MessageResultCallback(
628
+ _ptr,
629
+ Message,
630
+ AddMessageDelegateInstance,
631
+ (IntPtr)handle
632
+ );
633
+
634
+ return tcs.Task;
635
+ }
636
+
637
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
638
+ [AOT.MonoPInvokeCallback (typeof (DeleteMessageCallbackDelegate))]
639
+ #endif
640
+ static void DeleteMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
641
+ {
642
+ var _handle = (GCHandle)_StateObject__;
643
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
644
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
645
+
646
+ var task_result = new Csp.Systems.NullResult(_Result);
647
+
648
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
649
+ {
650
+ return;
651
+ }
652
+
653
+ tcs.SetResult(task_result);
654
+ _handle.Free();
655
+ }
656
+
657
+ static readonly DeleteMessageCallbackDelegate DeleteMessageDelegateInstance =
658
+ DeleteMessageCallbackDelegateFunction;
659
+
660
+ /// <summary>Deletes a particular message</summary>
661
+ /// <param name="MessageId">If of the message that will be deleted</param>
662
+ /// <returns>The result for the request</returns>
663
+
664
+ public Task<Csp.Systems.NullResult> DeleteMessage(string MessageId)
665
+ {
666
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
667
+ var handle = GCHandle.Alloc(tcs);
668
+
669
+ csp_multiplayer_ConversationSpaceComponent_DeleteMessage_void_StringRC_NullResultCallback(
670
+ _ptr,
671
+ MessageId,
672
+ DeleteMessageDelegateInstance,
673
+ (IntPtr)handle
674
+ );
675
+
676
+ return tcs.Task;
677
+ }
678
+
679
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
680
+ [AOT.MonoPInvokeCallback (typeof (GetMessageCallbackDelegate))]
681
+ #endif
682
+ static void GetMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
683
+ {
684
+ var _handle = (GCHandle)_StateObject__;
685
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
686
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
687
+
688
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
689
+
690
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
691
+ {
692
+ return;
693
+ }
694
+
695
+ tcs.SetResult(task_result);
696
+ _handle.Free();
697
+ }
698
+
699
+ static readonly GetMessageCallbackDelegate GetMessageDelegateInstance = GetMessageCallbackDelegateFunction;
700
+
701
+ /// <summary>Retrieves one particular message</summary>
702
+ /// <param name="MessageId">Id of the message to be retrieved</param>
703
+ /// <returns>The result for the request</returns>
704
+
705
+ public Task<Csp.Multiplayer.MessageResult> GetMessage(string MessageId)
706
+ {
707
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
708
+ var handle = GCHandle.Alloc(tcs);
709
+
710
+ csp_multiplayer_ConversationSpaceComponent_GetMessage_void_StringRC_MessageResultCallback(
711
+ _ptr,
712
+ MessageId,
713
+ GetMessageDelegateInstance,
714
+ (IntPtr)handle
715
+ );
716
+
717
+ return tcs.Task;
718
+ }
719
+
720
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
721
+ [AOT.MonoPInvokeCallback (typeof (GetAllMessagesCallbackDelegate))]
722
+ #endif
723
+ static void GetAllMessagesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
724
+ {
725
+ var _handle = (GCHandle)_StateObject__;
726
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>)_handle.Target;
727
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
728
+
729
+ var task_result = new Csp.Multiplayer.MessageCollectionResult(_Result);
730
+
731
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
732
+ {
733
+ return;
734
+ }
735
+
736
+ tcs.SetResult(task_result);
737
+ _handle.Free();
738
+ }
739
+
740
+ static readonly GetAllMessagesCallbackDelegate GetAllMessagesDelegateInstance =
741
+ GetAllMessagesCallbackDelegateFunction;
742
+
743
+ /// <summary>Retrieves all messages in conversation</summary>
744
+ /// <returns>The result for the request</returns>
745
+
746
+ public Task<Csp.Multiplayer.MessageCollectionResult> GetAllMessages()
747
+ {
748
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>(this);
749
+ var handle = GCHandle.Alloc(tcs);
750
+
751
+ csp_multiplayer_ConversationSpaceComponent_GetAllMessages_void_MessageCollectionResultCallback(
752
+ _ptr,
753
+ GetAllMessagesDelegateInstance,
754
+ (IntPtr)handle
755
+ );
756
+
757
+ return tcs.Task;
758
+ }
759
+
760
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
761
+ [AOT.MonoPInvokeCallback (typeof (GetConversationInfoCallbackDelegate))]
762
+ #endif
763
+ static void GetConversationInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
764
+ {
765
+ var _handle = (GCHandle)_StateObject__;
766
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
767
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
768
+
769
+ var task_result = new Csp.Multiplayer.ConversationResult(_Result);
770
+
771
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
772
+ {
773
+ return;
774
+ }
775
+
776
+ tcs.SetResult(task_result);
777
+ _handle.Free();
778
+ }
779
+
780
+ static readonly GetConversationInfoCallbackDelegate GetConversationInfoDelegateInstance =
781
+ GetConversationInfoCallbackDelegateFunction;
782
+
783
+ /// <summary>Get Conversation Info</summary>
784
+ /// <returns>The result for the request</returns>
785
+
786
+ public Task<Csp.Multiplayer.ConversationResult> GetConversationInfo()
787
+ {
788
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
789
+ var handle = GCHandle.Alloc(tcs);
790
+
791
+ csp_multiplayer_ConversationSpaceComponent_GetConversationInfo_void_ConversationResultCallback(
792
+ _ptr,
793
+ GetConversationInfoDelegateInstance,
794
+ (IntPtr)handle
795
+ );
796
+
797
+ return tcs.Task;
798
+ }
799
+
800
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
801
+ [AOT.MonoPInvokeCallback (typeof (SetConversationInfoCallbackDelegate))]
802
+ #endif
803
+ static void SetConversationInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
804
+ {
805
+ var _handle = (GCHandle)_StateObject__;
806
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
807
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
808
+
809
+ var task_result = new Csp.Multiplayer.ConversationResult(_Result);
810
+
811
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
812
+ {
813
+ return;
814
+ }
815
+
816
+ tcs.SetResult(task_result);
817
+ _handle.Free();
818
+ }
819
+
820
+ static readonly SetConversationInfoCallbackDelegate SetConversationInfoDelegateInstance =
821
+ SetConversationInfoCallbackDelegateFunction;
822
+
823
+ /// <summary>Set Conversation Info</summary>
824
+ /// <param name="ConversationData">Conversation Information</param>
825
+ /// <returns>The result for the request</returns>
826
+
827
+ public Task<Csp.Multiplayer.ConversationResult> SetConversationInfo(
828
+ Csp.Multiplayer.ConversationInfo ConversationData
829
+ ) {
830
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
831
+ var handle = GCHandle.Alloc(tcs);
832
+
833
+ csp_multiplayer_ConversationSpaceComponent_SetConversationInfo_void_ConversationInfoRC_ConversationResultCallback(
834
+ _ptr,
835
+ ConversationData._ptr,
836
+ SetConversationInfoDelegateInstance,
837
+ (IntPtr)handle
838
+ );
839
+
840
+ return tcs.Task;
841
+ }
842
+
843
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
844
+ [AOT.MonoPInvokeCallback (typeof (GetMessageInfoCallbackDelegate))]
845
+ #endif
846
+ static void GetMessageInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
847
+ {
848
+ var _handle = (GCHandle)_StateObject__;
849
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
850
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
851
+
852
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
853
+
854
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
855
+ {
856
+ return;
857
+ }
858
+
859
+ tcs.SetResult(task_result);
860
+ _handle.Free();
861
+ }
862
+
863
+ static readonly GetMessageInfoCallbackDelegate GetMessageInfoDelegateInstance =
864
+ GetMessageInfoCallbackDelegateFunction;
865
+
866
+ /// <summary>Get Message Info</summary>
867
+ /// <param name="MessageId">Message id</param>
868
+ /// <returns>The result for the request</returns>
869
+
870
+ public Task<Csp.Multiplayer.MessageResult> GetMessageInfo(string MessageId)
871
+ {
872
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
873
+ var handle = GCHandle.Alloc(tcs);
874
+
875
+ csp_multiplayer_ConversationSpaceComponent_GetMessageInfo_void_StringRC_MessageResultCallback(
876
+ _ptr,
877
+ MessageId,
878
+ GetMessageInfoDelegateInstance,
879
+ (IntPtr)handle
880
+ );
881
+
882
+ return tcs.Task;
883
+ }
884
+
885
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
886
+ [AOT.MonoPInvokeCallback (typeof (SetMessageInfoCallbackDelegate))]
887
+ #endif
888
+ static void SetMessageInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
889
+ {
890
+ var _handle = (GCHandle)_StateObject__;
891
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
892
+ var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
893
+
894
+ var task_result = new Csp.Multiplayer.MessageResult(_Result);
895
+
896
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
897
+ {
898
+ return;
899
+ }
900
+
901
+ tcs.SetResult(task_result);
902
+ _handle.Free();
903
+ }
904
+
905
+ static readonly SetMessageInfoCallbackDelegate SetMessageInfoDelegateInstance =
906
+ SetMessageInfoCallbackDelegateFunction;
907
+
908
+ /// <summary>Set Message Info</summary>
909
+ /// <param name="MessageId">Message id</param>
910
+ /// <param name="MessageData">Conversation Information</param>
911
+ /// <returns>The result for the request</returns>
912
+
913
+ public Task<Csp.Multiplayer.MessageResult> SetMessageInfo(
914
+ string MessageId,
915
+ Csp.Multiplayer.MessageInfo MessageData
916
+ ) {
917
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
918
+ var handle = GCHandle.Alloc(tcs);
919
+
920
+ csp_multiplayer_ConversationSpaceComponent_SetMessageInfo_void_StringRC_MessageInfoRC_MessageResultCallback(
921
+ _ptr,
922
+ MessageId,
923
+ MessageData._ptr,
924
+ SetMessageInfoDelegateInstance,
925
+ (IntPtr)handle
926
+ );
927
+
928
+ return tcs.Task;
929
+ }
930
+
931
+ /// <summary>Gets the relative 3D position of this component.</summary>
932
+
933
+
934
+ public Csp.Common.Vector3 GetPosition()
935
+ {
936
+ var _result = new Csp.Common.Vector3(
937
+ csp_multiplayer_ConversationSpaceComponent_GetPositionC_Vector3RC(_ptr)
938
+ );
939
+
940
+ return _result;
941
+ }
942
+
943
+ /// <summary>Sets the relative 3D position of this component.</summary>
944
+ /// <param name="Value">- The new 3D position assigned to the origin of this component.</param>
945
+
946
+
947
+ public void SetPosition(Csp.Common.Vector3 Value)
948
+ {
949
+ csp_multiplayer_ConversationSpaceComponent_SetPosition_void_Vector3RC(_ptr, Value._ptr);
950
+ }
951
+
952
+ /// <summary>Gets the quaternion of the rotation of the origin of this component.</summary>
953
+
954
+
955
+ public Csp.Common.Vector4 GetRotation()
956
+ {
957
+ var _result = new Csp.Common.Vector4(
958
+ csp_multiplayer_ConversationSpaceComponent_GetRotationC_Vector4RC(_ptr)
959
+ );
960
+
961
+ return _result;
962
+ }
963
+
964
+ /// <summary>Sets the quaternion of the rotation of the origin of this component.</summary>
965
+ /// <param name="Value">- The new rotation assigned to the origin of this component.</param>
966
+
967
+
968
+ public void SetRotation(Csp.Common.Vector4 Value)
969
+ {
970
+ csp_multiplayer_ConversationSpaceComponent_SetRotation_void_Vector4RC(_ptr, Value._ptr);
971
+ }
972
+
973
+ public bool GetIsVisible()
974
+ {
975
+ var _result = csp_multiplayer_ConversationSpaceComponent_GetIsVisibleC_bool(_ptr);
976
+
977
+ return _result;
978
+ }
979
+
980
+ public void SetIsVisible(bool Value)
981
+ {
982
+ csp_multiplayer_ConversationSpaceComponent_SetIsVisible_void_bool(_ptr, Value);
983
+ }
984
+
985
+ public bool GetIsActive()
986
+ {
987
+ var _result = csp_multiplayer_ConversationSpaceComponent_GetIsActiveC_bool(_ptr);
988
+
989
+ return _result;
990
+ }
991
+
992
+ public void SetIsActive(bool Value)
993
+ {
994
+ csp_multiplayer_ConversationSpaceComponent_SetIsActive_void_bool(_ptr, Value);
995
+ }
996
+
997
+ /// <summary>Moves the conversation associated with the other component to this one and remmove the association with the other component</summary>
998
+ /// <param name="OtherConversationComponent">- The component to move the conversation from.</param>
999
+ /// <returns>True if successful, false if there is already a conversation associated with this component</returns>
1000
+
1001
+
1002
+ public bool MoveConversationFromComponent(Csp.Multiplayer.ConversationSpaceComponent OtherConversationComponent)
1003
+ {
1004
+ var _result =
1005
+ csp_multiplayer_ConversationSpaceComponent_MoveConversationFromComponent_bool_ConversationSpaceComponentR(
1006
+ _ptr,
1007
+ OtherConversationComponent._ptr
1008
+ );
1009
+
1010
+ return _result;
1011
+ }
1012
+
1013
+ /// <summary>Sets the Title of the conversation.</summary>
1014
+ /// <param name="Value">- The new title.</param>
1015
+
1016
+
1017
+ public void SetTitle(string Value)
1018
+ {
1019
+ csp_multiplayer_ConversationSpaceComponent_SetTitle_void_StringRC(
1020
+ _ptr,
1021
+ WrapperHelper.StringToNativeUTF8(Value)
1022
+ );
1023
+ }
1024
+
1025
+ /// <summary>Gets the Title of the conversation.</summary>
1026
+
1027
+
1028
+ public string GetTitle()
1029
+ {
1030
+ var _result = csp_multiplayer_ConversationSpaceComponent_GetTitleC_StringRC(_ptr);
1031
+
1032
+ var _resultString = WrapperHelper.NativeUTF8ToString(_result);
1033
+ Global.Free(_result);
1034
+
1035
+ return _resultString;
1036
+ }
1037
+
1038
+ /// <summary>Sets the Date of the conversation.</summary>
1039
+ /// <param name="Value">- The new Date.</param>
1040
+
1041
+
1042
+ public void SetDate(string Value)
1043
+ {
1044
+ csp_multiplayer_ConversationSpaceComponent_SetDate_void_StringRC(
1045
+ _ptr,
1046
+ WrapperHelper.StringToNativeUTF8(Value)
1047
+ );
1048
+ }
1049
+
1050
+ /// <summary>Gets the Date of the conversation.</summary>
1051
+
1052
+
1053
+ public string GetDate()
1054
+ {
1055
+ var _result = csp_multiplayer_ConversationSpaceComponent_GetDateC_StringRC(_ptr);
1056
+
1057
+ var _resultString = WrapperHelper.NativeUTF8ToString(_result);
1058
+ Global.Free(_result);
1059
+
1060
+ return _resultString;
1061
+ }
1062
+
1063
+ /// <summary>Sets the Number Of Replies of the conversation.</summary>
1064
+ /// <param name="Value">- The new Number Of Replies.</param>
1065
+
1066
+
1067
+ public void SetNumberOfReplies(long Value)
1068
+ {
1069
+ csp_multiplayer_ConversationSpaceComponent_SetNumberOfReplies_void_int64_tC(_ptr, Value);
1070
+ }
1071
+
1072
+ /// <summary>Gets the Number Of Replies of the conversation.</summary>
1073
+
1074
+
1075
+ public long GetNumberOfReplies()
1076
+ {
1077
+ var _result = csp_multiplayer_ConversationSpaceComponent_GetNumberOfRepliesC_int64_tC(_ptr);
1078
+
1079
+ return _result;
1080
+ }
1081
+
1082
+ ~ConversationSpaceComponent()
1083
+ {
1084
+ //RealDispose();
1085
+ }
1086
+
1087
+ void RealDispose()
1088
+ {
1089
+ if (_ownsPtr && !_disposed)
1090
+ {
1091
+ csp_multiplayer_ConversationSpaceComponent_Dtor(_ptr);
1092
+ _disposed = true;
1093
+ }
1094
+
1095
+ _disposed = true;
1096
+ }
1097
+
1098
+ new public void Dispose()
1099
+ {
1100
+ RealDispose();
1101
+ GC.SuppressFinalize(this);
1102
+ }
1103
+ }
1104
+ }
1105
+