connected-spaces-platform.unity.core 5.7.0 → 5.8.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 (377) hide show
  1. package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
  2. package/Editor.meta +1 -1
  3. package/README.md +1 -1
  4. package/README.md.meta +1 -1
  5. package/Source/CSPFoundation.cs.meta +1 -1
  6. package/Source/ClientUserAgent.cs.meta +1 -1
  7. package/Source/Common/Array.cs.meta +1 -1
  8. package/Source/Common/CancellationToken.cs.meta +1 -1
  9. package/Source/Common/FileExtensions.cs.meta +1 -1
  10. package/Source/Common/List.cs.meta +1 -1
  11. package/Source/Common/Map.cs.meta +1 -1
  12. package/Source/Common/MimeTypeHelper.cs.meta +1 -1
  13. package/Source/Common/MimeTypes.cs.meta +1 -1
  14. package/Source/Common/Variant.cs.meta +1 -1
  15. package/Source/Common/VariantType.cs.meta +1 -1
  16. package/Source/Common/Vector2.cs.meta +1 -1
  17. package/Source/Common/Vector3.cs.meta +1 -1
  18. package/Source/Common/Vector4.cs.meta +1 -1
  19. package/Source/Common.meta +1 -1
  20. package/Source/Constants.cs.meta +1 -1
  21. package/Source/Csp.cs.meta +1 -1
  22. package/Source/EThirdPartyPlatform.cs.meta +1 -1
  23. package/Source/EndpointURIs.cs.meta +1 -1
  24. package/Source/Il2cppPreserver.cs.meta +1 -1
  25. package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
  26. package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
  27. package/Source/Multiplayer/ComponentType.cs.meta +1 -1
  28. package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
  29. package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
  30. package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
  31. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs +1 -0
  32. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
  33. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +65 -0
  34. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
  35. package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
  36. package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
  37. package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
  38. package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
  39. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
  40. package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
  41. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
  42. package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
  43. package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
  44. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
  45. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
  46. package/Source/Multiplayer/Components/CinematicCameraPropertyKeys.cs.meta +1 -1
  47. package/Source/Multiplayer/Components/CinematicCameraSpaceComponent.cs.meta +1 -1
  48. package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
  49. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
  50. package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
  51. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
  52. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
  53. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
  54. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
  55. package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
  56. package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
  57. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
  58. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
  59. package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
  60. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
  61. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
  62. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
  63. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
  64. package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
  65. package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
  66. package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
  67. package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
  68. package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
  69. package/Source/Multiplayer/Components/HotspotPropertyKeys.cs.meta +1 -1
  70. package/Source/Multiplayer/Components/HotspotSpaceComponent.cs.meta +1 -1
  71. package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
  72. package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
  73. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
  74. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
  75. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
  76. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
  77. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
  78. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
  79. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
  80. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
  81. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
  82. package/Source/Multiplayer/Components/Interfaces.meta +1 -1
  83. package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
  84. package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
  85. package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
  86. package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
  87. package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
  88. package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
  89. package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
  90. package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
  91. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
  92. package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
  93. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
  94. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
  95. package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
  96. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
  97. package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
  98. package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
  99. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs +1 -0
  100. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
  101. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +63 -0
  102. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
  103. package/Source/Multiplayer/Components/TextPropertyKeys.cs.meta +1 -1
  104. package/Source/Multiplayer/Components/TextSpaceComponent.cs.meta +1 -1
  105. package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
  106. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
  107. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
  108. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
  109. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
  110. package/Source/Multiplayer/Components.meta +1 -1
  111. package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
  112. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
  113. package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
  114. package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
  115. package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
  116. package/Source/Multiplayer/Conversation/ConversationSystem.cs +80 -3
  117. package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
  118. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
  119. package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
  120. package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
  121. package/Source/Multiplayer/Conversation.meta +1 -1
  122. package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
  123. package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
  124. package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
  125. package/Source/Multiplayer/ESequenceUpdateType.cs.meta +1 -1
  126. package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
  127. package/Source/Multiplayer/EventBus.cs +222 -0
  128. package/Source/Multiplayer/EventBus.cs.meta +11 -0
  129. package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
  130. package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
  131. package/Source/Multiplayer/MaterialChangedParams.cs +124 -0
  132. package/Source/Multiplayer/MaterialChangedParams.cs.meta +11 -0
  133. package/Source/Multiplayer/MultiplayerConnection.cs +0 -410
  134. package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
  135. package/Source/Multiplayer/ReplicatedValue.cs +13 -13
  136. package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
  137. package/Source/Multiplayer/ReplicatedValueType.cs +1 -1
  138. package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
  139. package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
  140. package/Source/Multiplayer/Script.meta +1 -1
  141. package/Source/Multiplayer/SequenceChangedParams.cs.meta +1 -1
  142. package/Source/Multiplayer/SequenceHotspotChangedParams.cs.meta +1 -1
  143. package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
  144. package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
  145. package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
  146. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
  147. package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
  148. package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
  149. package/Source/Multiplayer.meta +1 -1
  150. package/Source/NativeClassWrapper.cs.meta +1 -1
  151. package/Source/ProgressEventArgs.cs.meta +1 -1
  152. package/Source/Ref.cs.meta +1 -1
  153. package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
  154. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
  155. package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
  156. package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
  157. package/Source/Systems/Analytics.meta +1 -1
  158. package/Source/Systems/Assets/Asset.cs.meta +1 -1
  159. package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
  160. package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
  161. package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
  162. package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
  163. package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
  164. package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
  165. package/Source/Systems/Assets/AssetSystem.cs +392 -0
  166. package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
  167. package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
  168. package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
  169. package/Source/Systems/Assets/EAlphaMode.cs +24 -0
  170. package/Source/Systems/Assets/EAlphaMode.cs.meta +11 -0
  171. package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
  172. package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
  173. package/Source/Systems/Assets/EAssetType.cs +1 -0
  174. package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
  175. package/Source/Systems/Assets/EShaderType.cs +21 -0
  176. package/Source/Systems/Assets/EShaderType.cs.meta +11 -0
  177. package/Source/Systems/Assets/ETextureResourceType.cs +24 -0
  178. package/Source/Systems/Assets/ETextureResourceType.cs.meta +11 -0
  179. package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
  180. package/Source/Systems/Assets/GLTFMaterial.cs +516 -0
  181. package/Source/Systems/Assets/GLTFMaterial.cs.meta +11 -0
  182. package/Source/Systems/Assets/GLTFMaterialResult.cs +83 -0
  183. package/Source/Systems/Assets/GLTFMaterialResult.cs.meta +11 -0
  184. package/Source/Systems/Assets/GLTFMaterialsResult.cs +83 -0
  185. package/Source/Systems/Assets/GLTFMaterialsResult.cs.meta +11 -0
  186. package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
  187. package/Source/Systems/Assets/LODChain.cs.meta +1 -1
  188. package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
  189. package/Source/Systems/Assets/Material.cs +149 -0
  190. package/Source/Systems/Assets/Material.cs.meta +11 -0
  191. package/Source/Systems/Assets/TextureInfo.cs +383 -0
  192. package/Source/Systems/Assets/TextureInfo.cs.meta +11 -0
  193. package/Source/Systems/Assets/UriResult.cs.meta +1 -1
  194. package/Source/Systems/Assets.meta +1 -1
  195. package/Source/Systems/BooleanResult.cs.meta +1 -1
  196. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
  197. package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
  198. package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
  199. package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
  200. package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
  201. package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
  202. package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
  203. package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
  204. package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +1 -1
  205. package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
  206. package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
  207. package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
  208. package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
  209. package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
  210. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
  211. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
  212. package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
  213. package/Source/Systems/ECommerce.meta +1 -1
  214. package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
  215. package/Source/Systems/EResultCode.cs.meta +1 -1
  216. package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
  217. package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
  218. package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
  219. package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
  220. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
  221. package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
  222. package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
  223. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
  224. package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
  225. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
  226. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
  227. package/Source/Systems/EventTicketing.meta +1 -1
  228. package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
  229. package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
  230. package/Source/Systems/GraphQL.meta +1 -1
  231. package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
  232. package/Source/Systems/HotspotSequence/HotspotGroup.cs.meta +1 -1
  233. package/Source/Systems/HotspotSequence/HotspotGroupResult.cs.meta +1 -1
  234. package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs.meta +1 -1
  235. package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs +83 -6
  236. package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs.meta +1 -1
  237. package/Source/Systems/HotspotSequence.meta +1 -1
  238. package/Source/Systems/Log/LogLevel.cs.meta +1 -1
  239. package/Source/Systems/Log/LogSystem.cs.meta +1 -1
  240. package/Source/Systems/Log.meta +1 -1
  241. package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
  242. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
  243. package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
  244. package/Source/Systems/Maintenance.meta +1 -1
  245. package/Source/Systems/NullResult.cs.meta +1 -1
  246. package/Source/Systems/Organizations/EOrganizationRole.cs.meta +1 -1
  247. package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs.meta +1 -1
  248. package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs.meta +1 -1
  249. package/Source/Systems/Organizations/Organization.cs.meta +1 -1
  250. package/Source/Systems/Organizations/OrganizationResult.cs.meta +1 -1
  251. package/Source/Systems/Organizations/OrganizationRoleInfo.cs.meta +1 -1
  252. package/Source/Systems/Organizations/OrganizationRolesResult.cs.meta +1 -1
  253. package/Source/Systems/Organizations/OrganizationSystem.cs.meta +1 -1
  254. package/Source/Systems/Organizations.meta +1 -1
  255. package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
  256. package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
  257. package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
  258. package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
  259. package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
  260. package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
  261. package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
  262. package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
  263. package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
  264. package/Source/Systems/Quota/TierNames.cs.meta +1 -1
  265. package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
  266. package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
  267. package/Source/Systems/Quota.meta +1 -1
  268. package/Source/Systems/ResultBase.cs.meta +1 -1
  269. package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
  270. package/Source/Systems/Script.meta +1 -1
  271. package/Source/Systems/Sequence/Sequence.cs.meta +1 -1
  272. package/Source/Systems/Sequence/SequenceResult.cs.meta +1 -1
  273. package/Source/Systems/Sequence/SequenceSystem.cs +71 -1
  274. package/Source/Systems/Sequence/SequenceSystem.cs.meta +1 -1
  275. package/Source/Systems/Sequence/SequencesResult.cs.meta +1 -1
  276. package/Source/Systems/Sequence.meta +1 -1
  277. package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
  278. package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
  279. package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
  280. package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
  281. package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
  282. package/Source/Systems/Settings.meta +1 -1
  283. package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
  284. package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
  285. package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
  286. package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
  287. package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
  288. package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
  289. package/Source/Systems/Spaces/Site.cs.meta +1 -1
  290. package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
  291. package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
  292. package/Source/Systems/Spaces/Space.cs.meta +1 -1
  293. package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
  294. package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
  295. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
  296. package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
  297. package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
  298. package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
  299. package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
  300. package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
  301. package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
  302. package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
  303. package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
  304. package/Source/Systems/Spaces.meta +1 -1
  305. package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
  306. package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
  307. package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
  308. package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
  309. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
  310. package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
  311. package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
  312. package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
  313. package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
  314. package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
  315. package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
  316. package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
  317. package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
  318. package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
  319. package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
  320. package/Source/Systems/Spatial/PointOfInterestSystem.cs +2 -1
  321. package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
  322. package/Source/Systems/Spatial.meta +1 -1
  323. package/Source/Systems/StringArrayResult.cs.meta +1 -1
  324. package/Source/Systems/StringResult.cs.meta +1 -1
  325. package/Source/Systems/SystemBase.cs +75 -2
  326. package/Source/Systems/SystemBase.cs.meta +1 -1
  327. package/Source/Systems/SystemsManager.cs +16 -0
  328. package/Source/Systems/SystemsManager.cs.meta +1 -1
  329. package/Source/Systems/UInt64Result.cs.meta +1 -1
  330. package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
  331. package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
  332. package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
  333. package/Source/Systems/Users/ELoginState.cs.meta +1 -1
  334. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
  335. package/Source/Systems/Users/LoginState.cs.meta +1 -1
  336. package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
  337. package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
  338. package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
  339. package/Source/Systems/Users/Profile.cs.meta +1 -1
  340. package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
  341. package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
  342. package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
  343. package/Source/Systems/Users/UserSystem.cs +72 -0
  344. package/Source/Systems/Users/UserSystem.cs.meta +1 -1
  345. package/Source/Systems/Users.meta +1 -1
  346. package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
  347. package/Source/Systems/Voip.meta +1 -1
  348. package/Source/Systems.meta +1 -1
  349. package/Source/Web/EResponseCodes.cs.meta +1 -1
  350. package/Source/Web.meta +1 -1
  351. package/Source/WrapperHelper.cs.meta +1 -1
  352. package/Source.meta +1 -1
  353. package/android64/libConnectedSpacesPlatform.so +0 -0
  354. package/android64/libConnectedSpacesPlatform.so.meta +1 -1
  355. package/android64/libConnectedSpacesPlatform_D.so +0 -0
  356. package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
  357. package/android64.meta +1 -1
  358. package/ios/libConnectedSpacesPlatform.a +0 -0
  359. package/ios/libConnectedSpacesPlatform.a.meta +1 -1
  360. package/ios/libcrypto.a.meta +1 -1
  361. package/ios/libssl.a.meta +1 -1
  362. package/ios.meta +1 -1
  363. package/macosx/libConnectedSpacesPlatform.dylib +0 -0
  364. package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
  365. package/macosx.meta +1 -1
  366. package/package.json +1 -1
  367. package/package.json.meta +1 -1
  368. package/visionos/libConnectedSpacesPlatform.a +0 -0
  369. package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
  370. package/visionos/libcrypto.a.meta +1 -1
  371. package/visionos/libssl.a.meta +1 -1
  372. package/visionos.meta +1 -1
  373. package/windows/ConnectedSpacesPlatform.dll +0 -0
  374. package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
  375. package/windows/ConnectedSpacesPlatform_D.dll +0 -0
  376. package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
  377. package/windows.meta +1 -1
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 9d7d138ee1224d518fe20b79c98ef258
2
+ guid: f57f72d5247e4422b419e7441791cbc2
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 725da467a8764dec9b2e7ea75390bad8
2
+ guid: 6d8ac91a59dd4eb68ad0a060c3ed4b51
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 9fe8f3a01b6644bda2a811a115442c43
2
+ guid: 9c99fcb1fef14f3bb72e644c593603df
3
3
  DefaultImporter:
