connected-spaces-platform.unity.core 4.14.0 → 4.15.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 (320) hide show
  1. package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
  2. package/Editor.meta +1 -1
  3. package/README.md +4 -10
  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/Vector3.cs.meta +1 -1
  17. package/Source/Common/Vector4.cs.meta +1 -1
  18. package/Source/Common.meta +1 -1
  19. package/Source/Csp.cs.meta +1 -1
  20. package/Source/EThirdPartyPlatform.cs.meta +1 -1
  21. package/Source/EndpointURIs.cs +34 -0
  22. package/Source/EndpointURIs.cs.meta +1 -1
  23. package/Source/Il2cppPreserver.cs.meta +1 -1
  24. package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
  25. package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
  26. package/Source/Multiplayer/ComponentType.cs.meta +1 -1
  27. package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
  28. package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
  29. package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
  30. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
  31. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
  32. package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
  33. package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
  34. package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
  35. package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
  36. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
  37. package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
  38. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
  39. package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
  40. package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
  41. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
  42. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
  43. package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
  44. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
  45. package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
  46. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
  47. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
  48. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
  49. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
  50. package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
  51. package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
  52. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
  53. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
  54. package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
  55. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
  56. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
  57. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
  58. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
  59. package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
  60. package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
  61. package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
  62. package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
  63. package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
  64. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
  65. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
  66. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
  67. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
  68. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
  69. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
  70. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
  71. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
  72. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
  73. package/Source/Multiplayer/Components/Interfaces.meta +1 -1
  74. package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
  75. package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
  76. package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
  77. package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
  78. package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
  79. package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
  80. package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
  81. package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
  82. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
  83. package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
  84. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
  85. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
  86. package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
  87. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
  88. package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
  89. package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
  90. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
  91. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
  92. package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
  93. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
  94. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
  95. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
  96. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
  97. package/Source/Multiplayer/Components.meta +1 -1
  98. package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
  99. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
  100. package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
  101. package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
  102. package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
  103. package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
  104. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
  105. package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
  106. package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
  107. package/Source/Multiplayer/Conversation.meta +1 -1
  108. package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
  109. package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
  110. package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
  111. package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
  112. package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
  113. package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
  114. package/Source/Multiplayer/PropertyUpdateInfo.cs.meta +1 -1
  115. package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
  116. package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
  117. package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
  118. package/Source/Multiplayer/Script.meta +1 -1
  119. package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
  120. package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
  121. package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
  122. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
  123. package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
  124. package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
  125. package/Source/Multiplayer.meta +1 -1
  126. package/Source/NativeClassWrapper.cs.meta +1 -1
  127. package/Source/ProgressEventArgs.cs.meta +1 -1
  128. package/Source/Ref.cs.meta +1 -1
  129. package/Source/Services/EResultBaseFailureReason.cs.meta +1 -1
  130. package/Source/Services/EResultCode.cs.meta +1 -1
  131. package/Source/Services/ResultBase.cs.meta +1 -1
  132. package/Source/Services/WebService.cs.meta +1 -1
  133. package/Source/Services.meta +1 -1
  134. package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
  135. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
  136. package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
  137. package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
  138. package/Source/Systems/Analytics.meta +1 -1
  139. package/Source/Systems/Assets/Asset.cs.meta +1 -1
  140. package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
  141. package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
  142. package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
  143. package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
  144. package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
  145. package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
  146. package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
  147. package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
  148. package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
  149. package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
  150. package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
  151. package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
  152. package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
  153. package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
  154. package/Source/Systems/Assets/LODChain.cs.meta +1 -1
  155. package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
  156. package/Source/Systems/Assets/UriResult.cs.meta +1 -1
  157. package/Source/Systems/Assets.meta +1 -1
  158. package/Source/Systems/BooleanResult.cs.meta +1 -1
  159. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
  160. package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
  161. package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
  162. package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
  163. package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
  164. package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
  165. package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
  166. package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
  167. package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
  168. package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
  169. package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
  170. package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
  171. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
  172. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
  173. package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
  174. package/Source/Systems/ECommerce.meta +1 -1
  175. package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
  176. package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
  177. package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
  178. package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
  179. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
  180. package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
  181. package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
  182. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
  183. package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
  184. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
  185. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
  186. package/Source/Systems/EventTicketing.meta +1 -1
  187. package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
  188. package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
  189. package/Source/Systems/GraphQL.meta +1 -1
  190. package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
  191. package/Source/Systems/Log/LogLevel.cs.meta +1 -1
  192. package/Source/Systems/Log/LogSystem.cs.meta +1 -1
  193. package/Source/Systems/Log.meta +1 -1
  194. package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
  195. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
  196. package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
  197. package/Source/Systems/Maintenance.meta +1 -1
  198. package/Source/Systems/NullResult.cs.meta +1 -1
  199. package/Source/Systems/Quota/FeatureLimitInfo.cs +192 -0
  200. package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +11 -0
  201. package/Source/Systems/Quota/FeatureLimitResult.cs +119 -0
  202. package/Source/Systems/Quota/FeatureLimitResult.cs.meta +11 -0
  203. package/Source/Systems/Quota/FeatureQuotaInfo.cs +260 -0
  204. package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +11 -0
  205. package/Source/Systems/Quota/FeatureQuotaResult.cs +119 -0
  206. package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +11 -0
  207. package/Source/Systems/Quota/FeaturesLimitResult.cs +117 -0
  208. package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +11 -0
  209. package/Source/Systems/Quota/FeaturesQuotaResult.cs +117 -0
  210. package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +11 -0
  211. package/Source/Systems/Quota/PeriodEnum.cs +25 -0
  212. package/Source/Systems/Quota/PeriodEnum.cs.meta +11 -0
  213. package/Source/Systems/Quota/QuotaSystem.cs +602 -0
  214. package/Source/Systems/Quota/QuotaSystem.cs.meta +11 -0
  215. package/Source/Systems/Quota/TierFeatures.cs +28 -0
  216. package/Source/Systems/Quota/TierFeatures.cs.meta +11 -0
  217. package/Source/Systems/Quota/TierNames.cs +23 -0
  218. package/Source/Systems/Quota/TierNames.cs.meta +11 -0
  219. package/Source/Systems/Quota/UserTierInfo.cs +191 -0
  220. package/Source/Systems/Quota/UserTierInfo.cs.meta +11 -0
  221. package/Source/Systems/Quota/UserTierResult.cs +117 -0
  222. package/Source/Systems/Quota/UserTierResult.cs.meta +11 -0
  223. package/Source/Systems/Quota.meta +7 -0
  224. package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
  225. package/Source/Systems/Script.meta +1 -1
  226. package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
  227. package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
  228. package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
  229. package/Source/Systems/Settings.meta +1 -1
  230. package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
  231. package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
  232. package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
  233. package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
  234. package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
  235. package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
  236. package/Source/Systems/Spaces/Site.cs.meta +1 -1
  237. package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
  238. package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
  239. package/Source/Systems/Spaces/Space.cs.meta +1 -1
  240. package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
  241. package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
  242. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
  243. package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
  244. package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
  245. package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
  246. package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
  247. package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
  248. package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
  249. package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
  250. package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
  251. package/Source/Systems/Spaces.meta +1 -1
  252. package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
  253. package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
  254. package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
  255. package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
  256. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
  257. package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
  258. package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
  259. package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
  260. package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
  261. package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
  262. package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
  263. package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
  264. package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
  265. package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
  266. package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
  267. package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
  268. package/Source/Systems/Spatial.meta +1 -1
  269. package/Source/Systems/StringArrayResult.cs.meta +1 -1
  270. package/Source/Systems/StringResult.cs.meta +1 -1
  271. package/Source/Systems/SystemBase.cs.meta +1 -1
  272. package/Source/Systems/SystemsManager.cs +25 -0
  273. package/Source/Systems/SystemsManager.cs.meta +1 -1
  274. package/Source/Systems/UInt64Result.cs.meta +1 -1
  275. package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
  276. package/Source/Systems/Users/AgoraUserTokenResult.cs.meta +1 -1
  277. package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
  278. package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
  279. package/Source/Systems/Users/ELoginState.cs.meta +1 -1
  280. package/Source/Systems/Users/ELoginStateResultFailureReason.cs.meta +1 -1
  281. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
  282. package/Source/Systems/Users/LoginState.cs.meta +1 -1
  283. package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
  284. package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
  285. package/Source/Systems/Users/LoginTokenReceived.cs.meta +1 -1
  286. package/Source/Systems/Users/LogoutResult.cs.meta +1 -1
  287. package/Source/Systems/Users/PingResponseReceived.cs.meta +1 -1
  288. package/Source/Systems/Users/Profile.cs.meta +1 -1
  289. package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
  290. package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
  291. package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
  292. package/Source/Systems/Users/UserSystem.cs.meta +1 -1
  293. package/Source/Systems/Users.meta +1 -1
  294. package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
  295. package/Source/Systems/Voip.meta +1 -1
  296. package/Source/Systems.meta +1 -1
  297. package/Source/Web/EResponseCodes.cs.meta +1 -1
  298. package/Source/Web.meta +1 -1
  299. package/Source/WrapperHelper.cs.meta +1 -1
  300. package/Source.meta +1 -1
  301. package/android64/libConnectedSpacesPlatform.so +0 -0
  302. package/android64/libConnectedSpacesPlatform.so.meta +1 -1
  303. package/android64/libConnectedSpacesPlatform_D.so +0 -0
  304. package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
  305. package/android64.meta +1 -1
  306. package/ios/libConnectedSpacesPlatform.a +0 -0
  307. package/ios/libConnectedSpacesPlatform.a.meta +1 -1
  308. package/ios/libcrypto.a.meta +1 -1
  309. package/ios/libssl.a.meta +1 -1
  310. package/ios.meta +1 -1
  311. package/macosx/libConnectedSpacesPlatform.dylib +0 -0
  312. package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
  313. package/macosx.meta +1 -1
  314. package/package.json +1 -1
  315. package/package.json.meta +1 -1
  316. package/windows/ConnectedSpacesPlatform.dll +0 -0
  317. package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
  318. package/windows/ConnectedSpacesPlatform_D.dll +0 -0
  319. package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
  320. package/windows.meta +1 -1
