connected-spaces-platform.unity.core 5.0.0 → 5.1.0

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 (536) hide show
  1. package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
  2. package/Editor.meta +1 -1
  3. package/README.md +3 -2
  4. package/README.md.meta +1 -1
  5. package/Source/CSPFoundation.cs +26 -156
  6. package/Source/CSPFoundation.cs.meta +1 -1
  7. package/Source/ClientUserAgent.cs +28 -168
  8. package/Source/ClientUserAgent.cs.meta +1 -1
  9. package/Source/Common/Array.cs.meta +1 -1
  10. package/Source/Common/CancellationToken.cs +10 -60
  11. package/Source/Common/CancellationToken.cs.meta +1 -1
  12. package/Source/Common/FileExtensions.cs +1794 -10764
  13. package/Source/Common/FileExtensions.cs.meta +1 -1
  14. package/Source/Common/List.cs.meta +1 -1
  15. package/Source/Common/Map.cs.meta +1 -1
  16. package/Source/Common/MimeTypeHelper.cs +14 -84
  17. package/Source/Common/MimeTypeHelper.cs.meta +1 -1
  18. package/Source/Common/MimeTypes.cs +1226 -7356
  19. package/Source/Common/MimeTypes.cs.meta +1 -1
  20. package/Source/Common/Variant.cs +44 -264
  21. package/Source/Common/Variant.cs.meta +1 -1
  22. package/Source/Common/VariantType.cs.meta +1 -1
  23. package/Source/Common/Vector3.cs +43 -132
  24. package/Source/Common/Vector3.cs.meta +1 -1
  25. package/Source/Common/Vector4.cs +49 -168
  26. package/Source/Common/Vector4.cs.meta +1 -1
  27. package/Source/Common.meta +1 -1
  28. package/Source/Constants.cs +13 -0
  29. package/Source/Constants.cs.meta +11 -0
  30. package/Source/Csp.cs +6 -36
  31. package/Source/Csp.cs.meta +1 -1
  32. package/Source/EThirdPartyPlatform.cs.meta +1 -1
  33. package/Source/EndpointURIs.cs +32 -192
  34. package/Source/EndpointURIs.cs.meta +1 -1
  35. package/Source/Il2cppPreserver.cs.meta +1 -1
  36. package/Source/Multiplayer/AssetDetailBlobParams.cs +24 -144
  37. package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
  38. package/Source/Multiplayer/ComponentBase.cs +20 -120
  39. package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
  40. package/Source/Multiplayer/ComponentType.cs.meta +1 -1
  41. package/Source/Multiplayer/ComponentUpdateInfo.cs +12 -72
  42. package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
  43. package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
  44. package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
  45. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
  46. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +56 -336
  47. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
  48. package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
  49. package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
  50. package/Source/Multiplayer/Components/AudioSpaceComponent.cs +48 -288
  51. package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
  52. package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
  53. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
  54. package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
  55. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs +64 -384
  56. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
  57. package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
  58. package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
  59. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
  60. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs +44 -264
  61. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
  62. package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
  63. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
  64. package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
  65. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs +54 -324
  66. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
  67. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
  68. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +54 -324
  69. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
  70. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
  71. package/Source/Multiplayer/Components/CustomSpaceComponent.cs +22 -132
  72. package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
  73. package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
  74. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
  75. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs +12 -72
  76. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
  77. package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
  78. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
  79. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs +44 -264
  80. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
  81. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
  82. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs +40 -240
  83. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
  84. package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
  85. package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
  86. package/Source/Multiplayer/Components/FogSpaceComponent.cs +64 -384
  87. package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
  88. package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
  89. package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs +44 -264
  90. package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
  91. package/Source/Multiplayer/Components/HotspotPropertyKeys.cs.meta +1 -1
  92. package/Source/Multiplayer/Components/HotspotSpaceComponent.cs +34 -204
  93. package/Source/Multiplayer/Components/HotspotSpaceComponent.cs.meta +1 -1
  94. package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
  95. package/Source/Multiplayer/Components/ImageSpaceComponent.cs +52 -312
  96. package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
  97. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
  98. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
  99. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
  100. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
  101. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
  102. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
  103. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
  104. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
  105. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
  106. package/Source/Multiplayer/Components/Interfaces.meta +1 -1
  107. package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
  108. package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
  109. package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
  110. package/Source/Multiplayer/Components/LightSpaceComponent.cs +64 -384
  111. package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
  112. package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
  113. package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
  114. package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
  115. package/Source/Multiplayer/Components/PortalSpaceComponent.cs +22 -132
  116. package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
  117. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
  118. package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
  119. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs +32 -192
  120. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
  121. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
  122. package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
  123. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs +16 -96
  124. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
  125. package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
  126. package/Source/Multiplayer/Components/SplineSpaceComponent.cs +10 -60
  127. package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
  128. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
  129. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +44 -264
  130. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
  131. package/Source/Multiplayer/Components/TextPropertyKeys.cs.meta +1 -1
  132. package/Source/Multiplayer/Components/TextSpaceComponent.cs +56 -336
  133. package/Source/Multiplayer/Components/TextSpaceComponent.cs.meta +1 -1
  134. package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
  135. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
  136. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
  137. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
  138. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs +88 -528
  139. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
  140. package/Source/Multiplayer/Components.meta +1 -1
  141. package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
  142. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs +28 -168
  143. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
  144. package/Source/Multiplayer/Conversation/ConversationInfo.cs +16 -96
  145. package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
  146. package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
  147. package/Source/Multiplayer/Conversation/ConversationResult.cs +4 -24
  148. package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
  149. package/Source/Multiplayer/Conversation/ConversationSystem.cs +24 -144
  150. package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
  151. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +6 -36
  152. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
  153. package/Source/Multiplayer/Conversation/MessageInfo.cs +12 -72
  154. package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
  155. package/Source/Multiplayer/Conversation/MessageResult.cs +4 -24
  156. package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
  157. package/Source/Multiplayer/Conversation.meta +1 -1
  158. package/Source/Multiplayer/ConversationSystemParams.cs +12 -72
  159. package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
  160. package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
  161. package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
  162. package/Source/Multiplayer/ESequenceUpdateType.cs +1 -0
  163. package/Source/Multiplayer/ESequenceUpdateType.cs.meta +1 -1
  164. package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
  165. package/Source/Multiplayer/IEntityDeserialiser.cs +2 -0
  166. package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
  167. package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
  168. package/Source/Multiplayer/MultiplayerConnection.cs +32 -192
  169. package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
  170. package/Source/Multiplayer/ReplicatedValue.cs +44 -264
  171. package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
  172. package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
  173. package/Source/Multiplayer/Script/EntityScript.cs +32 -192
  174. package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
  175. package/Source/Multiplayer/Script.meta +1 -1
  176. package/Source/Multiplayer/SequenceChangedParams.cs +16 -96
  177. package/Source/Multiplayer/SequenceChangedParams.cs.meta +1 -1
  178. package/Source/Multiplayer/SequenceHierarchy.cs +109 -0
  179. package/Source/Multiplayer/SequenceHierarchy.cs.meta +11 -0
  180. package/Source/Multiplayer/SequenceHierarchyChangedParams.cs +119 -0
  181. package/Source/Multiplayer/SequenceHierarchyChangedParams.cs.meta +11 -0
  182. package/Source/Multiplayer/SequenceHierarchyCollectionResult.cs +84 -0
  183. package/Source/Multiplayer/SequenceHierarchyCollectionResult.cs.meta +11 -0
  184. package/Source/Multiplayer/SequenceHierarchyResult.cs +84 -0
  185. package/Source/Multiplayer/SequenceHierarchyResult.cs.meta +11 -0
  186. package/Source/Multiplayer/SpaceEntity.cs +257 -480
  187. package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
  188. package/Source/Multiplayer/SpaceEntitySystem.cs +459 -444
  189. package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
  190. package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
  191. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs +1 -0
  192. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
  193. package/Source/Multiplayer/SpaceTransform.cs +28 -108
  194. package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
  195. package/Source/Multiplayer/UserPermissionsParams.cs +20 -120
  196. package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
  197. package/Source/Multiplayer.meta +1 -1
  198. package/Source/NativeClassWrapper.cs.meta +1 -1
  199. package/Source/ProgressEventArgs.cs.meta +1 -1
  200. package/Source/Ref.cs.meta +1 -1
  201. package/Source/Systems/Analytics/AnalyticsEvent.cs +20 -120
  202. package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
  203. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs +4 -24
  204. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
  205. package/Source/Systems/Analytics/AnalyticsSystem.cs +2 -12
  206. package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
  207. package/Source/Systems/Analytics/IAnalyticsProvider.cs +2 -12
  208. package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
  209. package/Source/Systems/Analytics.meta +1 -1
  210. package/Source/Systems/Assets/Asset.cs +70 -420
  211. package/Source/Systems/Assets/Asset.cs.meta +1 -1
  212. package/Source/Systems/Assets/AssetCollection.cs +66 -396
  213. package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
  214. package/Source/Systems/Assets/AssetCollectionResult.cs +4 -24
  215. package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
  216. package/Source/Systems/Assets/AssetCollectionsResult.cs +6 -36
  217. package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
  218. package/Source/Systems/Assets/AssetDataResult.cs +8 -48
  219. package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
  220. package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
  221. package/Source/Systems/Assets/AssetResult.cs +4 -24
  222. package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
  223. package/Source/Systems/Assets/AssetSystem.cs +42 -252
  224. package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
  225. package/Source/Systems/Assets/AssetsResult.cs +4 -24
  226. package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
  227. package/Source/Systems/Assets/BufferAssetDataSource.cs +16 -96
  228. package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
  229. package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
  230. package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
  231. package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
  232. package/Source/Systems/Assets/FileAssetDataSource.cs +12 -72
  233. package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
  234. package/Source/Systems/Assets/LODAsset.cs +12 -72
  235. package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
  236. package/Source/Systems/Assets/LODChain.cs +12 -72
  237. package/Source/Systems/Assets/LODChain.cs.meta +1 -1
  238. package/Source/Systems/Assets/LODChainResult.cs +4 -24
  239. package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
  240. package/Source/Systems/Assets/UriResult.cs +6 -36
  241. package/Source/Systems/Assets/UriResult.cs.meta +1 -1
  242. package/Source/Systems/Assets.meta +1 -1
  243. package/Source/Systems/BooleanResult.cs +4 -24
  244. package/Source/Systems/BooleanResult.cs.meta +1 -1
  245. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs +4 -24
  246. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
  247. package/Source/Systems/ECommerce/CartInfo.cs +20 -120
  248. package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
  249. package/Source/Systems/ECommerce/CartInfoResult.cs +4 -24
  250. package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
  251. package/Source/Systems/ECommerce/CartLine.cs +16 -96
  252. package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
  253. package/Source/Systems/ECommerce/CheckoutInfo.cs +12 -72
  254. package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
  255. package/Source/Systems/ECommerce/CheckoutInfoResult.cs +4 -24
  256. package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
  257. package/Source/Systems/ECommerce/CurrencyInfo.cs +12 -72
  258. package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
  259. package/Source/Systems/ECommerce/ECommerceSystem.cs +20 -120
  260. package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
  261. package/Source/Systems/ECommerce/GetShopifyStoresResult.cs +4 -24
  262. package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +1 -1
  263. package/Source/Systems/ECommerce/ProductInfo.cs +32 -192
  264. package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
  265. package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs +4 -24
  266. package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
  267. package/Source/Systems/ECommerce/ProductInfoResult.cs +4 -24
  268. package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
  269. package/Source/Systems/ECommerce/ProductMediaInfo.cs +24 -144
  270. package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
  271. package/Source/Systems/ECommerce/ProductVariantInfo.cs +36 -216
  272. package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
  273. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs +24 -144
  274. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
  275. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs +6 -36
  276. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
  277. package/Source/Systems/ECommerce/VariantOptionInfo.cs +12 -72
  278. package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
  279. package/Source/Systems/ECommerce.meta +1 -1
  280. package/Source/Systems/ERequestFailureReason.cs +1 -0
  281. package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
  282. package/Source/Systems/EResultCode.cs.meta +1 -1
  283. package/Source/Systems/EventTicketing/EventTicket.cs +36 -216
  284. package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
  285. package/Source/Systems/EventTicketing/EventTicketResult.cs +4 -24
  286. package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
  287. package/Source/Systems/EventTicketing/EventTicketingSystem.cs +12 -72
  288. package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
  289. package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
  290. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs +4 -24
  291. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
  292. package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
  293. package/Source/Systems/EventTicketing/TicketedEvent.cs +28 -168
  294. package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
  295. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs +4 -24
  296. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
  297. package/Source/Systems/EventTicketing/TicketedEventResult.cs +4 -24
  298. package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
  299. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs +20 -120
  300. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
  301. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs +4 -24
  302. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
  303. package/Source/Systems/EventTicketing.meta +1 -1
  304. package/Source/Systems/GraphQL/GraphQLResult.cs +8 -48
  305. package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
  306. package/Source/Systems/GraphQL/GraphQLSystem.cs +4 -24
  307. package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
  308. package/Source/Systems/GraphQL.meta +1 -1
  309. package/Source/Systems/HTTPHeadersResult.cs +4 -24
  310. package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
  311. package/Source/Systems/HotspotSequence/HotspotGroup.cs +12 -72
  312. package/Source/Systems/HotspotSequence/HotspotGroup.cs.meta +1 -1
  313. package/Source/Systems/HotspotSequence/HotspotGroupResult.cs +4 -24
  314. package/Source/Systems/HotspotSequence/HotspotGroupResult.cs.meta +1 -1
  315. package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs +4 -24
  316. package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs.meta +1 -1
  317. package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs +22 -100
  318. package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs.meta +1 -1
  319. package/Source/Systems/HotspotSequence.meta +1 -1
  320. package/Source/Systems/Log/LogLevel.cs.meta +1 -1
  321. package/Source/Systems/Log/LogSystem.cs +24 -144
  322. package/Source/Systems/Log/LogSystem.cs.meta +1 -1
  323. package/Source/Systems/Log.meta +1 -1
  324. package/Source/Systems/Maintenance/MaintenanceInfo.cs +18 -108
  325. package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
  326. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs +10 -60
  327. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
  328. package/Source/Systems/Maintenance/MaintenanceSystem.cs +2 -12
  329. package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
  330. package/Source/Systems/Maintenance.meta +1 -1
  331. package/Source/Systems/NullResult.cs +2 -12
  332. package/Source/Systems/NullResult.cs.meta +1 -1
  333. package/Source/Systems/Organizations/EOrganizationRole.cs.meta +1 -1
  334. package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs +16 -96
  335. package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs.meta +1 -1
  336. package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs +12 -72
  337. package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs.meta +1 -1
  338. package/Source/Systems/Organizations/Organization.cs +34 -204
  339. package/Source/Systems/Organizations/Organization.cs.meta +1 -1
  340. package/Source/Systems/Organizations/OrganizationResult.cs +4 -24
  341. package/Source/Systems/Organizations/OrganizationResult.cs.meta +1 -1
  342. package/Source/Systems/Organizations/OrganizationRoleInfo.cs +12 -72
  343. package/Source/Systems/Organizations/OrganizationRoleInfo.cs.meta +1 -1
  344. package/Source/Systems/Organizations/OrganizationRolesResult.cs +4 -24
  345. package/Source/Systems/Organizations/OrganizationRolesResult.cs.meta +1 -1
  346. package/Source/Systems/Organizations/OrganizationSystem.cs +22 -132
  347. package/Source/Systems/Organizations/OrganizationSystem.cs.meta +1 -1
  348. package/Source/Systems/Organizations.meta +1 -1
  349. package/Source/Systems/Quota/FeatureLimitInfo.cs +16 -96
  350. package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
  351. package/Source/Systems/Quota/FeatureLimitResult.cs +4 -24
  352. package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
  353. package/Source/Systems/Quota/FeatureQuotaInfo.cs +20 -120
  354. package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
  355. package/Source/Systems/Quota/FeatureQuotaResult.cs +4 -24
  356. package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
  357. package/Source/Systems/Quota/FeaturesLimitResult.cs +4 -24
  358. package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
  359. package/Source/Systems/Quota/FeaturesQuotaResult.cs +4 -24
  360. package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
  361. package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
  362. package/Source/Systems/Quota/QuotaSystem.cs +16 -96
  363. package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
  364. package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
  365. package/Source/Systems/Quota/TierNames.cs.meta +1 -1
  366. package/Source/Systems/Quota/UserTierInfo.cs +16 -96
  367. package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
  368. package/Source/Systems/Quota/UserTierResult.cs +4 -24
  369. package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
  370. package/Source/Systems/Quota.meta +1 -1
  371. package/Source/Systems/ResultBase.cs +16 -96
  372. package/Source/Systems/ResultBase.cs.meta +1 -1
  373. package/Source/Systems/Script/ScriptSystem.cs +8 -48
  374. package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
  375. package/Source/Systems/Script.meta +1 -1
  376. package/Source/Systems/Sequence/Sequence.cs +24 -144
  377. package/Source/Systems/Sequence/Sequence.cs.meta +1 -1
  378. package/Source/Systems/Sequence/SequenceResult.cs +4 -24
  379. package/Source/Systems/Sequence/SequenceResult.cs.meta +1 -1
  380. package/Source/Systems/Sequence/SequenceSystem.cs +19 -72
  381. package/Source/Systems/Sequence/SequenceSystem.cs.meta +1 -1
  382. package/Source/Systems/Sequence/SequencesResult.cs +4 -24
  383. package/Source/Systems/Sequence/SequencesResult.cs.meta +1 -1
  384. package/Source/Systems/Sequence.meta +1 -1
  385. package/Source/Systems/Settings/AvatarInfoResult.cs +6 -36
  386. package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
  387. package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
  388. package/Source/Systems/Settings/SettingsCollection.cs +16 -96
  389. package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
  390. package/Source/Systems/Settings/SettingsCollectionResult.cs +4 -24
  391. package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
  392. package/Source/Systems/Settings/SettingsSystem.cs +32 -192
  393. package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
  394. package/Source/Systems/Settings.meta +1 -1
  395. package/Source/Systems/Spaces/BasicSpace.cs +20 -120
  396. package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
  397. package/Source/Systems/Spaces/BasicSpaceResult.cs +4 -24
  398. package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
  399. package/Source/Systems/Spaces/BasicSpacesResult.cs +6 -36
  400. package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
  401. package/Source/Systems/Spaces/InviteUserRoleInfo.cs +14 -84
  402. package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
  403. package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs +18 -108
  404. package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
  405. package/Source/Systems/Spaces/PendingInvitesResult.cs +4 -24
  406. package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
  407. package/Source/Systems/Spaces/Site.cs +24 -144
  408. package/Source/Systems/Spaces/Site.cs.meta +1 -1
  409. package/Source/Systems/Spaces/SiteResult.cs +4 -24
  410. package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
  411. package/Source/Systems/Spaces/SitesCollectionResult.cs +4 -24
  412. package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
  413. package/Source/Systems/Spaces/Space.cs +34 -204
  414. package/Source/Systems/Spaces/Space.cs.meta +1 -1
  415. package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
  416. package/Source/Systems/Spaces/SpaceGeoLocation.cs +20 -120
  417. package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
  418. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs +6 -36
  419. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
  420. package/Source/Systems/Spaces/SpaceMetadataResult.cs +4 -24
  421. package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
  422. package/Source/Systems/Spaces/SpaceResult.cs +6 -36
  423. package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
  424. package/Source/Systems/Spaces/SpaceSystem.cs +139 -408
  425. package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
  426. package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
  427. package/Source/Systems/Spaces/SpacesMetadataResult.cs +4 -24
  428. package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
  429. package/Source/Systems/Spaces/SpacesResult.cs +4 -24
  430. package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
  431. package/Source/Systems/Spaces/UserRoleCollectionResult.cs +4 -24
  432. package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
  433. package/Source/Systems/Spaces/UserRoleInfo.cs +14 -84
  434. package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
  435. package/Source/Systems/Spaces.meta +1 -1
  436. package/Source/Systems/Spatial/Anchor.cs +56 -336
  437. package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
  438. package/Source/Systems/Spatial/AnchorCollectionResult.cs +4 -24
  439. package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
  440. package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
  441. package/Source/Systems/Spatial/AnchorResolution.cs +28 -168
  442. package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
  443. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs +4 -24
  444. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
  445. package/Source/Systems/Spatial/AnchorResolutionResult.cs +4 -24
  446. package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
  447. package/Source/Systems/Spatial/AnchorResult.cs +4 -24
  448. package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
  449. package/Source/Systems/Spatial/AnchorSystem.cs +14 -84
  450. package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
  451. package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
  452. package/Source/Systems/Spatial/GeoLocation.cs +16 -96
  453. package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
  454. package/Source/Systems/Spatial/OlyAnchorPosition.cs +18 -108
  455. package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
  456. package/Source/Systems/Spatial/OlyRotation.cs +22 -132
  457. package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
  458. package/Source/Systems/Spatial/POICollectionResult.cs +4 -24
  459. package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
  460. package/Source/Systems/Spatial/POIResult.cs +4 -24
  461. package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
  462. package/Source/Systems/Spatial/PointOfInterest.cs +52 -312
  463. package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
  464. package/Source/Systems/Spatial/PointOfInterestSystem.cs +6 -36
  465. package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
  466. package/Source/Systems/Spatial.meta +1 -1
  467. package/Source/Systems/StringArrayResult.cs +4 -24
  468. package/Source/Systems/StringArrayResult.cs.meta +1 -1
  469. package/Source/Systems/StringResult.cs +4 -24
  470. package/Source/Systems/StringResult.cs.meta +1 -1
  471. package/Source/Systems/SystemBase.cs +2 -12
  472. package/Source/Systems/SystemBase.cs.meta +1 -1
  473. package/Source/Systems/SystemsManager.cs +42 -252
  474. package/Source/Systems/SystemsManager.cs.meta +1 -1
  475. package/Source/Systems/UInt64Result.cs +4 -24
  476. package/Source/Systems/UInt64Result.cs.meta +1 -1
  477. package/Source/Systems/Users/AgoraUserTokenParams.cs +32 -192
  478. package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
  479. package/Source/Systems/Users/BasicProfile.cs +24 -144
  480. package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
  481. package/Source/Systems/Users/BasicProfilesResult.cs +4 -24
  482. package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
  483. package/Source/Systems/Users/ELoginState.cs.meta +1 -1
  484. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
  485. package/Source/Systems/Users/LoginState.cs +32 -192
  486. package/Source/Systems/Users/LoginState.cs.meta +1 -1
  487. package/Source/Systems/Users/LoginStateResult.cs +4 -24
  488. package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
  489. package/Source/Systems/Users/LoginTokenInfo.cs +20 -120
  490. package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
  491. package/Source/Systems/Users/LoginTokenInfoResult.cs +4 -24
  492. package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
  493. package/Source/Systems/Users/Profile.cs +36 -216
  494. package/Source/Systems/Users/Profile.cs.meta +1 -1
  495. package/Source/Systems/Users/ProfileResult.cs +4 -24
  496. package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
  497. package/Source/Systems/Users/ProviderDetailsResult.cs +8 -48
  498. package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
  499. package/Source/Systems/Users/ThirdPartyProviderDetails.cs +20 -120
  500. package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
  501. package/Source/Systems/Users/UserSystem.cs +48 -288
  502. package/Source/Systems/Users/UserSystem.cs.meta +1 -1
  503. package/Source/Systems/Users.meta +1 -1
  504. package/Source/Systems/Voip/VoipSystem.cs +4 -24
  505. package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
  506. package/Source/Systems/Voip.meta +1 -1
  507. package/Source/Systems.meta +1 -1
  508. package/Source/Web/EResponseCodes.cs.meta +1 -1
  509. package/Source/Web.meta +1 -1
  510. package/Source/WrapperHelper.cs.meta +1 -1
  511. package/Source.meta +1 -1
  512. package/android64/libConnectedSpacesPlatform.so +0 -0
  513. package/android64/libConnectedSpacesPlatform.so.meta +1 -1
  514. package/android64/libConnectedSpacesPlatform_D.so +0 -0
  515. package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
  516. package/android64.meta +1 -1
  517. package/ios/libConnectedSpacesPlatform.a +0 -0
  518. package/ios/libConnectedSpacesPlatform.a.meta +1 -1
  519. package/ios/libcrypto.a.meta +1 -1
  520. package/ios/libssl.a.meta +1 -1
  521. package/ios.meta +1 -1
  522. package/macosx/libConnectedSpacesPlatform.dylib +0 -0
  523. package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
  524. package/macosx.meta +1 -1
  525. package/package.json +1 -1
  526. package/package.json.meta +1 -1
  527. package/visionos/libConnectedSpacesPlatform.a +0 -0
  528. package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
  529. package/visionos/libcrypto.a.meta +1 -1
  530. package/visionos/libssl.a.meta +1 -1
  531. package/visionos.meta +1 -1
  532. package/windows/ConnectedSpacesPlatform.dll +0 -0
  533. package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
  534. package/windows/ConnectedSpacesPlatform_D.dll +0 -0
  535. package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
  536. package/windows.meta +1 -1
