connected-spaces-platform.unity.core 5.13.1 → 5.14.1
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.cs.meta +1 -1
- package/Editor.meta +1 -1
- package/README.md +1 -1
- package/README.md.meta +1 -1
- package/Source/CSPFoundation.cs.meta +1 -1
- package/Source/ClientUserAgent.cs.meta +1 -1
- package/Source/Common/Array.cs.meta +1 -1
- package/Source/Common/CancellationToken.cs.meta +1 -1
- package/Source/Common/FileExtensions.cs.meta +1 -1
- package/Source/Common/List.cs.meta +1 -1
- package/Source/Common/Map.cs.meta +1 -1
- package/Source/Common/MimeTypeHelper.cs.meta +1 -1
- package/Source/Common/MimeTypes.cs.meta +1 -1
- package/Source/Common/Variant.cs.meta +1 -1
- package/Source/Common/VariantType.cs.meta +1 -1
- package/Source/Common/Vector2.cs.meta +1 -1
- package/Source/Common/Vector3.cs.meta +1 -1
- package/Source/Common/Vector4.cs.meta +1 -1
- package/Source/Common.meta +1 -1
- package/Source/Constants.cs.meta +1 -1
- package/Source/Csp.cs.meta +1 -1
- package/Source/EThirdPartyPlatform.cs.meta +1 -1
- package/Source/EndpointURIs.cs.meta +1 -1
- package/Source/Il2cppPreserver.cs.meta +1 -1
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
- package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
- package/Source/Multiplayer/ComponentType.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs +5 -2
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +669 -152
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces.meta +1 -1
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components.meta +1 -1
- package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/AnnotationData.cs +283 -0
- package/Source/Multiplayer/Conversation/{ConversationMessageType.cs.meta → AnnotationData.cs.meta} +1 -1
- package/Source/Multiplayer/Conversation/AnnotationResult.cs +123 -0
- package/Source/Multiplayer/Conversation/{BaseMessageInfo.cs.meta → AnnotationResult.cs.meta} +1 -1
- package/Source/Multiplayer/Conversation/AnnotationThumbnailCollectionResult.cs +104 -0
- package/Source/Multiplayer/Conversation/{ConversationSystem.cs.meta → AnnotationThumbnailCollectionResult.cs.meta} +1 -1
- package/Source/Multiplayer/Conversation/AnnotationUpdateParams.cs +122 -0
- package/Source/Multiplayer/Conversation/{ConversationInfo.cs.meta → AnnotationUpdateParams.cs.meta} +1 -1
- package/Source/Multiplayer/Conversation/{ConversationMessageType.cs → ConversationEventType.cs} +6 -1
- package/Source/Multiplayer/Conversation/ConversationEventType.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/ConversationResult.cs +7 -9
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs +2 -2
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageInfo.cs +118 -18
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageResult.cs +2 -2
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageUpdateParams.cs +84 -0
- package/Source/Multiplayer/Conversation/MessageUpdateParams.cs.meta +11 -0
- package/Source/Multiplayer/Conversation/NumberOfRepliesResult.cs +84 -0
- package/Source/Multiplayer/Conversation/NumberOfRepliesResult.cs.meta +11 -0
- package/Source/Multiplayer/Conversation.meta +1 -1
- package/Source/Multiplayer/{ConversationSystemParams.cs → ConversationEventParams.cs} +20 -28
- package/Source/Multiplayer/ConversationEventParams.cs.meta +11 -0
- package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
- package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
- package/Source/Multiplayer/ESequenceUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
- package/Source/Multiplayer/EventBus.cs.meta +1 -1
- package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
- package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
- package/Source/Multiplayer/LockType.cs +23 -0
- package/Source/Multiplayer/LockType.cs.meta +11 -0
- package/Source/Multiplayer/MaterialChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/MultiplayerConnection.cs +0 -22
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
- package/Source/Multiplayer/Script/EntityScript.cs +2 -0
- package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
- package/Source/Multiplayer/Script.meta +1 -1
- package/Source/Multiplayer/SequenceChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SequenceHotspotChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntity.cs +56 -8
- package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs +1 -0
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
- package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
- package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
- package/Source/Multiplayer.meta +1 -1
- package/Source/NativeClassWrapper.cs.meta +1 -1
- package/Source/ProgressEventArgs.cs.meta +1 -1
- package/Source/Ref.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
- package/Source/Systems/Analytics.meta +1 -1
- package/Source/Systems/Assets/AlphaVideoMaterial.cs.meta +1 -1
- package/Source/Systems/Assets/Asset.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionCountResult.cs +83 -0
- package/Source/Systems/Assets/AssetCollectionCountResult.cs.meta +11 -0
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetSystem.cs +128 -0
- package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
- package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/EAlphaMode.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetType.cs +2 -0
- package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
- package/Source/Systems/Assets/EBlendMode.cs.meta +1 -1
- package/Source/Systems/Assets/EColorChannel.cs.meta +1 -1
- package/Source/Systems/Assets/EShaderType.cs.meta +1 -1
- package/Source/Systems/Assets/ETextureResourceType.cs.meta +1 -1
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/GLTFMaterial.cs.meta +1 -1
- package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
- package/Source/Systems/Assets/LODChain.cs.meta +1 -1
- package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
- package/Source/Systems/Assets/Material.cs.meta +1 -1
- package/Source/Systems/Assets/MaterialResult.cs.meta +1 -1
- package/Source/Systems/Assets/MaterialsResult.cs.meta +1 -1
- package/Source/Systems/Assets/TextureInfo.cs.meta +1 -1
- package/Source/Systems/Assets/UriResult.cs.meta +1 -1
- package/Source/Systems/Assets.meta +1 -1
- package/Source/Systems/BooleanResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
- package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce.meta +1 -1
- package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
- package/Source/Systems/EResultCode.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
- package/Source/Systems/GraphQL.meta +1 -1
- package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroup.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs.meta +1 -1
- package/Source/Systems/HotspotSequence.meta +1 -1
- package/Source/Systems/Log/LogLevel.cs.meta +1 -1
- package/Source/Systems/Log/LogSystem.cs.meta +1 -1
- package/Source/Systems/Log.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
- package/Source/Systems/Maintenance.meta +1 -1
- package/Source/Systems/NullResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
- package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
- package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
- package/Source/Systems/Quota/TierNames.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
- package/Source/Systems/Quota.meta +1 -1
- package/Source/Systems/ResultBase.cs.meta +1 -1
- package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
- package/Source/Systems/Script.meta +1 -1
- package/Source/Systems/Sequence/Sequence.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceResult.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceSystem.cs.meta +1 -1
- package/Source/Systems/Sequence/SequencesResult.cs.meta +1 -1
- package/Source/Systems/Sequence.meta +1 -1
- package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
- package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
- package/Source/Systems/Settings.meta +1 -1
- package/Source/Systems/Spaces/AcceptedInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Site.cs.meta +1 -1
- package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Space.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces.meta +1 -1
- package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
- package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
- package/Source/Systems/Spatial.meta +1 -1
- package/Source/Systems/StringArrayResult.cs.meta +1 -1
- package/Source/Systems/StringResult.cs.meta +1 -1
- package/Source/Systems/SystemBase.cs.meta +1 -1
- package/Source/Systems/SystemsManager.cs.meta +1 -1
- package/Source/Systems/UInt64Result.cs.meta +1 -1
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
- package/Source/Systems/Users/ELoginState.cs.meta +1 -1
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
- package/Source/Systems/Users/LoginState.cs.meta +1 -1
- package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
- package/Source/Systems/Users/Profile.cs.meta +1 -1
- package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
- package/Source/Systems/Users/TokenInfoParams.cs.meta +1 -1
- package/Source/Systems/Users/UserSystem.cs.meta +1 -1
- package/Source/Systems/Users.meta +1 -1
- package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
- package/Source/Systems/Voip.meta +1 -1
- package/Source/Systems.meta +1 -1
- package/Source/Web/EResponseCodes.cs.meta +1 -1
- package/Source/Web.meta +1 -1
- package/Source/WrapperHelper.cs.meta +1 -1
- package/Source.meta +1 -1
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +1 -1
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
- package/android64.meta +1 -1
- package/ios/libConnectedSpacesPlatform.a +0 -0
- package/ios/libConnectedSpacesPlatform.a.meta +1 -1
- package/ios/libcrypto.a.meta +1 -1
- package/ios/libssl.a.meta +1 -1
- package/ios.meta +1 -1
- package/macosx/libConnectedSpacesPlatform.dylib +0 -0
- package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
- package/macosx.meta +1 -1
- package/package.json +1 -1
- package/package.json.meta +1 -1
- package/visionos/libConnectedSpacesPlatform.a +0 -0
- package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
- package/visionos/libcrypto.a.meta +1 -1
- package/visionos/libssl.a.meta +1 -1
- package/visionos.meta +1 -1
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
- package/windows.meta +1 -1
- package/Source/Multiplayer/Conversation/BaseMessageInfo.cs +0 -152
- package/Source/Multiplayer/Conversation/ConversationInfo.cs +0 -124
- package/Source/Multiplayer/Conversation/ConversationSystem.cs +0 -718
- package/Source/Multiplayer/ConversationSystemParams.cs.meta +0 -11
|
@@ -26,7 +26,13 @@ namespace Csp.Multiplayer
|
|
|
26
26
|
#region P/Invoke
|
|
27
27
|
#pragma warning disable IDE1006
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
[DllImport(Csp.Constants.DllName)]
|
|
30
|
+
[SuppressUnmanagedCodeSecurity]
|
|
31
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetConversationUpdateCallback_void_ConversationUpdateCallbackHandler(
|
|
32
|
+
IntPtr @class,
|
|
33
|
+
SetConversationUpdateCallbackCallbackDelegate callback,
|
|
34
|
+
IntPtr callbackStateObject
|
|
35
|
+
);
|
|
30
36
|
|
|
31
37
|
[DllImport(Csp.Constants.DllName)]
|
|
32
38
|
[SuppressUnmanagedCodeSecurity]
|
|
@@ -69,57 +75,123 @@ namespace Csp.Multiplayer
|
|
|
69
75
|
|
|
70
76
|
[DllImport(Csp.Constants.DllName)]
|
|
71
77
|
[SuppressUnmanagedCodeSecurity]
|
|
72
|
-
static extern void
|
|
78
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetMessagesFromConversation_void_intRC_intRC_MessageCollectionResultCallback(
|
|
79
|
+
IntPtr @class,
|
|
80
|
+
IntPtr ResultsSkipNumber,
|
|
81
|
+
IntPtr ResultsMaxNumber,
|
|
82
|
+
GetMessagesFromConversationCallbackDelegate callback,
|
|
83
|
+
IntPtr callbackStateObject
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
[DllImport(Csp.Constants.DllName)]
|
|
87
|
+
[SuppressUnmanagedCodeSecurity]
|
|
88
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetConversationInfo_void_ConversationResultCallback(
|
|
89
|
+
IntPtr @class,
|
|
90
|
+
GetConversationInfoCallbackDelegate callback,
|
|
91
|
+
IntPtr callbackStateObject
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
[DllImport(Csp.Constants.DllName)]
|
|
95
|
+
[SuppressUnmanagedCodeSecurity]
|
|
96
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_UpdateConversation_void_MessageUpdateParamsRC_ConversationResultCallback(
|
|
97
|
+
IntPtr @class,
|
|
98
|
+
IntPtr NewData,
|
|
99
|
+
UpdateConversationCallbackDelegate callback,
|
|
100
|
+
IntPtr callbackStateObject
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
[DllImport(Csp.Constants.DllName)]
|
|
104
|
+
[SuppressUnmanagedCodeSecurity]
|
|
105
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetMessageInfo_void_StringRC_MessageResultCallback(
|
|
73
106
|
IntPtr @class,
|
|
74
107
|
string MessageId,
|
|
75
|
-
|
|
108
|
+
GetMessageInfoCallbackDelegate callback,
|
|
76
109
|
IntPtr callbackStateObject
|
|
77
110
|
);
|
|
78
111
|
|
|
79
112
|
[DllImport(Csp.Constants.DllName)]
|
|
80
113
|
[SuppressUnmanagedCodeSecurity]
|
|
81
|
-
static extern void
|
|
114
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_UpdateMessage_void_StringRC_MessageUpdateParamsRC_MessageResultCallback(
|
|
82
115
|
IntPtr @class,
|
|
83
|
-
|
|
116
|
+
string MessageId,
|
|
117
|
+
IntPtr NewData,
|
|
118
|
+
UpdateMessageCallbackDelegate callback,
|
|
84
119
|
IntPtr callbackStateObject
|
|
85
120
|
);
|
|
86
121
|
|
|
87
122
|
[DllImport(Csp.Constants.DllName)]
|
|
88
123
|
[SuppressUnmanagedCodeSecurity]
|
|
89
|
-
static extern void
|
|
124
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetNumberOfReplies_void_NumberOfRepliesResultCallback(
|
|
90
125
|
IntPtr @class,
|
|
91
|
-
|
|
126
|
+
GetNumberOfRepliesCallbackDelegate callback,
|
|
92
127
|
IntPtr callbackStateObject
|
|
93
128
|
);
|
|
94
129
|
|
|
95
130
|
[DllImport(Csp.Constants.DllName)]
|
|
96
131
|
[SuppressUnmanagedCodeSecurity]
|
|
97
|
-
static extern void
|
|
132
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetConversationAnnotation_void_AnnotationResultCallback(
|
|
98
133
|
IntPtr @class,
|
|
99
|
-
|
|
100
|
-
SetConversationInfoCallbackDelegate callback,
|
|
134
|
+
GetConversationAnnotationCallbackDelegate callback,
|
|
101
135
|
IntPtr callbackStateObject
|
|
102
136
|
);
|
|
103
137
|
|
|
104
138
|
[DllImport(Csp.Constants.DllName)]
|
|
105
139
|
[SuppressUnmanagedCodeSecurity]
|
|
106
|
-
static extern void
|
|
140
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetConversationAnnotation_void_AnnotationUpdateParamsRC_BufferAssetDataSourceRC_BufferAssetDataSourceRC_AnnotationResultCallback(
|
|
141
|
+
IntPtr @class,
|
|
142
|
+
IntPtr AnnotationParams,
|
|
143
|
+
IntPtr Annotation,
|
|
144
|
+
IntPtr AnnotationThumbnail,
|
|
145
|
+
SetConversationAnnotationCallbackDelegate callback,
|
|
146
|
+
IntPtr callbackStateObject
|
|
147
|
+
);
|
|
148
|
+
|
|
149
|
+
[DllImport(Csp.Constants.DllName)]
|
|
150
|
+
[SuppressUnmanagedCodeSecurity]
|
|
151
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_DeleteConversationAnnotation_void_NullResultCallback(
|
|
152
|
+
IntPtr @class,
|
|
153
|
+
DeleteConversationAnnotationCallbackDelegate callback,
|
|
154
|
+
IntPtr callbackStateObject
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
[DllImport(Csp.Constants.DllName)]
|
|
158
|
+
[SuppressUnmanagedCodeSecurity]
|
|
159
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetAnnotation_void_StringRC_AnnotationResultCallback(
|
|
107
160
|
IntPtr @class,
|
|
108
161
|
string MessageId,
|
|
109
|
-
|
|
162
|
+
GetAnnotationCallbackDelegate callback,
|
|
110
163
|
IntPtr callbackStateObject
|
|
111
164
|
);
|
|
112
165
|
|
|
113
166
|
[DllImport(Csp.Constants.DllName)]
|
|
114
167
|
[SuppressUnmanagedCodeSecurity]
|
|
115
|
-
static extern void
|
|
168
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetAnnotation_void_StringRC_AnnotationUpdateParamsRC_BufferAssetDataSourceRC_BufferAssetDataSourceRC_AnnotationResultCallback(
|
|
116
169
|
IntPtr @class,
|
|
117
170
|
string MessageId,
|
|
118
|
-
IntPtr
|
|
119
|
-
|
|
171
|
+
IntPtr UpdateParams,
|
|
172
|
+
IntPtr Annotation,
|
|
173
|
+
IntPtr AnnotationThumbnail,
|
|
174
|
+
SetAnnotationCallbackDelegate callback,
|
|
120
175
|
IntPtr callbackStateObject
|
|
121
176
|
);
|
|
122
177
|
|
|
178
|
+
[DllImport(Csp.Constants.DllName)]
|
|
179
|
+
[SuppressUnmanagedCodeSecurity]
|
|
180
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_DeleteAnnotation_void_StringRC_NullResultCallback(
|
|
181
|
+
IntPtr @class,
|
|
182
|
+
string MessageId,
|
|
183
|
+
DeleteAnnotationCallbackDelegate callback,
|
|
184
|
+
IntPtr callbackStateObject
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
[DllImport(Csp.Constants.DllName)]
|
|
188
|
+
[SuppressUnmanagedCodeSecurity]
|
|
189
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_GetAnnotationThumbnailsForConversation_void_AnnotationThumbnailCollectionResultCallback(
|
|
190
|
+
IntPtr @class,
|
|
191
|
+
_GetAnnotationThumbnailsForConversationCallbackDelegate Callback,
|
|
192
|
+
IntPtr CallbackStateObject
|
|
193
|
+
);
|
|
194
|
+
|
|
123
195
|
[DllImport(Csp.Constants.DllName)]
|
|
124
196
|
[SuppressUnmanagedCodeSecurity]
|
|
125
197
|
static extern NativePointer csp_multiplayer_ConversationSpaceComponent_GetPositionC_Vector3RC(IntPtr @class);
|
|
@@ -158,13 +230,6 @@ namespace Csp.Multiplayer
|
|
|
158
230
|
[SuppressUnmanagedCodeSecurity]
|
|
159
231
|
static extern void csp_multiplayer_ConversationSpaceComponent_SetIsActive_void_bool(IntPtr @class, bool Value);
|
|
160
232
|
|
|
161
|
-
[DllImport(Csp.Constants.DllName)]
|
|
162
|
-
[SuppressUnmanagedCodeSecurity]
|
|
163
|
-
static extern bool csp_multiplayer_ConversationSpaceComponent_MoveConversationFromComponent_bool_ConversationSpaceComponentR(
|
|
164
|
-
IntPtr @class,
|
|
165
|
-
IntPtr OtherConversationComponent
|
|
166
|
-
);
|
|
167
|
-
|
|
168
233
|
[DllImport(Csp.Constants.DllName)]
|
|
169
234
|
[SuppressUnmanagedCodeSecurity]
|
|
170
235
|
static extern void csp_multiplayer_ConversationSpaceComponent_SetTitle_void_StringRC(
|
|
@@ -178,25 +243,37 @@ namespace Csp.Multiplayer
|
|
|
178
243
|
|
|
179
244
|
[DllImport(Csp.Constants.DllName)]
|
|
180
245
|
[SuppressUnmanagedCodeSecurity]
|
|
181
|
-
static extern void
|
|
246
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetResolved_void_bool(IntPtr @class, bool Value);
|
|
247
|
+
|
|
248
|
+
[DllImport(Csp.Constants.DllName)]
|
|
249
|
+
[SuppressUnmanagedCodeSecurity]
|
|
250
|
+
static extern bool csp_multiplayer_ConversationSpaceComponent_GetResolvedC_bool(IntPtr @class);
|
|
251
|
+
|
|
252
|
+
[DllImport(Csp.Constants.DllName)]
|
|
253
|
+
[SuppressUnmanagedCodeSecurity]
|
|
254
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetConversationCameraPosition_void_Vector3RC(
|
|
182
255
|
IntPtr @class,
|
|
183
|
-
IntPtr
|
|
256
|
+
IntPtr InValue
|
|
184
257
|
);
|
|
185
258
|
|
|
186
259
|
[DllImport(Csp.Constants.DllName)]
|
|
187
260
|
[SuppressUnmanagedCodeSecurity]
|
|
188
|
-
static extern
|
|
261
|
+
static extern NativePointer csp_multiplayer_ConversationSpaceComponent_GetConversationCameraPositionC_Vector3RC(
|
|
262
|
+
IntPtr @class
|
|
263
|
+
);
|
|
189
264
|
|
|
190
265
|
[DllImport(Csp.Constants.DllName)]
|
|
191
266
|
[SuppressUnmanagedCodeSecurity]
|
|
192
|
-
static extern void
|
|
267
|
+
static extern void csp_multiplayer_ConversationSpaceComponent_SetConversationCameraRotation_void_Vector4RC(
|
|
193
268
|
IntPtr @class,
|
|
194
|
-
|
|
269
|
+
IntPtr InValue
|
|
195
270
|
);
|
|
196
271
|
|
|
197
272
|
[DllImport(Csp.Constants.DllName)]
|
|
198
273
|
[SuppressUnmanagedCodeSecurity]
|
|
199
|
-
static extern
|
|
274
|
+
static extern NativePointer csp_multiplayer_ConversationSpaceComponent_GetConversationCameraRotationC_Vector4RC(
|
|
275
|
+
IntPtr @class
|
|
276
|
+
);
|
|
200
277
|
|
|
201
278
|
[DllImport(Csp.Constants.DllName)]
|
|
202
279
|
[SuppressUnmanagedCodeSecurity]
|
|
@@ -222,20 +299,82 @@ namespace Csp.Multiplayer
|
|
|
222
299
|
|
|
223
300
|
delegate void DeleteMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
224
301
|
|
|
225
|
-
delegate void
|
|
226
|
-
|
|
227
|
-
delegate void GetAllMessagesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
302
|
+
delegate void GetMessagesFromConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
228
303
|
|
|
229
304
|
delegate void GetConversationInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
230
305
|
|
|
231
|
-
delegate void
|
|
306
|
+
delegate void UpdateConversationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
232
307
|
|
|
233
308
|
delegate void GetMessageInfoCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
234
309
|
|
|
235
|
-
delegate void
|
|
310
|
+
delegate void UpdateMessageCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
311
|
+
|
|
312
|
+
delegate void GetNumberOfRepliesCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
313
|
+
|
|
314
|
+
delegate void GetConversationAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
315
|
+
|
|
316
|
+
delegate void SetConversationAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
317
|
+
|
|
318
|
+
delegate void DeleteConversationAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
319
|
+
|
|
320
|
+
delegate void GetAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
321
|
+
|
|
322
|
+
delegate void SetAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
323
|
+
|
|
324
|
+
delegate void DeleteAnnotationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
|
|
325
|
+
|
|
326
|
+
delegate void _GetAnnotationThumbnailsForConversationCallbackDelegate(
|
|
327
|
+
IntPtr _StateObject__,
|
|
328
|
+
NativePointer Result
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
public delegate void GetAnnotationThumbnailsForConversationCallbackDelegate(
|
|
332
|
+
Csp.Multiplayer.AnnotationThumbnailCollectionResult Result
|
|
333
|
+
);
|
|
334
|
+
delegate void SetConversationUpdateCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
335
|
+
|
|
336
|
+
readonly List<GCHandle> eventHandles = new List<GCHandle>();
|
|
337
|
+
|
|
338
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
339
|
+
[AOT.MonoPInvokeCallback (typeof (SetConversationUpdateCallbackCallbackDelegate))]
|
|
340
|
+
#endif
|
|
341
|
+
static void SetConversationUpdateCallbackCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
342
|
+
{
|
|
343
|
+
var _handle = (GCHandle)_StateObject__;
|
|
344
|
+
var _this = (ConversationSpaceComponent)_handle.Target;
|
|
345
|
+
_this.RealOnConversationUpdate?.Invoke(_this, new Csp.Multiplayer.ConversationEventParams(_arg1));
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
static readonly SetConversationUpdateCallbackCallbackDelegate OnConversationUpdateDelegateInstance =
|
|
349
|
+
SetConversationUpdateCallbackCallbackDelegateFunction;
|
|
350
|
+
|
|
351
|
+
bool OnConversationUpdateInitialised = false;
|
|
352
|
+
event EventHandler<Csp.Multiplayer.ConversationEventParams>? RealOnConversationUpdate;
|
|
353
|
+
public event EventHandler<Csp.Multiplayer.ConversationEventParams> OnConversationUpdate
|
|
354
|
+
{
|
|
355
|
+
add
|
|
356
|
+
{
|
|
357
|
+
if (!OnConversationUpdateInitialised)
|
|
358
|
+
{
|
|
359
|
+
var handle = GCHandle.Alloc(this);
|
|
360
|
+
csp_multiplayer_ConversationSpaceComponent_SetConversationUpdateCallback_void_ConversationUpdateCallbackHandler(
|
|
361
|
+
_ptr,
|
|
362
|
+
OnConversationUpdateDelegateInstance,
|
|
363
|
+
(IntPtr)handle
|
|
364
|
+
);
|
|
365
|
+
eventHandles.Add(handle);
|
|
366
|
+
OnConversationUpdateInitialised = true;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
RealOnConversationUpdate += value;
|
|
370
|
+
}
|
|
371
|
+
remove { RealOnConversationUpdate -= value; }
|
|
372
|
+
}
|
|
236
373
|
|
|
237
374
|
/// <summary>Constructs the conversation component, and associates it with the specified Parent space entity.</summary>
|
|
238
|
-
/// <
|
|
375
|
+
/// <remarks>This constructor should not be called directly. Instead, use the SpaceEntity::AddComponent function.</remarks>
|
|
376
|
+
/// <param name="Parent">The Space entity that owns this component. This will also register the component to the entity.</param>
|
|
377
|
+
/// @pre Parent must not be null.
|
|
239
378
|
|
|
240
379
|
public ConversationSpaceComponent(Csp.Multiplayer.SpaceEntity Parent)
|
|
241
380
|
{
|
|
@@ -267,8 +406,12 @@ namespace Csp.Multiplayer
|
|
|
267
406
|
static readonly CreateConversationCallbackDelegate CreateConversationDelegateInstance =
|
|
268
407
|
CreateConversationCallbackDelegateFunction;
|
|
269
408
|
|
|
270
|
-
/// <summary>
|
|
409
|
+
/// <summary>Creates a conversation represented by this component.</summary>
|
|
271
410
|
/// <param name="Message">The message to be stored.</param>
|
|
411
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
412
|
+
/// @pre The conversation must not already exist (component must not have a conversation id that isn't an empty string).
|
|
413
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
414
|
+
/// @post The ConversationId property is now internally set when the callback is fired.
|
|
272
415
|
/// <returns>The result for the request</returns>
|
|
273
416
|
|
|
274
417
|
public Task<Csp.Systems.StringResult> CreateConversation(string Message)
|
|
@@ -309,7 +452,9 @@ namespace Csp.Multiplayer
|
|
|
309
452
|
static readonly DeleteConversationCallbackDelegate DeleteConversationDelegateInstance =
|
|
310
453
|
DeleteConversationCallbackDelegateFunction;
|
|
311
454
|
|
|
312
|
-
/// <summary>Deletes all
|
|
455
|
+
/// <summary>Deletes this conversation, including all of its messages. This function is called internally when the component is deleted.</summary>
|
|
456
|
+
/// <param name="Callback">Callback when asynchronous task finishes</param>
|
|
457
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
313
458
|
/// <returns>The result for the request</returns>
|
|
314
459
|
|
|
315
460
|
public Task<Csp.Systems.NullResult> DeleteConversation()
|
|
@@ -348,9 +493,10 @@ namespace Csp.Multiplayer
|
|
|
348
493
|
|
|
349
494
|
static readonly AddMessageCallbackDelegate AddMessageDelegateInstance = AddMessageCallbackDelegateFunction;
|
|
350
495
|
|
|
351
|
-
/// <summary>Adds a message to conversation
|
|
352
|
-
/// <remarks>Make sure that the user has entered a space through SpaceSystem::EnterSpace() before calling this.</remarks>
|
|
496
|
+
/// <summary>Adds a message to the conversation.</summary>
|
|
353
497
|
/// <param name="Message">The message to be stored.</param>
|
|
498
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
499
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
354
500
|
/// <returns>The result for the request</returns>
|
|
355
501
|
|
|
356
502
|
public Task<Csp.Multiplayer.MessageResult> AddMessage(string Message)
|
|
@@ -391,8 +537,14 @@ namespace Csp.Multiplayer
|
|
|
391
537
|
static readonly DeleteMessageCallbackDelegate DeleteMessageDelegateInstance =
|
|
392
538
|
DeleteMessageCallbackDelegateFunction;
|
|
393
539
|
|
|
394
|
-
/// <summary>Deletes a particular message
|
|
395
|
-
/// <param name="MessageId">
|
|
540
|
+
/// <summary>Deletes a particular message.</summary>
|
|
541
|
+
/// <param name="MessageId">Id of the message to delete.</param>
|
|
542
|
+
/// <remarks>The id can be retreived from the result callback when the message was added.</remarks>
|
|
543
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
544
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
545
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
546
|
+
/// @pre Client should be logged in with the same user account that created the message (ClientId of the message should match the current logged
|
|
547
|
+
/// <remarks>in user).</remarks>
|
|
396
548
|
/// <returns>The result for the request</returns>
|
|
397
549
|
|
|
398
550
|
public Task<Csp.Systems.NullResult> DeleteMessage(string MessageId)
|
|
@@ -411,9 +563,170 @@ namespace Csp.Multiplayer
|
|
|
411
563
|
}
|
|
412
564
|
|
|
413
565
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
414
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
566
|
+
[AOT.MonoPInvokeCallback (typeof (GetMessagesFromConversationCallbackDelegate))]
|
|
567
|
+
#endif
|
|
568
|
+
static void GetMessagesFromConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
569
|
+
{
|
|
570
|
+
var _handle = (GCHandle)_StateObject__;
|
|
571
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>)_handle.Target;
|
|
572
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
573
|
+
|
|
574
|
+
var task_result = new Csp.Multiplayer.MessageCollectionResult(_Result);
|
|
575
|
+
|
|
576
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
577
|
+
{
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
tcs.SetResult(task_result);
|
|
582
|
+
_handle.Free();
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
static readonly GetMessagesFromConversationCallbackDelegate GetMessagesFromConversationDelegateInstance =
|
|
586
|
+
GetMessagesFromConversationCallbackDelegateFunction;
|
|
587
|
+
|
|
588
|
+
/// <summary>Retrieves message details that are represented by this component.</summary>
|
|
589
|
+
/// <remarks>This doesn't include the original message that created the conversation.</remarks>
|
|
590
|
+
/// <param name="ResultsSkipNumber">Optional parameter representing the number of result entries that will be skipped</param>
|
|
591
|
+
/// <remarks>from the result. For no skip pass an empty optional.</remarks>
|
|
592
|
+
/// <param name="ResultsMaxNumber">Optional parameter representing the maximum number of result entries to be</param>
|
|
593
|
+
/// <remarks>retrieved. For all available result entries pass an empty optional.</remarks>
|
|
594
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
595
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
596
|
+
/// <returns>The result for the request</returns>
|
|
597
|
+
|
|
598
|
+
public Task<Csp.Multiplayer.MessageCollectionResult> GetMessagesFromConversation(
|
|
599
|
+
int? ResultsSkipNumber,
|
|
600
|
+
int? ResultsMaxNumber
|
|
601
|
+
) {
|
|
602
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageCollectionResult>(this);
|
|
603
|
+
var handle = GCHandle.Alloc(tcs);
|
|
604
|
+
|
|
605
|
+
var ResultsSkipNumberPointer = IntPtr.Zero;
|
|
606
|
+
unsafe
|
|
607
|
+
{
|
|
608
|
+
if (ResultsSkipNumber.HasValue)
|
|
609
|
+
{
|
|
610
|
+
var ptr = stackalloc int[1];
|
|
611
|
+
*ptr = ResultsSkipNumber.Value;
|
|
612
|
+
ResultsSkipNumberPointer = (IntPtr)ptr;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
var ResultsMaxNumberPointer = IntPtr.Zero;
|
|
616
|
+
unsafe
|
|
617
|
+
{
|
|
618
|
+
if (ResultsMaxNumber.HasValue)
|
|
619
|
+
{
|
|
620
|
+
var ptr = stackalloc int[1];
|
|
621
|
+
*ptr = ResultsMaxNumber.Value;
|
|
622
|
+
ResultsMaxNumberPointer = (IntPtr)ptr;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
csp_multiplayer_ConversationSpaceComponent_GetMessagesFromConversation_void_intRC_intRC_MessageCollectionResultCallback(
|
|
627
|
+
_ptr,
|
|
628
|
+
ResultsSkipNumberPointer,
|
|
629
|
+
ResultsMaxNumberPointer,
|
|
630
|
+
GetMessagesFromConversationDelegateInstance,
|
|
631
|
+
(IntPtr)handle
|
|
632
|
+
);
|
|
633
|
+
|
|
634
|
+
return tcs.Task;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
638
|
+
[AOT.MonoPInvokeCallback (typeof (GetConversationInfoCallbackDelegate))]
|
|
639
|
+
#endif
|
|
640
|
+
static void GetConversationInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
641
|
+
{
|
|
642
|
+
var _handle = (GCHandle)_StateObject__;
|
|
643
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
|
|
644
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
645
|
+
|
|
646
|
+
var task_result = new Csp.Multiplayer.ConversationResult(_Result);
|
|
647
|
+
|
|
648
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
649
|
+
{
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
tcs.SetResult(task_result);
|
|
654
|
+
_handle.Free();
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
static readonly GetConversationInfoCallbackDelegate GetConversationInfoDelegateInstance =
|
|
658
|
+
GetConversationInfoCallbackDelegateFunction;
|
|
659
|
+
|
|
660
|
+
/// <summary>Retrieves message details for the root message in the conversation.</summary>
|
|
661
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
662
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
663
|
+
/// <returns>The result for the request</returns>
|
|
664
|
+
|
|
665
|
+
public Task<Csp.Multiplayer.ConversationResult> GetConversationInfo()
|
|
666
|
+
{
|
|
667
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
|
|
668
|
+
var handle = GCHandle.Alloc(tcs);
|
|
669
|
+
|
|
670
|
+
csp_multiplayer_ConversationSpaceComponent_GetConversationInfo_void_ConversationResultCallback(
|
|
671
|
+
_ptr,
|
|
672
|
+
GetConversationInfoDelegateInstance,
|
|
673
|
+
(IntPtr)handle
|
|
674
|
+
);
|
|
675
|
+
|
|
676
|
+
return tcs.Task;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
680
|
+
[AOT.MonoPInvokeCallback (typeof (UpdateConversationCallbackDelegate))]
|
|
681
|
+
#endif
|
|
682
|
+
static void UpdateConversationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
683
|
+
{
|
|
684
|
+
var _handle = (GCHandle)_StateObject__;
|
|
685
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.ConversationResult>)_handle.Target;
|
|
686
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
687
|
+
|
|
688
|
+
var task_result = new Csp.Multiplayer.ConversationResult(_Result);
|
|
689
|
+
|
|
690
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
691
|
+
{
|
|
692
|
+
return;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
tcs.SetResult(task_result);
|
|
696
|
+
_handle.Free();
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
static readonly UpdateConversationCallbackDelegate UpdateConversationDelegateInstance =
|
|
700
|
+
UpdateConversationCallbackDelegateFunction;
|
|
701
|
+
|
|
702
|
+
/// <summary>Updates information for the root message in the conversation.</summary>
|
|
703
|
+
/// <param name="NewData">The information to update the root message with.</param>
|
|
704
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
705
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
706
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
707
|
+
/// @pre Client should be logged in with the same user account that created the message (ClientId of the message should match the current logged
|
|
708
|
+
/// <remarks>in user).</remarks>
|
|
709
|
+
/// <returns>The result for the request</returns>
|
|
710
|
+
|
|
711
|
+
public Task<Csp.Multiplayer.ConversationResult> UpdateConversation(Csp.Multiplayer.MessageUpdateParams NewData)
|
|
712
|
+
{
|
|
713
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.ConversationResult>(this);
|
|
714
|
+
var handle = GCHandle.Alloc(tcs);
|
|
715
|
+
|
|
716
|
+
csp_multiplayer_ConversationSpaceComponent_UpdateConversation_void_MessageUpdateParamsRC_ConversationResultCallback(
|
|
717
|
+
_ptr,
|
|
718
|
+
NewData._ptr,
|
|
719
|
+
UpdateConversationDelegateInstance,
|
|
720
|
+
(IntPtr)handle
|
|
721
|
+
);
|
|
722
|
+
|
|
723
|
+
return tcs.Task;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
727
|
+
[AOT.MonoPInvokeCallback (typeof (GetMessageInfoCallbackDelegate))]
|
|
415
728
|
#endif
|
|
416
|
-
static void
|
|
729
|
+
static void GetMessageInfoCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
417
730
|
{
|
|
418
731
|
var _handle = (GCHandle)_StateObject__;
|
|
419
732
|
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
@@ -430,21 +743,25 @@ namespace Csp.Multiplayer
|
|
|
430
743
|
_handle.Free();
|
|
431
744
|
}
|
|
432
745
|
|
|
433
|
-
static readonly
|
|
746
|
+
static readonly GetMessageInfoCallbackDelegate GetMessageInfoDelegateInstance =
|
|
747
|
+
GetMessageInfoCallbackDelegateFunction;
|
|
434
748
|
|
|
435
|
-
/// <summary>Retrieves
|
|
436
|
-
/// <param name="MessageId">
|
|
749
|
+
/// <summary>Retrieves message details for a specified message in this conversation.</summary>
|
|
750
|
+
/// <param name="MessageId">The message id to retrieve information for.</param>
|
|
751
|
+
/// <remarks>The id can be retreived from the result callback when the message was added.</remarks>
|
|
752
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
753
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
437
754
|
/// <returns>The result for the request</returns>
|
|
438
755
|
|
|
439
|
-
public Task<Csp.Multiplayer.MessageResult>
|
|
756
|
+
public Task<Csp.Multiplayer.MessageResult> GetMessageInfo(string MessageId)
|
|
440
757
|
{
|
|
441
758
|
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
442
759
|
var handle = GCHandle.Alloc(tcs);
|
|
443
760
|
|
|
444
|
-
|
|
761
|
+
csp_multiplayer_ConversationSpaceComponent_GetMessageInfo_void_StringRC_MessageResultCallback(
|
|
445
762
|
_ptr,
|
|
446
763
|
MessageId,
|
|
447
|
-
|
|
764
|
+
GetMessageInfoDelegateInstance,
|
|
448
765
|
(IntPtr)handle
|
|
449
766
|
);
|
|
450
767
|
|
|
@@ -452,15 +769,15 @@ namespace Csp.Multiplayer
|
|
|
452
769
|
}
|
|
453
770
|
|
|
454
771
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
455
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
772
|
+
[AOT.MonoPInvokeCallback (typeof (UpdateMessageCallbackDelegate))]
|
|
456
773
|
#endif
|
|
457
|
-
static void
|
|
774
|
+
static void UpdateMessageCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
458
775
|
{
|
|
459
776
|
var _handle = (GCHandle)_StateObject__;
|
|
460
|
-
var tcs = (TaskCompletionSource<Csp.Multiplayer.
|
|
777
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.MessageResult>)_handle.Target;
|
|
461
778
|
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
462
779
|
|
|
463
|
-
var task_result = new Csp.Multiplayer.
|
|
780
|
+
var task_result = new Csp.Multiplayer.MessageResult(_Result);
|
|
464
781
|
|
|
465
782
|
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
466
783
|
{
|
|
@@ -471,20 +788,74 @@ namespace Csp.Multiplayer
|
|
|
471
788
|
_handle.Free();
|
|
472
789
|
}
|
|
473
790
|
|
|
474
|
-
static readonly
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
/// <summary>
|
|
791
|
+
static readonly UpdateMessageCallbackDelegate UpdateMessageDelegateInstance =
|
|
792
|
+
UpdateMessageCallbackDelegateFunction;
|
|
793
|
+
|
|
794
|
+
/// <summary>Updates information for a specified message in the conversation.</summary>
|
|
795
|
+
/// <param name="MessageId">The message id to update information for.</param>
|
|
796
|
+
/// <remarks>The id can be retreived from the result callback when the message was added.</remarks>
|
|
797
|
+
/// <param name="NewData">The information to update the specified message with.</param>
|
|
798
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
799
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
800
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
801
|
+
/// @pre Client should be logged in with the same user account that created the message (ClientId of the message should match the current logged
|
|
802
|
+
/// <remarks>in user).</remarks>
|
|
478
803
|
/// <returns>The result for the request</returns>
|
|
479
804
|
|
|
480
|
-
public Task<Csp.Multiplayer.
|
|
805
|
+
public Task<Csp.Multiplayer.MessageResult> UpdateMessage(
|
|
806
|
+
string MessageId,
|
|
807
|
+
Csp.Multiplayer.MessageUpdateParams NewData
|
|
808
|
+
) {
|
|
809
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.MessageResult>(this);
|
|
810
|
+
var handle = GCHandle.Alloc(tcs);
|
|
811
|
+
|
|
812
|
+
csp_multiplayer_ConversationSpaceComponent_UpdateMessage_void_StringRC_MessageUpdateParamsRC_MessageResultCallback(
|
|
813
|
+
_ptr,
|
|
814
|
+
MessageId,
|
|
815
|
+
NewData._ptr,
|
|
816
|
+
UpdateMessageDelegateInstance,
|
|
817
|
+
(IntPtr)handle
|
|
818
|
+
);
|
|
819
|
+
|
|
820
|
+
return tcs.Task;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
824
|
+
[AOT.MonoPInvokeCallback (typeof (GetNumberOfRepliesCallbackDelegate))]
|
|
825
|
+
#endif
|
|
826
|
+
static void GetNumberOfRepliesCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
481
827
|
{
|
|
482
|
-
var
|
|
828
|
+
var _handle = (GCHandle)_StateObject__;
|
|
829
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.NumberOfRepliesResult>)_handle.Target;
|
|
830
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
831
|
+
|
|
832
|
+
var task_result = new Csp.Multiplayer.NumberOfRepliesResult(_Result);
|
|
833
|
+
|
|
834
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
835
|
+
{
|
|
836
|
+
return;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
tcs.SetResult(task_result);
|
|
840
|
+
_handle.Free();
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
static readonly GetNumberOfRepliesCallbackDelegate GetNumberOfRepliesDelegateInstance =
|
|
844
|
+
GetNumberOfRepliesCallbackDelegateFunction;
|
|
845
|
+
|
|
846
|
+
/// <summary>Gets the Number Of Replies in the conversation.</summary>
|
|
847
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
848
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
849
|
+
/// <returns>Result class</returns>
|
|
850
|
+
|
|
851
|
+
public Task<Csp.Multiplayer.NumberOfRepliesResult> GetNumberOfReplies()
|
|
852
|
+
{
|
|
853
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.NumberOfRepliesResult>(this);
|
|
483
854
|
var handle = GCHandle.Alloc(tcs);
|
|
484
855
|
|
|
485
|
-
|
|
856
|
+
csp_multiplayer_ConversationSpaceComponent_GetNumberOfReplies_void_NumberOfRepliesResultCallback(
|
|
486
857
|
_ptr,
|
|
487
|
-
|
|
858
|
+
GetNumberOfRepliesDelegateInstance,
|
|
488
859
|
(IntPtr)handle
|
|
489
860
|
);
|
|
490
861
|
|
|
@@ -492,15 +863,15 @@ namespace Csp.Multiplayer
|
|
|
492
863
|
}
|
|
493
864
|
|
|
494
865
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
495
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
866
|
+
[AOT.MonoPInvokeCallback (typeof (GetConversationAnnotationCallbackDelegate))]
|
|
496
867
|
#endif
|
|
497
|
-
static void
|
|
868
|
+
static void GetConversationAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
498
869
|
{
|
|
499
870
|
var _handle = (GCHandle)_StateObject__;
|
|
500
|
-
var tcs = (TaskCompletionSource<Csp.Multiplayer.
|
|
871
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.AnnotationResult>)_handle.Target;
|
|
501
872
|
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
502
873
|
|
|
503
|
-
var task_result = new Csp.Multiplayer.
|
|
874
|
+
var task_result = new Csp.Multiplayer.AnnotationResult(_Result);
|
|
504
875
|
|
|
505
876
|
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
506
877
|
{
|
|
@@ -511,20 +882,24 @@ namespace Csp.Multiplayer
|
|
|
511
882
|
_handle.Free();
|
|
512
883
|
}
|
|
513
884
|
|
|
514
|
-
static readonly
|
|
515
|
-
|
|
885
|
+
static readonly GetConversationAnnotationCallbackDelegate GetConversationAnnotationDelegateInstance =
|
|
886
|
+
GetConversationAnnotationCallbackDelegateFunction;
|
|
516
887
|
|
|
517
|
-
/// <summary>
|
|
888
|
+
/// <summary>Gets the annotation for the root message in the conversation.</summary>
|
|
889
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
890
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
891
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
892
|
+
/// @pre The conversation must have an annotation previously attached using SetConversationAnnotation.
|
|
518
893
|
/// <returns>The result for the request</returns>
|
|
519
894
|
|
|
520
|
-
public Task<Csp.Multiplayer.
|
|
895
|
+
public Task<Csp.Multiplayer.AnnotationResult> GetConversationAnnotation()
|
|
521
896
|
{
|
|
522
|
-
var tcs = new TaskCompletionSource<Csp.Multiplayer.
|
|
897
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.AnnotationResult>(this);
|
|
523
898
|
var handle = GCHandle.Alloc(tcs);
|
|
524
899
|
|
|
525
|
-
|
|
900
|
+
csp_multiplayer_ConversationSpaceComponent_GetConversationAnnotation_void_AnnotationResultCallback(
|
|
526
901
|
_ptr,
|
|
527
|
-
|
|
902
|
+
GetConversationAnnotationDelegateInstance,
|
|
528
903
|
(IntPtr)handle
|
|
529
904
|
);
|
|
530
905
|
|
|
@@ -532,15 +907,15 @@ namespace Csp.Multiplayer
|
|
|
532
907
|
}
|
|
533
908
|
|
|
534
909
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
535
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
910
|
+
[AOT.MonoPInvokeCallback (typeof (SetConversationAnnotationCallbackDelegate))]
|
|
536
911
|
#endif
|
|
537
|
-
static void
|
|
912
|
+
static void SetConversationAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
538
913
|
{
|
|
539
914
|
var _handle = (GCHandle)_StateObject__;
|
|
540
|
-
var tcs = (TaskCompletionSource<Csp.Multiplayer.
|
|
915
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.AnnotationResult>)_handle.Target;
|
|
541
916
|
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
542
917
|
|
|
543
|
-
var task_result = new Csp.Multiplayer.
|
|
918
|
+
var task_result = new Csp.Multiplayer.AnnotationResult(_Result);
|
|
544
919
|
|
|
545
920
|
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
546
921
|
{
|
|
@@ -551,23 +926,32 @@ namespace Csp.Multiplayer
|
|
|
551
926
|
_handle.Free();
|
|
552
927
|
}
|
|
553
928
|
|
|
554
|
-
static readonly
|
|
555
|
-
|
|
929
|
+
static readonly SetConversationAnnotationCallbackDelegate SetConversationAnnotationDelegateInstance =
|
|
930
|
+
SetConversationAnnotationCallbackDelegateFunction;
|
|
556
931
|
|
|
557
|
-
/// <summary>
|
|
558
|
-
/// <
|
|
932
|
+
/// <summary>Associates an annotation with the root message in the conversation.</summary>
|
|
933
|
+
/// <remarks>If an annotation already exists on the conversation, it will be overwritten.</remarks>
|
|
934
|
+
/// <param name="UpdateParams">The annotation data for this annotation.</param>
|
|
935
|
+
/// <param name="Annotation">The annotation image data for this annotation.</param>
|
|
936
|
+
/// <param name="AnnotationThumbnail">The annotation thumbnail image data for this annotation.</param>
|
|
937
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
938
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
559
939
|
/// <returns>The result for the request</returns>
|
|
560
940
|
|
|
561
|
-
public Task<Csp.Multiplayer.
|
|
562
|
-
Csp.Multiplayer.
|
|
941
|
+
public Task<Csp.Multiplayer.AnnotationResult> SetConversationAnnotation(
|
|
942
|
+
Csp.Multiplayer.AnnotationUpdateParams AnnotationParams,
|
|
943
|
+
Csp.Systems.BufferAssetDataSource Annotation,
|
|
944
|
+
Csp.Systems.BufferAssetDataSource AnnotationThumbnail
|
|
563
945
|
) {
|
|
564
|
-
var tcs = new TaskCompletionSource<Csp.Multiplayer.
|
|
946
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.AnnotationResult>(this);
|
|
565
947
|
var handle = GCHandle.Alloc(tcs);
|
|
566
948
|
|
|
567
|
-
|
|
949
|
+
csp_multiplayer_ConversationSpaceComponent_SetConversationAnnotation_void_AnnotationUpdateParamsRC_BufferAssetDataSourceRC_BufferAssetDataSourceRC_AnnotationResultCallback(
|
|
568
950
|
_ptr,
|
|
569
|
-
|
|
570
|
-
|
|
951
|
+
AnnotationParams._ptr,
|
|
952
|
+
Annotation._ptr,
|
|
953
|
+
AnnotationThumbnail._ptr,
|
|
954
|
+
SetConversationAnnotationDelegateInstance,
|
|
571
955
|
(IntPtr)handle
|
|
572
956
|
);
|
|
573
957
|
|
|
@@ -575,15 +959,15 @@ namespace Csp.Multiplayer
|
|
|
575
959
|
}
|
|
576
960
|
|
|
577
961
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
578
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
962
|
+
[AOT.MonoPInvokeCallback (typeof (DeleteConversationAnnotationCallbackDelegate))]
|
|
579
963
|
#endif
|
|
580
|
-
static void
|
|
964
|
+
static void DeleteConversationAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
581
965
|
{
|
|
582
966
|
var _handle = (GCHandle)_StateObject__;
|
|
583
|
-
var tcs = (TaskCompletionSource<Csp.
|
|
967
|
+
var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
|
|
584
968
|
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
585
969
|
|
|
586
|
-
var task_result = new Csp.
|
|
970
|
+
var task_result = new Csp.Systems.NullResult(_Result);
|
|
587
971
|
|
|
588
972
|
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
589
973
|
{
|
|
@@ -594,22 +978,23 @@ namespace Csp.Multiplayer
|
|
|
594
978
|
_handle.Free();
|
|
595
979
|
}
|
|
596
980
|
|
|
597
|
-
static readonly
|
|
598
|
-
|
|
981
|
+
static readonly DeleteConversationAnnotationCallbackDelegate DeleteConversationAnnotationDelegateInstance =
|
|
982
|
+
DeleteConversationAnnotationCallbackDelegateFunction;
|
|
599
983
|
|
|
600
|
-
/// <summary>
|
|
601
|
-
/// <param name="
|
|
984
|
+
/// <summary>Deletes an annotation associated with the root message in the conversation.</summary>
|
|
985
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
986
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
987
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response. if this condition is not met,</remarks>
|
|
602
988
|
/// <returns>The result for the request</returns>
|
|
603
989
|
|
|
604
|
-
public Task<Csp.
|
|
990
|
+
public Task<Csp.Systems.NullResult> DeleteConversationAnnotation()
|
|
605
991
|
{
|
|
606
|
-
var tcs = new TaskCompletionSource<Csp.
|
|
992
|
+
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
607
993
|
var handle = GCHandle.Alloc(tcs);
|
|
608
994
|
|
|
609
|
-
|
|
995
|
+
csp_multiplayer_ConversationSpaceComponent_DeleteConversationAnnotation_void_NullResultCallback(
|
|
610
996
|
_ptr,
|
|
611
|
-
|
|
612
|
-
GetMessageInfoDelegateInstance,
|
|
997
|
+
DeleteConversationAnnotationDelegateInstance,
|
|
613
998
|
(IntPtr)handle
|
|
614
999
|
);
|
|
615
1000
|
|
|
@@ -617,15 +1002,15 @@ namespace Csp.Multiplayer
|
|
|
617
1002
|
}
|
|
618
1003
|
|
|
619
1004
|
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
620
|
-
[AOT.MonoPInvokeCallback (typeof (
|
|
1005
|
+
[AOT.MonoPInvokeCallback (typeof (GetAnnotationCallbackDelegate))]
|
|
621
1006
|
#endif
|
|
622
|
-
static void
|
|
1007
|
+
static void GetAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
623
1008
|
{
|
|
624
1009
|
var _handle = (GCHandle)_StateObject__;
|
|
625
|
-
var tcs = (TaskCompletionSource<Csp.Multiplayer.
|
|
1010
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.AnnotationResult>)_handle.Target;
|
|
626
1011
|
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
627
1012
|
|
|
628
|
-
var task_result = new Csp.Multiplayer.
|
|
1013
|
+
var task_result = new Csp.Multiplayer.AnnotationResult(_Result);
|
|
629
1014
|
|
|
630
1015
|
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
631
1016
|
{
|
|
@@ -636,32 +1021,161 @@ namespace Csp.Multiplayer
|
|
|
636
1021
|
_handle.Free();
|
|
637
1022
|
}
|
|
638
1023
|
|
|
639
|
-
static readonly
|
|
640
|
-
|
|
1024
|
+
static readonly GetAnnotationCallbackDelegate GetAnnotationDelegateInstance =
|
|
1025
|
+
GetAnnotationCallbackDelegateFunction;
|
|
1026
|
+
|
|
1027
|
+
/// <summary>Gets an annotation associated with a message.</summary>
|
|
1028
|
+
/// <param name="MessageId">The message id the annotation is associated with.</param>
|
|
1029
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
1030
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
1031
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
1032
|
+
/// @pre The message must have an annotation previously attached using SetAnnotation.
|
|
1033
|
+
/// <returns>The result for the request</returns>
|
|
1034
|
+
|
|
1035
|
+
public Task<Csp.Multiplayer.AnnotationResult> GetAnnotation(string MessageId)
|
|
1036
|
+
{
|
|
1037
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.AnnotationResult>(this);
|
|
1038
|
+
var handle = GCHandle.Alloc(tcs);
|
|
1039
|
+
|
|
1040
|
+
csp_multiplayer_ConversationSpaceComponent_GetAnnotation_void_StringRC_AnnotationResultCallback(
|
|
1041
|
+
_ptr,
|
|
1042
|
+
MessageId,
|
|
1043
|
+
GetAnnotationDelegateInstance,
|
|
1044
|
+
(IntPtr)handle
|
|
1045
|
+
);
|
|
1046
|
+
|
|
1047
|
+
return tcs.Task;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
1051
|
+
[AOT.MonoPInvokeCallback (typeof (SetAnnotationCallbackDelegate))]
|
|
1052
|
+
#endif
|
|
1053
|
+
static void SetAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
1054
|
+
{
|
|
1055
|
+
var _handle = (GCHandle)_StateObject__;
|
|
1056
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.AnnotationResult>)_handle.Target;
|
|
1057
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
1058
|
+
|
|
1059
|
+
var task_result = new Csp.Multiplayer.AnnotationResult(_Result);
|
|
641
1060
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
1061
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1062
|
+
{
|
|
1063
|
+
return;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
tcs.SetResult(task_result);
|
|
1067
|
+
_handle.Free();
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
static readonly SetAnnotationCallbackDelegate SetAnnotationDelegateInstance =
|
|
1071
|
+
SetAnnotationCallbackDelegateFunction;
|
|
1072
|
+
|
|
1073
|
+
/// <summary>Associates an annotation with a message.</summary>
|
|
1074
|
+
/// <remarks>If an annotation already exists on the message, it will be overwritten.</remarks>
|
|
1075
|
+
/// <param name="MessageId">The message id to attach an annotation to.</param>
|
|
1076
|
+
/// <param name="UpdateParams">The annotation data for this annotation.</param>
|
|
1077
|
+
/// <param name="Annotation">The annotation image data for this annotation.</param>
|
|
1078
|
+
/// <param name="AnnotationThumbnail">The annotation thumbnail image data for this annotation.</param>
|
|
1079
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
1080
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
645
1081
|
/// <returns>The result for the request</returns>
|
|
646
1082
|
|
|
647
|
-
public Task<Csp.Multiplayer.
|
|
1083
|
+
public Task<Csp.Multiplayer.AnnotationResult> SetAnnotation(
|
|
648
1084
|
string MessageId,
|
|
649
|
-
Csp.Multiplayer.
|
|
1085
|
+
Csp.Multiplayer.AnnotationUpdateParams UpdateParams,
|
|
1086
|
+
Csp.Systems.BufferAssetDataSource Annotation,
|
|
1087
|
+
Csp.Systems.BufferAssetDataSource AnnotationThumbnail
|
|
650
1088
|
) {
|
|
651
|
-
var tcs = new TaskCompletionSource<Csp.Multiplayer.
|
|
1089
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.AnnotationResult>(this);
|
|
652
1090
|
var handle = GCHandle.Alloc(tcs);
|
|
653
1091
|
|
|
654
|
-
|
|
1092
|
+
csp_multiplayer_ConversationSpaceComponent_SetAnnotation_void_StringRC_AnnotationUpdateParamsRC_BufferAssetDataSourceRC_BufferAssetDataSourceRC_AnnotationResultCallback(
|
|
655
1093
|
_ptr,
|
|
656
1094
|
MessageId,
|
|
657
|
-
|
|
658
|
-
|
|
1095
|
+
UpdateParams._ptr,
|
|
1096
|
+
Annotation._ptr,
|
|
1097
|
+
AnnotationThumbnail._ptr,
|
|
1098
|
+
SetAnnotationDelegateInstance,
|
|
659
1099
|
(IntPtr)handle
|
|
660
1100
|
);
|
|
661
1101
|
|
|
662
1102
|
return tcs.Task;
|
|
663
1103
|
}
|
|
664
1104
|
|
|
1105
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
1106
|
+
[AOT.MonoPInvokeCallback (typeof (DeleteAnnotationCallbackDelegate))]
|
|
1107
|
+
#endif
|
|
1108
|
+
static void DeleteAnnotationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
|
|
1109
|
+
{
|
|
1110
|
+
var _handle = (GCHandle)_StateObject__;
|
|
1111
|
+
var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
|
|
1112
|
+
var _this = (ConversationSpaceComponent)tcs.Task.AsyncState;
|
|
1113
|
+
|
|
1114
|
+
var task_result = new Csp.Systems.NullResult(_Result);
|
|
1115
|
+
|
|
1116
|
+
if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
|
|
1117
|
+
{
|
|
1118
|
+
return;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
tcs.SetResult(task_result);
|
|
1122
|
+
_handle.Free();
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
static readonly DeleteAnnotationCallbackDelegate DeleteAnnotationDelegateInstance =
|
|
1126
|
+
DeleteAnnotationCallbackDelegateFunction;
|
|
1127
|
+
|
|
1128
|
+
/// <summary>Deletes an annotation associated with a message.</summary>
|
|
1129
|
+
/// <param name="MessageId">The message id whose annotation to delete.</param>
|
|
1130
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
1131
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
1132
|
+
/// <returns>The result for the request</returns>
|
|
1133
|
+
|
|
1134
|
+
public Task<Csp.Systems.NullResult> DeleteAnnotation(string MessageId)
|
|
1135
|
+
{
|
|
1136
|
+
var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
|
|
1137
|
+
var handle = GCHandle.Alloc(tcs);
|
|
1138
|
+
|
|
1139
|
+
csp_multiplayer_ConversationSpaceComponent_DeleteAnnotation_void_StringRC_NullResultCallback(
|
|
1140
|
+
_ptr,
|
|
1141
|
+
MessageId,
|
|
1142
|
+
DeleteAnnotationDelegateInstance,
|
|
1143
|
+
(IntPtr)handle
|
|
1144
|
+
);
|
|
1145
|
+
|
|
1146
|
+
return tcs.Task;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/// <summary>Gets all thumbnails in the conversation.</summary>
|
|
1150
|
+
/// <param name="Callback">Callback when asynchronous task finishes.</param>
|
|
1151
|
+
/// @pre This component must contain a valid conversation id (component must have a conversation id that isn't an empty string).
|
|
1152
|
+
/// <remarks>A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.</remarks>
|
|
1153
|
+
|
|
1154
|
+
static void GetAnnotationThumbnailsForConversationCallbackDelegateFunction(
|
|
1155
|
+
IntPtr _StateObject__,
|
|
1156
|
+
NativePointer Result
|
|
1157
|
+
) {
|
|
1158
|
+
var _handle = (GCHandle)_StateObject__;
|
|
1159
|
+
var _Callback = (GetAnnotationThumbnailsForConversationCallbackDelegate)_handle.Target;
|
|
1160
|
+
|
|
1161
|
+
var _Result = new Csp.Multiplayer.AnnotationThumbnailCollectionResult(Result);
|
|
1162
|
+
|
|
1163
|
+
_Callback(_Result);
|
|
1164
|
+
// TODO: Queue persistent callback handles to be freed on exit
|
|
1165
|
+
// _handle.Free();
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
public void GetAnnotationThumbnailsForConversation(
|
|
1169
|
+
GetAnnotationThumbnailsForConversationCallbackDelegate Callback
|
|
1170
|
+
) {
|
|
1171
|
+
var _Callback = GCHandle.Alloc(Callback);
|
|
1172
|
+
csp_multiplayer_ConversationSpaceComponent_GetAnnotationThumbnailsForConversation_void_AnnotationThumbnailCollectionResultCallback(
|
|
1173
|
+
_ptr,
|
|
1174
|
+
GetAnnotationThumbnailsForConversationCallbackDelegateFunction,
|
|
1175
|
+
(IntPtr)_Callback
|
|
1176
|
+
);
|
|
1177
|
+
}
|
|
1178
|
+
|
|
665
1179
|
/// <remarks>\addtogroup IPositionComponent</remarks>
|
|
666
1180
|
/// @{
|
|
667
1181
|
/// @copydoc IPositionComponent::GetPosition()
|
|
@@ -742,24 +1256,6 @@ namespace Csp.Multiplayer
|
|
|
742
1256
|
csp_multiplayer_ConversationSpaceComponent_SetIsActive_void_bool(_ptr, Value);
|
|
743
1257
|
}
|
|
744
1258
|
|
|
745
|
-
/// <summary>Moves the conversation associated with the other component to this one and remmove the association with the other component</summary>
|
|
746
|
-
/// <param name="OtherConversationComponent">- The component to move the conversation from.</param>
|
|
747
|
-
/// <returns>True if successful, false if there is already a conversation associated with this component</returns>
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
public bool MoveConversationFromComponent(Csp.Multiplayer.ConversationSpaceComponent OtherConversationComponent)
|
|
751
|
-
{
|
|
752
|
-
var _value =
|
|
753
|
-
csp_multiplayer_ConversationSpaceComponent_MoveConversationFromComponent_bool_ConversationSpaceComponentR(
|
|
754
|
-
_ptr,
|
|
755
|
-
OtherConversationComponent._ptr
|
|
756
|
-
);
|
|
757
|
-
|
|
758
|
-
var _result = _value;
|
|
759
|
-
|
|
760
|
-
return _result;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
1259
|
/// <summary>Sets the Title of the conversation.</summary>
|
|
764
1260
|
/// <param name="Value">- The new title.</param>
|
|
765
1261
|
|
|
@@ -787,50 +1283,71 @@ namespace Csp.Multiplayer
|
|
|
787
1283
|
return _resultString;
|
|
788
1284
|
}
|
|
789
1285
|
|
|
790
|
-
/// <summary>Sets the
|
|
791
|
-
/// <param name="Value">- The
|
|
1286
|
+
/// <summary>Sets the resolved value for indicating that a conversation is resolved.</summary>
|
|
1287
|
+
/// <param name="Value">- The resolved state.</param>
|
|
792
1288
|
|
|
793
1289
|
|
|
794
|
-
public void
|
|
1290
|
+
public void SetResolved(bool Value)
|
|
795
1291
|
{
|
|
796
|
-
|
|
797
|
-
_ptr,
|
|
798
|
-
WrapperHelper.StringToNativeUTF8(Value)
|
|
799
|
-
);
|
|
1292
|
+
csp_multiplayer_ConversationSpaceComponent_SetResolved_void_bool(_ptr, Value);
|
|
800
1293
|
}
|
|
801
1294
|
|
|
802
|
-
/// <summary>Gets the
|
|
1295
|
+
/// <summary>Gets the resolved value of the conversation.</summary>
|
|
803
1296
|
|
|
804
1297
|
|
|
805
|
-
public
|
|
1298
|
+
public bool GetResolved()
|
|
806
1299
|
{
|
|
807
|
-
var _value =
|
|
1300
|
+
var _value = csp_multiplayer_ConversationSpaceComponent_GetResolvedC_bool(_ptr);
|
|
808
1301
|
|
|
809
1302
|
var _result = _value;
|
|
810
1303
|
|
|
811
|
-
|
|
812
|
-
|
|
1304
|
+
return _result;
|
|
1305
|
+
}
|
|
813
1306
|
|
|
814
|
-
|
|
1307
|
+
/// <summary>Sets the value for the camera position used to view the conversation.</summary>
|
|
1308
|
+
/// <param name="InValue">The position for the camera.</param>
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
public void SetConversationCameraPosition(Csp.Common.Vector3 InValue)
|
|
1312
|
+
{
|
|
1313
|
+
csp_multiplayer_ConversationSpaceComponent_SetConversationCameraPosition_void_Vector3RC(_ptr, InValue._ptr);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/// <summary>Gets the value for the camera position of the conversation.</summary>
|
|
1317
|
+
/// <returns>The camera view position.</returns>
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
public Csp.Common.Vector3 GetConversationCameraPosition()
|
|
1321
|
+
{
|
|
1322
|
+
var _value = csp_multiplayer_ConversationSpaceComponent_GetConversationCameraPositionC_Vector3RC(_ptr);
|
|
1323
|
+
|
|
1324
|
+
WrapperHelper.CheckNativePointer(_value);
|
|
1325
|
+
var _result = new Csp.Common.Vector3(_value);
|
|
1326
|
+
;
|
|
1327
|
+
|
|
1328
|
+
return _result;
|
|
815
1329
|
}
|
|
816
1330
|
|
|
817
|
-
/// <summary>Sets the
|
|
818
|
-
/// <param name="
|
|
1331
|
+
/// <summary>Sets the value for the camera rotation used to view the conversation.</summary>
|
|
1332
|
+
/// <param name="InValue">The rotation for the camera.</param>
|
|
819
1333
|
|
|
820
1334
|
|
|
821
|
-
public void
|
|
1335
|
+
public void SetConversationCameraRotation(Csp.Common.Vector4 InValue)
|
|
822
1336
|
{
|
|
823
|
-
|
|
1337
|
+
csp_multiplayer_ConversationSpaceComponent_SetConversationCameraRotation_void_Vector4RC(_ptr, InValue._ptr);
|
|
824
1338
|
}
|
|
825
1339
|
|
|
826
|
-
/// <summary>Gets the
|
|
1340
|
+
/// <summary>Gets the value for the camera rotation of the conversation.</summary>
|
|
1341
|
+
/// <returns>The camera view rotation.</returns>
|
|
827
1342
|
|
|
828
1343
|
|
|
829
|
-
public
|
|
1344
|
+
public Csp.Common.Vector4 GetConversationCameraRotation()
|
|
830
1345
|
{
|
|
831
|
-
var _value =
|
|
1346
|
+
var _value = csp_multiplayer_ConversationSpaceComponent_GetConversationCameraRotationC_Vector4RC(_ptr);
|
|
832
1347
|
|
|
833
|
-
|
|
1348
|
+
WrapperHelper.CheckNativePointer(_value);
|
|
1349
|
+
var _result = new Csp.Common.Vector4(_value);
|
|
1350
|
+
;
|
|
834
1351
|
|
|
835
1352
|
return _result;
|
|
836
1353
|
}
|