4
4
  externalObjects: {}
5
5
  userData:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 93e6f71f09e9410b9056d90585a171a9
2
+ guid: 6d2219a72fae46d69cff044a0e880337
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: a77b6d2e5b664f869d29c454cf39830f
2
+ guid: d4a6e38060d845d5a17844e235846d4e
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: ef87e8a5b1e1440199f9717e99bdb053
2
+ guid: a0909873cc5349eca6ceb12d3e1acd76
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: e61adde44de04f3e9383fe37fb0928b6
2
+ guid: bbcf87c57b16438cb4c0d438dfc0664f
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: e385aae7ed0949e5a73c78d201ce7b27
2
+ guid: a4512fe4a4e1493e8935ff0569d7f7b1
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: a6860a1fa6a54a68b57fd33886724ec8
2
+ guid: d5c3771ac40c46e89580a45682034cb4
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: b66f370284954b0ebde89cda5cde3970
2
+ guid: a81c7e0a9d9841e3b4829cf417dbf4e1
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -22,7 +22,21 @@ namespace Csp.Systems
22
22
  #region P/Invoke
23
23
  #pragma warning disable IDE1006
24
24
 
25
+ [DllImport(Csp.Constants.DllName)]
26
+ [SuppressUnmanagedCodeSecurity]
27
+ static extern void csp_systems_AssetSystem_SetAssetDetailBlobChangedCallback_void_AssetDetailBlobChangedCallbackHandler(
28
+ IntPtr @class,
29
+ SetAssetDetailBlobChangedCallbackCallbackDelegate callback,
30
+ IntPtr callbackStateObject
31
+ );
25
32
 