@@ -21,609 +21,251 @@ namespace Csp.Multiplayer
21
21
  #region P/Invoke
22
22
  #pragma warning disable IDE1006
23
23
 
24
- [
25
- DllImport(
26
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
27
- "__Internal"
28
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
29
- "ConnectedSpacesPlatform_D"
30
- #else
31
- "ConnectedSpacesPlatform"
32
- #endif
33
- ),
34
- SuppressUnmanagedCodeSecurity
35
- ]
24
+ [DllImport(Csp.Constants.DllName)]
25
+ [SuppressUnmanagedCodeSecurity]
36
26
  static extern void csp_multiplayer_SpaceEntity_SetUpdateCallback_void_UpdateCallback(
37
27
  IntPtr @class,
38
28
  SetUpdateCallbackCallbackDelegate callback,
39
29
  IntPtr callbackStateObject
40
30
  );
41
31
 
42
- [
43
- DllImport(
44
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
45
- "__Internal"
46
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
47
- "ConnectedSpacesPlatform_D"
48
- #else
49
- "ConnectedSpacesPlatform"
50
- #endif
51
- ),
52
- SuppressUnmanagedCodeSecurity
53
- ]
32
+ [DllImport(Csp.Constants.DllName)]
33
+ [SuppressUnmanagedCodeSecurity]
54
34
  static extern void csp_multiplayer_SpaceEntity_SetDestroyCallback_void_DestroyCallback(
55
35
  IntPtr @class,
56
36
  SetDestroyCallbackCallbackDelegate callback,
57
37
  IntPtr callbackStateObject
58
38
  );
59
39
 
60
- [
61
- DllImport(
62
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
63
- "__Internal"
64
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
65
- "ConnectedSpacesPlatform_D"
66
- #else
67
- "ConnectedSpacesPlatform"
68
- #endif
69
- ),
70
- SuppressUnmanagedCodeSecurity
71
- ]
40
+ [DllImport(Csp.Constants.DllName)]
41
+ [SuppressUnmanagedCodeSecurity]
72
42
  static extern void csp_multiplayer_SpaceEntity_SetPatchSentCallback_void_CallbackHandler(
73
43
  IntPtr @class,
74
44
  SetPatchSentCallbackCallbackDelegate callback,
75
45
  IntPtr callbackStateObject
76
46
  );
77
47
 
78
- [
79
- DllImport(
80
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
81
- "__Internal"
82
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
83
- "ConnectedSpacesPlatform_D"
84
- #else
85
- "ConnectedSpacesPlatform"
86
- #endif
87
- ),
88
- SuppressUnmanagedCodeSecurity
89
- ]
48
+ [DllImport(Csp.Constants.DllName)]
49
+ [SuppressUnmanagedCodeSecurity]
90
50
  static extern NativePointer csp_multiplayer_SpaceEntity_Ctor();
91
51
 
92
- [
93
- DllImport(
94
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
95
- "__Internal"
96
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
97
- "ConnectedSpacesPlatform_D"
98
- #else
99
- "ConnectedSpacesPlatform"
100
- #endif
101
- ),
102
- SuppressUnmanagedCodeSecurity
103
- ]
52
+ [DllImport(Csp.Constants.DllName)]
53
+ [SuppressUnmanagedCodeSecurity]
104
54
  static extern NativePointer csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP(IntPtr InEntitySystem);
105
55
 
106
- [
107
- DllImport(
108
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
109
- "__Internal"
110
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
111
- "ConnectedSpacesPlatform_D"
112
- #else
113
- "ConnectedSpacesPlatform"
114
- #endif
115
- ),
116
- SuppressUnmanagedCodeSecurity
117
- ]
56
+ [DllImport(Csp.Constants.DllName)]
57
+ [SuppressUnmanagedCodeSecurity]
118
58
  static extern void csp_multiplayer_SpaceEntity_Dtor(IntPtr @class);
119
59
 
120
- [
121
- DllImport(
122
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
123
- "__Internal"
124
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
125
- "ConnectedSpacesPlatform_D"
126
- #else
127
- "ConnectedSpacesPlatform"
128
- #endif
129
- ),
130
- SuppressUnmanagedCodeSecurity
131
- ]
60
+ [DllImport(Csp.Constants.DllName)]
61
+ [SuppressUnmanagedCodeSecurity]
132
62
  static extern ulong csp_multiplayer_SpaceEntity_GetIdC_uint64_t(IntPtr @class);
133
63
 
134
- [
135
- DllImport(
136
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
137
- "__Internal"
138
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
139
- "ConnectedSpacesPlatform_D"
140
- #else
141
- "ConnectedSpacesPlatform"
142
- #endif
143
- ),
144
- SuppressUnmanagedCodeSecurity
145
- ]
64
+ [DllImport(Csp.Constants.DllName)]
65
+ [SuppressUnmanagedCodeSecurity]
146
66
  static extern ulong csp_multiplayer_SpaceEntity_GetOwnerIdC_uint64_t(IntPtr @class);
147
67
 
148
- [
149
- DllImport(
150
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
151
- "__Internal"
152
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
153
- "ConnectedSpacesPlatform_D"
154
- #else
155
- "ConnectedSpacesPlatform"
156
- #endif
157
- ),
158
- SuppressUnmanagedCodeSecurity
159
- ]
68
+ [DllImport(Csp.Constants.DllName)]
69
+ [SuppressUnmanagedCodeSecurity]
160
70
  static extern IntPtr csp_multiplayer_SpaceEntity_GetNameC_StringRC(IntPtr @class);
161
71
 
162
- [
163
- DllImport(
164
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
165
- "__Internal"
166
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
167
- "ConnectedSpacesPlatform_D"
168
- #else
169
- "ConnectedSpacesPlatform"
170
- #endif
171
- ),
172
- SuppressUnmanagedCodeSecurity
173
- ]
72
+ [DllImport(Csp.Constants.DllName)]
73
+ [SuppressUnmanagedCodeSecurity]
174
74
  static extern void csp_multiplayer_SpaceEntity_SetName_void_StringRC(IntPtr @class, IntPtr Value);
175
75
 
176
- [
177
- DllImport(
178
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
179
- "__Internal"
180
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
181
- "ConnectedSpacesPlatform_D"
182
- #else
183
- "ConnectedSpacesPlatform"
184
- #endif
185
- ),
186
- SuppressUnmanagedCodeSecurity
187
- ]
76
+ [DllImport(Csp.Constants.DllName)]
77
+ [SuppressUnmanagedCodeSecurity]
188
78
  static extern NativePointer csp_multiplayer_SpaceEntity_GetTransformC_SpaceTransformRC(IntPtr @class);
189
79
 
190
- [
191
- DllImport(
192
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
193
- "__Internal"
194
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
195
- "ConnectedSpacesPlatform_D"
196
- #else
197
- "ConnectedSpacesPlatform"
198
- #endif
199
- ),
200
- SuppressUnmanagedCodeSecurity
201
- ]
80
+ [DllImport(Csp.Constants.DllName)]
81
+ [SuppressUnmanagedCodeSecurity]
82
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetGlobalTransformC_SpaceTransform(IntPtr @class);
83
+
84
+ [DllImport(Csp.Constants.DllName)]
85
+ [SuppressUnmanagedCodeSecurity]
202
86
  static extern NativePointer csp_multiplayer_SpaceEntity_GetPositionC_Vector3RC(IntPtr @class);
203
87
 
204
- [
205
- DllImport(
206
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
207
- "__Internal"
208
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
209
- "ConnectedSpacesPlatform_D"
210
- #else
211
- "ConnectedSpacesPlatform"
212
- #endif
213
- ),
214
- SuppressUnmanagedCodeSecurity
215
- ]
88
+ [DllImport(Csp.Constants.DllName)]
89
+ [SuppressUnmanagedCodeSecurity]
90
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetGlobalPositionC_Vector3(IntPtr @class);
91
+
92
+ [DllImport(Csp.Constants.DllName)]
93
+ [SuppressUnmanagedCodeSecurity]
216
94
  static extern void csp_multiplayer_SpaceEntity_SetPosition_void_Vector3RC(IntPtr @class, IntPtr Value);
217
95
 
218
- [
219
- DllImport(
220
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
221
- "__Internal"
222
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
223
- "ConnectedSpacesPlatform_D"
224
- #else
225
- "ConnectedSpacesPlatform"
226
- #endif
227
- ),
228
- SuppressUnmanagedCodeSecurity
229
- ]
96
+ [DllImport(Csp.Constants.DllName)]
97
+ [SuppressUnmanagedCodeSecurity]
230
98
  static extern NativePointer csp_multiplayer_SpaceEntity_GetRotationC_Vector4RC(IntPtr @class);
231
99
 
232
- [
233
- DllImport(
234
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
235
- "__Internal"
236
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
237
- "ConnectedSpacesPlatform_D"
238
- #else
239
- "ConnectedSpacesPlatform"
240
- #endif
241
- ),
242
- SuppressUnmanagedCodeSecurity
243
- ]
100
+ [DllImport(Csp.Constants.DllName)]
101
+ [SuppressUnmanagedCodeSecurity]
102
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetGlobalRotationC_Vector4(IntPtr @class);
103
+
104
+ [DllImport(Csp.Constants.DllName)]
105
+ [SuppressUnmanagedCodeSecurity]
244
106
  static extern void csp_multiplayer_SpaceEntity_SetRotation_void_Vector4RC(IntPtr @class, IntPtr Value);
245
107
 
246
- [
247
- DllImport(
248
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
249
- "__Internal"
250
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
251
- "ConnectedSpacesPlatform_D"
252
- #else
253
- "ConnectedSpacesPlatform"
254
- #endif
255
- ),
256
- SuppressUnmanagedCodeSecurity
257
- ]
108
+ [DllImport(Csp.Constants.DllName)]
109
+ [SuppressUnmanagedCodeSecurity]
258
110
  static extern NativePointer csp_multiplayer_SpaceEntity_GetScaleC_Vector3RC(IntPtr @class);
259
111
 
260
- [
261
- DllImport(
262
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
263
- "__Internal"
264
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
265
- "ConnectedSpacesPlatform_D"
266
- #else
267
- "ConnectedSpacesPlatform"
268
- #endif
269
- ),
270
- SuppressUnmanagedCodeSecurity
271
- ]
112
+ [DllImport(Csp.Constants.DllName)]
113
+ [SuppressUnmanagedCodeSecurity]
114
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetGlobalScaleC_Vector3(IntPtr @class);
115
+
116
+ [DllImport(Csp.Constants.DllName)]
117
+ [SuppressUnmanagedCodeSecurity]
272
118
  static extern void csp_multiplayer_SpaceEntity_SetScale_void_Vector3RC(IntPtr @class, IntPtr Value);
273
119
 
274
- [
275
- DllImport(
276
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
277
- "__Internal"
278
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
279
- "ConnectedSpacesPlatform_D"
280
- #else
281
- "ConnectedSpacesPlatform"
282
- #endif
283
- ),
284
- SuppressUnmanagedCodeSecurity
285
- ]
120
+ [DllImport(Csp.Constants.DllName)]
121
+ [SuppressUnmanagedCodeSecurity]
286
122
  static extern bool csp_multiplayer_SpaceEntity_GetIsTransientC_bool(IntPtr @class);
287
123
 