@@ -0,0 +1,602 @@
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
+ /// @ingroup GraphQL System
16
+ /// <summary>Public facing system that allows interfacing with Magnopus Connect Services' Quota Server.</summary>
17
+ /// <remarks>Offers methods for receiving Quota Queries.</remarks>
18
+
19
+ public class QuotaSystem : Csp.Systems.SystemBase
20
+ {
21
+ internal override string _safeTypeName { get; } = "csp_systems_QuotaSystem";
22
+
23
+ #region P/Invoke
24
+ #pragma warning disable IDE1006
25
+
26
+
27
+
28
+ [
29
+ DllImport(
30
+ #if !UNITY_EDITOR && UNITY_IOS
31
+ "__Internal"
32
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
33
+ "ConnectedSpacesPlatform_D"
34
+ #else
35
+ "ConnectedSpacesPlatform"
36
+ #endif
37
+ ),
38
+ SuppressUnmanagedCodeSecurity
39
+ ]
40
+ static extern void csp_systems_QuotaSystem_Dtor(IntPtr @class);
41
+
42
+ [
43
+ DllImport(
44
+ #if !UNITY_EDITOR && UNITY_IOS
45
+ "__Internal"
46
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
47
+ "ConnectedSpacesPlatform_D"
48
+ #else
49
+ "ConnectedSpacesPlatform"
50
+ #endif
51
+ ),
52
+ SuppressUnmanagedCodeSecurity
53
+ ]
54
+ static extern void csp_systems_QuotaSystem_GetTotalSpacesOwnedByUser_void_FeatureLimitCallback(
55
+ IntPtr @class,
56
+ GetTotalSpacesOwnedByUserCallbackDelegate callback,
57
+ IntPtr callbackStateObject
58
+ );
59
+
60
+ [
61
+ DllImport(
62
+ #if !UNITY_EDITOR && UNITY_IOS
63
+ "__Internal"
64
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
65
+ "ConnectedSpacesPlatform_D"
66
+ #else
67
+ "ConnectedSpacesPlatform"
68
+ #endif
69
+ ),
70
+ SuppressUnmanagedCodeSecurity
71
+ ]
72
+ static extern void csp_systems_QuotaSystem_GetConcurrentUsersInSpace_void_StringRC_FeatureLimitCallback(
73
+ IntPtr @class,
74
+ string SpaceId,
75
+ GetConcurrentUsersInSpaceCallbackDelegate callback,
76
+ IntPtr callbackStateObject
77
+ );
78
+
79
+ [
80
+ DllImport(
81
+ #if !UNITY_EDITOR && UNITY_IOS
82
+ "__Internal"
83
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
84
+ "ConnectedSpacesPlatform_D"
85
+ #else
86
+ "ConnectedSpacesPlatform"
87
+ #endif
88
+ ),
89
+ SuppressUnmanagedCodeSecurity
90
+ ]
91
+ static extern void csp_systems_QuotaSystem_GetTotalSpaceSizeInKilobytes_void_StringRC_FeatureLimitCallback(
92
+ IntPtr @class,
93
+ string SpaceId,
94
+ GetTotalSpaceSizeInKilobytesCallbackDelegate callback,
95
+ IntPtr callbackStateObject
96
+ );
97
+
98
+ [
99
+ DllImport(
100
+ #if !UNITY_EDITOR && UNITY_IOS
101
+ "__Internal"
102
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
103
+ "ConnectedSpacesPlatform_D"
104
+ #else
105
+ "ConnectedSpacesPlatform"
106
+ #endif
107
+ ),
108
+ SuppressUnmanagedCodeSecurity
109
+ ]
110
+ static extern void csp_systems_QuotaSystem_GetTierFeatureProgressForUser_void_ArrayRC_FeaturesLimitCallback(
111
+ IntPtr @class,
112
+ IntPtr FeatureNames,
113
+ GetTierFeatureProgressForUserCallbackDelegate callback,
114
+ IntPtr callbackStateObject
115
+ );
116
+
117
+ [
118
+ DllImport(
119
+ #if !UNITY_EDITOR && UNITY_IOS
120
+ "__Internal"
121
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
122
+ "ConnectedSpacesPlatform_D"
123
+ #else
124
+ "ConnectedSpacesPlatform"
125
+ #endif
126
+ ),
127
+ SuppressUnmanagedCodeSecurity
128
+ ]
129
+ static extern void csp_systems_QuotaSystem_GetTierFeatureProgressForSpace_void_StringRC_ArrayRC_FeaturesLimitCallback(
130
+ IntPtr @class,
131
+ string SpaceId,
132
+ IntPtr FeatureNames,
133
+ GetTierFeatureProgressForSpaceCallbackDelegate callback,
134
+ IntPtr callbackStateObject
135
+ );
136
+
137
+ [
138
+ DllImport(
139
+ #if !UNITY_EDITOR && UNITY_IOS
140
+ "__Internal"
141
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
142
+ "ConnectedSpacesPlatform_D"
143
+ #else
144
+ "ConnectedSpacesPlatform"
145
+ #endif
146
+ ),
147
+ SuppressUnmanagedCodeSecurity
148
+ ]
149
+ static extern void csp_systems_QuotaSystem_GetCurrentUserTier_void_UserTierCallback(
150
+ IntPtr @class,
151
+ GetCurrentUserTierCallbackDelegate callback,
152
+ IntPtr callbackStateObject
153
+ );
154
+
155
+ [
156
+ DllImport(
157
+ #if !UNITY_EDITOR && UNITY_IOS
158
+ "__Internal"
159
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
160
+ "ConnectedSpacesPlatform_D"
161
+ #else
162
+ "ConnectedSpacesPlatform"
163
+ #endif
164
+ ),
165
+ SuppressUnmanagedCodeSecurity
166
+ ]
167
+ static extern void csp_systems_QuotaSystem_GetTierFeatureQuota_void_TierNamesRC_TierFeaturesRC_FeatureQuotaCallback(
168
+ IntPtr @class,
169
+ IntPtr TierName,
170
+ IntPtr FeatureName,
171
+ GetTierFeatureQuotaCallbackDelegate callback,
172
+ IntPtr callbackStateObject
173
+ );
174
+
175
+ [
176
+ DllImport(
177
+ #if !UNITY_EDITOR && UNITY_IOS
178
+ "__Internal"
179
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
180
+ "ConnectedSpacesPlatform_D"
181
+ #else
182
+ "ConnectedSpacesPlatform"
183
+ #endif
184
+ ),
185
+ SuppressUnmanagedCodeSecurity
186
+ ]
187
+ static extern void csp_systems_QuotaSystem_GetTierFeaturesQuota_void_TierNamesRC_FeaturesQuotaCallback(
188
+ IntPtr @class,
189
+ IntPtr TierName,
190
+ GetTierFeaturesQuotaCallbackDelegate callback,
191
+ IntPtr callbackStateObject
192
+ );
193
+
194
+ [
195
+ DllImport(
196
+ #if !UNITY_EDITOR && UNITY_IOS
197
+ "__Internal"
198
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
199
+ "ConnectedSpacesPlatform_D"
200
+ #else
201
+ "ConnectedSpacesPlatform"
202
+ #endif
203
+ ),
204
+ SuppressUnmanagedCodeSecurity
205
+ ]
206
+ static extern NativePointer csp_systems_QuotaSystem_Ctor();
207
+
208
+ #pragma warning restore IDE1006
209
+ #endregion
210
+
211
+ internal QuotaSystem(NativePointer ptr) : base(ptr) { }
212
+
213
+ public QuotaSystem(Csp.Systems.SystemBase baseInstance)
214
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
215
+ {
216
+ // Prevent previous instance from freeing underlying pointer when destroyed
217
+ baseInstance._ownsPtr = false;
218
+ }
219
+
220
+ delegate void GetTotalSpacesOwnedByUserCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
221
+
222
+ delegate void GetConcurrentUsersInSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
223
+
224
+ delegate void GetTotalSpaceSizeInKilobytesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
225
+
226
+ delegate void GetTierFeatureProgressForUserCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
227
+
228
+ delegate void GetTierFeatureProgressForSpaceCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
229
+
230
+ delegate void GetCurrentUserTierCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
231
+
232
+ delegate void GetTierFeatureQuotaCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
233
+
234
+ delegate void GetTierFeaturesQuotaCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
235
+
236
+ ~QuotaSystem()
237
+ {
238
+ //RealDispose();
239
+ }
240
+
241
+ void RealDispose()
242
+ {
243
+ if (_ownsPtr && !_disposed)
244
+ {
245
+ csp_systems_QuotaSystem_Dtor(_ptr);
246
+ _disposed = true;
247
+ }
248
+
249
+ _disposed = true;
250
+ }
251
+
252
+ new public void Dispose()
253
+ {
254
+ RealDispose();
255
+ GC.SuppressFinalize(this);
256
+ }
257
+
258
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
259
+ [AOT.MonoPInvokeCallback (typeof (GetTotalSpacesOwnedByUserCallbackDelegate))]
260
+ #endif
261
+ static void GetTotalSpacesOwnedByUserCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
262
+ {
263
+ var _handle = (GCHandle)_StateObject__;
264
+ var tcs = (TaskCompletionSource<Csp.Systems.FeatureLimitResult>)_handle.Target;
265
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
266
+
267
+ var task_result = new Csp.Systems.FeatureLimitResult(_Result);
268
+
269
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
270
+ {
271
+ return;
272
+ }
273
+
274
+ tcs.SetResult(task_result);
275
+ _handle.Free();
276
+ }
277
+
278
+ static readonly GetTotalSpacesOwnedByUserCallbackDelegate GetTotalSpacesOwnedByUserDelegateInstance =
279
+ GetTotalSpacesOwnedByUserCallbackDelegateFunction;
280
+
281
+ /// <summary>Get the total number of Spaces owned by the current user and their tier space limit</summary>
282
+ /// <returns>Result class</returns>
283
+
284
+ public Task<Csp.Systems.FeatureLimitResult> GetTotalSpacesOwnedByUser()
285
+ {
286
+ var tcs = new TaskCompletionSource<Csp.Systems.FeatureLimitResult>(this);
287
+ var handle = GCHandle.Alloc(tcs);
288
+
289
+ csp_systems_QuotaSystem_GetTotalSpacesOwnedByUser_void_FeatureLimitCallback(
290
+ _ptr,
291
+ GetTotalSpacesOwnedByUserDelegateInstance,
292
+ (IntPtr)handle
293
+ );
294
+
295
+ return tcs.Task;
296
+ }
297
+
298
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
299
+ [AOT.MonoPInvokeCallback (typeof (GetConcurrentUsersInSpaceCallbackDelegate))]
300
+ #endif
301
+ static void GetConcurrentUsersInSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
302
+ {
303
+ var _handle = (GCHandle)_StateObject__;
304
+ var tcs = (TaskCompletionSource<Csp.Systems.FeatureLimitResult>)_handle.Target;
305
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
306
+
307
+ var task_result = new Csp.Systems.FeatureLimitResult(_Result);
308
+
309
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
310
+ {
311
+ return;
312
+ }
313
+
314
+ tcs.SetResult(task_result);
315
+ _handle.Free();
316
+ }
317
+
318
+ static readonly GetConcurrentUsersInSpaceCallbackDelegate GetConcurrentUsersInSpaceDelegateInstance =
319
+ GetConcurrentUsersInSpaceCallbackDelegateFunction;
320
+
321
+ /// <summary>Gets total number of user inside of a space and its tier user limit</summary>
322
+ /// <param name="SpaceId">Id of the Space</param>
323
+ /// <returns>Result class</returns>
324
+
325
+ public Task<Csp.Systems.FeatureLimitResult> GetConcurrentUsersInSpace(string SpaceId)
326
+ {
327
+ var tcs = new TaskCompletionSource<Csp.Systems.FeatureLimitResult>(this);
328
+ var handle = GCHandle.Alloc(tcs);
329
+
330
+ csp_systems_QuotaSystem_GetConcurrentUsersInSpace_void_StringRC_FeatureLimitCallback(
331
+ _ptr,
332
+ SpaceId,
333
+ GetConcurrentUsersInSpaceDelegateInstance,
334
+ (IntPtr)handle
335
+ );
336
+
337
+ return tcs.Task;
338
+ }
339
+
340
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
341
+ [AOT.MonoPInvokeCallback (typeof (GetTotalSpaceSizeInKilobytesCallbackDelegate))]
342
+ #endif
343
+ static void GetTotalSpaceSizeInKilobytesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
344
+ {
345
+ var _handle = (GCHandle)_StateObject__;
346
+ var tcs = (TaskCompletionSource<Csp.Systems.FeatureLimitResult>)_handle.Target;
347
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
348
+
349
+ var task_result = new Csp.Systems.FeatureLimitResult(_Result);
350
+
351
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
352
+ {
353
+ return;
354
+ }
355
+
356
+ tcs.SetResult(task_result);
357
+ _handle.Free();
358
+ }
359
+
360
+ static readonly GetTotalSpaceSizeInKilobytesCallbackDelegate GetTotalSpaceSizeInKilobytesDelegateInstance =
361
+ GetTotalSpaceSizeInKilobytesCallbackDelegateFunction;
362
+
363
+ /// <summary>Get total size of all assets within a space and their tier space size limit</summary>
364
+ /// <param name="SpaceId">Id of the Space</param>
365
+ /// <returns>Result class</returns>
366
+
367
+ public Task<Csp.Systems.FeatureLimitResult> GetTotalSpaceSizeInKilobytes(string SpaceId)
368
+ {
369
+ var tcs = new TaskCompletionSource<Csp.Systems.FeatureLimitResult>(this);
370
+ var handle = GCHandle.Alloc(tcs);
371
+
372
+ csp_systems_QuotaSystem_GetTotalSpaceSizeInKilobytes_void_StringRC_FeatureLimitCallback(
373
+ _ptr,
374
+ SpaceId,
375
+ GetTotalSpaceSizeInKilobytesDelegateInstance,
376
+ (IntPtr)handle
377
+ );
378
+
379
+ return tcs.Task;
380
+ }
381
+
382
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
383
+ [AOT.MonoPInvokeCallback (typeof (GetTierFeatureProgressForUserCallbackDelegate))]
384
+ #endif
385
+ static void GetTierFeatureProgressForUserCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
386
+ {
387
+ var _handle = (GCHandle)_StateObject__;
388
+ var tcs = (TaskCompletionSource<Csp.Systems.FeaturesLimitResult>)_handle.Target;
389
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
390
+
391
+ var task_result = new Csp.Systems.FeaturesLimitResult(_Result);
392
+
393
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
394
+ {
395
+ return;
396
+ }
397
+
398
+ tcs.SetResult(task_result);
399
+ _handle.Free();
400
+ }
401
+
402
+ static readonly GetTierFeatureProgressForUserCallbackDelegate GetTierFeatureProgressForUserDelegateInstance =
403
+ GetTierFeatureProgressForUserCallbackDelegateFunction;
404
+
405
+ /// <summary>Get Array of feature progresses for a user and their tier feature limits</summary>
406
+ /// <param name="FeatureNames">Array of feature names that will be retrieved</param>
407
+ /// <returns>Result class</returns>
408
+
409
+ public Task<Csp.Systems.FeaturesLimitResult> GetTierFeatureProgressForUser(
410
+ Csp.Common.Array<Csp.Systems.TierFeatures> FeatureNames
411
+ ) {
412
+ var tcs = new TaskCompletionSource<Csp.Systems.FeaturesLimitResult>(this);
413
+ var handle = GCHandle.Alloc(tcs);
414
+
415
+ csp_systems_QuotaSystem_GetTierFeatureProgressForUser_void_ArrayRC_FeaturesLimitCallback(
416
+ _ptr,
417
+ FeatureNames._ptr,
418
+ GetTierFeatureProgressForUserDelegateInstance,
419
+ (IntPtr)handle
420
+ );
421
+
422
+ return tcs.Task;
423
+ }
424
+
425
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
426
+ [AOT.MonoPInvokeCallback (typeof (GetTierFeatureProgressForSpaceCallbackDelegate))]
427
+ #endif
428
+ static void GetTierFeatureProgressForSpaceCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
429
+ {
430
+ var _handle = (GCHandle)_StateObject__;
431
+ var tcs = (TaskCompletionSource<Csp.Systems.FeaturesLimitResult>)_handle.Target;
432
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
433
+
434
+ var task_result = new Csp.Systems.FeaturesLimitResult(_Result);
435
+
436
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
437
+ {
438
+ return;
439
+ }
440
+
441
+ tcs.SetResult(task_result);
442
+ _handle.Free();
443
+ }
444
+
445
+ static readonly GetTierFeatureProgressForSpaceCallbackDelegate GetTierFeatureProgressForSpaceDelegateInstance =
446
+ GetTierFeatureProgressForSpaceCallbackDelegateFunction;
447
+
448
+ /// <summary>Get Array of feature progress for a user Space and its tier feature limits</summary>
449
+ /// <param name="SpaceId">Id of the Space</param>
450
+ /// <param name="FeatureNames">Array of feature names that will be retrieved</param>
451
+ /// <returns>Result class</returns>
452
+
453
+ public Task<Csp.Systems.FeaturesLimitResult> GetTierFeatureProgressForSpace(
454
+ string SpaceId,
455
+ Csp.Common.Array<Csp.Systems.TierFeatures> FeatureNames
456
+ ) {
457
+ var tcs = new TaskCompletionSource<Csp.Systems.FeaturesLimitResult>(this);
458
+ var handle = GCHandle.Alloc(tcs);
459
+
460
+ csp_systems_QuotaSystem_GetTierFeatureProgressForSpace_void_StringRC_ArrayRC_FeaturesLimitCallback(
461
+ _ptr,
462
+ SpaceId,
463
+ FeatureNames._ptr,
464
+ GetTierFeatureProgressForSpaceDelegateInstance,
465
+ (IntPtr)handle
466
+ );
467
+
468
+ return tcs.Task;
469
+ }
470
+
471
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
472
+ [AOT.MonoPInvokeCallback (typeof (GetCurrentUserTierCallbackDelegate))]
473
+ #endif
474
+ static void GetCurrentUserTierCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
475
+ {
476
+ var _handle = (GCHandle)_StateObject__;
477
+ var tcs = (TaskCompletionSource<Csp.Systems.UserTierResult>)_handle.Target;
478
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
479
+
480
+ var task_result = new Csp.Systems.UserTierResult(_Result);
481
+
482
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
483
+ {
484
+ return;
485
+ }
486
+
487
+ tcs.SetResult(task_result);
488
+ _handle.Free();
489
+ }
490
+
491
+ static readonly GetCurrentUserTierCallbackDelegate GetCurrentUserTierDelegateInstance =
492
+ GetCurrentUserTierCallbackDelegateFunction;
493
+
494
+ /// <summary>Get current users tier information</summary>
495
+ /// <returns>Result class</returns>
496
+
497
+ public Task<Csp.Systems.UserTierResult> GetCurrentUserTier()
498
+ {
499
+ var tcs = new TaskCompletionSource<Csp.Systems.UserTierResult>(this);
500
+ var handle = GCHandle.Alloc(tcs);
501
+
502
+ csp_systems_QuotaSystem_GetCurrentUserTier_void_UserTierCallback(
503
+ _ptr,
504
+ GetCurrentUserTierDelegateInstance,
505
+ (IntPtr)handle
506
+ );
507
+
508
+ return tcs.Task;
509
+ }
510
+
511
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
512
+ [AOT.MonoPInvokeCallback (typeof (GetTierFeatureQuotaCallbackDelegate))]
513
+ #endif
514
+ static void GetTierFeatureQuotaCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
515
+ {
516
+ var _handle = (GCHandle)_StateObject__;
517
+ var tcs = (TaskCompletionSource<Csp.Systems.FeatureQuotaResult>)_handle.Target;
518
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
519
+
520
+ var task_result = new Csp.Systems.FeatureQuotaResult(_Result);
521
+
522
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
523
+ {
524
+ return;
525
+ }
526
+
527
+ tcs.SetResult(task_result);
528
+ _handle.Free();
529
+ }
530
+
531
+ static readonly GetTierFeatureQuotaCallbackDelegate GetTierFeatureQuotaDelegateInstance =
532
+ GetTierFeatureQuotaCallbackDelegateFunction;
533
+
534
+ /// <summary>Get current feature quota information</summary>
535
+ /// <param name="TierName">Name of the tier</param>
536
+ /// <param name="FeatureName">Name of the feature</param>
537
+ /// <returns>Result class</returns>
538
+
539
+ public Task<Csp.Systems.FeatureQuotaResult> GetTierFeatureQuota(
540
+ Csp.Systems.TierNames TierName,
541
+ Csp.Systems.TierFeatures FeatureName
542
+ ) {
543
+ var tcs = new TaskCompletionSource<Csp.Systems.FeatureQuotaResult>(this);
544
+ var handle = GCHandle.Alloc(tcs);
545
+
546
+ csp_systems_QuotaSystem_GetTierFeatureQuota_void_TierNamesRC_TierFeaturesRC_FeatureQuotaCallback(
547
+ _ptr,
548
+ (IntPtr)TierName,
549
+ (IntPtr)FeatureName,
550
+ GetTierFeatureQuotaDelegateInstance,
551
+ (IntPtr)handle
552
+ );
553
+
554
+ return tcs.Task;
555
+ }
556
+
557
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
558
+ [AOT.MonoPInvokeCallback (typeof (GetTierFeaturesQuotaCallbackDelegate))]
559
+ #endif
560
+ static void GetTierFeaturesQuotaCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
561
+ {
562
+ var _handle = (GCHandle)_StateObject__;
563
+ var tcs = (TaskCompletionSource<Csp.Systems.FeaturesQuotaResult>)_handle.Target;
564
+ var _this = (QuotaSystem)tcs.Task.AsyncState;
565
+
566
+ var task_result = new Csp.Systems.FeaturesQuotaResult(_Result);
567
+
568
+ if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
569
+ {
570
+ return;
571
+ }
572
+
573
+ tcs.SetResult(task_result);
574
+ _handle.Free();
575
+ }
576
+
577
+ static readonly GetTierFeaturesQuotaCallbackDelegate GetTierFeaturesQuotaDelegateInstance =
578
+ GetTierFeaturesQuotaCallbackDelegateFunction;
579
+
580
+ /// <summary>Get current array of current feature quota information inside a tier</summary>
581
+ /// <param name="TierName">Name of the tier</param>
582
+ /// <returns>Result class</returns>
583
+
584
+ public Task<Csp.Systems.FeaturesQuotaResult> GetTierFeaturesQuota(Csp.Systems.TierNames TierName)
585
+ {
586
+ var tcs = new TaskCompletionSource<Csp.Systems.FeaturesQuotaResult>(this);
587
+ var handle = GCHandle.Alloc(tcs);
588
+
589
+ csp_systems_QuotaSystem_GetTierFeaturesQuota_void_TierNamesRC_FeaturesQuotaCallback(
590
+ _ptr,
591
+ (IntPtr)TierName,
592
+ GetTierFeaturesQuotaDelegateInstance,
593
+ (IntPtr)handle
594
+ );
595
+
596
+ return tcs.Task;
597
+ }
598
+
599
+ protected QuotaSystem() { }
600
+ }
601
+ }
602
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 5f9d811d389e4b3bad3471da9da3e6da
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,28 @@
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
+ public enum TierFeatures
16
+ {
17
+ SpaceOwner = 0,
18
+ ScopeConcurrentUsers,
19
+ ObjectCaptureUpload,
20
+ AudioVideoUpload,
21
+ TotalUploadSizeInKilobytes,
22
+ Agora,
23
+ OpenAI,
24
+ Shopify,
25
+ TicketedSpace,
26
+ }
27
+ }
28
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 64aa545c498d4f938d13a891fe20970b
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,23 @@
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
+ public enum TierNames
16
+ {
17
+ Basic = 0,
18
+ Premium,
19
+ Pro,
20
+ Enterprise,
21
+ }
22
+ }
23
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 554201378c624b42a41223c25908879c
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant: