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,479 @@
|
|
|
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
|
+
/// <summary>Manages the script attached to an Entity.</summary>
|
|
16
|
+
/// <remarks>/// Provides functions for setting the script source, subscribing to property changes and messages and other script management.</remarks>
|
|
17
|
+
|
|
18
|
+
public class EntityScript : NativeClassWrapper, IDisposable
|
|
19
|
+
{
|
|
20
|
+
internal override string _safeTypeName { get; } = "csp_multiplayer_EntityScript";
|
|
21
|
+
|
|
22
|
+
#region P/Invoke
|
|
23
|
+
#pragma warning disable IDE1006
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
[
|
|
28
|
+
DllImport(
|
|
29
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
30
|
+
"__Internal"
|
|
31
|
+
#elif DEBUG
|
|
32
|
+
"ConnectedSpacesPlatform_D"
|
|
33
|
+
#else
|
|
34
|
+
"ConnectedSpacesPlatform"
|
|
35
|
+
#endif
|
|
36
|
+
),
|
|
37
|
+
SuppressUnmanagedCodeSecurity
|
|
38
|
+
]
|
|
39
|
+
static extern void csp_multiplayer_EntityScript_Dtor(IntPtr @class);
|
|
40
|
+
|
|
41
|
+
[
|
|
42
|
+
DllImport(
|
|
43
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
44
|
+
"__Internal"
|
|
45
|
+
#elif DEBUG
|
|
46
|
+
"ConnectedSpacesPlatform_D"
|
|
47
|
+
#else
|
|
48
|
+
"ConnectedSpacesPlatform"
|
|
49
|
+
#endif
|
|
50
|
+
),
|
|
51
|
+
SuppressUnmanagedCodeSecurity
|
|
52
|
+
]
|
|
53
|
+
static extern void csp_multiplayer_EntityScript_SetScriptSource_void_StringRC(
|
|
54
|
+
IntPtr @class,
|
|
55
|
+
IntPtr ScriptSource
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
[
|
|
59
|
+
DllImport(
|
|
60
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
61
|
+
"__Internal"
|
|
62
|
+
#elif DEBUG
|
|
63
|
+
"ConnectedSpacesPlatform_D"
|
|
64
|
+
#else
|
|
65
|
+
"ConnectedSpacesPlatform"
|
|
66
|
+
#endif
|
|
67
|
+
),
|
|
68
|
+
SuppressUnmanagedCodeSecurity
|
|
69
|
+
]
|
|
70
|
+
static extern bool csp_multiplayer_EntityScript_Invoke_bool(IntPtr @class);
|
|
71
|
+
|
|
72
|
+
[
|
|
73
|
+
DllImport(
|
|
74
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
75
|
+
"__Internal"
|
|
76
|
+
#elif DEBUG
|
|
77
|
+
"ConnectedSpacesPlatform_D"
|
|
78
|
+
#else
|
|
79
|
+
"ConnectedSpacesPlatform"
|
|
80
|
+
#endif
|
|
81
|
+
),
|
|
82
|
+
SuppressUnmanagedCodeSecurity
|
|
83
|
+
]
|
|
84
|
+
static extern void csp_multiplayer_EntityScript_RunScript_void_StringRC(IntPtr @class, IntPtr ScriptSource);
|
|
85
|
+
|
|
86
|
+
[
|
|
87
|
+
DllImport(
|
|
88
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
89
|
+
"__Internal"
|
|
90
|
+
#elif DEBUG
|
|
91
|
+
"ConnectedSpacesPlatform_D"
|
|
92
|
+
#else
|
|
93
|
+
"ConnectedSpacesPlatform"
|
|
94
|
+
#endif
|
|
95
|
+
),
|
|
96
|
+
SuppressUnmanagedCodeSecurity
|
|
97
|
+
]
|
|
98
|
+
static extern bool csp_multiplayer_EntityScript_HasError_bool(IntPtr @class);
|
|
99
|
+
|
|
100
|
+
[
|
|
101
|
+
DllImport(
|
|
102
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
103
|
+
"__Internal"
|
|
104
|
+
#elif DEBUG
|
|
105
|
+
"ConnectedSpacesPlatform_D"
|
|
106
|
+
#else
|
|
107
|
+
"ConnectedSpacesPlatform"
|
|
108
|
+
#endif
|
|
109
|
+
),
|
|
110
|
+
SuppressUnmanagedCodeSecurity
|
|
111
|
+
]
|
|
112
|
+
static extern IntPtr csp_multiplayer_EntityScript_GetErrorText_String(IntPtr @class);
|
|
113
|
+
|
|
114
|
+
[
|
|
115
|
+
DllImport(
|
|
116
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
117
|
+
"__Internal"
|
|
118
|
+
#elif DEBUG
|
|
119
|
+
"ConnectedSpacesPlatform_D"
|
|
120
|
+
#else
|
|
121
|
+
"ConnectedSpacesPlatform"
|
|
122
|
+
#endif
|
|
123
|
+
),
|
|
124
|
+
SuppressUnmanagedCodeSecurity
|
|
125
|
+
]
|
|
126
|
+
static extern IntPtr csp_multiplayer_EntityScript_GetScriptSource_String(IntPtr @class);
|
|
127
|
+
|
|
128
|
+
[
|
|
129
|
+
DllImport(
|
|
130
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
131
|
+
"__Internal"
|
|
132
|
+
#elif DEBUG
|
|
133
|
+
"ConnectedSpacesPlatform_D"
|
|
134
|
+
#else
|
|
135
|
+
"ConnectedSpacesPlatform"
|
|
136
|
+
#endif
|
|
137
|
+
),
|
|
138
|
+
SuppressUnmanagedCodeSecurity
|
|
139
|
+
]
|
|
140
|
+
static extern void csp_multiplayer_EntityScript_SetScriptSpaceComponent_void_ScriptSpaceComponentP(
|
|
141
|
+
IntPtr @class,
|
|
142
|
+
IntPtr InEnityScriptComponent
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
[
|
|
146
|
+
DllImport(
|
|
147
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
148
|
+
"__Internal"
|
|
149
|
+
#elif DEBUG
|
|
150
|
+
"ConnectedSpacesPlatform_D"
|
|
151
|
+
#else
|
|
152
|
+
"ConnectedSpacesPlatform"
|
|
153
|
+
#endif
|
|
154
|
+
),
|
|
155
|
+
SuppressUnmanagedCodeSecurity
|
|
156
|
+
]
|
|
157
|
+
static extern void csp_multiplayer_EntityScript_OnPropertyChanged_void_int32_t_int32_t(
|
|
158
|
+
IntPtr @class,
|
|
159
|
+
int ComponentId,
|
|
160
|
+
int PropertyKey
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
[
|
|
164
|
+
DllImport(
|
|
165
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
166
|
+
"__Internal"
|
|
167
|
+
#elif DEBUG
|
|
168
|
+
"ConnectedSpacesPlatform_D"
|
|
169
|
+
#else
|
|
170
|
+
"ConnectedSpacesPlatform"
|
|
171
|
+
#endif
|
|
172
|
+
),
|
|
173
|
+
SuppressUnmanagedCodeSecurity
|
|
174
|
+
]
|
|
175
|
+
static extern void csp_multiplayer_EntityScript_PostMessageToScript_void_StringC_StringC(
|
|
176
|
+
IntPtr @class,
|
|
177
|
+
IntPtr Message,
|
|
178
|
+
IntPtr MessageParamsJson
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
[
|
|
182
|
+
DllImport(
|
|
183
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
184
|
+
"__Internal"
|
|
185
|
+
#elif DEBUG
|
|
186
|
+
"ConnectedSpacesPlatform_D"
|
|
187
|
+
#else
|
|
188
|
+
"ConnectedSpacesPlatform"
|
|
189
|
+
#endif
|
|
190
|
+
),
|
|
191
|
+
SuppressUnmanagedCodeSecurity
|
|
192
|
+
]
|
|
193
|
+
static extern void csp_multiplayer_EntityScript_OnSourceChanged_void_StringRC(
|
|
194
|
+
IntPtr @class,
|
|
195
|
+
IntPtr InScriptSource
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
[
|
|
199
|
+
DllImport(
|
|
200
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
201
|
+
"__Internal"
|
|
202
|
+
#elif DEBUG
|
|
203
|
+
"ConnectedSpacesPlatform_D"
|
|
204
|
+
#else
|
|
205
|
+
"ConnectedSpacesPlatform"
|
|
206
|
+
#endif
|
|
207
|
+
),
|
|
208
|
+
SuppressUnmanagedCodeSecurity
|
|
209
|
+
]
|
|
210
|
+
static extern void csp_multiplayer_EntityScript_RegisterSourceAsModule_void(IntPtr @class);
|
|
211
|
+
|
|
212
|
+
[
|
|
213
|
+
DllImport(
|
|
214
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
215
|
+
"__Internal"
|
|
216
|
+
#elif DEBUG
|
|
217
|
+
"ConnectedSpacesPlatform_D"
|
|
218
|
+
#else
|
|
219
|
+
"ConnectedSpacesPlatform"
|
|
220
|
+
#endif
|
|
221
|
+
),
|
|
222
|
+
SuppressUnmanagedCodeSecurity
|
|
223
|
+
]
|
|
224
|
+
static extern void csp_multiplayer_EntityScript_Bind_void(IntPtr @class);
|
|
225
|
+
|
|
226
|
+
[
|
|
227
|
+
DllImport(
|
|
228
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
229
|
+
"__Internal"
|
|
230
|
+
#elif DEBUG
|
|
231
|
+
"ConnectedSpacesPlatform_D"
|
|
232
|
+
#else
|
|
233
|
+
"ConnectedSpacesPlatform"
|
|
234
|
+
#endif
|
|
235
|
+
),
|
|
236
|
+
SuppressUnmanagedCodeSecurity
|
|
237
|
+
]
|
|
238
|
+
static extern void csp_multiplayer_EntityScript_SetOwnerId_void_uint64_t(IntPtr @class, ulong ClientId);
|
|
239
|
+
|
|
240
|
+
[
|
|
241
|
+
DllImport(
|
|
242
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
243
|
+
"__Internal"
|
|
244
|
+
#elif DEBUG
|
|
245
|
+
"ConnectedSpacesPlatform_D"
|
|
246
|
+
#else
|
|
247
|
+
"ConnectedSpacesPlatform"
|
|
248
|
+
#endif
|
|
249
|
+
),
|
|
250
|
+
SuppressUnmanagedCodeSecurity
|
|
251
|
+
]
|
|
252
|
+
static extern ulong csp_multiplayer_EntityScript_GetOwnerIdC_uint64_t(IntPtr @class);
|
|
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_EntityScript_Shutdown_void(IntPtr @class);
|
|
267
|
+
|
|
268
|
+
[
|
|
269
|
+
DllImport(
|
|
270
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
271
|
+
"__Internal"
|
|
272
|
+
#elif DEBUG
|
|
273
|
+
"ConnectedSpacesPlatform_D"
|
|
274
|
+
#else
|
|
275
|
+
"ConnectedSpacesPlatform"
|
|
276
|
+
#endif
|
|
277
|
+
),
|
|
278
|
+
SuppressUnmanagedCodeSecurity
|
|
279
|
+
]
|
|
280
|
+
static extern NativePointer csp_multiplayer_EntityScript_Ctor_SpaceEntityP_SpaceEntitySystemP(
|
|
281
|
+
IntPtr InEntity,
|
|
282
|
+
IntPtr InSpaceEntitySystem
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
#pragma warning restore IDE1006
|
|
286
|
+
#endregion
|
|
287
|
+
|
|
288
|
+
internal EntityScript(NativePointer ptr) : base(ptr) { }
|
|
289
|
+
|
|
290
|
+
/// <summary>Destroy the instance of EntityScript.</summary>
|
|
291
|
+
|
|
292
|
+
~EntityScript()
|
|
293
|
+
{
|
|
294
|
+
//RealDispose();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
void RealDispose()
|
|
298
|
+
{
|
|
299
|
+
if (_ownsPtr && !_disposed)
|
|
300
|
+
{
|
|
301
|
+
csp_multiplayer_EntityScript_Dtor(_ptr);
|
|
302
|
+
_disposed = true;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
_disposed = true;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
public void Dispose()
|
|
309
|
+
{
|
|
310
|
+
RealDispose();
|
|
311
|
+
GC.SuppressFinalize(this);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/// <summary>Sets the source code for the script.</summary>
|
|
315
|
+
/// <param name="ScriptSource">The source as a string.</param>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
public void SetScriptSource(string ScriptSource)
|
|
319
|
+
{
|
|
320
|
+
csp_multiplayer_EntityScript_SetScriptSource_void_StringRC(
|
|
321
|
+
_ptr,
|
|
322
|
+
WrapperHelper.StringToNativeUTF8(ScriptSource)
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/// <summary>Runs the script.</summary>
|
|
327
|
+
/// <returns>True if the script runs successfully or false if there are errors.</returns>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
public bool Invoke()
|
|
331
|
+
{
|
|
332
|
+
var _result = csp_multiplayer_EntityScript_Invoke_bool(_ptr);
|
|
333
|
+
|
|
334
|
+
return _result;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/// <summary>Run a script with the given source rather than the stored source.</summary>
|
|
338
|
+
/// <remarks>/// Will be run locally or remotely depending on leader election.</remarks>
|
|
339
|
+
/// <remarks>/// @param ScriptSource csp::common::String : The source to use.</remarks>
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
public void RunScript(string ScriptSource)
|
|
343
|
+
{
|
|
344
|
+
csp_multiplayer_EntityScript_RunScript_void_StringRC(_ptr, WrapperHelper.StringToNativeUTF8(ScriptSource));
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/// <summary>Checks if there was an error with the last script invocation.</summary>
|
|
348
|
+
/// <returns>True if there was an error, false otherwise.</returns>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
public bool HasError()
|
|
352
|
+
{
|
|
353
|
+
var _result = csp_multiplayer_EntityScript_HasError_bool(_ptr);
|
|
354
|
+
|
|
355
|
+
return _result;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/// <summary>Gets the text of the last error if it is known or otherwise returns a default unknown error string.</summary>
|
|
359
|
+
/// <returns>Text of the last error.</returns>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
public string GetErrorText()
|
|
363
|
+
{
|
|
364
|
+
var _result = csp_multiplayer_EntityScript_GetErrorText_String(_ptr);
|
|
365
|
+
|
|
366
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
367
|
+
Global.Free(_result);
|
|
368
|
+
|
|
369
|
+
return _resultString;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/// <summary>Gets the stored script source code.</summary>
|
|
373
|
+
/// <returns>The source as a string.</returns>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
public string GetScriptSource()
|
|
377
|
+
{
|
|
378
|
+
var _result = csp_multiplayer_EntityScript_GetScriptSource_String(_ptr);
|
|
379
|
+
|
|
380
|
+
var _resultString = WrapperHelper.NativeUTF8ToString(_result);
|
|
381
|
+
Global.Free(_result);
|
|
382
|
+
|
|
383
|
+
return _resultString;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/// <summary>Sets the related component for this script.</summary>
|
|
387
|
+
/// <param name="InEnityScriptComponent">The component related to this script.</param>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
public void SetScriptSpaceComponent(Csp.Multiplayer.ScriptSpaceComponent InEnityScriptComponent)
|
|
391
|
+
{
|
|
392
|
+
csp_multiplayer_EntityScript_SetScriptSpaceComponent_void_ScriptSpaceComponentP(
|
|
393
|
+
_ptr,
|
|
394
|
+
InEnityScriptComponent._ptr
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/// <summary>Called when a component property changes so that a message can be passed to the script if a subscription has been setup.</summary>
|
|
399
|
+
/// <param name="ComponentId">ID of the component that changed.</param>
|
|
400
|
+
/// <param name="PropertyKey">Key of the property that changed.</param>
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
public void OnPropertyChanged(int ComponentId, int PropertyKey)
|
|
404
|
+
{
|
|
405
|
+
csp_multiplayer_EntityScript_OnPropertyChanged_void_int32_t_int32_t(_ptr, ComponentId, PropertyKey);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/// <summary>Runs the callback associated with the given message, if a subscription has been setup, and passes the given params.</summary>
|
|
409
|
+
/// <param name="Message">The message to use.</param>
|
|
410
|
+
/// <param name="MessageParamsJson">A JSON formatted string of parameters to be passed to the callback.</param>
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
public void PostMessageToScript(string Message, string MessageParamsJson)
|
|
414
|
+
{
|
|
415
|
+
csp_multiplayer_EntityScript_PostMessageToScript_void_StringC_StringC(
|
|
416
|
+
_ptr,
|
|
417
|
+
WrapperHelper.StringToNativeUTF8(Message),
|
|
418
|
+
WrapperHelper.StringToNativeUTF8(MessageParamsJson)
|
|
419
|
+
);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/// <summary>Resets binding, context and subscriptions when the source is changed for the script.</summary>
|
|
423
|
+
/// <param name="InScriptSource">The new source for the script.</param>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
public void OnSourceChanged(string InScriptSource)
|
|
427
|
+
{
|
|
428
|
+
csp_multiplayer_EntityScript_OnSourceChanged_void_StringRC(
|
|
429
|
+
_ptr,
|
|
430
|
+
WrapperHelper.StringToNativeUTF8(InScriptSource)
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/// <summary>Registers the script source for the related entity in the script system.</summary>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
public void RegisterSourceAsModule()
|
|
438
|
+
{
|
|
439
|
+
csp_multiplayer_EntityScript_RegisterSourceAsModule_void(_ptr);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/// <summary>Binds the related entity in the script system.</summary>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
public void Bind()
|
|
446
|
+
{
|
|
447
|
+
csp_multiplayer_EntityScript_Bind_void(_ptr);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/// <summary>Sets the owner of the script.</summary>
|
|
451
|
+
/// <param name="ClientId">The ID of the client to be set as owner.</param>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
public void SetOwnerId(ulong ClientId)
|
|
455
|
+
{
|
|
456
|
+
csp_multiplayer_EntityScript_SetOwnerId_void_uint64_t(_ptr, ClientId);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/// <summary>Get the owner of the script.</summary>
|
|
460
|
+
/// <returns>The client ID of the owner.</returns>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
public ulong GetOwnerId()
|
|
464
|
+
{
|
|
465
|
+
var _result = csp_multiplayer_EntityScript_GetOwnerIdC_uint64_t(_ptr);
|
|
466
|
+
|
|
467
|
+
return _result;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/// <summary>Removes the script source and context from the script system.</summary>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
public void Shutdown()
|
|
474
|
+
{
|
|
475
|
+
csp_multiplayer_EntityScript_Shutdown_void(_ptr);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4136bf34bfab4a54bfbf18d3423f54c2
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData: null
|
|
10
|
+
assetBundleName: null
|
|
11
|
+
assetBundleVariant: null
|