288
- [
289
- DllImport(
290
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
291
- "__Internal"
292
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
293
- "ConnectedSpacesPlatform_D"
294
- #else
295
- "ConnectedSpacesPlatform"
296
- #endif
297
- ),
298
- SuppressUnmanagedCodeSecurity
299
- ]
124
+ [DllImport(Csp.Constants.DllName)]
125
+ [SuppressUnmanagedCodeSecurity]
300
126
  static extern IntPtr csp_multiplayer_SpaceEntity_GetThirdPartyRefC_StringRC(IntPtr @class);
301
127
 
302
- [
303
- DllImport(
304
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
305
- "__Internal"
306
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
307
- "ConnectedSpacesPlatform_D"
308
- #else
309
- "ConnectedSpacesPlatform"
310
- #endif
311
- ),
312
- SuppressUnmanagedCodeSecurity
313
- ]
128
+ [DllImport(Csp.Constants.DllName)]
129
+ [SuppressUnmanagedCodeSecurity]
314
130
  static extern void csp_multiplayer_SpaceEntity_SetThirdPartyRef_void_StringRC(
315
131
  IntPtr @class,
316
132
  IntPtr InThirdPartyRef
317
133
  );
318
134
 
319
- [
320
- DllImport(
321
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
322
- "__Internal"
323
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
324
- "ConnectedSpacesPlatform_D"
325
- #else
326
- "ConnectedSpacesPlatform"
327
- #endif
328
- ),
329
- SuppressUnmanagedCodeSecurity
330
- ]
135
+ [DllImport(Csp.Constants.DllName)]
136
+ [SuppressUnmanagedCodeSecurity]
331
137
  static extern Csp.Systems.EThirdPartyPlatform csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatformC(
332
138
  IntPtr @class
333
139
  );
334
140
 
335
- [
336
- DllImport(
337
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
338
- "__Internal"
339
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
340
- "ConnectedSpacesPlatform_D"
341
- #else
342
- "ConnectedSpacesPlatform"
343
- #endif
344
- ),
345
- SuppressUnmanagedCodeSecurity
346
- ]
141
+ [DllImport(Csp.Constants.DllName)]
142
+ [SuppressUnmanagedCodeSecurity]
347
143
  static extern void csp_multiplayer_SpaceEntity_SetThirdPartyPlatformType_void_EThirdPartyPlatformC(
348
144
  IntPtr @class,
349
145
  Csp.Systems.EThirdPartyPlatform InThirdPartyPlatformType
350
146
  );
351
147
 
352
- [
353
- DllImport(
354
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
355
- "__Internal"
356
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
357
- "ConnectedSpacesPlatform_D"
358
- #else
359
- "ConnectedSpacesPlatform"
360
- #endif
361
- ),
362
- SuppressUnmanagedCodeSecurity
363
- ]
148
+ [DllImport(Csp.Constants.DllName)]
149
+ [SuppressUnmanagedCodeSecurity]
364
150
  static extern Csp.Multiplayer.SpaceEntityType csp_multiplayer_SpaceEntity_GetEntityTypeC_SpaceEntityType(
365
151
  IntPtr @class
366
152
  );
367
153
 
368
- [
369
- DllImport(
370
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
371
- "__Internal"
372
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
373
- "ConnectedSpacesPlatform_D"
374
- #else
375
- "ConnectedSpacesPlatform"
376
- #endif
377
- ),
378
- SuppressUnmanagedCodeSecurity
379
- ]
154
+ [DllImport(Csp.Constants.DllName)]
155
+ [SuppressUnmanagedCodeSecurity]
380
156
  static extern NativePointer csp_multiplayer_SpaceEntity_GetSpaceEntitySystem_SpaceEntitySystemP(IntPtr @class);
381
157
 
382
- [
383
- DllImport(
384
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
385
- "__Internal"
386
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
387
- "ConnectedSpacesPlatform_D"
388
- #else
389
- "ConnectedSpacesPlatform"
390
- #endif
391
- ),
392
- SuppressUnmanagedCodeSecurity
393
- ]
158
+ [DllImport(Csp.Constants.DllName)]
159
+ [SuppressUnmanagedCodeSecurity]
160
+ static extern void csp_multiplayer_SpaceEntity_SetParentId_void_uint64_t(IntPtr @class, ulong ParentId);
161
+
162
+ [DllImport(Csp.Constants.DllName)]
163
+ [SuppressUnmanagedCodeSecurity]
164
+ static extern void csp_multiplayer_SpaceEntity_RemoveParentEntity_void(IntPtr @class);
165
+
166
+ [DllImport(Csp.Constants.DllName)]
167
+ [SuppressUnmanagedCodeSecurity]
168
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetParentEntityC_SpaceEntityP(IntPtr @class);
169
+
170
+ [DllImport(Csp.Constants.DllName)]
171
+ [SuppressUnmanagedCodeSecurity]
172
+ static extern void csp_multiplayer_SpaceEntity_CreateChildEntity_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
173
+ IntPtr @class,
174
+ string InName,
175
+ IntPtr InSpaceTransform,
176
+ CreateChildEntityCallbackDelegate callback,
177
+ IntPtr callbackStateObject
178
+ );
179
+
180
+ [DllImport(Csp.Constants.DllName)]
181
+ [SuppressUnmanagedCodeSecurity]
182
+ static extern NativePointer csp_multiplayer_SpaceEntity_GetChildEntitiesC_ListPC(IntPtr @class);
183
+
184
+ [DllImport(Csp.Constants.DllName)]
185
+ [SuppressUnmanagedCodeSecurity]
394
186
  static extern void csp_multiplayer_SpaceEntity_QueueUpdate_void(IntPtr @class);
395
187
 
396
- [
397
- DllImport(
398
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
399
- "__Internal"
400
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
401
- "ConnectedSpacesPlatform_D"
402
- #else
403
- "ConnectedSpacesPlatform"
404
- #endif
405
- ),
406
- SuppressUnmanagedCodeSecurity
407
- ]
188
+ [DllImport(Csp.Constants.DllName)]
189
+ [SuppressUnmanagedCodeSecurity]
408
190
  static extern void csp_multiplayer_SpaceEntity_Destroy_void_CallbackHandler(
409
191
  IntPtr @class,
410
192
  DestroyCallbackDelegate callback,
411
193
  IntPtr callbackStateObject
412
194
  );
413
195
 
414
- [
415
- DllImport(
416
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
417
- "__Internal"
418
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
419
- "ConnectedSpacesPlatform_D"
420
- #else
421
- "ConnectedSpacesPlatform"
422
- #endif
423
- ),
424
- SuppressUnmanagedCodeSecurity
425
- ]
196
+ [DllImport(Csp.Constants.DllName)]
197
+ [SuppressUnmanagedCodeSecurity]
426
198
  static extern NativePointer csp_multiplayer_SpaceEntity_GetComponentsC_MapPC(IntPtr @class);
427
199
 
428
- [
429
- DllImport(
430
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
431
- "__Internal"
432
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
433
- "ConnectedSpacesPlatform_D"
434
- #else
435
- "ConnectedSpacesPlatform"
436
- #endif
437
- ),
438
- SuppressUnmanagedCodeSecurity
439
- ]
200
+ [DllImport(Csp.Constants.DllName)]
201
+ [SuppressUnmanagedCodeSecurity]
440
202
  static extern NativePointer csp_multiplayer_SpaceEntity_GetComponent_ComponentBaseP_uint16_t(
441
203
  IntPtr @class,
442
204
  ushort Key
443
205
  );
