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,1202 @@
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
+ /// <summary>Primary multiplayer object that can have associated scripts and many multiplayer components created within it.</summary>
16
+
17
+ public partial class SpaceEntity : NativeClassWrapper, IDisposable
18
+ {
19
+ internal override string _safeTypeName { get; } = "csp_multiplayer_SpaceEntity";
20
+
21
+ #region P/Invoke
22
+ #pragma warning disable IDE1006
23
+
24
+ [
25
+ DllImport(
26
+ #if !UNITY_EDITOR && UNITY_IOS
27
+ "__Internal"
28
+ #elif DEBUG
29
+ "ConnectedSpacesPlatform_D"
30
+ #else
31
+ "ConnectedSpacesPlatform"
32
+ #endif
33
+ ),
34
+ SuppressUnmanagedCodeSecurity
35
+ ]
36
+ static extern void csp_multiplayer_SpaceEntity_SetUpdateCallback_void_UpdateCallback(
37
+ IntPtr @class,
38
+ SetUpdateCallbackCallbackDelegate callback,
39
+ IntPtr callbackStateObject
40
+ );
41
+
42
+ [
43
+ DllImport(
44
+ #if !UNITY_EDITOR && UNITY_IOS
45
+ "__Internal"
46
+ #elif DEBUG
47
+ "ConnectedSpacesPlatform_D"
48
+ #else
49
+ "ConnectedSpacesPlatform"
50
+ #endif
51
+ ),
52
+ SuppressUnmanagedCodeSecurity
53
+ ]
54
+ static extern void csp_multiplayer_SpaceEntity_SetDestroyCallback_void_DestroyCallback(
55
+ IntPtr @class,
56
+ SetDestroyCallbackCallbackDelegate 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_SpaceEntity_SetPatchSentCallback_void_CallbackHandler(
73
+ IntPtr @class,
74
+ SetPatchSentCallbackCallbackDelegate 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 NativePointer csp_multiplayer_SpaceEntity_Ctor();
91
+
92
+ [
93
+ DllImport(
94
+ #if !UNITY_EDITOR && UNITY_IOS
95
+ "__Internal"
96
+ #elif DEBUG
97
+ "ConnectedSpacesPlatform_D"
98
+ #else
99
+ "ConnectedSpacesPlatform"
100
+ #endif
101
+ ),
102
+ SuppressUnmanagedCodeSecurity
103
+ ]
104
+ static extern NativePointer csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP(IntPtr InEntitySystem);
105
+
106
+ [
107
+ DllImport(
108
+ #if !UNITY_EDITOR && UNITY_IOS
109
+ "__Internal"
110
+ #elif DEBUG
111
+ "ConnectedSpacesPlatform_D"
112
+ #else
113
+ "ConnectedSpacesPlatform"
114
+ #endif
115
+ ),
116
+ SuppressUnmanagedCodeSecurity
117
+ ]
118
+ static extern void csp_multiplayer_SpaceEntity_Dtor(IntPtr @class);
119
+
120
+ [
121
+ DllImport(
122
+ #if !UNITY_EDITOR && UNITY_IOS
123
+ "__Internal"
124
+ #elif DEBUG
125
+ "ConnectedSpacesPlatform_D"
126
+ #else
127
+ "ConnectedSpacesPlatform"
128
+ #endif
129
+ ),
130
+ SuppressUnmanagedCodeSecurity
131
+ ]
132
+ static extern ulong csp_multiplayer_SpaceEntity_GetIdC_uint64_t(IntPtr @class);
133
+
134
+ [
135
+ DllImport(
136
+ #if !UNITY_EDITOR && UNITY_IOS
137
+ "__Internal"
138
+ #elif DEBUG
139
+ "ConnectedSpacesPlatform_D"
140
+ #else
141
+ "ConnectedSpacesPlatform"
142
+ #endif
143
+ ),
144
+ SuppressUnmanagedCodeSecurity
145
+ ]
146
+ static extern ulong csp_multiplayer_SpaceEntity_GetOwnerIdC_uint64_t(IntPtr @class);
147
+
148
+ [
149
+ DllImport(
150
+ #if !UNITY_EDITOR && UNITY_IOS
151
+ "__Internal"
152
+ #elif DEBUG
153
+ "ConnectedSpacesPlatform_D"
154
+ #else
155
+ "ConnectedSpacesPlatform"
156
+ #endif
157
+ ),
158
+ SuppressUnmanagedCodeSecurity
159
+ ]
160
+ static extern IntPtr csp_multiplayer_SpaceEntity_GetNameC_StringRC(IntPtr @class);
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_SpaceEntity_SetName_void_StringRC(IntPtr @class, IntPtr Value);
175
+
176
+ [
177
+ DllImport(
178
+ #if !UNITY_EDITOR && UNITY_IOS
179
+ "__Internal"
180
+ #elif DEBUG
181
+ "ConnectedSpacesPlatform_D"
182
+ #else
183
+ "ConnectedSpacesPlatform"
184
+ #endif
185
+ ),
186
+ SuppressUnmanagedCodeSecurity
187
+ ]
188
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetTransformC_SpaceTransformRC(IntPtr @class);
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 NativePointer csp_multiplayer_SpaceEntity_GetPositionC_Vector3RC(IntPtr @class);
203
+
204
+ [
205
+ DllImport(
206
+ #if !UNITY_EDITOR && UNITY_IOS
207
+ "__Internal"
208
+ #elif DEBUG
209
+ "ConnectedSpacesPlatform_D"
210
+ #else
211
+ "ConnectedSpacesPlatform"
212
+ #endif
213
+ ),
214
+ SuppressUnmanagedCodeSecurity
215
+ ]
216
+ static extern void csp_multiplayer_SpaceEntity_SetPosition_void_Vector3RC(IntPtr @class, IntPtr Value);
217
+
218
+ [
219
+ DllImport(
220
+ #if !UNITY_EDITOR && UNITY_IOS
221
+ "__Internal"
222
+ #elif DEBUG
223
+ "ConnectedSpacesPlatform_D"
224
+ #else
225
+ "ConnectedSpacesPlatform"
226
+ #endif
227
+ ),
228
+ SuppressUnmanagedCodeSecurity
229
+ ]
230
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetRotationC_Vector4RC(IntPtr @class);
231
+
232
+ [
233
+ DllImport(
234
+ #if !UNITY_EDITOR && UNITY_IOS
235
+ "__Internal"
236
+ #elif DEBUG
237
+ "ConnectedSpacesPlatform_D"
238
+ #else
239
+ "ConnectedSpacesPlatform"
240
+ #endif
241
+ ),
242
+ SuppressUnmanagedCodeSecurity
243
+ ]
244
+ static extern void csp_multiplayer_SpaceEntity_SetRotation_void_Vector4RC(IntPtr @class, IntPtr Value);
245
+
246
+ [
247
+ DllImport(
248
+ #if !UNITY_EDITOR && UNITY_IOS
249
+ "__Internal"
250
+ #elif DEBUG
251
+ "ConnectedSpacesPlatform_D"
252
+ #else
253
+ "ConnectedSpacesPlatform"
254
+ #endif
255
+ ),
256
+ SuppressUnmanagedCodeSecurity
257
+ ]
258
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetScaleC_Vector3RC(IntPtr @class);
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 void csp_multiplayer_SpaceEntity_SetScale_void_Vector3RC(IntPtr @class, IntPtr Value);
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 bool csp_multiplayer_SpaceEntity_GetIsTransientC_bool(IntPtr @class);
287
+
288
+ [
289
+ DllImport(
290
+ #if !UNITY_EDITOR && UNITY_IOS
291
+ "__Internal"
292
+ #elif DEBUG
293
+ "ConnectedSpacesPlatform_D"
294
+ #else
295
+ "ConnectedSpacesPlatform"
296
+ #endif
297
+ ),
298
+ SuppressUnmanagedCodeSecurity
299
+ ]
300
+ static extern IntPtr csp_multiplayer_SpaceEntity_GetThirdPartyRefC_StringRC(IntPtr @class);
301
+
302
+ [
303
+ DllImport(
304
+ #if !UNITY_EDITOR && UNITY_IOS
305
+ "__Internal"
306
+ #elif DEBUG
307
+ "ConnectedSpacesPlatform_D"
308
+ #else
309
+ "ConnectedSpacesPlatform"
310
+ #endif
311
+ ),
312
+ SuppressUnmanagedCodeSecurity
313
+ ]
314
+ static extern void csp_multiplayer_SpaceEntity_SetThirdPartyRef_void_StringRC(
315
+ IntPtr @class,
316
+ IntPtr InThirdPartyRef
317
+ );
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 Csp.Systems.EThirdPartyPlatform csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatformC(
332
+ IntPtr @class
333
+ );
334
+
335
+ [
336
+ DllImport(
337
+ #if !UNITY_EDITOR && UNITY_IOS
338
+ "__Internal"
339
+ #elif DEBUG
340
+ "ConnectedSpacesPlatform_D"
341
+ #else
342
+ "ConnectedSpacesPlatform"
343
+ #endif
344
+ ),
345
+ SuppressUnmanagedCodeSecurity
346
+ ]
347
+ static extern void csp_multiplayer_SpaceEntity_SetThirdPartyPlatformType_void_EThirdPartyPlatformC(
348
+ IntPtr @class,
349
+ Csp.Systems.EThirdPartyPlatform InThirdPartyPlatformType
350
+ );
351
+
352
+ [
353
+ DllImport(
354
+ #if !UNITY_EDITOR && UNITY_IOS
355
+ "__Internal"
356
+ #elif DEBUG
357
+ "ConnectedSpacesPlatform_D"
358
+ #else
359
+ "ConnectedSpacesPlatform"
360
+ #endif
361
+ ),
362
+ SuppressUnmanagedCodeSecurity
363
+ ]
364
+ static extern Csp.Multiplayer.SpaceEntityType csp_multiplayer_SpaceEntity_GetEntityTypeC_SpaceEntityType(
365
+ IntPtr @class
366
+ );
367
+
368
+ [
369
+ DllImport(
370
+ #if !UNITY_EDITOR && UNITY_IOS
371
+ "__Internal"
372
+ #elif DEBUG
373
+ "ConnectedSpacesPlatform_D"
374
+ #else
375
+ "ConnectedSpacesPlatform"
376
+ #endif
377
+ ),
378
+ SuppressUnmanagedCodeSecurity
379
+ ]
380
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetSpaceEntitySystem_SpaceEntitySystemP(IntPtr @class);
381
+
382
+ [
383
+ DllImport(
384
+ #if !UNITY_EDITOR && UNITY_IOS
385
+ "__Internal"
386
+ #elif DEBUG
387
+ "ConnectedSpacesPlatform_D"
388
+ #else
389
+ "ConnectedSpacesPlatform"
390
+ #endif
391
+ ),
392
+ SuppressUnmanagedCodeSecurity
393
+ ]
394
+ static extern void csp_multiplayer_SpaceEntity_QueueUpdate_void(IntPtr @class);
395
+
396
+ [
397
+ DllImport(
398
+ #if !UNITY_EDITOR && UNITY_IOS
399
+ "__Internal"
400
+ #elif DEBUG
401
+ "ConnectedSpacesPlatform_D"
402
+ #else
403
+ "ConnectedSpacesPlatform"
404
+ #endif
405
+ ),
406
+ SuppressUnmanagedCodeSecurity
407
+ ]
408
+ static extern void csp_multiplayer_SpaceEntity_Destroy_void_CallbackHandler(
409
+ IntPtr @class,
410
+ DestroyCallbackDelegate callback,
411
+ IntPtr callbackStateObject
412
+ );
413
+
414
+ [
415
+ DllImport(
416
+ #if !UNITY_EDITOR && UNITY_IOS
417
+ "__Internal"
418
+ #elif DEBUG
419
+ "ConnectedSpacesPlatform_D"
420
+ #else
421
+ "ConnectedSpacesPlatform"
422
+ #endif
423
+ ),
424
+ SuppressUnmanagedCodeSecurity
425
+ ]
426
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetComponentsC_MapPC(IntPtr @class);
427
+
428
+ [
429
+ DllImport(
430
+ #if !UNITY_EDITOR && UNITY_IOS
431
+ "__Internal"
432
+ #elif DEBUG
433
+ "ConnectedSpacesPlatform_D"
434
+ #else
435
+ "ConnectedSpacesPlatform"
436
+ #endif
437
+ ),
438
+ SuppressUnmanagedCodeSecurity
439
+ ]
440
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetComponent_ComponentBaseP_uint16_t(
441
+ IntPtr @class,
442
+ ushort Key
443
+ );
444
+
445
+ [
446
+ DllImport(
447
+ #if !UNITY_EDITOR && UNITY_IOS
448
+ "__Internal"
449
+ #elif DEBUG
450
+ "ConnectedSpacesPlatform_D"
451
+ #else
452
+ "ConnectedSpacesPlatform"
453
+ #endif
454
+ ),
455
+ SuppressUnmanagedCodeSecurity
456
+ ]
457
+ static extern NativePointer csp_multiplayer_SpaceEntity_AddComponent_ComponentBaseP_ComponentType(
458
+ IntPtr @class,
459
+ Csp.Multiplayer.ComponentType Type
460
+ );
461
+
462
+ [
463
+ DllImport(
464
+ #if !UNITY_EDITOR && UNITY_IOS
465
+ "__Internal"
466
+ #elif DEBUG
467
+ "ConnectedSpacesPlatform_D"
468
+ #else
469
+ "ConnectedSpacesPlatform"
470
+ #endif
471
+ ),
472
+ SuppressUnmanagedCodeSecurity
473
+ ]
474
+ static extern void csp_multiplayer_SpaceEntity_RemoveComponent_void_uint16_t(IntPtr @class, ushort Key);
475
+
476
+ [
477
+ DllImport(
478
+ #if !UNITY_EDITOR && UNITY_IOS
479
+ "__Internal"
480
+ #elif DEBUG
481
+ "ConnectedSpacesPlatform_D"
482
+ #else
483
+ "ConnectedSpacesPlatform"
484
+ #endif
485
+ ),
486
+ SuppressUnmanagedCodeSecurity
487
+ ]
488
+ static extern void csp_multiplayer_SpaceEntity_SerialisePatchC_void_IEntitySerialiserR(
489
+ IntPtr @class,
490
+ IntPtr Serialiser
491
+ );
492
+
493
+ [
494
+ DllImport(
495
+ #if !UNITY_EDITOR && UNITY_IOS
496
+ "__Internal"
497
+ #elif DEBUG
498
+ "ConnectedSpacesPlatform_D"
499
+ #else
500
+ "ConnectedSpacesPlatform"
501
+ #endif
502
+ ),
503
+ SuppressUnmanagedCodeSecurity
504
+ ]
505
+ static extern void csp_multiplayer_SpaceEntity_Serialise_void_IEntitySerialiserR(
506
+ IntPtr @class,
507
+ IntPtr Serialiser
508
+ );
509
+
510
+ [
511
+ DllImport(
512
+ #if !UNITY_EDITOR && UNITY_IOS
513
+ "__Internal"
514
+ #elif DEBUG
515
+ "ConnectedSpacesPlatform_D"
516
+ #else
517
+ "ConnectedSpacesPlatform"
518
+ #endif
519
+ ),
520
+ SuppressUnmanagedCodeSecurity
521
+ ]
522
+ static extern void csp_multiplayer_SpaceEntity_SerialiseComponentC_void_IEntitySerialiserR_ComponentBaseP(
523
+ IntPtr @class,
524
+ IntPtr Serialiser,
525
+ IntPtr Component
526
+ );
527
+
528
+ [
529
+ DllImport(
530
+ #if !UNITY_EDITOR && UNITY_IOS
531
+ "__Internal"
532
+ #elif DEBUG
533
+ "ConnectedSpacesPlatform_D"
534
+ #else
535
+ "ConnectedSpacesPlatform"
536
+ #endif
537
+ ),
538
+ SuppressUnmanagedCodeSecurity
539
+ ]
540
+ static extern void csp_multiplayer_SpaceEntity_Deserialise_void_IEntityDeserialiserR(
541
+ IntPtr @class,
542
+ IntPtr Deserialiser
543
+ );
544
+
545
+ [
546
+ DllImport(
547
+ #if !UNITY_EDITOR && UNITY_IOS
548
+ "__Internal"
549
+ #elif DEBUG
550
+ "ConnectedSpacesPlatform_D"
551
+ #else
552
+ "ConnectedSpacesPlatform"
553
+ #endif
554
+ ),
555
+ SuppressUnmanagedCodeSecurity
556
+ ]
557
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetScript_EntityScriptP(IntPtr @class);
558
+
559
+ [
560
+ DllImport(
561
+ #if !UNITY_EDITOR && UNITY_IOS
562
+ "__Internal"
563
+ #elif DEBUG
564
+ "ConnectedSpacesPlatform_D"
565
+ #else
566
+ "ConnectedSpacesPlatform"
567
+ #endif
568
+ ),
569
+ SuppressUnmanagedCodeSecurity
570
+ ]
571
+ static extern bool csp_multiplayer_SpaceEntity_IsSelectedC_bool(IntPtr @class);
572
+
573
+ [
574
+ DllImport(
575
+ #if !UNITY_EDITOR && UNITY_IOS
576
+ "__Internal"
577
+ #elif DEBUG
578
+ "ConnectedSpacesPlatform_D"
579
+ #else
580
+ "ConnectedSpacesPlatform"
581
+ #endif
582
+ ),
583
+ SuppressUnmanagedCodeSecurity
584
+ ]
585
+ static extern ulong csp_multiplayer_SpaceEntity_GetSelectingClientIDC_uint64_t(IntPtr @class);
586
+
587
+ [
588
+ DllImport(
589
+ #if !UNITY_EDITOR && UNITY_IOS
590
+ "__Internal"
591
+ #elif DEBUG
592
+ "ConnectedSpacesPlatform_D"
593
+ #else
594
+ "ConnectedSpacesPlatform"
595
+ #endif
596
+ ),
597
+ SuppressUnmanagedCodeSecurity
598
+ ]
599
+ static extern bool csp_multiplayer_SpaceEntity_Select_bool(IntPtr @class);
600
+
601
+ [
602
+ DllImport(
603
+ #if !UNITY_EDITOR && UNITY_IOS
604
+ "__Internal"
605
+ #elif DEBUG
606
+ "ConnectedSpacesPlatform_D"
607
+ #else
608
+ "ConnectedSpacesPlatform"
609
+ #endif
610
+ ),
611
+ SuppressUnmanagedCodeSecurity
612
+ ]
613
+ static extern bool csp_multiplayer_SpaceEntity_Deselect_bool(IntPtr @class);
614
+
615
+ #pragma warning restore IDE1006
616
+ #endregion
617
+
618
+ internal SpaceEntity(NativePointer ptr) : base(ptr) { }
619
+
620
+ delegate void DestroyCallbackDelegate(IntPtr _StateObject__, bool arg1);
621
+
622
+ delegate void SetUpdateCallbackCallbackDelegate(
623
+ IntPtr _StateObject__,
624
+ NativePointer arg1,
625
+ Csp.Multiplayer.SpaceEntityUpdateFlags arg2,
626
+ NativePointer arg3
627
+ );
628
+
629
+ delegate void SetDestroyCallbackCallbackDelegate(IntPtr _StateObject__, bool arg1);
630
+
631
+ delegate void SetPatchSentCallbackCallbackDelegate(IntPtr _StateObject__, bool arg1);
632
+
633
+ readonly List<GCHandle> eventHandles = new List<GCHandle>();
634
+
635
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
636
+ [AOT.MonoPInvokeCallback (typeof (SetUpdateCallbackCallbackDelegate))]
637
+ #endif
638
+ static void SetUpdateCallbackCallbackDelegateFunction(
639
+ IntPtr _StateObject__,
640
+ NativePointer _arg1,
641
+ Csp.Multiplayer.SpaceEntityUpdateFlags _arg2,
642
+ NativePointer _arg3
643
+ ) {
644
+ var _handle = (GCHandle)_StateObject__;
645
+ var _this = (SpaceEntity)_handle.Target;
646
+ _this.RealOnUpdate?.Invoke(
647
+ _this,
648
+ (
649
+ new Csp.Multiplayer.SpaceEntity(_arg1),
650
+ _arg2,
651
+ new Csp.Common.Array<Csp.Multiplayer.ComponentUpdateInfo>(_arg3)
652
+ )
653
+ );
654
+ }
655
+
656
+ static readonly SetUpdateCallbackCallbackDelegate OnUpdateDelegateInstance =
657
+ SetUpdateCallbackCallbackDelegateFunction;
658
+
659
+ bool OnUpdateInitialised = false;
660
+ event EventHandler<(Csp.Multiplayer.SpaceEntity arg1, Csp.Multiplayer.SpaceEntityUpdateFlags arg2, Csp.Common.Array<Csp.Multiplayer.ComponentUpdateInfo> arg3)>? RealOnUpdate;
661
+ public event EventHandler<(Csp.Multiplayer.SpaceEntity arg1, Csp.Multiplayer.SpaceEntityUpdateFlags arg2, Csp.Common.Array<Csp.Multiplayer.ComponentUpdateInfo> arg3)> OnUpdate
662
+ {
663
+ add
664
+ {
665
+ if (!OnUpdateInitialised)
666
+ {
667
+ var handle = GCHandle.Alloc(this);
668
+ csp_multiplayer_SpaceEntity_SetUpdateCallback_void_UpdateCallback(
669
+ _ptr,
670
+ OnUpdateDelegateInstance,
671
+ (IntPtr)handle
672
+ );
673
+ eventHandles.Add(handle);
674
+ OnUpdateInitialised = true;
675
+ }
676
+
677
+ RealOnUpdate += value;
678
+ }
679
+ remove { RealOnUpdate -= value; }
680
+ }
681
+
682
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
683
+ [AOT.MonoPInvokeCallback (typeof (SetDestroyCallbackCallbackDelegate))]
684
+ #endif
685
+ static void SetDestroyCallbackCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
686
+ {
687
+ var _handle = (GCHandle)_StateObject__;
688
+ var _this = (SpaceEntity)_handle.Target;
689
+ _this.RealOnDestroy?.Invoke(_this, _arg1);
690
+ }
691
+
692
+ static readonly SetDestroyCallbackCallbackDelegate OnDestroyDelegateInstance =
693
+ SetDestroyCallbackCallbackDelegateFunction;
694
+
695
+ bool OnDestroyInitialised = false;
696
+ event EventHandler<bool>? RealOnDestroy;
697
+ public event EventHandler<bool> OnDestroy
698
+ {
699
+ add
700
+ {
701
+ if (!OnDestroyInitialised)
702
+ {
703
+ var handle = GCHandle.Alloc(this);
704
+ csp_multiplayer_SpaceEntity_SetDestroyCallback_void_DestroyCallback(
705
+ _ptr,
706
+ OnDestroyDelegateInstance,
707
+ (IntPtr)handle
708
+ );
709
+ eventHandles.Add(handle);
710
+ OnDestroyInitialised = true;
711
+ }
712
+
713
+ RealOnDestroy += value;
714
+ }
715
+ remove { RealOnDestroy -= value; }
716
+ }
717
+
718
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
719
+ [AOT.MonoPInvokeCallback (typeof (SetPatchSentCallbackCallbackDelegate))]
720
+ #endif
721
+ static void SetPatchSentCallbackCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
722
+ {
723
+ var _handle = (GCHandle)_StateObject__;
724
+ var _this = (SpaceEntity)_handle.Target;
725
+ _this.RealOnPatchSent?.Invoke(_this, _arg1);
726
+ }
727
+
728
+ static readonly SetPatchSentCallbackCallbackDelegate OnPatchSentDelegateInstance =
729
+ SetPatchSentCallbackCallbackDelegateFunction;
730
+
731
+ bool OnPatchSentInitialised = false;
732
+ event EventHandler<bool>? RealOnPatchSent;
733
+ public event EventHandler<bool> OnPatchSent
734
+ {
735
+ add
736
+ {
737
+ if (!OnPatchSentInitialised)
738
+ {
739
+ var handle = GCHandle.Alloc(this);
740
+ csp_multiplayer_SpaceEntity_SetPatchSentCallback_void_CallbackHandler(
741
+ _ptr,
742
+ OnPatchSentDelegateInstance,
743
+ (IntPtr)handle
744
+ );
745
+ eventHandles.Add(handle);
746
+ OnPatchSentInitialised = true;
747
+ }
748
+
749
+ RealOnPatchSent += value;
750
+ }
751
+ remove { RealOnPatchSent -= value; }
752
+ }
753
+
754
+ /// <summary>Creates a default instance of a SpaceEntity.</summary>
755
+
756
+ public SpaceEntity()
757
+ {
758
+ var np = csp_multiplayer_SpaceEntity_Ctor();
759
+ _ptr = np.Pointer;
760
+ _ownsPtr = np.OwnsOwnData;
761
+ }
762
+
763
+ /// <summary>Creates a SpaceEntity instance using the space entity system provided.</summary>
764
+
765
+ public SpaceEntity(Csp.Multiplayer.SpaceEntitySystem InEntitySystem)
766
+ {
767
+ var np = csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP(InEntitySystem._ptr);
768
+ _ptr = np.Pointer;
769
+ _ownsPtr = np.OwnsOwnData;
770
+ }
771
+
772
+ /// <summary>Destroys the SpaceEntity instance.</summary>
773
+
774
+ ~SpaceEntity()
775
+ {
776
+ //RealDispose();
777
+ }
778
+
779
+ void RealDispose()
780
+ {
781
+ if (_ownsPtr && !_disposed)
782
+ {
783
+ csp_multiplayer_SpaceEntity_Dtor(_ptr);
784
+ _disposed = true;
785
+ }
786
+
787
+ _disposed = true;
788
+ }
789
+
790
+ public void Dispose()
791
+ {
792
+ RealDispose();
793
+ GC.SuppressFinalize(this);
794
+ }
795
+
796
+ /// <summary>Get the ID of this SpaceEntity, this is generated by the endpoints and should be unique to each Entity.</summary>
797
+ /// <returns>The uint64_t ID of the SpaceEntity.</returns>
798
+
799
+
800
+ public ulong GetId()
801
+ {
802
+ var _result = csp_multiplayer_SpaceEntity_GetIdC_uint64_t(_ptr);
803
+
804
+ return _result;
805
+ }
806
+
807
+ /// <summary>Get the ClientID of the owner of the SpaceEntity.</summary>
808
+ /// <remarks>/// This starts as the user that creates the Entity but can change if another user patches the Entity.</remarks>
809
+ /// <remarks>/// @return the uint64_t ClientID of the owner of the SpaceEntity.</remarks>
810
+
811
+
812
+ public ulong GetOwnerId()
813
+ {
814
+ var _result = csp_multiplayer_SpaceEntity_GetOwnerIdC_uint64_t(_ptr);
815
+
816
+ return _result;
817
+ }
818
+
819
+ /// <summary>Get the name set for this SpaceEntity.</summary>
820
+ /// <returns>Name.</returns>
821
+
822
+
823
+ public string GetName()
824
+ {
825
+ var _result = csp_multiplayer_SpaceEntity_GetNameC_StringRC(_ptr);
826
+
827
+ var _resultString = WrapperHelper.NativeUTF8ToString(_result);
828
+ Global.Free(_result);
829
+
830
+ return _resultString;
831
+ }
832
+
833
+ /// <summary>Set the name of the SpaceEntity.</summary>
834
+ /// <param name="Value">The name to set.</param>
835
+
836
+
837
+ public void SetName(string Value)
838
+ {
839
+ csp_multiplayer_SpaceEntity_SetName_void_StringRC(_ptr, WrapperHelper.StringToNativeUTF8(Value));
840
+ }
841
+
842
+ /// <summary>Get the SpaceTransform of the SpaceEntity.</summary>
843
+ /// <returns>SpaceTransform.</returns>
844
+
845
+
846
+ public Csp.Multiplayer.SpaceTransform GetTransform()
847
+ {
848
+ var _result = new Csp.Multiplayer.SpaceTransform(
849
+ csp_multiplayer_SpaceEntity_GetTransformC_SpaceTransformRC(_ptr)
850
+ );
851
+
852
+ return _result;
853
+ }
854
+
855
+ /// <summary>Get the position of the SpaceEntity, in world space.</summary>
856
+ /// <returns>Position.</returns>
857
+
858
+
859
+ public Csp.Common.Vector3 GetPosition()
860
+ {
861
+ var _result = new Csp.Common.Vector3(csp_multiplayer_SpaceEntity_GetPositionC_Vector3RC(_ptr));
862
+
863
+ return _result;
864
+ }
865
+
866
+ /// <summary>Set the position of the SpaceEntity, in world space.</summary>
867
+ /// <param name="Value">The position to set.</param>
868
+
869
+
870
+ public void SetPosition(Csp.Common.Vector3 Value)
871
+ {
872
+ csp_multiplayer_SpaceEntity_SetPosition_void_Vector3RC(_ptr, Value._ptr);
873
+ }
874
+
875
+ /// <summary>Get the rotation of the SpaceEntity.</summary>
876
+ /// <returns>Rotation.</returns>
877
+
878
+
879
+ public Csp.Common.Vector4 GetRotation()
880
+ {
881
+ var _result = new Csp.Common.Vector4(csp_multiplayer_SpaceEntity_GetRotationC_Vector4RC(_ptr));
882
+
883
+ return _result;
884
+ }
885
+
886
+ /// <summary>Set the rotation of the SpaceEntity.</summary>
887
+ /// <param name="Value">The rotation to set.</param>
888
+
889
+
890
+ public void SetRotation(Csp.Common.Vector4 Value)
891
+ {
892
+ csp_multiplayer_SpaceEntity_SetRotation_void_Vector4RC(_ptr, Value._ptr);
893
+ }
894
+
895
+ /// <summary>Get the scale of the SpaceEntity.</summary>
896
+ /// <returns>Scale.</returns>
897
+
898
+
899
+ public Csp.Common.Vector3 GetScale()
900
+ {
901
+ var _result = new Csp.Common.Vector3(csp_multiplayer_SpaceEntity_GetScaleC_Vector3RC(_ptr));
902
+
903
+ return _result;
904
+ }
905
+
906
+ /// <summary>Set the scale of the SpaceEntity.</summary>
907
+ /// <param name="Value">The scale to set.</param>
908
+
909
+
910
+ public void SetScale(Csp.Common.Vector3 Value)
911
+ {
912
+ csp_multiplayer_SpaceEntity_SetScale_void_Vector3RC(_ptr, Value._ptr);
913
+ }
914
+
915
+ /// <summary>Get whether the space is transient or persistant.</summary>
916
+ /// <returns>Returns true if the space is transient and false if it is marked as persistant.</returns>
917
+
918
+
919
+ public bool GetIsTransient()
920
+ {
921
+ var _result = csp_multiplayer_SpaceEntity_GetIsTransientC_bool(_ptr);
922
+
923
+ return _result;
924
+ }
925
+
926
+ /// <summary>Get the third party reference of this entity.</summary>
927
+ /// <returns>A string representing the third party reference set for this entity.</returns>
928
+
929
+
930
+ public string GetThirdPartyRef()
931
+ {
932
+ var _result = csp_multiplayer_SpaceEntity_GetThirdPartyRefC_StringRC(_ptr);
933
+
934
+ var _resultString = WrapperHelper.NativeUTF8ToString(_result);
935
+ Global.Free(_result);
936
+
937
+ return _resultString;
938
+ }
939
+
940
+ /// <summary>Set the third party reference for this entity</summary>
941
+ /// <param name="InThirdPartyRef">The third party reference to set.</param>
942
+
943
+
944
+ public void SetThirdPartyRef(string InThirdPartyRef)
945
+ {
946
+ csp_multiplayer_SpaceEntity_SetThirdPartyRef_void_StringRC(
947
+ _ptr,
948
+ WrapperHelper.StringToNativeUTF8(InThirdPartyRef)
949
+ );
950
+ }
951
+
952
+ /// <summary>Get the third party platform type of this entity.</summary>
953
+ /// <returns>A string representing third party platform type set for this entity.</returns>
954
+
955
+
956
+ public Csp.Systems.EThirdPartyPlatform GetThirdPartyPlatformType()
957
+ {
958
+ var _result = csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatformC(_ptr);
959
+
960
+ return _result;
961
+ }
962
+
963
+ /// <summary>Set third party platform type for this entity.</summary>
964
+ /// <param name="InThirdPartyPlatformType">The third party platform type to set.</param>
965
+
966
+
967
+ public void SetThirdPartyPlatformType(Csp.Systems.EThirdPartyPlatform InThirdPartyPlatformType)
968
+ {
969
+ csp_multiplayer_SpaceEntity_SetThirdPartyPlatformType_void_EThirdPartyPlatformC(
970
+ _ptr,
971
+ InThirdPartyPlatformType
972
+ );
973
+ }
974
+
975
+ /// <summary>Get the type of the Entity.</summary>
976
+ /// <returns>The SpaceEntityType enum value.</returns>
977
+
978
+
979
+ public Csp.Multiplayer.SpaceEntityType GetEntityType()
980
+ {
981
+ var _result = csp_multiplayer_SpaceEntity_GetEntityTypeC_SpaceEntityType(_ptr);
982
+
983
+ return _result;
984
+ }
985
+
986
+ /// <summary>Get SpaceEntitySystem Object</summary>
987
+ /// <returns>SpaceEntitySystem</returns>
988
+
989
+
990
+ public Csp.Multiplayer.SpaceEntitySystem GetSpaceEntitySystem()
991
+ {
992
+ var _result = new Csp.Multiplayer.SpaceEntitySystem(
993
+ csp_multiplayer_SpaceEntity_GetSpaceEntitySystem_SpaceEntitySystemP(_ptr)
994
+ );
995
+
996
+ return _result;
997
+ }
998
+
999
+ /// <summary>Queues an update which will be executed on next Tick() or ProcessPendingEntityOperations(). Not a blocking or async function.</summary>
1000
+
1001
+
1002
+ public void QueueUpdate()
1003
+ {
1004
+ csp_multiplayer_SpaceEntity_QueueUpdate_void(_ptr);
1005
+ }
1006
+
1007
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1008
+ [AOT.MonoPInvokeCallback (typeof (DestroyCallbackDelegate))]
1009
+ #endif
1010
+ static void DestroyCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
1011
+ {
1012
+ var _handle = (GCHandle)_StateObject__;
1013
+ var tcs = (TaskCompletionSource<bool>)_handle.Target;
1014
+ var _this = (SpaceEntity)tcs.Task.AsyncState;
1015
+
1016
+ var task_result = _arg1;
1017
+
1018
+ tcs.SetResult(task_result);
1019
+ _handle.Free();
1020
+ }
1021
+
1022
+ static readonly DestroyCallbackDelegate DestroyDelegateInstance = DestroyCallbackDelegateFunction;
1023
+
1024
+ /// <summary>Sends a patch message with a flag to destroy the entity.</summary>
1025
+ /// <remarks>/// Will remove the entity from endpoints and signal remote clients to delete the entity.</remarks>
1026
+ /// <remarks>Note this will trigger local deletion of the SpaceEntity immediately, without considering if remotes were able to also delete.</remarks>
1027
+ /// <remarks>If the endpoint fails to process this message, the client that called this function will be out of sync.</remarks>
1028
+ /// <remarks>It is advised to handle this situation by dropping the client out of a space if the callback comes back as failed.</remarks>
1029
+ /// <returns>The result for the request</returns>
1030
+
1031
+ public Task<bool> Destroy()
1032
+ {
1033
+ var tcs = new TaskCompletionSource<bool>(this);
1034
+ var handle = GCHandle.Alloc(tcs);
1035
+
1036
+ csp_multiplayer_SpaceEntity_Destroy_void_CallbackHandler(_ptr, DestroyDelegateInstance, (IntPtr)handle);
1037
+
1038
+ return tcs.Task;
1039
+ }
1040
+
1041
+ /// <summary>Get the map of components on this SpaceEntity.</summary>
1042
+ /// <returns>A map of components indexed with the component ID.</returns>
1043
+
1044
+
1045
+ public Csp.Common.Map<ushort, Csp.Multiplayer.ComponentBase> GetComponents()
1046
+ {
1047
+ var _result = new Csp.Common.Map<ushort, Csp.Multiplayer.ComponentBase>(
1048
+ csp_multiplayer_SpaceEntity_GetComponentsC_MapPC(_ptr)
1049
+ );
1050
+
1051
+ return _result;
1052
+ }
1053
+
1054
+ /// <summary>Get a component on this SpaceEntity by the specified key.</summary>
1055
+ /// <param name="Key">The component ID for the desired component.</param>
1056
+ /// <returns>The component if found or nullptr if not found.</returns>
1057
+
1058
+
1059
+ public Csp.Multiplayer.ComponentBase GetComponent(ushort Key)
1060
+ {
1061
+ var _result = new Csp.Multiplayer.ComponentBase(
1062
+ csp_multiplayer_SpaceEntity_GetComponent_ComponentBaseP_uint16_t(_ptr, Key)
1063
+ );
1064
+
1065
+ return _result;
1066
+ }
1067
+
1068
+ /// <summary>Add a component of the given type.</summary>
1069
+ /// <param name="Type">The type of component to add.</param>
1070
+ /// <returns>The newly created component.</returns>
1071
+
1072
+
1073
+ public Csp.Multiplayer.ComponentBase AddComponent(Csp.Multiplayer.ComponentType Type)
1074
+ {
1075
+ var _result = new Csp.Multiplayer.ComponentBase(
1076
+ csp_multiplayer_SpaceEntity_AddComponent_ComponentBaseP_ComponentType(_ptr, Type)
1077
+ );
1078
+
1079
+ return _result;
1080
+ }
1081
+
1082
+ /// <summary>Remove a component of the given key.</summary>
1083
+ /// <remarks>/// Note that the component cannot currently truly be removed from the server data,</remarks>
1084
+ /// <remarks>the best we can do is add a blank component in its place, which clients decide to</remarks>
1085
+ /// <remarks>ignore when retrieving data.</remarks>
1086
+ /// <remarks>/// @param Key uint16_t : The component ID of the component to remove.</remarks>
1087
+
1088
+
1089
+ public void RemoveComponent(ushort Key)
1090
+ {
1091
+ csp_multiplayer_SpaceEntity_RemoveComponent_void_uint16_t(_ptr, Key);
1092
+ }
1093
+
1094
+ /// <summary>Serialise local changes into patch message format into the given serialiser. Does not send a patch.</summary>
1095
+ /// <param name="Serialiser">The serialiser to use.</param>
1096
+
1097
+
1098
+ public void SerialisePatch(Csp.Multiplayer.IEntitySerialiser Serialiser)
1099
+ {
1100
+ csp_multiplayer_SpaceEntity_SerialisePatchC_void_IEntitySerialiserR(
1101
+ _ptr,
1102
+ ((NativeClassWrapper)Serialiser)._ptr
1103
+ );
1104
+ }
1105
+
1106
+ /// <summary>Serialise the entire SpaceEntity into object message format into the given serialiser. Does not send a message.</summary>
1107
+ /// <param name="Serialiser">The serialiser to use.</param>
1108
+
1109
+
1110
+ public void Serialise(Csp.Multiplayer.IEntitySerialiser Serialiser)
1111
+ {
1112
+ csp_multiplayer_SpaceEntity_Serialise_void_IEntitySerialiserR(_ptr, ((NativeClassWrapper)Serialiser)._ptr);
1113
+ }
1114
+
1115
+ /// <summary>Serialises a given component into a consistent format for the given serialiser.</summary>
1116
+ /// <param name="Serialiser">The serialiser to use.</param>
1117
+ /// <param name="Component">The component to be serialised.</param>
1118
+
1119
+
1120
+ public void SerialiseComponent(
1121
+ Csp.Multiplayer.IEntitySerialiser Serialiser,
1122
+ Csp.Multiplayer.ComponentBase Component
1123
+ ) {
1124
+ csp_multiplayer_SpaceEntity_SerialiseComponentC_void_IEntitySerialiserR_ComponentBaseP(
1125
+ _ptr,
1126
+ ((NativeClassWrapper)Serialiser)._ptr,
1127
+ Component._ptr
1128
+ );
1129
+ }
1130
+
1131
+ /// <summary>Using the given deserialiser, populate the SpaceEntity with the data in the deserialiser.</summary>
1132
+ /// <param name="Deserialiser">The deserialiser to use.</param>
1133
+
1134
+
1135
+ public void Deserialise(Csp.Multiplayer.IEntityDeserialiser Deserialiser)
1136
+ {
1137
+ csp_multiplayer_SpaceEntity_Deserialise_void_IEntityDeserialiserR(
1138
+ _ptr,
1139
+ ((NativeClassWrapper)Deserialiser)._ptr
1140
+ );
1141
+ }
1142
+
1143
+ /// <summary>Gets the script associated with the space entity.</summary>
1144
+ /// <returns>The EntityScript instance set on the entity.</returns>
1145
+
1146
+
1147
+ public Csp.Multiplayer.EntityScript GetScript()
1148
+ {
1149
+ var _result = new Csp.Multiplayer.EntityScript(csp_multiplayer_SpaceEntity_GetScript_EntityScriptP(_ptr));
1150
+
1151
+ return _result;
1152
+ }
1153
+
1154
+ /// <summary>Returns the selection state of the entity.</summary>
1155
+ /// <returns>Selection state of the entity, Selected = True, Deselected = False.</returns>
1156
+
1157
+
1158
+ public bool IsSelected()
1159
+ {
1160
+ var _result = csp_multiplayer_SpaceEntity_IsSelectedC_bool(_ptr);
1161
+
1162
+ return _result;
1163
+ }
1164
+
1165
+ /// <summary>Retrieve the ClientID for the Selecting Client.</summary>
1166
+ /// <returns>The client ID of the selecting client. Deselected Entity = 0.</returns>
1167
+
1168
+
1169
+ public ulong GetSelectingClientID()
1170
+ {
1171
+ var _result = csp_multiplayer_SpaceEntity_GetSelectingClientIDC_uint64_t(_ptr);
1172
+
1173
+ return _result;
1174
+ }
1175
+
1176
+ /// <summary>Select the Entity. Only works if the Entity is currently deselected.</summary>
1177
+ /// <returns>True if selection occurred. False if not.</returns>
1178
+
1179
+
1180
+ public bool Select()
1181
+ {
1182
+ var _result = csp_multiplayer_SpaceEntity_Select_bool(_ptr);
1183
+
1184
+ return _result;
1185
+ }
1186
+
1187
+ /// <summary>Deselect the Entity.</summary>
1188
+ /// <remarks>/// Only works if:</remarks>
1189
+ /// <remarks>- The Entity is currently selected</remarks>
1190
+ /// <remarks>- The Client attempting to deselect has the same ClientID as the one who selected it</remarks>
1191
+ /// <remarks>/// @return True if deselection occurred. False if not.</remarks>
1192
+
1193
+
1194
+ public bool Deselect()
1195
+ {
1196
+ var _result = csp_multiplayer_SpaceEntity_Deselect_bool(_ptr);
1197
+
1198
+ return _result;
1199
+ }
1200
+ }
1201
+ }
1202
+