33
+ [DllImport(Csp.Constants.DllName)]
34
+ [SuppressUnmanagedCodeSecurity]
35
+ static extern void csp_systems_AssetSystem_SetMaterialChangedCallback_void_MaterialChangedCallbackHandler(
36
+ IntPtr @class,
37
+ SetMaterialChangedCallbackCallbackDelegate callback,
38
+ IntPtr callbackStateObject
39
+ );
26
40
 
27
41
  [DllImport(Csp.Constants.DllName)]
28
42
  [SuppressUnmanagedCodeSecurity]
@@ -246,6 +260,61 @@ namespace Csp.Systems
246
260
  IntPtr callbackStateObject
247
261
  );
248
262
 
263
+ [DllImport(Csp.Constants.DllName)]
264
+ [SuppressUnmanagedCodeSecurity]
265
+ static extern void csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback(
266
+ IntPtr @class,
267
+ string Name,
268
+ string SpaceId,
269
+ CreateMaterialCallbackDelegate callback,
270
+ IntPtr callbackStateObject
271
+ );
272
+
273
+ [DllImport(Csp.Constants.DllName)]
274
+ [SuppressUnmanagedCodeSecurity]
275
+ static extern void csp_systems_AssetSystem_UpdateMaterial_void_GLTFMaterialRC_NullResultCallback(
276
+ IntPtr @class,
277
+ IntPtr Material,
278
+ UpdateMaterialCallbackDelegate callback,
279
+ IntPtr callbackStateObject
280
+ );
281
+
282
+ [DllImport(Csp.Constants.DllName)]
283
+ [SuppressUnmanagedCodeSecurity]
284
+ static extern void csp_systems_AssetSystem_DeleteMaterial_void_GLTFMaterialRC_NullResultCallback(
285
+ IntPtr @class,
286
+ IntPtr Material,
287
+ DeleteMaterialCallbackDelegate callback,
288
+ IntPtr callbackStateObject
289
+ );
290
+
291
+ [DllImport(Csp.Constants.DllName)]
292
+ [SuppressUnmanagedCodeSecurity]
293
+ static extern void csp_systems_AssetSystem_GetMaterials_void_StringRC_GLTFMaterialsResultCallback(
294
+ IntPtr @class,
295
+ string SpaceId,
296
+ GetMaterialsCallbackDelegate callback,
297
+ IntPtr callbackStateObject
298
+ );
299
+
300
+ [DllImport(Csp.Constants.DllName)]
301
+ [SuppressUnmanagedCodeSecurity]
302
+ static extern void csp_systems_AssetSystem_GetMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback(
303
+ IntPtr @class,
304
+ string AssetCollectionId,
305
+ string AssetId,
306
+ GetMaterialCallbackDelegate callback,
307
+ IntPtr callbackStateObject
308
+ );
309
+
310
+ [DllImport(Csp.Constants.DllName)]
311
+ [SuppressUnmanagedCodeSecurity]
312
+ static extern void csp_systems_AssetSystem_RegisterSystemCallback_void(IntPtr @class);
313
+
314
+ [DllImport(Csp.Constants.DllName)]
315
+ [SuppressUnmanagedCodeSecurity]
316
+ static extern void csp_systems_AssetSystem_DeregisterSystemCallback_void(IntPtr @class);
317
+
249
318
  #pragma warning restore IDE1006
