connected-spaces-platform.unity.core 4.10.0-prerelease3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor/NativePluginBuildProcessor.asmdef +16 -0
- package/Editor/NativePluginBuildProcessor.asmdef.meta +7 -0
- package/Editor/NativePluginBuildProcessor.cs +41 -0
- package/Editor/NativePluginBuildProcessor.cs.meta +11 -0
- package/Editor.meta +7 -0
- package/Source/CSPFoundation.cs +417 -0
- package/Source/CSPFoundation.cs.meta +11 -0
- package/Source/ClientUserAgent.cs +292 -0
- package/Source/ClientUserAgent.cs.meta +11 -0
- package/Source/Common/Array.cs +201 -0
- package/Source/Common/Array.cs.meta +11 -0
- package/Source/Common/CancellationToken.cs +175 -0
- package/Source/Common/CancellationToken.cs.meta +11 -0
- package/Source/Common/FileExtensions.cs +15317 -0
- package/Source/Common/FileExtensions.cs.meta +11 -0
- package/Source/Common/List.cs +275 -0
- package/Source/Common/List.cs.meta +11 -0
- package/Source/Common/Map.cs +283 -0
- package/Source/Common/Map.cs.meta +11 -0
- package/Source/Common/MimeTypeHelper.cs +210 -0
- package/Source/Common/MimeTypeHelper.cs.meta +11 -0
- package/Source/Common/MimeTypes.cs +10565 -0
- package/Source/Common/MimeTypes.cs.meta +11 -0
- package/Source/Common/Variant.cs +573 -0
- package/Source/Common/Variant.cs.meta +11 -0
- package/Source/Common/VariantType.cs +28 -0
- package/Source/Common/VariantType.cs.meta +11 -0
- package/Source/Common/Vector3.cs +268 -0
- package/Source/Common/Vector3.cs.meta +11 -0
- package/Source/Common/Vector4.cs +328 -0
- package/Source/Common/Vector4.cs.meta +11 -0
- package/Source/Common.meta +7 -0
- package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef +14 -0
- package/Source/ConnectedSpacesPlatform.Unity.Core.asmdef.meta +7 -0
- package/Source/Csp.cs +83 -0
- package/Source/Csp.cs.meta +11 -0
- package/Source/EThirdPartyPlatform.cs +26 -0
- package/Source/EThirdPartyPlatform.cs.meta +11 -0
- package/Source/EndpointURIs.cs +258 -0
- package/Source/EndpointURIs.cs.meta +11 -0
- package/Source/Il2cppPreserver.cs +29 -0
- package/Source/Il2cppPreserver.cs.meta +11 -0
- package/Source/Multiplayer/AssetDetailBlobParams.cs +270 -0
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +11 -0
- package/Source/Multiplayer/ComponentBase.cs +339 -0
- package/Source/Multiplayer/ComponentBase.cs.meta +11 -0
- package/Source/Multiplayer/ComponentType.cs +46 -0
- package/Source/Multiplayer/ComponentType.cs.meta +11 -0
- package/Source/Multiplayer/ComponentUpdateInfo.cs +161 -0
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +11 -0
- package/Source/Multiplayer/ComponentUpdateType.cs +24 -0
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelActions.cs +25 -0
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs +36 -0
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs +793 -0
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioPlaybackState.cs +25 -0
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs +33 -0
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs +693 -0
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AudioType.cs +24 -0
- package/Source/Multiplayer/Components/AudioType.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs +37 -0
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarPlayMode.cs +26 -0
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs +946 -0
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/AvatarState.cs +29 -0
- package/Source/Multiplayer/Components/AvatarState.cs.meta +11 -0
- package/Source/Multiplayer/Components/BillboardMode.cs +24 -0
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs +32 -0
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs +597 -0
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionMode.cs +23 -0
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionShape.cs +25 -0
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +11 -0
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs +757 -0
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +1105 -0
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs +24 -0
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs +370 -0
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/DisplayMode.cs +24 -0
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs +24 -0
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs +216 -0
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkActions.cs +23 -0
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs +31 -0
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs +579 -0
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs +569 -0
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogMode.cs +24 -0
- package/Source/Multiplayer/Components/FogMode.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogPropertyKeys.cs +36 -0
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/FogSpaceComponent.cs +836 -0
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs +33 -0
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs +693 -0
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs +28 -0
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs +24 -0
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs +27 -0
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs +27 -0
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs +28 -0
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/Interfaces.meta +7 -0
- package/Source/Multiplayer/Components/LightCookieType.cs +24 -0
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightPropertyKeys.cs +38 -0
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightShadowType.cs +25 -0
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightSpaceComponent.cs +891 -0
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/LightType.cs +25 -0
- package/Source/Multiplayer/Components/LightType.cs.meta +11 -0
- package/Source/Multiplayer/Components/LocomotionModel.cs +24 -0
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +11 -0
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs +371 -0
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs +30 -0
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionShape.cs +23 -0
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +11 -0
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs +515 -0
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs +25 -0
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptScope.cs +24 -0
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +11 -0
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs +258 -0
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs +23 -0
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs +184 -0
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs +32 -0
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs +640 -0
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerActions.cs +24 -0
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs +25 -0
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs +42 -0
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs +25 -0
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +11 -0
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs +1187 -0
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +11 -0
- package/Source/Multiplayer/Components.meta +7 -0
- package/Source/Multiplayer/ConnectionState.cs +25 -0
- package/Source/Multiplayer/ConnectionState.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs +293 -0
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationInfo.cs +205 -0
- package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs +26 -0
- package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationResult.cs +152 -0
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationSystem.cs +784 -0
- package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +175 -0
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageInfo.cs +172 -0
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/MessageResult.cs +150 -0
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation.meta +7 -0
- package/Source/Multiplayer/ConversationSystemParams.cs +165 -0
- package/Source/Multiplayer/ConversationSystemParams.cs.meta +11 -0
- package/Source/Multiplayer/EAssetChangeType.cs +27 -0
- package/Source/Multiplayer/EAssetChangeType.cs.meta +11 -0
- package/Source/Multiplayer/IEntityDeserialiser.cs +70 -0
- package/Source/Multiplayer/IEntityDeserialiser.cs.meta +11 -0
- package/Source/Multiplayer/IEntitySerialiser.cs +63 -0
- package/Source/Multiplayer/IEntitySerialiser.cs.meta +11 -0
- package/Source/Multiplayer/MultiplayerConnection.cs +964 -0
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +11 -0
- package/Source/Multiplayer/PropertyUpdateInfo.cs +159 -0
- package/Source/Multiplayer/PropertyUpdateInfo.cs.meta +11 -0
- package/Source/Multiplayer/ReplicatedValue.cs +593 -0
- package/Source/Multiplayer/ReplicatedValue.cs.meta +11 -0
- package/Source/Multiplayer/ReplicatedValueType.cs +28 -0
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +11 -0
- package/Source/Multiplayer/Script/EntityScript.cs +479 -0
- package/Source/Multiplayer/Script/EntityScript.cs.meta +11 -0
- package/Source/Multiplayer/Script.meta +7 -0
- package/Source/Multiplayer/SpaceEntity.cs +1202 -0
- package/Source/Multiplayer/SpaceEntity.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntitySystem.cs +1304 -0
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntityType.cs +25 -0
- package/Source/Multiplayer/SpaceEntityType.cs.meta +11 -0
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs +27 -0
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +11 -0
- package/Source/Multiplayer/SpaceTransform.cs +232 -0
- package/Source/Multiplayer/SpaceTransform.cs.meta +11 -0
- package/Source/Multiplayer.meta +7 -0
- package/Source/NativeClassWrapper.cs +42 -0
- package/Source/NativeClassWrapper.cs.meta +11 -0
- package/Source/ProgressEventArgs.cs +15 -0
- package/Source/ProgressEventArgs.cs.meta +11 -0
- package/Source/Ref.cs +28 -0
- package/Source/Ref.cs.meta +11 -0
- package/Source/Services/EResultCode.cs +26 -0
- package/Source/Services/EResultCode.cs.meta +11 -0
- package/Source/Services/ResultBase.cs +237 -0
- package/Source/Services/ResultBase.cs.meta +11 -0
- package/Source/Services/WebService.cs +91 -0
- package/Source/Services/WebService.cs.meta +11 -0
- package/Source/Services.meta +7 -0
- package/Source/Systems/Analytics/AnalyticsEvent.cs +288 -0
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +11 -0
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs +78 -0
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +11 -0
- package/Source/Systems/Analytics/AnalyticsSystem.cs +116 -0
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +11 -0
- package/Source/Systems/Analytics/IAnalyticsProvider.cs +85 -0
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +11 -0
- package/Source/Systems/Analytics.meta +7 -0
- package/Source/Systems/Assets/Asset.cs +698 -0
- package/Source/Systems/Assets/Asset.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollection.cs +605 -0
- package/Source/Systems/Assets/AssetCollection.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollectionResult.cs +119 -0
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollectionsResult.cs +161 -0
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetDataResult.cs +175 -0
- package/Source/Systems/Assets/AssetDataResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetDataSource.cs +24 -0
- package/Source/Systems/Assets/AssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/AssetResult.cs +131 -0
- package/Source/Systems/Assets/AssetResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetSystem.cs +1601 -0
- package/Source/Systems/Assets/AssetSystem.cs.meta +11 -0
- package/Source/Systems/Assets/AssetsResult.cs +148 -0
- package/Source/Systems/Assets/AssetsResult.cs.meta +11 -0
- package/Source/Systems/Assets/BufferAssetDataSource.cs +214 -0
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetCollectionType.cs +24 -0
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetPlatform.cs +20 -0
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +11 -0
- package/Source/Systems/Assets/EAssetType.cs +30 -0
- package/Source/Systems/Assets/EAssetType.cs.meta +11 -0
- package/Source/Systems/Assets/FileAssetDataSource.cs +177 -0
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +11 -0
- package/Source/Systems/Assets/LODAsset.cs +157 -0
- package/Source/Systems/Assets/LODAsset.cs.meta +11 -0
- package/Source/Systems/Assets/LODChain.cs +158 -0
- package/Source/Systems/Assets/LODChain.cs.meta +11 -0
- package/Source/Systems/Assets/LODChainResult.cs +131 -0
- package/Source/Systems/Assets/LODChainResult.cs.meta +11 -0
- package/Source/Systems/Assets/UriResult.cs +193 -0
- package/Source/Systems/Assets/UriResult.cs.meta +11 -0
- package/Source/Systems/Assets.meta +7 -0
- package/Source/Systems/BooleanResult.cs +146 -0
- package/Source/Systems/BooleanResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs +112 -0
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartInfo.cs +233 -0
- package/Source/Systems/ECommerce/CartInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartInfoResult.cs +132 -0
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CartLine.cs +197 -0
- package/Source/Systems/ECommerce/CartLine.cs.meta +11 -0
- package/Source/Systems/ECommerce/CheckoutInfo.cs +161 -0
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs +117 -0
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/CurrencyInfo.cs +161 -0
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ECommerceSystem.cs +564 -0
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductInfo.cs +341 -0
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductInfoResult.cs +117 -0
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductMediaInfo.cs +269 -0
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ProductVariantInfo.cs +342 -0
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs +269 -0
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs +120 -0
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +11 -0
- package/Source/Systems/ECommerce/VariantOptionInfo.cs +161 -0
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +11 -0
- package/Source/Systems/ECommerce.meta +7 -0
- package/Source/Systems/EventTicketing/EventTicket.cs +378 -0
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketResult.cs +115 -0
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs +563 -0
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +11 -0
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs +24 -0
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +11 -0
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs +115 -0
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketStatus.cs +26 -0
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEvent.cs +305 -0
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs +117 -0
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventResult.cs +117 -0
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs +248 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +11 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs +115 -0
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +11 -0
- package/Source/Systems/EventTicketing.meta +7 -0
- package/Source/Systems/GraphQL/GraphQLResult.cs +146 -0
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +11 -0
- package/Source/Systems/GraphQL/GraphQLSystem.cs +221 -0
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +11 -0
- package/Source/Systems/GraphQL.meta +7 -0
- package/Source/Systems/HTTPHeadersResult.cs +147 -0
- package/Source/Systems/HTTPHeadersResult.cs.meta +11 -0
- package/Source/Systems/Log/LogLevel.cs +28 -0
- package/Source/Systems/Log/LogLevel.cs.meta +11 -0
- package/Source/Systems/Log/LogSystem.cs +331 -0
- package/Source/Systems/Log/LogSystem.cs.meta +11 -0
- package/Source/Systems/Log.meta +7 -0
- package/Source/Systems/Maintenance/MaintenanceInfo.cs +211 -0
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +11 -0
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs +252 -0
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +11 -0
- package/Source/Systems/Maintenance/MaintenanceSystem.cs +154 -0
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +11 -0
- package/Source/Systems/Maintenance.meta +7 -0
- package/Source/Systems/NullResult.cs +122 -0
- package/Source/Systems/NullResult.cs.meta +11 -0
- package/Source/Systems/Script/ScriptSystem.cs +198 -0
- package/Source/Systems/Script/ScriptSystem.cs.meta +11 -0
- package/Source/Systems/Script.meta +7 -0
- package/Source/Systems/Settings/SettingsCollection.cs +191 -0
- package/Source/Systems/Settings/SettingsCollection.cs.meta +11 -0
- package/Source/Systems/Settings/SettingsCollectionResult.cs +119 -0
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +11 -0
- package/Source/Systems/Settings/SettingsSystem.cs +999 -0
- package/Source/Systems/Settings/SettingsSystem.cs.meta +11 -0
- package/Source/Systems/Settings.meta +7 -0
- package/Source/Systems/Spaces/BasicSpace.cs +225 -0
- package/Source/Systems/Spaces/BasicSpace.cs.meta +11 -0
- package/Source/Systems/Spaces/BasicSpaceResult.cs +111 -0
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +11 -0
- package/Source/Systems/Spaces/BasicSpacesResult.cs +144 -0
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs +178 -0
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +11 -0
- package/Source/Systems/Spaces/PendingInvitesResult.cs +117 -0
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/Site.cs +259 -0
- package/Source/Systems/Spaces/Site.cs.meta +11 -0
- package/Source/Systems/Spaces/SiteResult.cs +114 -0
- package/Source/Systems/Spaces/SiteResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SitesCollectionResult.cs +117 -0
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spaces/Space.cs +321 -0
- package/Source/Systems/Spaces/Space.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceAttributes.cs +27 -0
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceGeoLocation.cs +225 -0
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs +162 -0
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceMetadataResult.cs +144 -0
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceResult.cs +160 -0
- package/Source/Systems/Spaces/SpaceResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceSystem.cs +2322 -0
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +11 -0
- package/Source/Systems/Spaces/SpaceUserRole.cs +22 -0
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +11 -0
- package/Source/Systems/Spaces/SpacesMetadataResult.cs +146 -0
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +11 -0
- package/Source/Systems/Spaces/SpacesResult.cs +132 -0
- package/Source/Systems/Spaces/SpacesResult.cs.meta +11 -0
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs +146 -0
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spaces/UserRoleInfo.cs +178 -0
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +11 -0
- package/Source/Systems/Spaces.meta +7 -0
- package/Source/Systems/Spatial/Anchor.cs +534 -0
- package/Source/Systems/Spatial/Anchor.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorCollectionResult.cs +117 -0
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorProvider.cs +20 -0
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolution.cs +293 -0
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs +119 -0
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResolutionResult.cs +119 -0
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorResult.cs +111 -0
- package/Source/Systems/Spatial/AnchorResult.cs.meta +11 -0
- package/Source/Systems/Spatial/AnchorSystem.cs +738 -0
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +11 -0
- package/Source/Systems/Spatial/EPointOfInterestType.cs +20 -0
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +11 -0
- package/Source/Systems/Spatial/GeoLocation.cs +202 -0
- package/Source/Systems/Spatial/GeoLocation.cs.meta +11 -0
- package/Source/Systems/Spatial/OlyAnchorPosition.cs +216 -0
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +11 -0
- package/Source/Systems/Spatial/OlyRotation.cs +250 -0
- package/Source/Systems/Spatial/OlyRotation.cs.meta +11 -0
- package/Source/Systems/Spatial/POICollectionResult.cs +117 -0
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +11 -0
- package/Source/Systems/Spatial/POIResult.cs +113 -0
- package/Source/Systems/Spatial/POIResult.cs.meta +11 -0
- package/Source/Systems/Spatial/PointOfInterest.cs +463 -0
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +11 -0
- package/Source/Systems/Spatial/PointOfInterestSystem.cs +314 -0
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +11 -0
- package/Source/Systems/Spatial.meta +7 -0
- package/Source/Systems/StringArrayResult.cs +146 -0
- package/Source/Systems/StringArrayResult.cs.meta +11 -0
- package/Source/Systems/StringResult.cs +149 -0
- package/Source/Systems/StringResult.cs.meta +11 -0
- package/Source/Systems/SystemBase.cs +84 -0
- package/Source/Systems/SystemBase.cs.meta +11 -0
- package/Source/Systems/SystemsManager.cs +474 -0
- package/Source/Systems/SystemsManager.cs.meta +11 -0
- package/Source/Systems/UInt64Result.cs +146 -0
- package/Source/Systems/UInt64Result.cs.meta +11 -0
- package/Source/Systems/Users/AgoraUserTokenParams.cs +326 -0
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +11 -0
- package/Source/Systems/Users/AgoraUserTokenResult.cs +130 -0
- package/Source/Systems/Users/AgoraUserTokenResult.cs.meta +11 -0
- package/Source/Systems/Users/BasicProfile.cs +259 -0
- package/Source/Systems/Users/BasicProfile.cs.meta +11 -0
- package/Source/Systems/Users/BasicProfilesResult.cs +112 -0
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +11 -0
- package/Source/Systems/Users/ELoginState.cs +25 -0
- package/Source/Systems/Users/ELoginState.cs.meta +11 -0
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs +28 -0
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +11 -0
- package/Source/Systems/Users/LoginState.cs +304 -0
- package/Source/Systems/Users/LoginState.cs.meta +11 -0
- package/Source/Systems/Users/LoginStateResult.cs +126 -0
- package/Source/Systems/Users/LoginStateResult.cs.meta +11 -0
- package/Source/Systems/Users/LoginTokenInfo.cs +224 -0
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +11 -0
- package/Source/Systems/Users/LoginTokenReceived.cs +129 -0
- package/Source/Systems/Users/LoginTokenReceived.cs.meta +11 -0
- package/Source/Systems/Users/LogoutResult.cs +105 -0
- package/Source/Systems/Users/LogoutResult.cs.meta +11 -0
- package/Source/Systems/Users/PingResponseReceived.cs +106 -0
- package/Source/Systems/Users/PingResponseReceived.cs.meta +11 -0
- package/Source/Systems/Users/Profile.cs +367 -0
- package/Source/Systems/Users/Profile.cs.meta +11 -0
- package/Source/Systems/Users/ProfileResult.cs +110 -0
- package/Source/Systems/Users/ProfileResult.cs.meta +11 -0
- package/Source/Systems/Users/ProviderDetailsResult.cs +142 -0
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +11 -0
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs +231 -0
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +11 -0
- package/Source/Systems/Users/UserSystem.cs +1468 -0
- package/Source/Systems/Users/UserSystem.cs.meta +11 -0
- package/Source/Systems/Users.meta +7 -0
- package/Source/Systems/Voip/VoipSystem.cs +132 -0
- package/Source/Systems/Voip/VoipSystem.cs.meta +11 -0
- package/Source/Systems/Voip.meta +7 -0
- package/Source/Systems.meta +7 -0
- package/Source/Web/EResponseCodes.cs +83 -0
- package/Source/Web/EResponseCodes.cs.meta +11 -0
- package/Source/Web.meta +7 -0
- package/Source/WrapperHelper.cs +96 -0
- package/Source/WrapperHelper.cs.meta +11 -0
- package/Source.meta +7 -0
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +79 -0
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +79 -0
- package/android64.meta +7 -0
- package/package.json +13 -0
- package/package.json.meta +7 -0
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +79 -0
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +79 -0
- package/windows.meta +7 -0
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
// WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
|
|
2
|
+
// ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
|
|
3
|
+
|
|
4
|
+
#nullable enable annotations
|
|
5
|
+
|
|
6
|
+
using System;
|
|
7
|
+
using System.Collections.Generic;
|
|
8
|
+
using System.Reflection;
|
|
9
|
+
using System.Runtime.InteropServices;
|
|
10
|
+
using System.Security;
|
|
11
|
+
using System.Threading.Tasks;
|
|
12
|
+
|
|
13
|
+
namespace Csp.Multiplayer
|
|
14
|
+
{
|
|
15
|
+
/// @ingroup Conversation System
|
|
16
|
+
/// <summary>Public facing system that can handle conversations taking place between users of a space in the form of thread messages.</summary>
|
|
17
|
+
|
|
18
|
+
public class ConversationSystem : NativeClassWrapper
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_multiplayer_ConversationSystem";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
[
|
|
28
|
+
DllImport(
|
|
29
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
30
|
+
"__Internal"
|
|
31
|
+
#elif DEBUG
|
|
32
|
+
"ConnectedSpacesPlatform_D"
|
|
33
|
+
#else
|
|
34
|
+
"ConnectedSpacesPlatform"
|
|
35
|
+
#endif
|
|
36
|
+
),
|
|
37
|
+
SuppressUnmanagedCodeSecurity
|
|
38
|
+
]
|
|
39
|
+
static extern NativePointer csp_multiplayer_ConversationSystem_Ctor_MultiplayerConnectionP(
|
|
40
|
+
IntPtr InMultiPlayerConnection
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
[
|
|
44
|
+
DllImport(
|
|
45
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
46
|
+
"__Internal"
|
|
47
|
+
#elif DEBUG
|
|
48
|
+
"ConnectedSpacesPlatform_D"
|
|
49
|
+
#else
|
|
50
|
+
"ConnectedSpacesPlatform"
|
|
51
|
+
#endif
|
|
52
|
+
),
|
|
53
|
+
SuppressUnmanagedCodeSecurity
|
|
54
|
+
]
|
|
55
|
+
static extern void csp_multiplayer_ConversationSystem_CreateConversation_void_StringRC_StringResultCallback(
|
|
56
|
+
IntPtr @class,
|
|
57
|
+
string Message,
|
|
58
|
+
CreateConversationCallbackDelegate callback,
|
|
59
|
+
IntPtr callbackStateObject
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
[
|
|
63
|
+
DllImport(
|
|
64
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
65
|
+
"__Internal"
|
|
66
|
+
#elif DEBUG
|
|
67
|
+
"ConnectedSpacesPlatform_D"
|
|
68
|
+
#else
|
|
69
|
+
"ConnectedSpacesPlatform"
|
|
70
|
+
#endif
|
|
71
|
+
),
|
|
72
|
+
SuppressUnmanagedCodeSecurity
|
|
73
|
+
]
|
|
74
|
+
static extern void csp_multiplayer_ConversationSystem_AddMessageToConversation_void_StringRC_StringRC_StringRC_MessageResultCallback(
|
|
75
|
+
IntPtr @class,
|
|
76
|
+
string ConversationId,
|
|
77
|
+
string SenderDisplayName,
|
|
78
|
+
string Message,
|
|
79
|
+
AddMessageToConversationCallbackDelegate callback,
|
|
80
|
+
IntPtr callbackStateObject
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
[
|
|
84
|
+
DllImport(
|
|
85
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
86
|
+
"__Internal"
|
|
87
|
+
#elif DEBUG
|
|
88
|
+
"ConnectedSpacesPlatform_D"
|
|
89
|
+
#else
|
|
90
|
+
"ConnectedSpacesPlatform"
|
|
91
|
+
#endif
|
|
92
|
+
),
|
|
93
|
+
SuppressUnmanagedCodeSecurity
|
|
94
|
+
]
|
|
95
|
+
static extern void csp_multiplayer_ConversationSystem_GetMessagesFromConversation_void_StringRC_intRC_intRC_MessageCollectionResultCallback(
|
|
96
|
+
IntPtr @class,
|
|
97
|
+
string ConversationId,
|
|
98
|
+
IntPtr ResultsSkipNumber,
|
|
99
|
+
IntPtr ResultsMaxNumber,
|
|
100
|
+
GetMessagesFromConversationCallbackDelegate callback,
|
|
101
|
+
IntPtr callbackStateObject
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
[
|
|
105
|
+
DllImport(
|
|
106
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
107
|
+
"__Internal"
|
|
108
|
+
#elif DEBUG
|
|
109
|
+
"ConnectedSpacesPlatform_D"
|
|
110
|
+
#else
|
|
111
|
+
"ConnectedSpacesPlatform"
|
|
112
|
+
#endif
|
|
113
|
+
),
|
|
114
|
+
SuppressUnmanagedCodeSecurity
|
|
115
|
+
]
|
|
116
|
+
static extern void csp_multiplayer_ConversationSystem_GetConversationInformation_void_StringRC_ConversationResultCallback(
|
|
117
|
+
IntPtr @class,
|
|
118
|
+
string ConversationId,
|
|
119
|
+
GetConversationInformationCallbackDelegate callback,
|
|
120
|
+
IntPtr callbackStateObject
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
[
|
|
124
|
+
DllImport(
|
|
125
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
126
|
+
"__Internal"
|
|
127
|
+
#elif DEBUG
|
|
128
|
+
"ConnectedSpacesPlatform_D"
|
|
129
|
+
#else
|
|
130
|
+
"ConnectedSpacesPlatform"
|
|
131
|
+
#endif
|
|
132
|
+
),
|
|
133
|
+
SuppressUnmanagedCodeSecurity
|
|
134
|
+
]
|
|
135
|
+
static extern void csp_multiplayer_ConversationSystem_SetConversationInformation_void_StringRC_ConversationInfoRC_ConversationResultCallback(
|
|
136
|
+
IntPtr @class,
|
|
137
|
+
string ConversationId,
|
|
138
|
+
IntPtr ConversationData,
|
|
139
|
+
SetConversationInformationCallbackDelegate callback,
|
|
140
|
+
IntPtr callbackStateObject
|
|
141
|
+
);
|
|
142
|
+
|
|
143
|
+
[
|
|
144
|
+
DllImport(
|
|
145
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
146
|
+
"__Internal"
|
|
147
|
+
#elif DEBUG
|
|
148
|
+
"ConnectedSpacesPlatform_D"
|
|
149
|
+
#else
|
|
150
|
+
"ConnectedSpacesPlatform"
|
|
151
|
+
#endif
|
|
152
|
+
),
|
|
153
|
+
SuppressUnmanagedCodeSecurity
|
|
154
|
+
]
|
|
155
|
+
static extern void csp_multiplayer_ConversationSystem_GetMessage_void_StringRC_MessageResultCallback(
|
|
156
|
+
IntPtr @class,
|
|
157
|
+
string MessageId,
|
|
158
|
+
GetMessageCallbackDelegate callback,
|
|
159
|
+
IntPtr callbackStateObject
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
[
|
|
163
|
+
DllImport(
|
|
164
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
165
|
+
"__Internal"
|
|
166
|
+
#elif DEBUG
|
|
167
|
+
"ConnectedSpacesPlatform_D"
|
|
168
|
+
#else
|
|
169
|
+
"ConnectedSpacesPlatform"
|
|
170
|
+
#endif
|
|
171
|
+
),
|
|
172
|
+
SuppressUnmanagedCodeSecurity
|
|
173
|
+
]
|
|
174
|
+
static extern void csp_multiplayer_ConversationSystem_SetMessageInformation_void_StringRC_MessageInfoRC_MessageResultCallback(
|
|
175
|
+
IntPtr @class,
|
|
176
|
+
string MessageId,
|
|
177
|
+
IntPtr MessageData,
|
|
178
|
+
SetMessageInformationCallbackDelegate callback,
|
|
179
|
+
IntPtr callbackStateObject
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
[
|
|
183
|
+
DllImport(
|
|
184
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
185
|
+
"__Internal"
|
|
186
|
+
#elif DEBUG
|
|
187
|
+
"ConnectedSpacesPlatform_D"
|
|
188
|
+
#else
|
|
189
|
+
"ConnectedSpacesPlatform"
|
|
190
|
+
#endif
|
|
191
|
+
),
|
|
192
|
+
SuppressUnmanagedCodeSecurity
|
|
193
|
+
]
|
|
194
|
+
static extern void csp_multiplayer_ConversationSystem_GetMessageInformation_void_StringRC_MessageResultCallback(
|
|
195
|
+
IntPtr @class,
|
|
196
|
+
string MessageId,
|
|
197
|
+
GetMessageInformationCallbackDelegate callback,
|
|
198
|
+
IntPtr callbackStateObject
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
[
|
|
202
|
+
DllImport(
|
|
203
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
204
|
+
"__Internal"
|
|
205
|
+
#elif DEBUG
|
|
206
|
+
"ConnectedSpacesPlatform_D"
|
|
207
|
+
#else
|
|
208
|
+
"ConnectedSpacesPlatform"
|
|
209
|
+
#endif
|
|
210
|
+
),
|
|
211
|
+
SuppressUnmanagedCodeSecurity
|
|
212
|
+
]
|
|
213
|
+
static extern void csp_multiplayer_ConversationSystem_DeleteConversation_void_StringRC_NullResultCallback(
|
|
214
|
+
IntPtr @class,
|
|
215
|
+
string ConversationId,
|
|
216
|
+
DeleteConversationCallbackDelegate callback,
|
|
217
|
+
IntPtr callbackStateObject
|
|
218
|
+
);
|
|
219
|
+
|
|
220
|
+
[
|
|
221
|
+
DllImport(
|
|
222
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
223
|
+
"__Internal"
|
|
224
|
+
#elif DEBUG
|
|
225
|
+
"ConnectedSpacesPlatform_D"
|
|
226
|
+
#else
|
|
227
|
+
"ConnectedSpacesPlatform"
|
|
228
|
+
#endif
|
|
229
|
+
),
|
|
230
|
+
SuppressUnmanagedCodeSecurity
|
|
231
|
+
]
|
|
232
|
+
static extern void csp_multiplayer_ConversationSystem_DeleteMessage_void_StringRC_NullResultCallback(
|
|
233
|
+
IntPtr @class,
|
|
234
|
+
string MessageId,
|
|
235
|
+
DeleteMessageCallbackDelegate callback,
|
|
236
|
+
IntPtr callbackStateObject
|
|
237
|
+
);
|
|
238
|
+
|
|
239
|
+
[
|
|
240
|
+
DllImport(
|
|
241
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
242
|
+
"__Internal"
|
|
243
|
+
#elif DEBUG
|
|
244
|
+
"ConnectedSpacesPlatform_D"
|
|
245
|
+
#else
|
|
246
|
+
"ConnectedSpacesPlatform"
|
|
247
|
+
#endif
|
|
248
|
+
),
|
|
249
|
+
SuppressUnmanagedCodeSecurity
|
|
250
|
+
]
|
|
251
|
+
static extern void csp_multiplayer_ConversationSystem_Dtor(IntPtr @class);
|
|
252
|
+
|
|
253
|
+
#pragma warning restore IDE1006
|
|
254
|
+
#endregion
|
|
255
|
+
|
|
256
|
+
internal ConversationSystem(NativePointer ptr) : base(ptr) { }
|
|
257
|
+
|
|
258
|
+
delegate void CreateConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
259
|
+
|
|
260
|
+
delegate void AddMessageToConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
261
|
+
|
|
262
|
+
delegate void GetMessagesFromConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
263
|
+
|
|
264
|
+
delegate void GetConversationInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
265
|
+
|
|
266
|
+
delegate void SetConversationInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
267
|
+
|
|
268
|
+
delegate void GetMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
269
|
+
|
|
270
|
+
delegate void SetMessageInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
271
|
+
|
|
272
|
+
delegate void GetMessageInformationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
273
|
+
|
|
274
|
+
delegate void DeleteConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
275
|
+
|
|
276
|
+
delegate void DeleteMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
277
|
+
|
|
278
|
+
/// <summary>Constructs a conversation system instance that uses the given multiplayer connection.</summary>
|
|
279
|
+
/// <param name="InMultiPlayerConnection">The connection to be used.</param>
|
|
280
|
+
|
|
281
|
+
public ConversationSystem(Csp.Multiplayer.MultiplayerConnection InMultiPlayerConnection)
|
|
282
|
+
{
|
|
283
|
+
var np = csp_multiplayer_ConversationSystem_Ctor_MultiplayerConnectionP(InMultiPlayerConnection._ptr);
|
|
284
|
+
_ptr = np.Pointer;
|
|
285
|
+
_ownsPtr = np.OwnsOwnData;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
289
|
+
[AOT.MonoPInvokeCallback (typeof (CreateConversationCallbackDelegate))]
|
|
290
|
+
#endif
|
|
291
|
+
static void CreateConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
292
|
+
{
|
|
293
|
+
var _handle = (GCHandle)_StateObject__;
|
|
294
|
+
var tcs = (TaskCompletionSource<Csp.Systems.StringResult>)_handle.Target;
|
|
295
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
296
|
+
|
|
297
|
+
var task_result = new Csp.Systems.StringResult(_Result);
|
|
298
|
+
|
|
299
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
300
|
+
{
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
tcs.SetResult(task_result);
|
|
305
|
+
_handle.Free();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
static readonly CreateConversationCallbackDelegate CreateConversationDelegateInstance =
|
|
309
|
+
CreateConversationCallbackDelegateFunction;
|
|
310
|
+
|
|
311
|
+
/// <summary>Creates a new conversation with the initial message and provides the conversation ID to the given callback.</summary>
|
|
312
|
+
/// <param name="Message">The message to be stored.</param>
|
|
313
|
+
/// <returns>The result for the request</returns>
|
|
314
|
+
|
|
315
|
+
public Task<Csp.Systems.StringResult> CreateConversation(string Message)
|
|
316
|
+
{
|
|
317
|
+
var tcs = new TaskCompletionSource<Csp.Systems.StringResult>(this);
|
|
318
|
+
var handle = GCHandle.Alloc(tcs);
|
|
319
|
+
|
|
320
|
+
csp_multiplayer_ConversationSystem_CreateConversation_void_StringRC_StringResultCallback(
|
|
321
|
+
_ptr,
|
|
322
|
+
Message,
|
|
323
|
+
CreateConversationDelegateInstance,
|
|
324
|
+
(IntPtr)handle
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
return tcs.Task;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
331
|
+
[AOT.MonoPInvokeCallback (typeof (AddMessageToConversationCallbackDelegate))]
|
|
332
|
+
#endif
|
|
333
|
+
static void AddMessageToConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
334
|
+
{
|
|
335
|
+
var _handle = (GCHandle)_StateObject__;
|
|
336
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
337
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
338
|
+
|
|
339
|
+
var task_result = new Csp.Multiplayer.MessageResult(_Result);
|
|
340
|
+
|
|
341
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
342
|
+
{
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
tcs.SetResult(task_result);
|
|
347
|
+
_handle.Free();
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
static readonly AddMessageToConversationCallbackDelegate AddMessageToConversationDelegateInstance =
|
|
351
|
+
AddMessageToConversationCallbackDelegateFunction;
|
|
352
|
+
|
|
353
|
+
/// <summary>Adds a message to a brand new conversation or to an already existing one</summary>
|
|
354
|
+
/// <remarks>/// Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.</remarks>
|
|
355
|
+
/// <remarks>Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
|
|
356
|
+
/// <remarks>{ConversationSystemParams of type ReplicatedType : ConversationMessageType::NewMessage, ConversationId of type ReplicatedType : String}.</remarks>
|
|
357
|
+
/// <remarks>/// @param ConversationId csp::common::String : A new message will be linked to the provided conversation id.</remarks>
|
|
358
|
+
/// <param name="SenderDisplayName">The display name of the message sender.</param>
|
|
359
|
+
/// <param name="Message">The message to be stored.</param>
|
|
360
|
+
/// <returns>The result for the request</returns>
|
|
361
|
+
|
|
362
|
+
public Task<Csp.Multiplayer.MessageResult> AddMessageToConversation(
|
|
363
|
+
string ConversationId,
|
|
364
|
+
string SenderDisplayName,
|
|
365
|
+
string Message
|
|
366
|
+
) {
|
|
367
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
368
|
+
var handle = GCHandle.Alloc(tcs);
|
|
369
|
+
|
|
370
|
+
csp_multiplayer_ConversationSystem_AddMessageToConversation_void_StringRC_StringRC_StringRC_MessageResultCallback(
|
|
371
|
+
_ptr,
|
|
372
|
+
ConversationId,
|
|
373
|
+
SenderDisplayName,
|
|
374
|
+
Message,
|
|
375
|
+
AddMessageToConversationDelegateInstance,
|
|
376
|
+
(IntPtr)handle
|
|
377
|
+
);
|
|
378
|
+
|
|
379
|
+
return tcs.Task;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
383
|
+
[AOT.MonoPInvokeCallback (typeof (GetMessagesFromConversationCallbackDelegate))]
|
|
384
|
+
#endif
|
|
385
|
+
static void GetMessagesFromConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
386
|
+
{
|
|
387
|
+
var _handle = (GCHandle)_StateObject__;
|
|
388
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>)_handle.Target;
|
|
389
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
390
|
+
|
|
391
|
+
var task_result = new Csp.Multiplayer.MessageCollectionResult(_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 GetMessagesFromConversationCallbackDelegate GetMessagesFromConversationDelegateInstance =
|
|
403
|
+
GetMessagesFromConversationCallbackDelegateFunction;
|
|
404
|
+
|
|
405
|
+
/// <summary>Retrieves messages that are linked to the provided Conversation ID.</summary>
|
|
406
|
+
/// <param name="ConversationId">Conversation ID.</param>
|
|
407
|
+
/// <param name="ResultsSkipNumber">Optional parameter representing the number of result entries that will be skipped from the result.</param>
|
|
408
|
+
/// <remarks>For no skip pass nullptr.</remarks>
|
|
409
|
+
/// <param name="ResultsMaxNumber">Optional parameter representing the maximum number of result entries to be retrieved. For all</param>
|
|
410
|
+
/// <remarks>available result entries pass nullptr.</remarks>
|
|
411
|
+
/// <returns>The result for the request</returns>
|
|
412
|
+
|
|
413
|
+
public Task<Csp.Multiplayer.MessageCollectionResult> GetMessagesFromConversation(
|
|
414
|
+
string ConversationId,
|
|
415
|
+
int? ResultsSkipNumber,
|
|
416
|
+
int? ResultsMaxNumber
|
|
417
|
+
) {
|
|
418
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>(this);
|
|
419
|
+
var handle = GCHandle.Alloc(tcs);
|
|
420
|
+
|
|
421
|
+
var ResultsSkipNumberPointer = IntPtr.Zero;
|
|
422
|
+
unsafe
|
|
423
|
+
{
|
|
424
|
+
if (ResultsSkipNumber.HasValue)
|
|
425
|
+
{
|
|
426
|
+
var ptr = stackalloc int[1];
|
|
427
|
+
*ptr = ResultsSkipNumber.Value;
|
|
428
|
+
ResultsSkipNumberPointer = (IntPtr)ptr;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
var ResultsMaxNumberPointer = IntPtr.Zero;
|
|
432
|
+
unsafe
|
|
433
|
+
{
|
|
434
|
+
if (ResultsMaxNumber.HasValue)
|
|
435
|
+
{
|
|
436
|
+
var ptr = stackalloc int[1];
|
|
437
|
+
*ptr = ResultsMaxNumber.Value;
|
|
438
|
+
ResultsMaxNumberPointer = (IntPtr)ptr;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
csp_multiplayer_ConversationSystem_GetMessagesFromConversation_void_StringRC_intRC_intRC_MessageCollectionResultCallback(
|
|
443
|
+
_ptr,
|
|
444
|
+
ConversationId,
|
|
445
|
+
ResultsSkipNumberPointer,
|
|
446
|
+
ResultsMaxNumberPointer,
|
|
447
|
+
GetMessagesFromConversationDelegateInstance,
|
|
448
|
+
(IntPtr)handle
|
|
449
|
+
);
|
|
450
|
+
|
|
451
|
+
return tcs.Task;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
455
|
+
[AOT.MonoPInvokeCallback (typeof (GetConversationInformationCallbackDelegate))]
|
|
456
|
+
#endif
|
|
457
|
+
static void GetConversationInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
458
|
+
{
|
|
459
|
+
var _handle = (GCHandle)_StateObject__;
|
|
460
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
|
|
461
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
462
|
+
|
|
463
|
+
var task_result = new Csp.Multiplayer.ConversationResult(_Result);
|
|
464
|
+
|
|
465
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
466
|
+
{
|
|
467
|
+
return;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
tcs.SetResult(task_result);
|
|
471
|
+
_handle.Free();
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
static readonly GetConversationInformationCallbackDelegate GetConversationInformationDelegateInstance =
|
|
475
|
+
GetConversationInformationCallbackDelegateFunction;
|
|
476
|
+
|
|
477
|
+
/// <summary>Retrieves the conversation information.</summary>
|
|
478
|
+
/// <param name="ConversationId">Conversation ID.</param>
|
|
479
|
+
/// <returns>The result for the request</returns>
|
|
480
|
+
|
|
481
|
+
public Task<Csp.Multiplayer.ConversationResult> GetConversationInformation(string ConversationId)
|
|
482
|
+
{
|
|
483
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
|
|
484
|
+
var handle = GCHandle.Alloc(tcs);
|
|
485
|
+
|
|
486
|
+
csp_multiplayer_ConversationSystem_GetConversationInformation_void_StringRC_ConversationResultCallback(
|
|
487
|
+
_ptr,
|
|
488
|
+
ConversationId,
|
|
489
|
+
GetConversationInformationDelegateInstance,
|
|
490
|
+
(IntPtr)handle
|
|
491
|
+
);
|
|
492
|
+
|
|
493
|
+
return tcs.Task;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
497
|
+
[AOT.MonoPInvokeCallback (typeof (SetConversationInformationCallbackDelegate))]
|
|
498
|
+
#endif
|
|
499
|
+
static void SetConversationInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
500
|
+
{
|
|
501
|
+
var _handle = (GCHandle)_StateObject__;
|
|
502
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
|
|
503
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
504
|
+
|
|
505
|
+
var task_result = new Csp.Multiplayer.ConversationResult(_Result);
|
|
506
|
+
|
|
507
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
508
|
+
{
|
|
509
|
+
return;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
tcs.SetResult(task_result);
|
|
513
|
+
_handle.Free();
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
static readonly SetConversationInformationCallbackDelegate SetConversationInformationDelegateInstance =
|
|
517
|
+
SetConversationInformationCallbackDelegateFunction;
|
|
518
|
+
|
|
519
|
+
/// <summary>Sets the conversation information.</summary>
|
|
520
|
+
/// <param name="ConversationId">Conversation ID.</param>
|
|
521
|
+
/// <param name="ConversationData">Conversation Data.</param>
|
|
522
|
+
/// <returns>The result for the request</returns>
|
|
523
|
+
|
|
524
|
+
public Task<Csp.Multiplayer.ConversationResult> SetConversationInformation(
|
|
525
|
+
string ConversationId,
|
|
526
|
+
Csp.Multiplayer.ConversationInfo ConversationData
|
|
527
|
+
) {
|
|
528
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
|
|
529
|
+
var handle = GCHandle.Alloc(tcs);
|
|
530
|
+
|
|
531
|
+
csp_multiplayer_ConversationSystem_SetConversationInformation_void_StringRC_ConversationInfoRC_ConversationResultCallback(
|
|
532
|
+
_ptr,
|
|
533
|
+
ConversationId,
|
|
534
|
+
ConversationData._ptr,
|
|
535
|
+
SetConversationInformationDelegateInstance,
|
|
536
|
+
(IntPtr)handle
|
|
537
|
+
);
|
|
538
|
+
|
|
539
|
+
return tcs.Task;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
543
|
+
[AOT.MonoPInvokeCallback (typeof (GetMessageCallbackDelegate))]
|
|
544
|
+
#endif
|
|
545
|
+
static void GetMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
546
|
+
{
|
|
547
|
+
var _handle = (GCHandle)_StateObject__;
|
|
548
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
549
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
550
|
+
|
|
551
|
+
var task_result = new Csp.Multiplayer.MessageResult(_Result);
|
|
552
|
+
|
|
553
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
554
|
+
{
|
|
555
|
+
return;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
tcs.SetResult(task_result);
|
|
559
|
+
_handle.Free();
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
static readonly GetMessageCallbackDelegate GetMessageDelegateInstance = GetMessageCallbackDelegateFunction;
|
|
563
|
+
|
|
564
|
+
/// <summary>Retrieves one particular message.</summary>
|
|
565
|
+
/// <param name="MessageId">ID of the message to be retrieved.</param>
|
|
566
|
+
/// <returns>The result for the request</returns>
|
|
567
|
+
|
|
568
|
+
public Task<Csp.Multiplayer.MessageResult> GetMessage(string MessageId)
|
|
569
|
+
{
|
|
570
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
571
|
+
var handle = GCHandle.Alloc(tcs);
|
|
572
|
+
|
|
573
|
+
csp_multiplayer_ConversationSystem_GetMessage_void_StringRC_MessageResultCallback(
|
|
574
|
+
_ptr,
|
|
575
|
+
MessageId,
|
|
576
|
+
GetMessageDelegateInstance,
|
|
577
|
+
(IntPtr)handle
|
|
578
|
+
);
|
|
579
|
+
|
|
580
|
+
return tcs.Task;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
584
|
+
[AOT.MonoPInvokeCallback (typeof (SetMessageInformationCallbackDelegate))]
|
|
585
|
+
#endif
|
|
586
|
+
static void SetMessageInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
587
|
+
{
|
|
588
|
+
var _handle = (GCHandle)_StateObject__;
|
|
589
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
590
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
591
|
+
|
|
592
|
+
var task_result = new Csp.Multiplayer.MessageResult(_Result);
|
|
593
|
+
|
|
594
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
595
|
+
{
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
tcs.SetResult(task_result);
|
|
600
|
+
_handle.Free();
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
static readonly SetMessageInformationCallbackDelegate SetMessageInformationDelegateInstance =
|
|
604
|
+
SetMessageInformationCallbackDelegateFunction;
|
|
605
|
+
|
|
606
|
+
/// <summary>Sets the message information.</summary>
|
|
607
|
+
/// <param name="MessageId">ID of the message to be retrieved.</param>
|
|
608
|
+
/// <param name="MessageData">Message Data.</param>
|
|
609
|
+
/// <returns>The result for the request</returns>
|
|
610
|
+
|
|
611
|
+
public Task<Csp.Multiplayer.MessageResult> SetMessageInformation(
|
|
612
|
+
string MessageId,
|
|
613
|
+
Csp.Multiplayer.MessageInfo MessageData
|
|
614
|
+
) {
|
|
615
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
616
|
+
var handle = GCHandle.Alloc(tcs);
|
|
617
|
+
|
|
618
|
+
csp_multiplayer_ConversationSystem_SetMessageInformation_void_StringRC_MessageInfoRC_MessageResultCallback(
|
|
619
|
+
_ptr,
|
|
620
|
+
MessageId,
|
|
621
|
+
MessageData._ptr,
|
|
622
|
+
SetMessageInformationDelegateInstance,
|
|
623
|
+
(IntPtr)handle
|
|
624
|
+
);
|
|
625
|
+
|
|
626
|
+
return tcs.Task;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
630
|
+
[AOT.MonoPInvokeCallback (typeof (GetMessageInformationCallbackDelegate))]
|
|
631
|
+
#endif
|
|
632
|
+
static void GetMessageInformationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
633
|
+
{
|
|
634
|
+
var _handle = (GCHandle)_StateObject__;
|
|
635
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
636
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
637
|
+
|
|
638
|
+
var task_result = new Csp.Multiplayer.MessageResult(_Result);
|
|
639
|
+
|
|
640
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
641
|
+
{
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
tcs.SetResult(task_result);
|
|
646
|
+
_handle.Free();
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
static readonly GetMessageInformationCallbackDelegate GetMessageInformationDelegateInstance =
|
|
650
|
+
GetMessageInformationCallbackDelegateFunction;
|
|
651
|
+
|
|
652
|
+
/// <summary>Retrieves the message information.</summary>
|
|
653
|
+
/// <param name="MessageId">Message ID.</param>
|
|
654
|
+
/// <returns>The result for the request</returns>
|
|
655
|
+
|
|
656
|
+
public Task<Csp.Multiplayer.MessageResult> GetMessageInformation(string MessageId)
|
|
657
|
+
{
|
|
658
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
659
|
+
var handle = GCHandle.Alloc(tcs);
|
|
660
|
+
|
|
661
|
+
csp_multiplayer_ConversationSystem_GetMessageInformation_void_StringRC_MessageResultCallback(
|
|
662
|
+
_ptr,
|
|
663
|
+
MessageId,
|
|
664
|
+
GetMessageInformationDelegateInstance,
|
|
665
|
+
(IntPtr)handle
|
|
666
|
+
);
|
|
667
|
+
|
|
668
|
+
return tcs.Task;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
672
|
+
[AOT.MonoPInvokeCallback (typeof (DeleteConversationCallbackDelegate))]
|
|
673
|
+
#endif
|
|
674
|
+
static void DeleteConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
675
|
+
{
|
|
676
|
+
var _handle = (GCHandle)_StateObject__;
|
|
677
|
+
var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
|
|
678
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
679
|
+
|
|
680
|
+
var task_result = new Csp.Systems.NullResult(_Result);
|
|
681
|
+
|
|
682
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
683
|
+
{
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
tcs.SetResult(task_result);
|
|
688
|
+
_handle.Free();
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static readonly DeleteConversationCallbackDelegate DeleteConversationDelegateInstance =
|
|
692
|
+
DeleteConversationCallbackDelegateFunction;
|
|
693
|
+
|
|
694
|
+
/// <summary>Deletes all the messages that are part of the conversation.</summary>
|
|
695
|
+
/// <remarks>/// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
|
|
696
|
+
/// <remarks>{ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteConversation, ConversationId of type ReplicatedType :</remarks>
|
|
697
|
+
/// <remarks>String}.</remarks>
|
|
698
|
+
/// <remarks>/// @param ConversationId csp::common::String : ID of the conversation that will be deleted. After this operation finishes successful this ID will</remarks>
|
|
699
|
+
/// <remarks>not be valid anymore.</remarks>
|
|
700
|
+
/// <returns>The result for the request</returns>
|
|
701
|
+
|
|
702
|
+
public Task<Csp.Systems.NullResult> DeleteConversation(string ConversationId)
|
|
703
|
+
{
|
|
704
|
+
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
705
|
+
var handle = GCHandle.Alloc(tcs);
|
|
706
|
+
|
|
707
|
+
csp_multiplayer_ConversationSystem_DeleteConversation_void_StringRC_NullResultCallback(
|
|
708
|
+
_ptr,
|
|
709
|
+
ConversationId,
|
|
710
|
+
DeleteConversationDelegateInstance,
|
|
711
|
+
(IntPtr)handle
|
|
712
|
+
);
|
|
713
|
+
|
|
714
|
+
return tcs.Task;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
718
|
+
[AOT.MonoPInvokeCallback (typeof (DeleteMessageCallbackDelegate))]
|
|
719
|
+
#endif
|
|
720
|
+
static void DeleteMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
721
|
+
{
|
|
722
|
+
var _handle = (GCHandle)_StateObject__;
|
|
723
|
+
var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
|
|
724
|
+
var _this = (ConversationSystem)tcs.Task.AsyncState;
|
|
725
|
+
|
|
726
|
+
var task_result = new Csp.Systems.NullResult(_Result);
|
|
727
|
+
|
|
728
|
+
if (task_result.GetResultCode() == Csp.Services.EResultCode.InProgress)
|
|
729
|
+
{
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
tcs.SetResult(task_result);
|
|
734
|
+
_handle.Free();
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
static readonly DeleteMessageCallbackDelegate DeleteMessageDelegateInstance =
|
|
738
|
+
DeleteMessageCallbackDelegateFunction;
|
|
739
|
+
|
|
740
|
+
/// <summary>Deletes a particular message.</summary>
|
|
741
|
+
/// <remarks>/// Sends a network event acknowledgement that can be listened for called "ConversationSystem" containing:</remarks>
|
|
742
|
+
/// <remarks>{ ConversationSystemParams of type ReplicatedType : ConversationMessageType::DeleteMessage, MessageId of type ReplicatedType : String }.</remarks>
|
|
743
|
+
/// <remarks>/// @param MessageId csp::common::String : ID of the message that will be deleted.</remarks>
|
|
744
|
+
/// <returns>The result for the request</returns>
|
|
745
|
+
|
|
746
|
+
public Task<Csp.Systems.NullResult> DeleteMessage(string MessageId)
|
|
747
|
+
{
|
|
748
|
+
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
749
|
+
var handle = GCHandle.Alloc(tcs);
|
|
750
|
+
|
|
751
|
+
csp_multiplayer_ConversationSystem_DeleteMessage_void_StringRC_NullResultCallback(
|
|
752
|
+
_ptr,
|
|
753
|
+
MessageId,
|
|
754
|
+
DeleteMessageDelegateInstance,
|
|
755
|
+
(IntPtr)handle
|
|
756
|
+
);
|
|
757
|
+
|
|
758
|
+
return tcs.Task;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
~ConversationSystem()
|
|
762
|
+
{
|
|
763
|
+
//RealDispose();
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
void RealDispose()
|
|
767
|
+
{
|
|
768
|
+
if (_ownsPtr && !_disposed)
|
|
769
|
+
{
|
|
770
|
+
csp_multiplayer_ConversationSystem_Dtor(_ptr);
|
|
771
|
+
_disposed = true;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
_disposed = true;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
public void Dispose()
|
|
778
|
+
{
|
|
779
|
+
RealDispose();
|
|
780
|
+
GC.SuppressFinalize(this);
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|