444
206
 
445
- [
446
- DllImport(
447
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
448
- "__Internal"
449
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
450
- "ConnectedSpacesPlatform_D"
451
- #else
452
- "ConnectedSpacesPlatform"
453
- #endif
454
- ),
455
- SuppressUnmanagedCodeSecurity
456
- ]
207
+ [DllImport(Csp.Constants.DllName)]
208
+ [SuppressUnmanagedCodeSecurity]
457
209
  static extern NativePointer csp_multiplayer_SpaceEntity_AddComponent_ComponentBaseP_ComponentType(
458
210
  IntPtr @class,
459
211
  Csp.Multiplayer.ComponentType Type
460
212
  );
461
213
 
462
- [
463
- DllImport(
464
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
465
- "__Internal"
466
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
467
- "ConnectedSpacesPlatform_D"
468
- #else
469
- "ConnectedSpacesPlatform"
470
- #endif
471
- ),
472
- SuppressUnmanagedCodeSecurity
473
- ]
214
+ [DllImport(Csp.Constants.DllName)]
215
+ [SuppressUnmanagedCodeSecurity]
474
216
  static extern void csp_multiplayer_SpaceEntity_RemoveComponent_void_uint16_t(IntPtr @class, ushort Key);
475
217
 
476
- [
477
- DllImport(
478
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
479
- "__Internal"
480
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
481
- "ConnectedSpacesPlatform_D"
482
- #else
483
- "ConnectedSpacesPlatform"
484
- #endif
485
- ),
486
- SuppressUnmanagedCodeSecurity
487
- ]
218
+ [DllImport(Csp.Constants.DllName)]
219
+ [SuppressUnmanagedCodeSecurity]
488
220
  static extern void csp_multiplayer_SpaceEntity_SerialisePatchC_void_IEntitySerialiserR(
489
221
  IntPtr @class,
490
222
  IntPtr Serialiser
491
223
  );
492
224
 
493
- [
494
- DllImport(
495
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
496
- "__Internal"
497
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
498
- "ConnectedSpacesPlatform_D"
499
- #else
500
- "ConnectedSpacesPlatform"
501
- #endif
502
- ),
503
- SuppressUnmanagedCodeSecurity
504
- ]
225
+ [DllImport(Csp.Constants.DllName)]
226
+ [SuppressUnmanagedCodeSecurity]
505
227
  static extern void csp_multiplayer_SpaceEntity_Serialise_void_IEntitySerialiserR(
506
228
  IntPtr @class,
507
229
  IntPtr Serialiser
508
230
  );
509
231
 
510
- [
511
- DllImport(
512
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
513
- "__Internal"
514
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
515
- "ConnectedSpacesPlatform_D"
516
- #else
517
- "ConnectedSpacesPlatform"
518
- #endif
519
- ),
520
- SuppressUnmanagedCodeSecurity
521
- ]
232
+ [DllImport(Csp.Constants.DllName)]
233
+ [SuppressUnmanagedCodeSecurity]
522
234
  static extern void csp_multiplayer_SpaceEntity_SerialiseComponentC_void_IEntitySerialiserR_ComponentBaseP(
523
235
  IntPtr @class,
524
236
  IntPtr Serialiser,
525
237
  IntPtr Component
526
238
  );
527
239
 
528
- [
529
- DllImport(
530
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
531
- "__Internal"
532
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
533
- "ConnectedSpacesPlatform_D"
534
- #else
535
- "ConnectedSpacesPlatform"
536
- #endif
537
- ),
538
- SuppressUnmanagedCodeSecurity
539
- ]
240
+ [DllImport(Csp.Constants.DllName)]
241
+ [SuppressUnmanagedCodeSecurity]
540
242
  static extern void csp_multiplayer_SpaceEntity_Deserialise_void_IEntityDeserialiserR(
541
243
  IntPtr @class,
542
244
  IntPtr Deserialiser
543
245
  );
544
246
 
545
- [
546
- DllImport(
547
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
548
- "__Internal"
549
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
550
- "ConnectedSpacesPlatform_D"
551
- #else
552
- "ConnectedSpacesPlatform"
553
- #endif
554
- ),
555
- SuppressUnmanagedCodeSecurity
556
- ]
247
+ [DllImport(Csp.Constants.DllName)]
248
+ [SuppressUnmanagedCodeSecurity]
557
249
  static extern NativePointer csp_multiplayer_SpaceEntity_GetScript_EntityScriptP(IntPtr @class);
558
250
 
559
- [
560
- DllImport(
561
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
562
- "__Internal"
563
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
564
- "ConnectedSpacesPlatform_D"
565
- #else
566
- "ConnectedSpacesPlatform"
567
- #endif
568
- ),
569
- SuppressUnmanagedCodeSecurity
570
- ]
251
+ [DllImport(Csp.Constants.DllName)]
252
+ [SuppressUnmanagedCodeSecurity]
571
253
  static extern bool csp_multiplayer_SpaceEntity_IsSelectedC_bool(IntPtr @class);
572
254
 
573
- [
574
- DllImport(
575
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
576
- "__Internal"
577
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
578
- "ConnectedSpacesPlatform_D"
579
- #else
580
- "ConnectedSpacesPlatform"
581
- #endif
582
- ),
583
- SuppressUnmanagedCodeSecurity
584
- ]
255
+ [DllImport(Csp.Constants.DllName)]
256
+ [SuppressUnmanagedCodeSecurity]
585
257
  static extern ulong csp_multiplayer_SpaceEntity_GetSelectingClientIDC_uint64_t(IntPtr @class);
586
258
 
587
- [
588
- DllImport(
589
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
590
- "__Internal"
591
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
592
- "ConnectedSpacesPlatform_D"
593
- #else
594
- "ConnectedSpacesPlatform"
595
- #endif
596
- ),
597
- SuppressUnmanagedCodeSecurity
598
- ]
259
+ [DllImport(Csp.Constants.DllName)]
260
+ [SuppressUnmanagedCodeSecurity]
599
261
  static extern bool csp_multiplayer_SpaceEntity_Select_bool(IntPtr @class);
600
262
 
601
- [
602
- DllImport(
603
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
604
- "__Internal"
605
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
606
- "ConnectedSpacesPlatform_D"
607
- #else
608
- "ConnectedSpacesPlatform"
609
- #endif
610
- ),
611
- SuppressUnmanagedCodeSecurity
612
- ]
263
+ [DllImport(Csp.Constants.DllName)]
264
+ [SuppressUnmanagedCodeSecurity]
613
265
  static extern bool csp_multiplayer_SpaceEntity_Deselect_bool(IntPtr @class);
614
266
 
615
- [
616
- DllImport(
617
- #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
618
- "__Internal"
619
- #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
620
- "ConnectedSpacesPlatform_D"
621
- #else
622
- "ConnectedSpacesPlatform"
623
- #endif
624
- ),
625
- SuppressUnmanagedCodeSecurity
626
- ]
267
+ [DllImport(Csp.Constants.DllName)]
268
+ [SuppressUnmanagedCodeSecurity]
627
269
  static extern bool csp_multiplayer_SpaceEntity_IsModifiable_bool(IntPtr @class);
628
270
 
629
271
  #pragma warning restore IDE1006
@@ -631,6 +273,8 @@ namespace Csp.Multiplayer
631
273
 
632
274
  internal SpaceEntity(NativePointer ptr) : base(ptr) { }
633
275
 