250
319
  #endregion
251
320
 
@@ -303,6 +372,96 @@ namespace Csp.Systems
303
372
  delegate void RegisterAssetToLODChainCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
304
373
  public event EventHandler<ProgressEventArgs>? RegisterAssetToLODChainOnProgress;
305
374
 
375
+ delegate void CreateMaterialCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
376
+
377
+ delegate void UpdateMaterialCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
378
+
379
+ delegate void DeleteMaterialCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
380
+
381
+ delegate void GetMaterialsCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
382
+
383
+ delegate void GetMaterialCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
384
+
385
+ delegate void SetAssetDetailBlobChangedCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
386
+
387
+ delegate void SetMaterialChangedCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
388
+
389
+ readonly List<GCHandle> eventHandles = new List<GCHandle>();
390
+
391
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
392
+ [AOT.MonoPInvokeCallback (typeof (SetAssetDetailBlobChangedCallbackCallbackDelegate))]
393
+ #endif
394
+ static void SetAssetDetailBlobChangedCallbackCallbackDelegateFunction(
395
+ IntPtr _StateObject__,
396
+ NativePointer _arg1
397
+ ) {
398
+ var _handle = (GCHandle)_StateObject__;
399
+ var _this = (AssetSystem)_handle.Target;
400
+ _this.RealOnAssetDetailBlobChanged?.Invoke(_this, new Csp.Multiplayer.AssetDetailBlobParams(_arg1));
401
+ }
402
+
403
+ static readonly SetAssetDetailBlobChangedCallbackCallbackDelegate OnAssetDetailBlobChangedDelegateInstance =
404
+ SetAssetDetailBlobChangedCallbackCallbackDelegateFunction;
405
+
406
+ bool OnAssetDetailBlobChangedInitialised = false;
407
+ event EventHandler<Csp.Multiplayer.AssetDetailBlobParams>? RealOnAssetDetailBlobChanged;
408
+ public event EventHandler<Csp.Multiplayer.AssetDetailBlobParams> OnAssetDetailBlobChanged
409
+ {
410
+ add
411
+ {
412
+ if (!OnAssetDetailBlobChangedInitialised)
413
+ {
414
+ var handle = GCHandle.Alloc(this);
415
+ csp_systems_AssetSystem_SetAssetDetailBlobChangedCallback_void_AssetDetailBlobChangedCallbackHandler(
416
+ _ptr,
417
+ OnAssetDetailBlobChangedDelegateInstance,
418
+ (IntPtr)handle
419
+ );
420
+ eventHandles.Add(handle);
421
+ OnAssetDetailBlobChangedInitialised = true;
422
+ }
423
+
424
+ RealOnAssetDetailBlobChanged += value;
425
+ }
426
+ remove { RealOnAssetDetailBlobChanged -= value; }
427
+ }
428
+
429
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
430
+ [AOT.MonoPInvokeCallback (typeof (SetMaterialChangedCallbackCallbackDelegate))]
431
+ #endif
432
+ static void SetMaterialChangedCallbackCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
433
+ {
434
+ var _handle = (GCHandle)_StateObject__;
435
+ var _this = (AssetSystem)_handle.Target;
436
+ _this.RealOnMaterialChanged?.Invoke(_this, new Csp.Multiplayer.MaterialChangedParams(_arg1));
437
+ }
438
+
439
+ static readonly SetMaterialChangedCallbackCallbackDelegate OnMaterialChangedDelegateInstance =
440
+ SetMaterialChangedCallbackCallbackDelegateFunction;
441
+
442
+ bool OnMaterialChangedInitialised = false;
443
+ event EventHandler<Csp.Multiplayer.MaterialChangedParams>? RealOnMaterialChanged;
444
+ public event EventHandler<Csp.Multiplayer.MaterialChangedParams> OnMaterialChanged
445
+ {
446
+ add
447
+ {
448
+ if (!OnMaterialChangedInitialised)
449
+ {
450
+ var handle = GCHandle.Alloc(this);
451
+ csp_systems_AssetSystem_SetMaterialChangedCallback_void_MaterialChangedCallbackHandler(
452
+ _ptr,
453
+ OnMaterialChangedDelegateInstance,
454
+ (IntPtr)handle
455
+ );
456
+ eventHandles.Add(handle);
457
+ OnMaterialChangedInitialised = true;
458
+ }
459
+
460
+ RealOnMaterialChanged += value;
461
+ }
462
+ remove { RealOnMaterialChanged -= value; }
463
+ }
464
+
306
465
  #if !UNITY_EDITOR && ENABLE_IL2CPP
