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,964 @@
|
|
|
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 Multiplayer
|
|
16
|
+
/// <summary>Handling of all multiplayer connection functionality, such as connect, disconnect, entity replication and network events.</summary>
|
|
17
|
+
|
|
18
|
+
public class MultiplayerConnection : NativeClassWrapper, IDisposable
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_multiplayer_MultiplayerConnection";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
[
|
|
26
|
+
DllImport(
|
|
27
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
28
|
+
"__Internal"
|
|
29
|
+
#elif DEBUG
|
|
30
|
+
"ConnectedSpacesPlatform_D"
|
|
31
|
+
#else
|
|
32
|
+
"ConnectedSpacesPlatform"
|
|
33
|
+
#endif
|
|
34
|
+
),
|
|
35
|
+
SuppressUnmanagedCodeSecurity
|
|
36
|
+
]
|
|
37
|
+
static extern void csp_multiplayer_MultiplayerConnection_SetDisconnectionCallback_void_DisconnectionCallbackHandler(
|
|
38
|
+
IntPtr @class,
|
|
39
|
+
SetDisconnectionCallbackCallbackDelegate callback,
|
|
40
|
+
IntPtr callbackStateObject
|
|
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_MultiplayerConnection_SetConnectionCallback_void_ConnectionCallbackHandler(
|
|
56
|
+
IntPtr @class,
|
|
57
|
+
SetConnectionCallbackCallbackDelegate callback,
|
|
58
|
+
IntPtr callbackStateObject
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
[
|
|
62
|
+
DllImport(
|
|
63
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
64
|
+
"__Internal"
|
|
65
|
+
#elif DEBUG
|
|
66
|
+
"ConnectedSpacesPlatform_D"
|
|
67
|
+
#else
|
|
68
|
+
"ConnectedSpacesPlatform"
|
|
69
|
+
#endif
|
|
70
|
+
),
|
|
71
|
+
SuppressUnmanagedCodeSecurity
|
|
72
|
+
]
|
|
73
|
+
static extern void csp_multiplayer_MultiplayerConnection_SetNetworkInterruptionCallback_void_NetworkInterruptionCallbackHandler(
|
|
74
|
+
IntPtr @class,
|
|
75
|
+
SetNetworkInterruptionCallbackCallbackDelegate callback,
|
|
76
|
+
IntPtr callbackStateObject
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
[
|
|
80
|
+
DllImport(
|
|
81
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
82
|
+
"__Internal"
|
|
83
|
+
#elif DEBUG
|
|
84
|
+
"ConnectedSpacesPlatform_D"
|
|
85
|
+
#else
|
|
86
|
+
"ConnectedSpacesPlatform"
|
|
87
|
+
#endif
|
|
88
|
+
),
|
|
89
|
+
SuppressUnmanagedCodeSecurity
|
|
90
|
+
]
|
|
91
|
+
static extern void csp_multiplayer_MultiplayerConnection_SetAssetDetailBlobChangedCallback_void_AssetDetailBlobChangedCallbackHandler(
|
|
92
|
+
IntPtr @class,
|
|
93
|
+
SetAssetDetailBlobChangedCallbackCallbackDelegate callback,
|
|
94
|
+
IntPtr callbackStateObject
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
[
|
|
98
|
+
DllImport(
|
|
99
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
100
|
+
"__Internal"
|
|
101
|
+
#elif DEBUG
|
|
102
|
+
"ConnectedSpacesPlatform_D"
|
|
103
|
+
#else
|
|
104
|
+
"ConnectedSpacesPlatform"
|
|
105
|
+
#endif
|
|
106
|
+
),
|
|
107
|
+
SuppressUnmanagedCodeSecurity
|
|
108
|
+
]
|
|
109
|
+
static extern void csp_multiplayer_MultiplayerConnection_SetConversationSystemCallback_void_ConversationSystemCallbackHandler(
|
|
110
|
+
IntPtr @class,
|
|
111
|
+
SetConversationSystemCallbackCallbackDelegate callback,
|
|
112
|
+
IntPtr callbackStateObject
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
[
|
|
116
|
+
DllImport(
|
|
117
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
118
|
+
"__Internal"
|
|
119
|
+
#elif DEBUG
|
|
120
|
+
"ConnectedSpacesPlatform_D"
|
|
121
|
+
#else
|
|
122
|
+
"ConnectedSpacesPlatform"
|
|
123
|
+
#endif
|
|
124
|
+
),
|
|
125
|
+
SuppressUnmanagedCodeSecurity
|
|
126
|
+
]
|
|
127
|
+
static extern NativePointer csp_multiplayer_MultiplayerConnection_Ctor_String(string InSpaceId);
|
|
128
|
+
|
|
129
|
+
[
|
|
130
|
+
DllImport(
|
|
131
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
132
|
+
"__Internal"
|
|
133
|
+
#elif DEBUG
|
|
134
|
+
"ConnectedSpacesPlatform_D"
|
|
135
|
+
#else
|
|
136
|
+
"ConnectedSpacesPlatform"
|
|
137
|
+
#endif
|
|
138
|
+
),
|
|
139
|
+
SuppressUnmanagedCodeSecurity
|
|
140
|
+
]
|
|
141
|
+
static extern void csp_multiplayer_MultiplayerConnection_Dtor(IntPtr @class);
|
|
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 NativePointer csp_multiplayer_MultiplayerConnection_Ctor_MultiplayerConnectionRC(
|
|
156
|
+
IntPtr InBoundConnection
|
|
157
|
+
);
|
|
158
|
+
|
|
159
|
+
[
|
|
160
|
+
DllImport(
|
|
161
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
162
|
+
"__Internal"
|
|
163
|
+
#elif DEBUG
|
|
164
|
+
"ConnectedSpacesPlatform_D"
|
|
165
|
+
#else
|
|
166
|
+
"ConnectedSpacesPlatform"
|
|
167
|
+
#endif
|
|
168
|
+
),
|
|
169
|
+
SuppressUnmanagedCodeSecurity
|
|
170
|
+
]
|
|
171
|
+
static extern void csp_multiplayer_MultiplayerConnection_Connect_void_CallbackHandler(
|
|
172
|
+
IntPtr @class,
|
|
173
|
+
ConnectCallbackDelegate callback,
|
|
174
|
+
IntPtr callbackStateObject
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
[
|
|
178
|
+
DllImport(
|
|
179
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
180
|
+
"__Internal"
|
|
181
|
+
#elif DEBUG
|
|
182
|
+
"ConnectedSpacesPlatform_D"
|
|
183
|
+
#else
|
|
184
|
+
"ConnectedSpacesPlatform"
|
|
185
|
+
#endif
|
|
186
|
+
),
|
|
187
|
+
SuppressUnmanagedCodeSecurity
|
|
188
|
+
]
|
|
189
|
+
static extern void csp_multiplayer_MultiplayerConnection_Disconnect_void_CallbackHandler(
|
|
190
|
+
IntPtr @class,
|
|
191
|
+
DisconnectCallbackDelegate callback,
|
|
192
|
+
IntPtr callbackStateObject
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
[
|
|
196
|
+
DllImport(
|
|
197
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
198
|
+
"__Internal"
|
|
199
|
+
#elif DEBUG
|
|
200
|
+
"ConnectedSpacesPlatform_D"
|
|
201
|
+
#else
|
|
202
|
+
"ConnectedSpacesPlatform"
|
|
203
|
+
#endif
|
|
204
|
+
),
|
|
205
|
+
SuppressUnmanagedCodeSecurity
|
|
206
|
+
]
|
|
207
|
+
static extern void csp_multiplayer_MultiplayerConnection_InitialiseConnection_void_CallbackHandler(
|
|
208
|
+
IntPtr @class,
|
|
209
|
+
InitialiseConnectionCallbackDelegate callback,
|
|
210
|
+
IntPtr callbackStateObject
|
|
211
|
+
);
|
|
212
|
+
|
|
213
|
+
[
|
|
214
|
+
DllImport(
|
|
215
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
216
|
+
"__Internal"
|
|
217
|
+
#elif DEBUG
|
|
218
|
+
"ConnectedSpacesPlatform_D"
|
|
219
|
+
#else
|
|
220
|
+
"ConnectedSpacesPlatform"
|
|
221
|
+
#endif
|
|
222
|
+
),
|
|
223
|
+
SuppressUnmanagedCodeSecurity
|
|
224
|
+
]
|
|
225
|
+
static extern void csp_multiplayer_MultiplayerConnection_SendNetworkEvent_void_StringRC_ArrayRC_CallbackHandler(
|
|
226
|
+
IntPtr @class,
|
|
227
|
+
string EventName,
|
|
228
|
+
IntPtr Args,
|
|
229
|
+
SendNetworkEventCallbackDelegate callback,
|
|
230
|
+
IntPtr callbackStateObject
|
|
231
|
+
);
|
|
232
|
+
|
|
233
|
+
[
|
|
234
|
+
DllImport(
|
|
235
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
236
|
+
"__Internal"
|
|
237
|
+
#elif DEBUG
|
|
238
|
+
"ConnectedSpacesPlatform_D"
|
|
239
|
+
#else
|
|
240
|
+
"ConnectedSpacesPlatform"
|
|
241
|
+
#endif
|
|
242
|
+
),
|
|
243
|
+
SuppressUnmanagedCodeSecurity
|
|
244
|
+
]
|
|
245
|
+
static extern void csp_multiplayer_MultiplayerConnection_SendNetworkEventToClient_void_StringRC_ArrayRC_uint64_t_CallbackHandler(
|
|
246
|
+
IntPtr @class,
|
|
247
|
+
string EventName,
|
|
248
|
+
IntPtr Args,
|
|
249
|
+
ulong TargetClientId,
|
|
250
|
+
SendNetworkEventToClientCallbackDelegate callback,
|
|
251
|
+
IntPtr callbackStateObject
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
[
|
|
255
|
+
DllImport(
|
|
256
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
257
|
+
"__Internal"
|
|
258
|
+
#elif DEBUG
|
|
259
|
+
"ConnectedSpacesPlatform_D"
|
|
260
|
+
#else
|
|
261
|
+
"ConnectedSpacesPlatform"
|
|
262
|
+
#endif
|
|
263
|
+
),
|
|
264
|
+
SuppressUnmanagedCodeSecurity
|
|
265
|
+
]
|
|
266
|
+
static extern void csp_multiplayer_MultiplayerConnection_ListenNetworkEvent_void_StringRC_ParameterisedCallbackHandler(
|
|
267
|
+
IntPtr @class,
|
|
268
|
+
IntPtr EventName,
|
|
269
|
+
_ListenNetworkEventCallbackDelegate Callback,
|
|
270
|
+
IntPtr CallbackStateObject
|
|
271
|
+
);
|
|
272
|
+
|
|
273
|
+
[
|
|
274
|
+
DllImport(
|
|
275
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
276
|
+
"__Internal"
|
|
277
|
+
#elif DEBUG
|
|
278
|
+
"ConnectedSpacesPlatform_D"
|
|
279
|
+
#else
|
|
280
|
+
"ConnectedSpacesPlatform"
|
|
281
|
+
#endif
|
|
282
|
+
),
|
|
283
|
+
SuppressUnmanagedCodeSecurity
|
|
284
|
+
]
|
|
285
|
+
static extern void csp_multiplayer_MultiplayerConnection_StopListenNetworkEvent_void_StringRC(
|
|
286
|
+
IntPtr @class,
|
|
287
|
+
IntPtr EventName
|
|
288
|
+
);
|
|
289
|
+
|
|
290
|
+
[
|
|
291
|
+
DllImport(
|
|
292
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
293
|
+
"__Internal"
|
|
294
|
+
#elif DEBUG
|
|
295
|
+
"ConnectedSpacesPlatform_D"
|
|
296
|
+
#else
|
|
297
|
+
"ConnectedSpacesPlatform"
|
|
298
|
+
#endif
|
|
299
|
+
),
|
|
300
|
+
SuppressUnmanagedCodeSecurity
|
|
301
|
+
]
|
|
302
|
+
static extern ulong csp_multiplayer_MultiplayerConnection_GetClientIdC_uint64_t(IntPtr @class);
|
|
303
|
+
|
|
304
|
+
[
|
|
305
|
+
DllImport(
|
|
306
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
307
|
+
"__Internal"
|
|
308
|
+
#elif DEBUG
|
|
309
|
+
"ConnectedSpacesPlatform_D"
|
|
310
|
+
#else
|
|
311
|
+
"ConnectedSpacesPlatform"
|
|
312
|
+
#endif
|
|
313
|
+
),
|
|
314
|
+
SuppressUnmanagedCodeSecurity
|
|
315
|
+
]
|
|
316
|
+
static extern NativePointer csp_multiplayer_MultiplayerConnection_GetSpaceEntitySystemC_SpaceEntitySystemP(
|
|
317
|
+
IntPtr @class
|
|
318
|
+
);
|
|
319
|
+
|
|
320
|
+
[
|
|
321
|
+
DllImport(
|
|
322
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
323
|
+
"__Internal"
|
|
324
|
+
#elif DEBUG
|
|
325
|
+
"ConnectedSpacesPlatform_D"
|
|
326
|
+
#else
|
|
327
|
+
"ConnectedSpacesPlatform"
|
|
328
|
+
#endif
|
|
329
|
+
),
|
|
330
|
+
SuppressUnmanagedCodeSecurity
|
|
331
|
+
]
|
|
332
|
+
static extern NativePointer csp_multiplayer_MultiplayerConnection_GetConversationSystemC_ConversationSystemP(
|
|
333
|
+
IntPtr @class
|
|
334
|
+
);
|
|
335
|
+
|
|
336
|
+
[
|
|
337
|
+
DllImport(
|
|
338
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
339
|
+
"__Internal"
|
|
340
|
+
#elif DEBUG
|
|
341
|
+
"ConnectedSpacesPlatform_D"
|
|
342
|
+
#else
|
|
343
|
+
"ConnectedSpacesPlatform"
|
|
344
|
+
#endif
|
|
345
|
+
),
|
|
346
|
+
SuppressUnmanagedCodeSecurity
|
|
347
|
+
]
|
|
348
|
+
static extern Csp.Multiplayer.ConnectionState csp_multiplayer_MultiplayerConnection_GetConnectionStateC_ConnectionState(
|
|
349
|
+
IntPtr @class
|
|
350
|
+
);
|
|
351
|
+
|
|
352
|
+
[
|
|
353
|
+
DllImport(
|
|
354
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
355
|
+
"__Internal"
|
|
356
|
+
#elif DEBUG
|
|
357
|
+
"ConnectedSpacesPlatform_D"
|
|
358
|
+
#else
|
|
359
|
+
"ConnectedSpacesPlatform"
|
|
360
|
+
#endif
|
|
361
|
+
),
|
|
362
|
+
SuppressUnmanagedCodeSecurity
|
|
363
|
+
]
|
|
364
|
+
static extern void csp_multiplayer_MultiplayerConnection_SetAllowSelfMessagingFlag_void_boolC_CallbackHandler(
|
|
365
|
+
IntPtr @class,
|
|
366
|
+
bool AllowSelfMessaging,
|
|
367
|
+
SetAllowSelfMessagingFlagCallbackDelegate callback,
|
|
368
|
+
IntPtr callbackStateObject
|
|
369
|
+
);
|
|
370
|
+
|
|
371
|
+
[
|
|
372
|
+
DllImport(
|
|
373
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
374
|
+
"__Internal"
|
|
375
|
+
#elif DEBUG
|
|
376
|
+
"ConnectedSpacesPlatform_D"
|
|
377
|
+
#else
|
|
378
|
+
"ConnectedSpacesPlatform"
|
|
379
|
+
#endif
|
|
380
|
+
),
|
|
381
|
+
SuppressUnmanagedCodeSecurity
|
|
382
|
+
]
|
|
383
|
+
static extern bool csp_multiplayer_MultiplayerConnection_GetAllowSelfMessagingFlagC_bool(IntPtr @class);
|
|
384
|
+
|
|
385
|
+
#pragma warning restore IDE1006
|
|
386
|
+
#endregion
|
|
387
|
+
|
|
388
|
+
internal MultiplayerConnection(NativePointer ptr) : base(ptr) { }
|
|
389
|
+
|
|
390
|
+
delegate void ConnectCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
391
|
+
|
|
392
|
+
delegate void DisconnectCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
393
|
+
|
|
394
|
+
delegate void InitialiseConnectionCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
395
|
+
|
|
396
|
+
delegate void SendNetworkEventCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
397
|
+
|
|
398
|
+
delegate void SendNetworkEventToClientCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
399
|
+
|
|
400
|
+
delegate void SetDisconnectionCallbackCallbackDelegate(IntPtr _StateObject__, string arg1);
|
|
401
|
+
|
|
402
|
+
delegate void SetConnectionCallbackCallbackDelegate(IntPtr _StateObject__, string arg1);
|
|
403
|
+
|
|
404
|
+
delegate void SetNetworkInterruptionCallbackCallbackDelegate(IntPtr _StateObject__, string arg1);
|
|
405
|
+
|
|
406
|
+
delegate void SetAssetDetailBlobChangedCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
407
|
+
|
|
408
|
+
delegate void SetConversationSystemCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
409
|
+
|
|
410
|
+
delegate void _ListenNetworkEventCallbackDelegate(IntPtr _StateObject__, bool arg1, NativePointer arg2);
|
|
411
|
+
|
|
412
|
+
public delegate void ListenNetworkEventCallbackDelegate(
|
|
413
|
+
bool arg1,
|
|
414
|
+
Csp.Common.Array<Csp.Multiplayer.ReplicatedValue> arg2
|
|
415
|
+
);
|
|
416
|
+
delegate void SetAllowSelfMessagingFlagCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
417
|
+
|
|
418
|
+
readonly List<GCHandle> eventHandles = new List<GCHandle>();
|
|
419
|
+
|
|
420
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
421
|
+
[AOT.MonoPInvokeCallback (typeof (SetDisconnectionCallbackCallbackDelegate))]
|
|
422
|
+
#endif
|
|
423
|
+
static void SetDisconnectionCallbackCallbackDelegateFunction(IntPtr _StateObject__, string _arg1)
|
|
424
|
+
{
|
|
425
|
+
var _handle = (GCHandle)_StateObject__;
|
|
426
|
+
var _this = (MultiplayerConnection)_handle.Target;
|
|
427
|
+
_this.RealOnDisconnection?.Invoke(_this, _arg1);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
static readonly SetDisconnectionCallbackCallbackDelegate OnDisconnectionDelegateInstance =
|
|
431
|
+
SetDisconnectionCallbackCallbackDelegateFunction;
|
|
432
|
+
|
|
433
|
+
bool OnDisconnectionInitialised = false;
|
|
434
|
+
event EventHandler<string>? RealOnDisconnection;
|
|
435
|
+
public event EventHandler<string> OnDisconnection
|
|
436
|
+
{
|
|
437
|
+
add
|
|
438
|
+
{
|
|
439
|
+
if (!OnDisconnectionInitialised)
|
|
440
|
+
{
|
|
441
|
+
var handle = GCHandle.Alloc(this);
|
|
442
|
+
csp_multiplayer_MultiplayerConnection_SetDisconnectionCallback_void_DisconnectionCallbackHandler(
|
|
443
|
+
_ptr,
|
|
444
|
+
OnDisconnectionDelegateInstance,
|
|
445
|
+
(IntPtr)handle
|
|
446
|
+
);
|
|
447
|
+
eventHandles.Add(handle);
|
|
448
|
+
OnDisconnectionInitialised = true;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
RealOnDisconnection += value;
|
|
452
|
+
}
|
|
453
|
+
remove { RealOnDisconnection -= value; }
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
457
|
+
[AOT.MonoPInvokeCallback (typeof (SetConnectionCallbackCallbackDelegate))]
|
|
458
|
+
#endif
|
|
459
|
+
static void SetConnectionCallbackCallbackDelegateFunction(IntPtr _StateObject__, string _arg1)
|
|
460
|
+
{
|
|
461
|
+
var _handle = (GCHandle)_StateObject__;
|
|
462
|
+
var _this = (MultiplayerConnection)_handle.Target;
|
|
463
|
+
_this.RealOnConnection?.Invoke(_this, _arg1);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
static readonly SetConnectionCallbackCallbackDelegate OnConnectionDelegateInstance =
|
|
467
|
+
SetConnectionCallbackCallbackDelegateFunction;
|
|
468
|
+
|
|
469
|
+
bool OnConnectionInitialised = false;
|
|
470
|
+
event EventHandler<string>? RealOnConnection;
|
|
471
|
+
public event EventHandler<string> OnConnection
|
|
472
|
+
{
|
|
473
|
+
add
|
|
474
|
+
{
|
|
475
|
+
if (!OnConnectionInitialised)
|
|
476
|
+
{
|
|
477
|
+
var handle = GCHandle.Alloc(this);
|
|
478
|
+
csp_multiplayer_MultiplayerConnection_SetConnectionCallback_void_ConnectionCallbackHandler(
|
|
479
|
+
_ptr,
|
|
480
|
+
OnConnectionDelegateInstance,
|
|
481
|
+
(IntPtr)handle
|
|
482
|
+
);
|
|
483
|
+
eventHandles.Add(handle);
|
|
484
|
+
OnConnectionInitialised = true;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
RealOnConnection += value;
|
|
488
|
+
}
|
|
489
|
+
remove { RealOnConnection -= value; }
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
493
|
+
[AOT.MonoPInvokeCallback (typeof (SetNetworkInterruptionCallbackCallbackDelegate))]
|
|
494
|
+
#endif
|
|
495
|
+
static void SetNetworkInterruptionCallbackCallbackDelegateFunction(IntPtr _StateObject__, string _arg1)
|
|
496
|
+
{
|
|
497
|
+
var _handle = (GCHandle)_StateObject__;
|
|
498
|
+
var _this = (MultiplayerConnection)_handle.Target;
|
|
499
|
+
_this.RealOnNetworkInterruption?.Invoke(_this, _arg1);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
static readonly SetNetworkInterruptionCallbackCallbackDelegate OnNetworkInterruptionDelegateInstance =
|
|
503
|
+
SetNetworkInterruptionCallbackCallbackDelegateFunction;
|
|
504
|
+
|
|
505
|
+
bool OnNetworkInterruptionInitialised = false;
|
|
506
|
+
event EventHandler<string>? RealOnNetworkInterruption;
|
|
507
|
+
public event EventHandler<string> OnNetworkInterruption
|
|
508
|
+
{
|
|
509
|
+
add
|
|
510
|
+
{
|
|
511
|
+
if (!OnNetworkInterruptionInitialised)
|
|
512
|
+
{
|
|
513
|
+
var handle = GCHandle.Alloc(this);
|
|
514
|
+
csp_multiplayer_MultiplayerConnection_SetNetworkInterruptionCallback_void_NetworkInterruptionCallbackHandler(
|
|
515
|
+
_ptr,
|
|
516
|
+
OnNetworkInterruptionDelegateInstance,
|
|
517
|
+
(IntPtr)handle
|
|
518
|
+
);
|
|
519
|
+
eventHandles.Add(handle);
|
|
520
|
+
OnNetworkInterruptionInitialised = true;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
RealOnNetworkInterruption += value;
|
|
524
|
+
}
|
|
525
|
+
remove { RealOnNetworkInterruption -= value; }
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
529
|
+
[AOT.MonoPInvokeCallback (typeof (SetAssetDetailBlobChangedCallbackCallbackDelegate))]
|
|
530
|
+
#endif
|
|
531
|
+
static void SetAssetDetailBlobChangedCallbackCallbackDelegateFunction(
|
|
532
|
+
IntPtr _StateObject__,
|
|
533
|
+
NativePointer _arg1
|
|
534
|
+
) {
|
|
535
|
+
var _handle = (GCHandle)_StateObject__;
|
|
536
|
+
var _this = (MultiplayerConnection)_handle.Target;
|
|
537
|
+
_this.RealOnAssetDetailBlobChanged?.Invoke(_this, new Csp.Multiplayer.AssetDetailBlobParams(_arg1));
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
static readonly SetAssetDetailBlobChangedCallbackCallbackDelegate OnAssetDetailBlobChangedDelegateInstance =
|
|
541
|
+
SetAssetDetailBlobChangedCallbackCallbackDelegateFunction;
|
|
542
|
+
|
|
543
|
+
bool OnAssetDetailBlobChangedInitialised = false;
|
|
544
|
+
event EventHandler<Csp.Multiplayer.AssetDetailBlobParams>? RealOnAssetDetailBlobChanged;
|
|
545
|
+
public event EventHandler<Csp.Multiplayer.AssetDetailBlobParams> OnAssetDetailBlobChanged
|
|
546
|
+
{
|
|
547
|
+
add
|
|
548
|
+
{
|
|
549
|
+
if (!OnAssetDetailBlobChangedInitialised)
|
|
550
|
+
{
|
|
551
|
+
var handle = GCHandle.Alloc(this);
|
|
552
|
+
csp_multiplayer_MultiplayerConnection_SetAssetDetailBlobChangedCallback_void_AssetDetailBlobChangedCallbackHandler(
|
|
553
|
+
_ptr,
|
|
554
|
+
OnAssetDetailBlobChangedDelegateInstance,
|
|
555
|
+
(IntPtr)handle
|
|
556
|
+
);
|
|
557
|
+
eventHandles.Add(handle);
|
|
558
|
+
OnAssetDetailBlobChangedInitialised = true;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
RealOnAssetDetailBlobChanged += value;
|
|
562
|
+
}
|
|
563
|
+
remove { RealOnAssetDetailBlobChanged -= value; }
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
567
|
+
[AOT.MonoPInvokeCallback (typeof (SetConversationSystemCallbackCallbackDelegate))]
|
|
568
|
+
#endif
|
|
569
|
+
static void SetConversationSystemCallbackCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
570
|
+
{
|
|
571
|
+
var _handle = (GCHandle)_StateObject__;
|
|
572
|
+
var _this = (MultiplayerConnection)_handle.Target;
|
|
573
|
+
_this.RealOnConversationSystem?.Invoke(_this, new Csp.Multiplayer.ConversationSystemParams(_arg1));
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
static readonly SetConversationSystemCallbackCallbackDelegate OnConversationSystemDelegateInstance =
|
|
577
|
+
SetConversationSystemCallbackCallbackDelegateFunction;
|
|
578
|
+
|
|
579
|
+
bool OnConversationSystemInitialised = false;
|
|
580
|
+
event EventHandler<Csp.Multiplayer.ConversationSystemParams>? RealOnConversationSystem;
|
|
581
|
+
public event EventHandler<Csp.Multiplayer.ConversationSystemParams> OnConversationSystem
|
|
582
|
+
{
|
|
583
|
+
add
|
|
584
|
+
{
|
|
585
|
+
if (!OnConversationSystemInitialised)
|
|
586
|
+
{
|
|
587
|
+
var handle = GCHandle.Alloc(this);
|
|
588
|
+
csp_multiplayer_MultiplayerConnection_SetConversationSystemCallback_void_ConversationSystemCallbackHandler(
|
|
589
|
+
_ptr,
|
|
590
|
+
OnConversationSystemDelegateInstance,
|
|
591
|
+
(IntPtr)handle
|
|
592
|
+
);
|
|
593
|
+
eventHandles.Add(handle);
|
|
594
|
+
OnConversationSystemInitialised = true;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
RealOnConversationSystem += value;
|
|
598
|
+
}
|
|
599
|
+
remove { RealOnConversationSystem -= value; }
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
public MultiplayerConnection(string InSpaceId)
|
|
603
|
+
{
|
|
604
|
+
var np = csp_multiplayer_MultiplayerConnection_Ctor_String(InSpaceId);
|
|
605
|
+
_ptr = np.Pointer;
|
|
606
|
+
_ownsPtr = np.OwnsOwnData;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
~MultiplayerConnection()
|
|
610
|
+
{
|
|
611
|
+
//RealDispose();
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
void RealDispose()
|
|
615
|
+
{
|
|
616
|
+
if (_ownsPtr && !_disposed)
|
|
617
|
+
{
|
|
618
|
+
csp_multiplayer_MultiplayerConnection_Dtor(_ptr);
|
|
619
|
+
_disposed = true;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
_disposed = true;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
public void Dispose()
|
|
626
|
+
{
|
|
627
|
+
RealDispose();
|
|
628
|
+
GC.SuppressFinalize(this);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
public MultiplayerConnection(Csp.Multiplayer.MultiplayerConnection InBoundConnection)
|
|
632
|
+
{
|
|
633
|
+
var np = csp_multiplayer_MultiplayerConnection_Ctor_MultiplayerConnectionRC(InBoundConnection._ptr);
|
|
634
|
+
_ptr = np.Pointer;
|
|
635
|
+
_ownsPtr = np.OwnsOwnData;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
639
|
+
[AOT.MonoPInvokeCallback (typeof (ConnectCallbackDelegate))]
|
|
640
|
+
#endif
|
|
641
|
+
static void ConnectCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
642
|
+
{
|
|
643
|
+
var _handle = (GCHandle)_StateObject__;
|
|
644
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
645
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
646
|
+
|
|
647
|
+
var task_result = _arg1;
|
|
648
|
+
|
|
649
|
+
tcs.SetResult(task_result);
|
|
650
|
+
_handle.Free();
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
static readonly ConnectCallbackDelegate ConnectDelegateInstance = ConnectCallbackDelegateFunction;
|
|
654
|
+
|
|
655
|
+
/// <summary>Start the connection and register to start receiving updates from the server.</summary>
|
|
656
|
+
/// <returns>The result for the request</returns>
|
|
657
|
+
|
|
658
|
+
public Task<bool> Connect()
|
|
659
|
+
{
|
|
660
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
661
|
+
var handle = GCHandle.Alloc(tcs);
|
|
662
|
+
|
|
663
|
+
csp_multiplayer_MultiplayerConnection_Connect_void_CallbackHandler(
|
|
664
|
+
_ptr,
|
|
665
|
+
ConnectDelegateInstance,
|
|
666
|
+
(IntPtr)handle
|
|
667
|
+
);
|
|
668
|
+
|
|
669
|
+
return tcs.Task;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
673
|
+
[AOT.MonoPInvokeCallback (typeof (DisconnectCallbackDelegate))]
|
|
674
|
+
#endif
|
|
675
|
+
static void DisconnectCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
676
|
+
{
|
|
677
|
+
var _handle = (GCHandle)_StateObject__;
|
|
678
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
679
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
680
|
+
|
|
681
|
+
var task_result = _arg1;
|
|
682
|
+
|
|
683
|
+
tcs.SetResult(task_result);
|
|
684
|
+
_handle.Free();
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
static readonly DisconnectCallbackDelegate DisconnectDelegateInstance = DisconnectCallbackDelegateFunction;
|
|
688
|
+
|
|
689
|
+
/// <summary>End the multiplayer connection.</summary>
|
|
690
|
+
/// <returns>The result for the request</returns>
|
|
691
|
+
|
|
692
|
+
public Task<bool> Disconnect()
|
|
693
|
+
{
|
|
694
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
695
|
+
var handle = GCHandle.Alloc(tcs);
|
|
696
|
+
|
|
697
|
+
csp_multiplayer_MultiplayerConnection_Disconnect_void_CallbackHandler(
|
|
698
|
+
_ptr,
|
|
699
|
+
DisconnectDelegateInstance,
|
|
700
|
+
(IntPtr)handle
|
|
701
|
+
);
|
|
702
|
+
|
|
703
|
+
return tcs.Task;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
707
|
+
[AOT.MonoPInvokeCallback (typeof (InitialiseConnectionCallbackDelegate))]
|
|
708
|
+
#endif
|
|
709
|
+
static void InitialiseConnectionCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
710
|
+
{
|
|
711
|
+
var _handle = (GCHandle)_StateObject__;
|
|
712
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
713
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
714
|
+
|
|
715
|
+
var task_result = _arg1;
|
|
716
|
+
|
|
717
|
+
tcs.SetResult(task_result);
|
|
718
|
+
_handle.Free();
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
static readonly InitialiseConnectionCallbackDelegate InitialiseConnectionDelegateInstance =
|
|
722
|
+
InitialiseConnectionCallbackDelegateFunction;
|
|
723
|
+
|
|
724
|
+
/// <summary>Initialise the connection and get initial entity data from the server.</summary>
|
|
725
|
+
/// <returns>The result for the request</returns>
|
|
726
|
+
|
|
727
|
+
public Task<bool> InitialiseConnection()
|
|
728
|
+
{
|
|
729
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
730
|
+
var handle = GCHandle.Alloc(tcs);
|
|
731
|
+
|
|
732
|
+
csp_multiplayer_MultiplayerConnection_InitialiseConnection_void_CallbackHandler(
|
|
733
|
+
_ptr,
|
|
734
|
+
InitialiseConnectionDelegateInstance,
|
|
735
|
+
(IntPtr)handle
|
|
736
|
+
);
|
|
737
|
+
|
|
738
|
+
return tcs.Task;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
742
|
+
[AOT.MonoPInvokeCallback (typeof (SendNetworkEventCallbackDelegate))]
|
|
743
|
+
#endif
|
|
744
|
+
static void SendNetworkEventCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
745
|
+
{
|
|
746
|
+
var _handle = (GCHandle)_StateObject__;
|
|
747
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
748
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
749
|
+
|
|
750
|
+
var task_result = _arg1;
|
|
751
|
+
|
|
752
|
+
tcs.SetResult(task_result);
|
|
753
|
+
_handle.Free();
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
static readonly SendNetworkEventCallbackDelegate SendNetworkEventDelegateInstance =
|
|
757
|
+
SendNetworkEventCallbackDelegateFunction;
|
|
758
|
+
|
|
759
|
+
/// <summary>Sends a network event by EventName to all currently connected clients.</summary>
|
|
760
|
+
/// <param name="EventName">The identifying name for the event.</param>
|
|
761
|
+
/// <param name="Args">An array of arguments (ReplicatedValue) to be passed as part of the event payload.</param>
|
|
762
|
+
/// <returns>The result for the request</returns>
|
|
763
|
+
|
|
764
|
+
public Task<bool> SendNetworkEvent(string EventName, Csp.Common.Array<Csp.Multiplayer.ReplicatedValue> Args)
|
|
765
|
+
{
|
|
766
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
767
|
+
var handle = GCHandle.Alloc(tcs);
|
|
768
|
+
|
|
769
|
+
csp_multiplayer_MultiplayerConnection_SendNetworkEvent_void_StringRC_ArrayRC_CallbackHandler(
|
|
770
|
+
_ptr,
|
|
771
|
+
EventName,
|
|
772
|
+
Args._ptr,
|
|
773
|
+
SendNetworkEventDelegateInstance,
|
|
774
|
+
(IntPtr)handle
|
|
775
|
+
);
|
|
776
|
+
|
|
777
|
+
return tcs.Task;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
781
|
+
[AOT.MonoPInvokeCallback (typeof (SendNetworkEventToClientCallbackDelegate))]
|
|
782
|
+
#endif
|
|
783
|
+
static void SendNetworkEventToClientCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
784
|
+
{
|
|
785
|
+
var _handle = (GCHandle)_StateObject__;
|
|
786
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
787
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
788
|
+
|
|
789
|
+
var task_result = _arg1;
|
|
790
|
+
|
|
791
|
+
tcs.SetResult(task_result);
|
|
792
|
+
_handle.Free();
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
static readonly SendNetworkEventToClientCallbackDelegate SendNetworkEventToClientDelegateInstance =
|
|
796
|
+
SendNetworkEventToClientCallbackDelegateFunction;
|
|
797
|
+
|
|
798
|
+
/// <summary>Sends a network event by EventName, to TargetClientId.</summary>
|
|
799
|
+
/// <param name="EventName">The identifying name for the event.</param>
|
|
800
|
+
/// <param name="Args">An array of arguments (ReplicatedValue) to be passed as part of the event payload.</param>
|
|
801
|
+
/// <param name="TargetClientId">The client ID to send the event to.</param>
|
|
802
|
+
/// <returns>The result for the request</returns>
|
|
803
|
+
|
|
804
|
+
public Task<bool> SendNetworkEventToClient(
|
|
805
|
+
string EventName,
|
|
806
|
+
Csp.Common.Array<Csp.Multiplayer.ReplicatedValue> Args,
|
|
807
|
+
ulong TargetClientId
|
|
808
|
+
) {
|
|
809
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
810
|
+
var handle = GCHandle.Alloc(tcs);
|
|
811
|
+
|
|
812
|
+
csp_multiplayer_MultiplayerConnection_SendNetworkEventToClient_void_StringRC_ArrayRC_uint64_t_CallbackHandler(
|
|
813
|
+
_ptr,
|
|
814
|
+
EventName,
|
|
815
|
+
Args._ptr,
|
|
816
|
+
TargetClientId,
|
|
817
|
+
SendNetworkEventToClientDelegateInstance,
|
|
818
|
+
(IntPtr)handle
|
|
819
|
+
);
|
|
820
|
+
|
|
821
|
+
return tcs.Task;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/// <summary>Registers a callback to listen for the named event.</summary>
|
|
825
|
+
/// <param name="EventName">The identifying name for the event to listen for.</param>
|
|
826
|
+
/// <param name="Callback">A callback to register for the event which contains the parameter payload data.</param>
|
|
827
|
+
|
|
828
|
+
static void ListenNetworkEventCallbackDelegateFunction(IntPtr _StateObject__, bool arg1, NativePointer arg2)
|
|
829
|
+
{
|
|
830
|
+
var _handle = (GCHandle)_StateObject__;
|
|
831
|
+
var _Callback = (ListenNetworkEventCallbackDelegate)_handle.Target;
|
|
832
|
+
|
|
833
|
+
var _arg1 = arg1;
|
|
834
|
+
var _arg2 = new Csp.Common.Array<Csp.Multiplayer.ReplicatedValue>(arg2);
|
|
835
|
+
|
|
836
|
+
_Callback(_arg1, _arg2);
|
|
837
|
+
// TODO: Queue persistent callback handles to be freed on exit
|
|
838
|
+
// _handle.Free();
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
public void ListenNetworkEvent(string EventName, ListenNetworkEventCallbackDelegate Callback)
|
|
842
|
+
{
|
|
843
|
+
var _Callback = GCHandle.Alloc(Callback);
|
|
844
|
+
|
|
845
|
+
csp_multiplayer_MultiplayerConnection_ListenNetworkEvent_void_StringRC_ParameterisedCallbackHandler(
|
|
846
|
+
_ptr,
|
|
847
|
+
WrapperHelper.StringToNativeUTF8(EventName),
|
|
848
|
+
ListenNetworkEventCallbackDelegateFunction,
|
|
849
|
+
(IntPtr)_Callback
|
|
850
|
+
);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/// <summary>Stops the multiplayer connection from listening for a particular network event.</summary>
|
|
854
|
+
/// <param name="EventName">The identifying name for the event to stop listening for.</param>
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
public void StopListenNetworkEvent(string EventName)
|
|
858
|
+
{
|
|
859
|
+
csp_multiplayer_MultiplayerConnection_StopListenNetworkEvent_void_StringRC(
|
|
860
|
+
_ptr,
|
|
861
|
+
WrapperHelper.StringToNativeUTF8(EventName)
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/// <summary>Requests the ClientID.</summary>
|
|
866
|
+
/// <returns>Uint64_t the clientid for this connection.</returns>
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
public ulong GetClientId()
|
|
870
|
+
{
|
|
871
|
+
var _result = csp_multiplayer_MultiplayerConnection_GetClientIdC_uint64_t(_ptr);
|
|
872
|
+
|
|
873
|
+
return _result;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/// <summary>Gets a pointer to the space entity system.</summary>
|
|
877
|
+
/// <returns>A pointer to the space entity system.</returns>
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
public Csp.Multiplayer.SpaceEntitySystem GetSpaceEntitySystem()
|
|
881
|
+
{
|
|
882
|
+
var _result = new Csp.Multiplayer.SpaceEntitySystem(
|
|
883
|
+
csp_multiplayer_MultiplayerConnection_GetSpaceEntitySystemC_SpaceEntitySystemP(_ptr)
|
|
884
|
+
);
|
|
885
|
+
|
|
886
|
+
return _result;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/// <summary>Gets a pointer to the conversation system.</summary>
|
|
890
|
+
/// <returns>A pointer to the conversation system.</returns>
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
public Csp.Multiplayer.ConversationSystem GetConversationSystem()
|
|
894
|
+
{
|
|
895
|
+
var _result = new Csp.Multiplayer.ConversationSystem(
|
|
896
|
+
csp_multiplayer_MultiplayerConnection_GetConversationSystemC_ConversationSystemP(_ptr)
|
|
897
|
+
);
|
|
898
|
+
|
|
899
|
+
return _result;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/// <summary>Gets the current connection state.</summary>
|
|
903
|
+
/// <returns>A ConnectionState enum value.</returns>
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
public Csp.Multiplayer.ConnectionState GetConnectionState()
|
|
907
|
+
{
|
|
908
|
+
var _result = csp_multiplayer_MultiplayerConnection_GetConnectionStateC_ConnectionState(_ptr);
|
|
909
|
+
|
|
910
|
+
return _result;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
914
|
+
[AOT.MonoPInvokeCallback (typeof (SetAllowSelfMessagingFlagCallbackDelegate))]
|
|
915
|
+
#endif
|
|
916
|
+
static void SetAllowSelfMessagingFlagCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
917
|
+
{
|
|
918
|
+
var _handle = (GCHandle)_StateObject__;
|
|
919
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
920
|
+
var _this = (MultiplayerConnection)tcs.Task.AsyncState;
|
|
921
|
+
|
|
922
|
+
var task_result = _arg1;
|
|
923
|
+
|
|
924
|
+
tcs.SetResult(task_result);
|
|
925
|
+
_handle.Free();
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
static readonly SetAllowSelfMessagingFlagCallbackDelegate SetAllowSelfMessagingFlagDelegateInstance =
|
|
929
|
+
SetAllowSelfMessagingFlagCallbackDelegateFunction;
|
|
930
|
+
|
|
931
|
+
/// <summary>Sets the Self Messaging flag for this client.</summary>
|
|
932
|
+
/// <remarks>/// This allows a client to declare that it wishes to recieve every patch and object message it sends.</remarks>
|
|
933
|
+
/// <remarks>/// @warning Don't use this function if you aren't sure of the consequences, it's very unlikely that a client would want to use this!</remarks>
|
|
934
|
+
/// <param name="AllowSelfMessaging">True to allow and false to disallow.</param>
|
|
935
|
+
/// <returns>The result for the request</returns>
|
|
936
|
+
|
|
937
|
+
public Task<bool> SetAllowSelfMessagingFlag(bool AllowSelfMessaging)
|
|
938
|
+
{
|
|
939
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
940
|
+
var handle = GCHandle.Alloc(tcs);
|
|
941
|
+
|
|
942
|
+
csp_multiplayer_MultiplayerConnection_SetAllowSelfMessagingFlag_void_boolC_CallbackHandler(
|
|
943
|
+
_ptr,
|
|
944
|
+
AllowSelfMessaging,
|
|
945
|
+
SetAllowSelfMessagingFlagDelegateInstance,
|
|
946
|
+
(IntPtr)handle
|
|
947
|
+
);
|
|
948
|
+
|
|
949
|
+
return tcs.Task;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/// <summary>Gets the bool representing if we're using self-messaging or not.</summary>
|
|
953
|
+
/// <returns>True if self messaging is allowed, false otherwise.</returns>
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
public bool GetAllowSelfMessagingFlag()
|
|
957
|
+
{
|
|
958
|
+
var _result = csp_multiplayer_MultiplayerConnection_GetAllowSelfMessagingFlagC_bool(_ptr);
|
|
959
|
+
|
|
960
|
+
return _result;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|