276
+ delegate void CreateChildEntityCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
277
+
634
278
  delegate void DestroyCallbackDelegate(IntPtr _StateObject__, bool arg1);
635
279
 
636
280
  delegate void SetUpdateCallbackCallbackDelegate(
@@ -866,6 +510,19 @@ namespace Csp.Multiplayer
866
510
  return _result;
867
511
  }
868
512
 
513
+ /// <summary>Get the Global SpaceTransform of the SpaceEntity, derived from it's parent.</summary>
514
+ /// <returns>SpaceTransform.</returns>
515
+
516
+
517
+ public Csp.Multiplayer.SpaceTransform GetGlobalTransform()
518
+ {
519
+ var _result = new Csp.Multiplayer.SpaceTransform(
520
+ csp_multiplayer_SpaceEntity_GetGlobalTransformC_SpaceTransform(_ptr)
521
+ );
522
+
523
+ return _result;
524
+ }
525
+
869
526
  /// <summary>Get the position of the SpaceEntity, in world space.</summary>
870
527
  /// <returns>Position.</returns>
871
528
 
@@ -877,6 +534,17 @@ namespace Csp.Multiplayer
877
534
  return _result;
878
535
  }
879
536
 
537
+ /// <summary>Get the Global position of the SpaceEntity, in world space, derived from it's parent.</summary>
538
+ /// <returns>Position.</returns>
539
+
540
+
541
+ public Csp.Common.Vector3 GetGlobalPosition()
542
+ {
543
+ var _result = new Csp.Common.Vector3(csp_multiplayer_SpaceEntity_GetGlobalPositionC_Vector3(_ptr));
544
+
545
+ return _result;
546
+ }
547
+
880
548
  /// <summary>Set the position of the SpaceEntity, in world space.</summary>
881
549
  /// <param name="Value">The position to set.</param>
882
550
 
@@ -897,6 +565,17 @@ namespace Csp.Multiplayer
897
565
  return _result;
898
566
  }
899
567
 
568
+ /// <summary>Get the Global rotation of the SpaceEntity, derived from it's parent.</summary>
569
+ /// <returns>Rotation.</returns>
570
+
571
+
572
+ public Csp.Common.Vector4 GetGlobalRotation()
573
+ {
574
+ var _result = new Csp.Common.Vector4(csp_multiplayer_SpaceEntity_GetGlobalRotationC_Vector4(_ptr));
575
+
576
+ return _result;
577
+ }
578
+
900
579
  /// <summary>Set the rotation of the SpaceEntity.</summary>
901
580
  /// <param name="Value">The rotation to set.</param>
902
581
 
@@ -917,6 +596,17 @@ namespace Csp.Multiplayer
917
596
  return _result;
918
597
  }
919
598
 
599
+ /// <summary>Get the Global scale of the SpaceEntity, derived from it's parent.</summary>
600
+ /// <returns>Scale.</returns>
601
+
602
+
603
+ public Csp.Common.Vector3 GetGlobalScale()
604
+ {
605
+ var _result = new Csp.Common.Vector3(csp_multiplayer_SpaceEntity_GetGlobalScaleC_Vector3(_ptr));
606
+
607
+ return _result;
608
+ }
609
+
920
610
  /// <summary>Set the scale of the SpaceEntity.</summary>
921
611
  /// <param name="Value">The scale to set.</param>
922
612
 
@@ -1010,6 +700,93 @@ namespace Csp.Multiplayer
1010
700
  return _result;
1011
701
  }
1012
702
 
703
+ /// <summary>Sets the parent for this entity</summary>
704
+ /// <remarks>QueueUpdate() should be called afterwards to enable changes to the parent.</remarks>
705
+ /// <param name="ParentId">Uint64_t the new parent id of this entity.</param>
706
+
707
+
708
+ public void SetParentId(ulong ParentId)
709
+ {
710
+ csp_multiplayer_SpaceEntity_SetParentId_void_uint64_t(_ptr, ParentId);
711
+ }
712
+
713
+ /// <summary>Removes the parent entity</summary>
714
+ /// <remarks>QueueUpdate() should be called afterwards to enable changes to the parent.</remarks>
715
+
716
+
717
+ public void RemoveParentEntity()
718
+ {
719
+ csp_multiplayer_SpaceEntity_RemoveParentEntity_void(_ptr);
720
+ }
721
+
722
+ /// <summary>Gets the parent of this entity</summary>
723
+ /// <returns>SpaceEntity</returns>
724
+
725
+
726
+ public Csp.Multiplayer.SpaceEntity GetParentEntity()
727
+ {
728
+ var _result = new Csp.Multiplayer.SpaceEntity(
729
+ csp_multiplayer_SpaceEntity_GetParentEntityC_SpaceEntityP(_ptr)
730
+ );
731
+
732
+ return _result;
733
+ }
734
+
735
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
736
+ [AOT.MonoPInvokeCallback (typeof (CreateChildEntityCallbackDelegate))]
737
+ #endif
738
+ static void CreateChildEntityCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
739
+ {
740
+ var _handle = (GCHandle)_StateObject__;
741
+ var tcs = (TaskCompletionSource<Csp.Multiplayer.SpaceEntity>)_handle.Target;
742
+ var _this = (SpaceEntity)tcs.Task.AsyncState;
743
+
744
+ var task_result = new Csp.Multiplayer.SpaceEntity(_arg1);
745
+
746
+ tcs.SetResult(task_result);
747
+ _handle.Free();
748
+ }
749
+
750
+ static readonly CreateChildEntityCallbackDelegate CreateChildEntityDelegateInstance =
751
+ CreateChildEntityCallbackDelegateFunction;
752
+
753
+ /// <summary>Create a new entity with this entity as it's parent</summary>
754
+ /// <param name="InName">The name to give the new SpaceEntity.</param>
755
+ /// <param name="InSpaceTransform">The initial transform to set the SpaceEntity to.</param>
756
+ /// <param name="Callback">A callback that executes when the creation is complete,</param>
757
+ /// <returns>The result for the request</returns>
758
+
759
+ public Task<Csp.Multiplayer.SpaceEntity> CreateChildEntity(
760
+ string InName,
761
+ Csp.Multiplayer.SpaceTransform InSpaceTransform
762
+ ) {
763
+ var tcs = new TaskCompletionSource<Csp.Multiplayer.SpaceEntity>(this);
764
+ var handle = GCHandle.Alloc(tcs);
765
+
766
+ csp_multiplayer_SpaceEntity_CreateChildEntity_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
767
+ _ptr,
768
+ InName,
769
+ InSpaceTransform._ptr,
770
+ CreateChildEntityDelegateInstance,
771
+ (IntPtr)handle
772
+ );
773
+
774
+ return tcs.Task;
775
+ }
776
+
777
+ /// <summary>Gets the children of this entity</summary>
778
+ /// <returns>Csp::common::list&lt;spaceentity&gt;</returns>
779
+
780
+
781
+ public Csp.Common.List<Csp.Multiplayer.SpaceEntity> GetChildEntities()
782
+ {
783
+ var _result = new Csp.Common.List<Csp.Multiplayer.SpaceEntity>(
784
+ csp_multiplayer_SpaceEntity_GetChildEntitiesC_ListPC(_ptr)
785
+ );
786
+
787
+ return _result;
788
+ }
789
+
1013
790
  /// <summary>Queues an update which will be executed on next Tick() or ProcessPendingEntityOperations(). Not a blocking or async function.</summary>
1014
791
 
1015
792