307
466
  [AOT.MonoPInvokeCallback (typeof (CreateAssetCollectionCallbackDelegate))]
308
467
  #endif
@@ -1342,6 +1501,239 @@ namespace Csp.Systems
1342
1501
  return tcs.Task;
1343
1502
  }
1344
1503
 
1504
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1505
+ [AOT.MonoPInvokeCallback (typeof (CreateMaterialCallbackDelegate))]
1506
+ #endif
1507
+ static void CreateMaterialCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
1508
+ {
1509
+ var _handle = (GCHandle)_StateObject__;
1510
+ var tcs = (TaskCompletionSource<Csp.Systems.GLTFMaterialResult>)_handle.Target;
1511
+ var _this = (AssetSystem)tcs.Task.AsyncState;
1512
+
1513
+ var task_result = new Csp.Systems.GLTFMaterialResult(_Result);
1514
+
1515
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
1516
+ {
1517
+ return;
1518
+ }
1519
+
1520
+ tcs.SetResult(task_result);
1521
+ _handle.Free();
1522
+ }
1523
+
1524
+ static readonly CreateMaterialCallbackDelegate CreateMaterialDelegateInstance =
1525
+ CreateMaterialCallbackDelegateFunction;
1526
+
1527
+ /// <summary>Creates a new material backed by an AssetCollection/Asset.</summary>
1528
+ /// <param name="Name">The name of the new material.</param>
1529
+ /// <param name="SpaceId">The space id this material is associated with.</param>
1530
+ /// <returns>Result class</returns>
1531
+
1532
+ public Task<Csp.Systems.GLTFMaterialResult> CreateMaterial(string Name, string SpaceId)
1533
+ {
1534
+ var tcs = new TaskCompletionSource<Csp.Systems.GLTFMaterialResult>(this);
1535
+ var handle = GCHandle.Alloc(tcs);
1536
+
1537
+ csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback(
1538
+ _ptr,
1539
+ Name,
1540
+ SpaceId,
1541
+ CreateMaterialDelegateInstance,
1542
+ (IntPtr)handle
1543
+ );
1544
+
1545
+ return tcs.Task;
1546
+ }
1547
+
1548
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1549
+ [AOT.MonoPInvokeCallback (typeof (UpdateMaterialCallbackDelegate))]
1550
+ #endif
1551
+ static void UpdateMaterialCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
1552
+ {
1553
+ var _handle = (GCHandle)_StateObject__;
1554
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
1555
+ var _this = (AssetSystem)tcs.Task.AsyncState;
1556
+
1557
+ var task_result = new Csp.Systems.NullResult(_Result);
1558
+
1559
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
1560
+ {
1561
+ return;
1562
+ }
1563
+
1564
+ tcs.SetResult(task_result);
1565
+ _handle.Free();
1566
+ }
1567
+
1568
+ static readonly UpdateMaterialCallbackDelegate UpdateMaterialDelegateInstance =
1569
+ UpdateMaterialCallbackDelegateFunction;
1570
+
1571
+ /// <summary>Updates an existing material's properties.</summary>
1572
+ /// <remarks>The material should be retrieved through GetMaterials or GetMaterial.</remarks>
1573
+ /// <remarks>If the material doesn't exist, EResultCode::Failed will be returned.</remarks>
1574
+ /// <remarks>If the material hasn't changed, EResultCode::Success will still be returned.</remarks>
1575
+ /// <param name="Material">The material to update</param>
1576
+ /// <returns>The result for the request</returns>
1577
+
1578
+ public Task<Csp.Systems.NullResult> UpdateMaterial(Csp.Systems.GLTFMaterial Material)
1579
+ {
1580
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
1581
+ var handle = GCHandle.Alloc(tcs);
1582
+
1583
+ csp_systems_AssetSystem_UpdateMaterial_void_GLTFMaterialRC_NullResultCallback(
1584
+ _ptr,
1585
+ Material._ptr,
1586
+ UpdateMaterialDelegateInstance,
1587
+ (IntPtr)handle
1588
+ );
1589
+
1590
+ return tcs.Task;
1591
+ }
1592
+
1593
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1594
+ [AOT.MonoPInvokeCallback (typeof (DeleteMaterialCallbackDelegate))]
1595
+ #endif
1596
+ static void DeleteMaterialCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
1597
+ {
1598
+ var _handle = (GCHandle)_StateObject__;
1599
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
1600
+ var _this = (AssetSystem)tcs.Task.AsyncState;
1601
+
1602
+ var task_result = new Csp.Systems.NullResult(_Result);
1603
+
1604
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
1605
+ {
1606
+ return;
1607
+ }
1608
+
1609
+ tcs.SetResult(task_result);
1610
+ _handle.Free();
1611
+ }
1612
+
1613
+ static readonly DeleteMaterialCallbackDelegate DeleteMaterialDelegateInstance =
1614
+ DeleteMaterialCallbackDelegateFunction;
1615
+
1616
+ /// <summary>Deletes a given material.</summary>
1617
+ /// <remarks>The material should be retrieved through GetMaterials or GetMaterial.</remarks>
1618
+ /// <param name="Material">The material to delete</param>
1619
+ /// <returns>The result for the request</returns>
1620
+
1621
+ public Task<Csp.Systems.NullResult> DeleteMaterial(Csp.Systems.GLTFMaterial Material)
1622
+ {
1623
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
1624
+ var handle = GCHandle.Alloc(tcs);
1625
+
1626
+ csp_systems_AssetSystem_DeleteMaterial_void_GLTFMaterialRC_NullResultCallback(
1627
+ _ptr,
1628
+ Material._ptr,
1629
+ DeleteMaterialDelegateInstance,
1630
+ (IntPtr)handle
1631
+ );
1632
+
1633
+ return tcs.Task;
1634
+ }
1635
+
1636
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1637
+ [AOT.MonoPInvokeCallback (typeof (GetMaterialsCallbackDelegate))]
1638
+ #endif
1639
+ static void GetMaterialsCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
1640
+ {
1641
+ var _handle = (GCHandle)_StateObject__;
1642
+ var tcs = (TaskCompletionSource<Csp.Systems.GLTFMaterialsResult>)_handle.Target;
1643
+ var _this = (AssetSystem)tcs.Task.AsyncState;
1644
+
1645
+ var task_result = new Csp.Systems.GLTFMaterialsResult(_Result);
1646
+
1647
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
1648
+ {
1649
+ return;
1650
+ }
1651
+
1652
+ tcs.SetResult(task_result);
1653
+ _handle.Free();
1654
+ }
1655
+
1656
+ static readonly GetMaterialsCallbackDelegate GetMaterialsDelegateInstance =
1657
+ GetMaterialsCallbackDelegateFunction;
1658
+
1659
+ /// <summary>Gets all materials associated with the given space.</summary>
1660
+ /// <param name="SpaceId">The space id the material is associated with.</param>
1661
+ /// <returns>Result class</returns>
1662
+
1663
+ public Task<Csp.Systems.GLTFMaterialsResult> GetMaterials(string SpaceId)
1664
+ {
1665
+ var tcs = new TaskCompletionSource<Csp.Systems.GLTFMaterialsResult>(this);
1666
+ var handle = GCHandle.Alloc(tcs);
1667
+
1668
+ csp_systems_AssetSystem_GetMaterials_void_StringRC_GLTFMaterialsResultCallback(
1669
+ _ptr,
1670
+ SpaceId,
1671
+ GetMaterialsDelegateInstance,
1672
+ (IntPtr)handle
1673
+ );
1674
+
1675
+ return tcs.Task;
1676
+ }
1677
+
1678
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
1679
+ [AOT.MonoPInvokeCallback (typeof (GetMaterialCallbackDelegate))]
1680
+ #endif
1681
+ static void GetMaterialCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
1682
+ {
1683
+ var _handle = (GCHandle)_StateObject__;
1684
+ var tcs = (TaskCompletionSource<Csp.Systems.GLTFMaterialResult>)_handle.Target;
1685
+ var _this = (AssetSystem)tcs.Task.AsyncState;
1686
+
1687
+ var task_result = new Csp.Systems.GLTFMaterialResult(_Result);
1688
+
1689
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
1690
+ {
1691
+ return;
1692
+ }
1693
+
1694
+ tcs.SetResult(task_result);
1695
+ _handle.Free();
1696
+ }
1697
+
1698
+ static readonly GetMaterialCallbackDelegate GetMaterialDelegateInstance = GetMaterialCallbackDelegateFunction;
1699
+
1700
+ /// <summary>Gets a material using its AssetCollection and Asset Id.</summary>
1701
+ /// <param name="AssetCollectionId">The asset collection id this material is associated with.</param>
1702
+ /// <param name="AssetId">The asset id this material is associated with.</param>
1703
+ /// <returns>Result class</returns>
1704
+
1705
+ public Task<Csp.Systems.GLTFMaterialResult> GetMaterial(string AssetCollectionId, string AssetId)
1706
+ {
1707
+ var tcs = new TaskCompletionSource<Csp.Systems.GLTFMaterialResult>(this);
1708
+ var handle = GCHandle.Alloc(tcs);
1709
+
1710
+ csp_systems_AssetSystem_GetMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback(
1711
+ _ptr,
1712
+ AssetCollectionId,
1713
+ AssetId,
1714
+ GetMaterialDelegateInstance,
1715
+ (IntPtr)handle
1716
+ );
1717
+
1718
+ return tcs.Task;
1719
+ }
1720
+
1721
+ /// <summary>Registers the system to listen for the named event.</summary>
1722
+
1723
+
1724
+ public override void RegisterSystemCallback()
1725
+ {
1726
+ csp_systems_AssetSystem_RegisterSystemCallback_void(_ptr);
1727
+ }
1728
+
1729
+ /// <summary>Deregisters the system from listening for the named event.</summary>
1730
+
1731
+
1732
+ public override void DeregisterSystemCallback()
1733
+ {
1734
+ csp_systems_AssetSystem_DeregisterSystemCallback_void(_ptr);
1735
+ }
1736
+
1345
1737
  protected AssetSystem() { }
1346
1738
  }
1347
1739
  }
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 033e96dbb5d7451e96d002956b8db5c6
2
+ guid: 105c63ba2c3f4e36b34bdf545cc99131
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 2079802856d04f2a858125b37f45a0ec
2
+ guid: 84c6377c116d48d58751fb914407a569
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 478416a39e764b92a89ff83e660aecfa
2
+ guid: 76219d51700041bda7b600d2a2ec6b12
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -0,0 +1,24 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// <summary>Defines how to alpha value is interpreted</summary>
16
+ /// <remarks>The alpha value is taken from the fourth component of the base color for metallic-roughness material model</remarks>
17
+
18
+ public enum EAlphaMode
19
+ {
20
+ Opaque,
21
+ Mask,
22
+ Blend,
23
+ }
24
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 4cce384dcf414872aab3896e65b1c027
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: c454c8d3646b4d7b9cb5a09237202792
2
+ guid: 7cacc5339dc040229a14e2a8b988860f
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: e594752b9d864762bd13959d6674151b
2
+ guid: 243f1f3c2545469eb1a77136576deb2e
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -26,5 +26,6 @@ namespace Csp.Systems
26
26
  HOLOCAP_AUDIO,
27
27
  AUDIO,
28
28
  GAUSSIAN_SPLAT,
29
+ MATERIAL,
29
30
  }
30
31
  }
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 5d3cfe1f8d2a4d81a9114a6d032f728f
2
+ guid: 38d743a3c8f0495381c2814bfb31004f
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -0,0 +1,21 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// <summary>Enum representing the shader type of a material. Currently not in use.</summary>
16
+
17
+ public enum EShaderType
18
+ {
19
+ Standard,
20
+ }
21
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 2ad4f07585024cbfb2a9f2dcdadeeb6c
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,24 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// <summary>Enum representing the source type of the texture</summary>
16
+ /// <remarks>If Component is set, the data of the texture comes from the specified media component</remarks>
17
+ /// <remarks>If ImageAsset is set, th data of the texture comes from the specified asset</remarks>
18
+
19
+ public enum ETextureResourceType
20
+ {
21
+ Component,
22
+ ImageAsset,
23
+ }
24
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 6586b375ad5b4338b567756f5722434d
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 9e62822c64894cc79d108d43cc3d5703
2
+ guid: 098fd11e27bc4cb6a4c854b9aaa3df10
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2