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,1304 @@
|
|
|
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>Class for creating and managing multiplayer objects known as space entities.</summary>
|
|
16
|
+
/// <remarks>/// This provides functions to create and manage multiple player avatars and other objects.</remarks>
|
|
17
|
+
/// <remarks>It manages things like queueing updated entities and triggering tick events. Callbacks</remarks>
|
|
18
|
+
/// <remarks>can be registered for certain events that occur within the entity system so clients can</remarks>
|
|
19
|
+
/// <remarks>react appropriately.</remarks>
|
|
20
|
+
|
|
21
|
+
public class SpaceEntitySystem : NativeClassWrapper
|
|
22
|
+
{
|
|
23
|
+
internal override string _safeTypeName { get; } = "csp_multiplayer_SpaceEntitySystem";
|
|
24
|
+
|
|
25
|
+
#region P/Invoke
|
|
26
|
+
#pragma warning disable IDE1006
|
|
27
|
+
|
|
28
|
+
[
|
|
29
|
+
DllImport(
|
|
30
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
31
|
+
"__Internal"
|
|
32
|
+
#elif DEBUG
|
|
33
|
+
"ConnectedSpacesPlatform_D"
|
|
34
|
+
#else
|
|
35
|
+
"ConnectedSpacesPlatform"
|
|
36
|
+
#endif
|
|
37
|
+
),
|
|
38
|
+
SuppressUnmanagedCodeSecurity
|
|
39
|
+
]
|
|
40
|
+
static extern void csp_multiplayer_SpaceEntitySystem_SetEntityCreatedCallback_void_EntityCreatedCallback(
|
|
41
|
+
IntPtr @class,
|
|
42
|
+
SetEntityCreatedCallbackCallbackDelegate callback,
|
|
43
|
+
IntPtr callbackStateObject
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
[
|
|
47
|
+
DllImport(
|
|
48
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
49
|
+
"__Internal"
|
|
50
|
+
#elif DEBUG
|
|
51
|
+
"ConnectedSpacesPlatform_D"
|
|
52
|
+
#else
|
|
53
|
+
"ConnectedSpacesPlatform"
|
|
54
|
+
#endif
|
|
55
|
+
),
|
|
56
|
+
SuppressUnmanagedCodeSecurity
|
|
57
|
+
]
|
|
58
|
+
static extern void csp_multiplayer_SpaceEntitySystem_SetInitialEntitiesRetrievedCallback_void_CallbackHandler(
|
|
59
|
+
IntPtr @class,
|
|
60
|
+
SetInitialEntitiesRetrievedCallbackCallbackDelegate callback,
|
|
61
|
+
IntPtr callbackStateObject
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
[
|
|
65
|
+
DllImport(
|
|
66
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
67
|
+
"__Internal"
|
|
68
|
+
#elif DEBUG
|
|
69
|
+
"ConnectedSpacesPlatform_D"
|
|
70
|
+
#else
|
|
71
|
+
"ConnectedSpacesPlatform"
|
|
72
|
+
#endif
|
|
73
|
+
),
|
|
74
|
+
SuppressUnmanagedCodeSecurity
|
|
75
|
+
]
|
|
76
|
+
static extern void csp_multiplayer_SpaceEntitySystem_SetScriptSystemReadyCallback_void_CallbackHandler(
|
|
77
|
+
IntPtr @class,
|
|
78
|
+
SetScriptSystemReadyCallbackCallbackDelegate callback,
|
|
79
|
+
IntPtr callbackStateObject
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
[
|
|
83
|
+
DllImport(
|
|
84
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
85
|
+
"__Internal"
|
|
86
|
+
#elif DEBUG
|
|
87
|
+
"ConnectedSpacesPlatform_D"
|
|
88
|
+
#else
|
|
89
|
+
"ConnectedSpacesPlatform"
|
|
90
|
+
#endif
|
|
91
|
+
),
|
|
92
|
+
SuppressUnmanagedCodeSecurity
|
|
93
|
+
]
|
|
94
|
+
static extern void csp_multiplayer_SpaceEntitySystem_Dtor(IntPtr @class);
|
|
95
|
+
|
|
96
|
+
[
|
|
97
|
+
DllImport(
|
|
98
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
99
|
+
"__Internal"
|
|
100
|
+
#elif DEBUG
|
|
101
|
+
"ConnectedSpacesPlatform_D"
|
|
102
|
+
#else
|
|
103
|
+
"ConnectedSpacesPlatform"
|
|
104
|
+
#endif
|
|
105
|
+
),
|
|
106
|
+
SuppressUnmanagedCodeSecurity
|
|
107
|
+
]
|
|
108
|
+
static extern void csp_multiplayer_SpaceEntitySystem_CreateAvatar_void_StringRC_SpaceTransformRC_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback(
|
|
109
|
+
IntPtr @class,
|
|
110
|
+
string InName,
|
|
111
|
+
IntPtr InSpaceTransform,
|
|
112
|
+
AvatarState InState,
|
|
113
|
+
string InAvatarId,
|
|
114
|
+
AvatarPlayMode InAvatarPlayMode,
|
|
115
|
+
CreateAvatarCallbackDelegate callback,
|
|
116
|
+
IntPtr callbackStateObject
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
[
|
|
120
|
+
DllImport(
|
|
121
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
122
|
+
"__Internal"
|
|
123
|
+
#elif DEBUG
|
|
124
|
+
"ConnectedSpacesPlatform_D"
|
|
125
|
+
#else
|
|
126
|
+
"ConnectedSpacesPlatform"
|
|
127
|
+
#endif
|
|
128
|
+
),
|
|
129
|
+
SuppressUnmanagedCodeSecurity
|
|
130
|
+
]
|
|
131
|
+
static extern void csp_multiplayer_SpaceEntitySystem_CreateObject_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
|
|
132
|
+
IntPtr @class,
|
|
133
|
+
string InName,
|
|
134
|
+
IntPtr InSpaceTransform,
|
|
135
|
+
CreateObjectCallbackDelegate callback,
|
|
136
|
+
IntPtr callbackStateObject
|
|
137
|
+
);
|
|
138
|
+
|
|
139
|
+
[
|
|
140
|
+
DllImport(
|
|
141
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
142
|
+
"__Internal"
|
|
143
|
+
#elif DEBUG
|
|
144
|
+
"ConnectedSpacesPlatform_D"
|
|
145
|
+
#else
|
|
146
|
+
"ConnectedSpacesPlatform"
|
|
147
|
+
#endif
|
|
148
|
+
),
|
|
149
|
+
SuppressUnmanagedCodeSecurity
|
|
150
|
+
]
|
|
151
|
+
static extern void csp_multiplayer_SpaceEntitySystem_DestroyEntity_void_SpaceEntityP_CallbackHandler(
|
|
152
|
+
IntPtr @class,
|
|
153
|
+
IntPtr Entity,
|
|
154
|
+
DestroyEntityCallbackDelegate callback,
|
|
155
|
+
IntPtr callbackStateObject
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
[
|
|
159
|
+
DllImport(
|
|
160
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
161
|
+
"__Internal"
|
|
162
|
+
#elif DEBUG
|
|
163
|
+
"ConnectedSpacesPlatform_D"
|
|
164
|
+
#else
|
|
165
|
+
"ConnectedSpacesPlatform"
|
|
166
|
+
#endif
|
|
167
|
+
),
|
|
168
|
+
SuppressUnmanagedCodeSecurity
|
|
169
|
+
]
|
|
170
|
+
static extern void csp_multiplayer_SpaceEntitySystem_LocalDestroyEntity_void_SpaceEntityP(
|
|
171
|
+
IntPtr @class,
|
|
172
|
+
IntPtr Entity
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
[
|
|
176
|
+
DllImport(
|
|
177
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
178
|
+
"__Internal"
|
|
179
|
+
#elif DEBUG
|
|
180
|
+
"ConnectedSpacesPlatform_D"
|
|
181
|
+
#else
|
|
182
|
+
"ConnectedSpacesPlatform"
|
|
183
|
+
#endif
|
|
184
|
+
),
|
|
185
|
+
SuppressUnmanagedCodeSecurity
|
|
186
|
+
]
|
|
187
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_FindSpaceEntity_SpaceEntityP_StringRC(
|
|
188
|
+
IntPtr @class,
|
|
189
|
+
IntPtr InName
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
[
|
|
193
|
+
DllImport(
|
|
194
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
195
|
+
"__Internal"
|
|
196
|
+
#elif DEBUG
|
|
197
|
+
"ConnectedSpacesPlatform_D"
|
|
198
|
+
#else
|
|
199
|
+
"ConnectedSpacesPlatform"
|
|
200
|
+
#endif
|
|
201
|
+
),
|
|
202
|
+
SuppressUnmanagedCodeSecurity
|
|
203
|
+
]
|
|
204
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_FindSpaceEntityById_SpaceEntityP_uint64_t(
|
|
205
|
+
IntPtr @class,
|
|
206
|
+
ulong EntityId
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
[
|
|
210
|
+
DllImport(
|
|
211
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
212
|
+
"__Internal"
|
|
213
|
+
#elif DEBUG
|
|
214
|
+
"ConnectedSpacesPlatform_D"
|
|
215
|
+
#else
|
|
216
|
+
"ConnectedSpacesPlatform"
|
|
217
|
+
#endif
|
|
218
|
+
),
|
|
219
|
+
SuppressUnmanagedCodeSecurity
|
|
220
|
+
]
|
|
221
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_FindSpaceAvatar_SpaceEntityP_StringRC(
|
|
222
|
+
IntPtr @class,
|
|
223
|
+
IntPtr InName
|
|
224
|
+
);
|
|
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 NativePointer csp_multiplayer_SpaceEntitySystem_FindSpaceObject_SpaceEntityP_StringRC(
|
|
239
|
+
IntPtr @class,
|
|
240
|
+
IntPtr InName
|
|
241
|
+
);
|
|
242
|
+
|
|
243
|
+
[
|
|
244
|
+
DllImport(
|
|
245
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
246
|
+
"__Internal"
|
|
247
|
+
#elif DEBUG
|
|
248
|
+
"ConnectedSpacesPlatform_D"
|
|
249
|
+
#else
|
|
250
|
+
"ConnectedSpacesPlatform"
|
|
251
|
+
#endif
|
|
252
|
+
),
|
|
253
|
+
SuppressUnmanagedCodeSecurity
|
|
254
|
+
]
|
|
255
|
+
static extern void csp_multiplayer_SpaceEntitySystem_LockEntityUpdateC_void(IntPtr @class);
|
|
256
|
+
|
|
257
|
+
[
|
|
258
|
+
DllImport(
|
|
259
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
260
|
+
"__Internal"
|
|
261
|
+
#elif DEBUG
|
|
262
|
+
"ConnectedSpacesPlatform_D"
|
|
263
|
+
#else
|
|
264
|
+
"ConnectedSpacesPlatform"
|
|
265
|
+
#endif
|
|
266
|
+
),
|
|
267
|
+
SuppressUnmanagedCodeSecurity
|
|
268
|
+
]
|
|
269
|
+
static extern void csp_multiplayer_SpaceEntitySystem_UnlockEntityUpdateC_void(IntPtr @class);
|
|
270
|
+
|
|
271
|
+
[
|
|
272
|
+
DllImport(
|
|
273
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
274
|
+
"__Internal"
|
|
275
|
+
#elif DEBUG
|
|
276
|
+
"ConnectedSpacesPlatform_D"
|
|
277
|
+
#else
|
|
278
|
+
"ConnectedSpacesPlatform"
|
|
279
|
+
#endif
|
|
280
|
+
),
|
|
281
|
+
SuppressUnmanagedCodeSecurity
|
|
282
|
+
]
|
|
283
|
+
static extern ulong csp_multiplayer_SpaceEntitySystem_GetNumEntitiesC_size_t(IntPtr @class);
|
|
284
|
+
|
|
285
|
+
[
|
|
286
|
+
DllImport(
|
|
287
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
288
|
+
"__Internal"
|
|
289
|
+
#elif DEBUG
|
|
290
|
+
"ConnectedSpacesPlatform_D"
|
|
291
|
+
#else
|
|
292
|
+
"ConnectedSpacesPlatform"
|
|
293
|
+
#endif
|
|
294
|
+
),
|
|
295
|
+
SuppressUnmanagedCodeSecurity
|
|
296
|
+
]
|
|
297
|
+
static extern ulong csp_multiplayer_SpaceEntitySystem_GetNumAvatarsC_size_t(IntPtr @class);
|
|
298
|
+
|
|
299
|
+
[
|
|
300
|
+
DllImport(
|
|
301
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
302
|
+
"__Internal"
|
|
303
|
+
#elif DEBUG
|
|
304
|
+
"ConnectedSpacesPlatform_D"
|
|
305
|
+
#else
|
|
306
|
+
"ConnectedSpacesPlatform"
|
|
307
|
+
#endif
|
|
308
|
+
),
|
|
309
|
+
SuppressUnmanagedCodeSecurity
|
|
310
|
+
]
|
|
311
|
+
static extern ulong csp_multiplayer_SpaceEntitySystem_GetNumObjectsC_size_t(IntPtr @class);
|
|
312
|
+
|
|
313
|
+
[
|
|
314
|
+
DllImport(
|
|
315
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
316
|
+
"__Internal"
|
|
317
|
+
#elif DEBUG
|
|
318
|
+
"ConnectedSpacesPlatform_D"
|
|
319
|
+
#else
|
|
320
|
+
"ConnectedSpacesPlatform"
|
|
321
|
+
#endif
|
|
322
|
+
),
|
|
323
|
+
SuppressUnmanagedCodeSecurity
|
|
324
|
+
]
|
|
325
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_GetEntityByIndex_SpaceEntityP_size_tC(
|
|
326
|
+
IntPtr @class,
|
|
327
|
+
ulong EntityIndex
|
|
328
|
+
);
|
|
329
|
+
|
|
330
|
+
[
|
|
331
|
+
DllImport(
|
|
332
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
333
|
+
"__Internal"
|
|
334
|
+
#elif DEBUG
|
|
335
|
+
"ConnectedSpacesPlatform_D"
|
|
336
|
+
#else
|
|
337
|
+
"ConnectedSpacesPlatform"
|
|
338
|
+
#endif
|
|
339
|
+
),
|
|
340
|
+
SuppressUnmanagedCodeSecurity
|
|
341
|
+
]
|
|
342
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_GetAvatarByIndex_SpaceEntityP_size_tC(
|
|
343
|
+
IntPtr @class,
|
|
344
|
+
ulong AvatarIndex
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
[
|
|
348
|
+
DllImport(
|
|
349
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
350
|
+
"__Internal"
|
|
351
|
+
#elif DEBUG
|
|
352
|
+
"ConnectedSpacesPlatform_D"
|
|
353
|
+
#else
|
|
354
|
+
"ConnectedSpacesPlatform"
|
|
355
|
+
#endif
|
|
356
|
+
),
|
|
357
|
+
SuppressUnmanagedCodeSecurity
|
|
358
|
+
]
|
|
359
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_GetObjectByIndex_SpaceEntityP_size_tC(
|
|
360
|
+
IntPtr @class,
|
|
361
|
+
ulong ObjectIndex
|
|
362
|
+
);
|
|
363
|
+
|
|
364
|
+
[
|
|
365
|
+
DllImport(
|
|
366
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
367
|
+
"__Internal"
|
|
368
|
+
#elif DEBUG
|
|
369
|
+
"ConnectedSpacesPlatform_D"
|
|
370
|
+
#else
|
|
371
|
+
"ConnectedSpacesPlatform"
|
|
372
|
+
#endif
|
|
373
|
+
),
|
|
374
|
+
SuppressUnmanagedCodeSecurity
|
|
375
|
+
]
|
|
376
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_GetMultiplayerConnection_MultiplayerConnectionP(
|
|
377
|
+
IntPtr @class
|
|
378
|
+
);
|
|
379
|
+
|
|
380
|
+
[
|
|
381
|
+
DllImport(
|
|
382
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
383
|
+
"__Internal"
|
|
384
|
+
#elif DEBUG
|
|
385
|
+
"ConnectedSpacesPlatform_D"
|
|
386
|
+
#else
|
|
387
|
+
"ConnectedSpacesPlatform"
|
|
388
|
+
#endif
|
|
389
|
+
),
|
|
390
|
+
SuppressUnmanagedCodeSecurity
|
|
391
|
+
]
|
|
392
|
+
static extern void csp_multiplayer_SpaceEntitySystem_AddEntity_void_SpaceEntityP(
|
|
393
|
+
IntPtr @class,
|
|
394
|
+
IntPtr EntityToAdd
|
|
395
|
+
);
|
|
396
|
+
|
|
397
|
+
[
|
|
398
|
+
DllImport(
|
|
399
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
400
|
+
"__Internal"
|
|
401
|
+
#elif DEBUG
|
|
402
|
+
"ConnectedSpacesPlatform_D"
|
|
403
|
+
#else
|
|
404
|
+
"ConnectedSpacesPlatform"
|
|
405
|
+
#endif
|
|
406
|
+
),
|
|
407
|
+
SuppressUnmanagedCodeSecurity
|
|
408
|
+
]
|
|
409
|
+
static extern void csp_multiplayer_SpaceEntitySystem_QueueEntityUpdate_void_SpaceEntityP(
|
|
410
|
+
IntPtr @class,
|
|
411
|
+
IntPtr EntityToUpdate
|
|
412
|
+
);
|
|
413
|
+
|
|
414
|
+
[
|
|
415
|
+
DllImport(
|
|
416
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
417
|
+
"__Internal"
|
|
418
|
+
#elif DEBUG
|
|
419
|
+
"ConnectedSpacesPlatform_D"
|
|
420
|
+
#else
|
|
421
|
+
"ConnectedSpacesPlatform"
|
|
422
|
+
#endif
|
|
423
|
+
),
|
|
424
|
+
SuppressUnmanagedCodeSecurity
|
|
425
|
+
]
|
|
426
|
+
static extern void csp_multiplayer_SpaceEntitySystem_TickEntities_void(IntPtr @class);
|
|
427
|
+
|
|
428
|
+
[
|
|
429
|
+
DllImport(
|
|
430
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
431
|
+
"__Internal"
|
|
432
|
+
#elif DEBUG
|
|
433
|
+
"ConnectedSpacesPlatform_D"
|
|
434
|
+
#else
|
|
435
|
+
"ConnectedSpacesPlatform"
|
|
436
|
+
#endif
|
|
437
|
+
),
|
|
438
|
+
SuppressUnmanagedCodeSecurity
|
|
439
|
+
]
|
|
440
|
+
static extern void csp_multiplayer_SpaceEntitySystem_RegisterEntityScriptAsModule_void_SpaceEntityP(
|
|
441
|
+
IntPtr @class,
|
|
442
|
+
IntPtr NewEntity
|
|
443
|
+
);
|
|
444
|
+
|
|
445
|
+
[
|
|
446
|
+
DllImport(
|
|
447
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
448
|
+
"__Internal"
|
|
449
|
+
#elif DEBUG
|
|
450
|
+
"ConnectedSpacesPlatform_D"
|
|
451
|
+
#else
|
|
452
|
+
"ConnectedSpacesPlatform"
|
|
453
|
+
#endif
|
|
454
|
+
),
|
|
455
|
+
SuppressUnmanagedCodeSecurity
|
|
456
|
+
]
|
|
457
|
+
static extern void csp_multiplayer_SpaceEntitySystem_BindNewEntityToScript_void_SpaceEntityP(
|
|
458
|
+
IntPtr @class,
|
|
459
|
+
IntPtr NewEntity
|
|
460
|
+
);
|
|
461
|
+
|
|
462
|
+
[
|
|
463
|
+
DllImport(
|
|
464
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
465
|
+
"__Internal"
|
|
466
|
+
#elif DEBUG
|
|
467
|
+
"ConnectedSpacesPlatform_D"
|
|
468
|
+
#else
|
|
469
|
+
"ConnectedSpacesPlatform"
|
|
470
|
+
#endif
|
|
471
|
+
),
|
|
472
|
+
SuppressUnmanagedCodeSecurity
|
|
473
|
+
]
|
|
474
|
+
static extern void csp_multiplayer_SpaceEntitySystem_ClaimScriptOwnershipC_void_SpaceEntityP(
|
|
475
|
+
IntPtr @class,
|
|
476
|
+
IntPtr Entity
|
|
477
|
+
);
|
|
478
|
+
|
|
479
|
+
[
|
|
480
|
+
DllImport(
|
|
481
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
482
|
+
"__Internal"
|
|
483
|
+
#elif DEBUG
|
|
484
|
+
"ConnectedSpacesPlatform_D"
|
|
485
|
+
#else
|
|
486
|
+
"ConnectedSpacesPlatform"
|
|
487
|
+
#endif
|
|
488
|
+
),
|
|
489
|
+
SuppressUnmanagedCodeSecurity
|
|
490
|
+
]
|
|
491
|
+
static extern void csp_multiplayer_SpaceEntitySystem_MarkEntityForUpdate_void_SpaceEntityP(
|
|
492
|
+
IntPtr @class,
|
|
493
|
+
IntPtr Entity
|
|
494
|
+
);
|
|
495
|
+
|
|
496
|
+
[
|
|
497
|
+
DllImport(
|
|
498
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
499
|
+
"__Internal"
|
|
500
|
+
#elif DEBUG
|
|
501
|
+
"ConnectedSpacesPlatform_D"
|
|
502
|
+
#else
|
|
503
|
+
"ConnectedSpacesPlatform"
|
|
504
|
+
#endif
|
|
505
|
+
),
|
|
506
|
+
SuppressUnmanagedCodeSecurity
|
|
507
|
+
]
|
|
508
|
+
static extern void csp_multiplayer_SpaceEntitySystem_ProcessPendingEntityOperations_void(IntPtr @class);
|
|
509
|
+
|
|
510
|
+
[
|
|
511
|
+
DllImport(
|
|
512
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
513
|
+
"__Internal"
|
|
514
|
+
#elif DEBUG
|
|
515
|
+
"ConnectedSpacesPlatform_D"
|
|
516
|
+
#else
|
|
517
|
+
"ConnectedSpacesPlatform"
|
|
518
|
+
#endif
|
|
519
|
+
),
|
|
520
|
+
SuppressUnmanagedCodeSecurity
|
|
521
|
+
]
|
|
522
|
+
static extern void csp_multiplayer_SpaceEntitySystem_RetrieveAllEntities_void(IntPtr @class);
|
|
523
|
+
|
|
524
|
+
[
|
|
525
|
+
DllImport(
|
|
526
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
527
|
+
"__Internal"
|
|
528
|
+
#elif DEBUG
|
|
529
|
+
"ConnectedSpacesPlatform_D"
|
|
530
|
+
#else
|
|
531
|
+
"ConnectedSpacesPlatform"
|
|
532
|
+
#endif
|
|
533
|
+
),
|
|
534
|
+
SuppressUnmanagedCodeSecurity
|
|
535
|
+
]
|
|
536
|
+
static extern bool csp_multiplayer_SpaceEntitySystem_SetSelectionStateOfEntity_bool_boolC_SpaceEntityP(
|
|
537
|
+
IntPtr @class,
|
|
538
|
+
bool SelectedState,
|
|
539
|
+
IntPtr Entity
|
|
540
|
+
);
|
|
541
|
+
|
|
542
|
+
[
|
|
543
|
+
DllImport(
|
|
544
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
545
|
+
"__Internal"
|
|
546
|
+
#elif DEBUG
|
|
547
|
+
"ConnectedSpacesPlatform_D"
|
|
548
|
+
#else
|
|
549
|
+
"ConnectedSpacesPlatform"
|
|
550
|
+
#endif
|
|
551
|
+
),
|
|
552
|
+
SuppressUnmanagedCodeSecurity
|
|
553
|
+
]
|
|
554
|
+
static extern void csp_multiplayer_SpaceEntitySystem_EnableLeaderElection_void(IntPtr @class);
|
|
555
|
+
|
|
556
|
+
[
|
|
557
|
+
DllImport(
|
|
558
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
559
|
+
"__Internal"
|
|
560
|
+
#elif DEBUG
|
|
561
|
+
"ConnectedSpacesPlatform_D"
|
|
562
|
+
#else
|
|
563
|
+
"ConnectedSpacesPlatform"
|
|
564
|
+
#endif
|
|
565
|
+
),
|
|
566
|
+
SuppressUnmanagedCodeSecurity
|
|
567
|
+
]
|
|
568
|
+
static extern void csp_multiplayer_SpaceEntitySystem_DisableLeaderElection_void(IntPtr @class);
|
|
569
|
+
|
|
570
|
+
[
|
|
571
|
+
DllImport(
|
|
572
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
573
|
+
"__Internal"
|
|
574
|
+
#elif DEBUG
|
|
575
|
+
"ConnectedSpacesPlatform_D"
|
|
576
|
+
#else
|
|
577
|
+
"ConnectedSpacesPlatform"
|
|
578
|
+
#endif
|
|
579
|
+
),
|
|
580
|
+
SuppressUnmanagedCodeSecurity
|
|
581
|
+
]
|
|
582
|
+
static extern bool csp_multiplayer_SpaceEntitySystem_IsLeaderElectionEnabledC_bool(IntPtr @class);
|
|
583
|
+
|
|
584
|
+
[
|
|
585
|
+
DllImport(
|
|
586
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
587
|
+
"__Internal"
|
|
588
|
+
#elif DEBUG
|
|
589
|
+
"ConnectedSpacesPlatform_D"
|
|
590
|
+
#else
|
|
591
|
+
"ConnectedSpacesPlatform"
|
|
592
|
+
#endif
|
|
593
|
+
),
|
|
594
|
+
SuppressUnmanagedCodeSecurity
|
|
595
|
+
]
|
|
596
|
+
static extern ulong csp_multiplayer_SpaceEntitySystem_GetLeaderIdC_uint64_t(IntPtr @class);
|
|
597
|
+
|
|
598
|
+
[
|
|
599
|
+
DllImport(
|
|
600
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
601
|
+
"__Internal"
|
|
602
|
+
#elif DEBUG
|
|
603
|
+
"ConnectedSpacesPlatform_D"
|
|
604
|
+
#else
|
|
605
|
+
"ConnectedSpacesPlatform"
|
|
606
|
+
#endif
|
|
607
|
+
),
|
|
608
|
+
SuppressUnmanagedCodeSecurity
|
|
609
|
+
]
|
|
610
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_FindComponentById_ComponentBaseP_uint16_t(
|
|
611
|
+
IntPtr @class,
|
|
612
|
+
ushort Id
|
|
613
|
+
);
|
|
614
|
+
|
|
615
|
+
[
|
|
616
|
+
DllImport(
|
|
617
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
618
|
+
"__Internal"
|
|
619
|
+
#elif DEBUG
|
|
620
|
+
"ConnectedSpacesPlatform_D"
|
|
621
|
+
#else
|
|
622
|
+
"ConnectedSpacesPlatform"
|
|
623
|
+
#endif
|
|
624
|
+
),
|
|
625
|
+
SuppressUnmanagedCodeSecurity
|
|
626
|
+
]
|
|
627
|
+
static extern bool csp_multiplayer_SpaceEntitySystem_GetEntityPatchRateLimitEnabledC_boolC(IntPtr @class);
|
|
628
|
+
|
|
629
|
+
[
|
|
630
|
+
DllImport(
|
|
631
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
632
|
+
"__Internal"
|
|
633
|
+
#elif DEBUG
|
|
634
|
+
"ConnectedSpacesPlatform_D"
|
|
635
|
+
#else
|
|
636
|
+
"ConnectedSpacesPlatform"
|
|
637
|
+
#endif
|
|
638
|
+
),
|
|
639
|
+
SuppressUnmanagedCodeSecurity
|
|
640
|
+
]
|
|
641
|
+
static extern void csp_multiplayer_SpaceEntitySystem_SetEntityPatchRateLimitEnabled_void_bool(
|
|
642
|
+
IntPtr @class,
|
|
643
|
+
bool Enabled
|
|
644
|
+
);
|
|
645
|
+
|
|
646
|
+
[
|
|
647
|
+
DllImport(
|
|
648
|
+
#if !UNITY_EDITOR && UNITY_IOS
|
|
649
|
+
"__Internal"
|
|
650
|
+
#elif DEBUG
|
|
651
|
+
"ConnectedSpacesPlatform_D"
|
|
652
|
+
#else
|
|
653
|
+
"ConnectedSpacesPlatform"
|
|
654
|
+
#endif
|
|
655
|
+
),
|
|
656
|
+
SuppressUnmanagedCodeSecurity
|
|
657
|
+
]
|
|
658
|
+
static extern NativePointer csp_multiplayer_SpaceEntitySystem_Ctor_MultiplayerConnectionP(
|
|
659
|
+
IntPtr InMultiplayerConnection
|
|
660
|
+
);
|
|
661
|
+
|
|
662
|
+
#pragma warning restore IDE1006
|
|
663
|
+
#endregion
|
|
664
|
+
|
|
665
|
+
internal SpaceEntitySystem(NativePointer ptr) : base(ptr) { }
|
|
666
|
+
|
|
667
|
+
delegate void CreateAvatarCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
668
|
+
|
|
669
|
+
delegate void CreateObjectCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
670
|
+
|
|
671
|
+
delegate void DestroyEntityCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
672
|
+
|
|
673
|
+
delegate void SetEntityCreatedCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
674
|
+
|
|
675
|
+
delegate void SetInitialEntitiesRetrievedCallbackCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
676
|
+
|
|
677
|
+
delegate void SetScriptSystemReadyCallbackCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
678
|
+
|
|
679
|
+
readonly List<GCHandle> eventHandles = new List<GCHandle>();
|
|
680
|
+
|
|
681
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
682
|
+
[AOT.MonoPInvokeCallback (typeof (SetEntityCreatedCallbackCallbackDelegate))]
|
|
683
|
+
#endif
|
|
684
|
+
static void SetEntityCreatedCallbackCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
685
|
+
{
|
|
686
|
+
var _handle = (GCHandle)_StateObject__;
|
|
687
|
+
var _this = (SpaceEntitySystem)_handle.Target;
|
|
688
|
+
_this.RealOnEntityCreated?.Invoke(_this, new Csp.Multiplayer.SpaceEntity(_arg1));
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static readonly SetEntityCreatedCallbackCallbackDelegate OnEntityCreatedDelegateInstance =
|
|
692
|
+
SetEntityCreatedCallbackCallbackDelegateFunction;
|
|
693
|
+
|
|
694
|
+
bool OnEntityCreatedInitialised = false;
|
|
695
|
+
event EventHandler<Csp.Multiplayer.SpaceEntity>? RealOnEntityCreated;
|
|
696
|
+
public event EventHandler<Csp.Multiplayer.SpaceEntity> OnEntityCreated
|
|
697
|
+
{
|
|
698
|
+
add
|
|
699
|
+
{
|
|
700
|
+
if (!OnEntityCreatedInitialised)
|
|
701
|
+
{
|
|
702
|
+
var handle = GCHandle.Alloc(this);
|
|
703
|
+
csp_multiplayer_SpaceEntitySystem_SetEntityCreatedCallback_void_EntityCreatedCallback(
|
|
704
|
+
_ptr,
|
|
705
|
+
OnEntityCreatedDelegateInstance,
|
|
706
|
+
(IntPtr)handle
|
|
707
|
+
);
|
|
708
|
+
eventHandles.Add(handle);
|
|
709
|
+
OnEntityCreatedInitialised = true;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
RealOnEntityCreated += value;
|
|
713
|
+
}
|
|
714
|
+
remove { RealOnEntityCreated -= value; }
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
718
|
+
[AOT.MonoPInvokeCallback (typeof (SetInitialEntitiesRetrievedCallbackCallbackDelegate))]
|
|
719
|
+
#endif
|
|
720
|
+
static void SetInitialEntitiesRetrievedCallbackCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
721
|
+
{
|
|
722
|
+
var _handle = (GCHandle)_StateObject__;
|
|
723
|
+
var _this = (SpaceEntitySystem)_handle.Target;
|
|
724
|
+
_this.RealOnInitialEntitiesRetrieved?.Invoke(_this, _arg1);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
static readonly SetInitialEntitiesRetrievedCallbackCallbackDelegate OnInitialEntitiesRetrievedDelegateInstance =
|
|
728
|
+
SetInitialEntitiesRetrievedCallbackCallbackDelegateFunction;
|
|
729
|
+
|
|
730
|
+
bool OnInitialEntitiesRetrievedInitialised = false;
|
|
731
|
+
event EventHandler<bool>? RealOnInitialEntitiesRetrieved;
|
|
732
|
+
public event EventHandler<bool> OnInitialEntitiesRetrieved
|
|
733
|
+
{
|
|
734
|
+
add
|
|
735
|
+
{
|
|
736
|
+
if (!OnInitialEntitiesRetrievedInitialised)
|
|
737
|
+
{
|
|
738
|
+
var handle = GCHandle.Alloc(this);
|
|
739
|
+
csp_multiplayer_SpaceEntitySystem_SetInitialEntitiesRetrievedCallback_void_CallbackHandler(
|
|
740
|
+
_ptr,
|
|
741
|
+
OnInitialEntitiesRetrievedDelegateInstance,
|
|
742
|
+
(IntPtr)handle
|
|
743
|
+
);
|
|
744
|
+
eventHandles.Add(handle);
|
|
745
|
+
OnInitialEntitiesRetrievedInitialised = true;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
RealOnInitialEntitiesRetrieved += value;
|
|
749
|
+
}
|
|
750
|
+
remove { RealOnInitialEntitiesRetrieved -= value; }
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
754
|
+
[AOT.MonoPInvokeCallback (typeof (SetScriptSystemReadyCallbackCallbackDelegate))]
|
|
755
|
+
#endif
|
|
756
|
+
static void SetScriptSystemReadyCallbackCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
757
|
+
{
|
|
758
|
+
var _handle = (GCHandle)_StateObject__;
|
|
759
|
+
var _this = (SpaceEntitySystem)_handle.Target;
|
|
760
|
+
_this.RealOnScriptSystemReady?.Invoke(_this, _arg1);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
static readonly SetScriptSystemReadyCallbackCallbackDelegate OnScriptSystemReadyDelegateInstance =
|
|
764
|
+
SetScriptSystemReadyCallbackCallbackDelegateFunction;
|
|
765
|
+
|
|
766
|
+
bool OnScriptSystemReadyInitialised = false;
|
|
767
|
+
event EventHandler<bool>? RealOnScriptSystemReady;
|
|
768
|
+
public event EventHandler<bool> OnScriptSystemReady
|
|
769
|
+
{
|
|
770
|
+
add
|
|
771
|
+
{
|
|
772
|
+
if (!OnScriptSystemReadyInitialised)
|
|
773
|
+
{
|
|
774
|
+
var handle = GCHandle.Alloc(this);
|
|
775
|
+
csp_multiplayer_SpaceEntitySystem_SetScriptSystemReadyCallback_void_CallbackHandler(
|
|
776
|
+
_ptr,
|
|
777
|
+
OnScriptSystemReadyDelegateInstance,
|
|
778
|
+
(IntPtr)handle
|
|
779
|
+
);
|
|
780
|
+
eventHandles.Add(handle);
|
|
781
|
+
OnScriptSystemReadyInitialised = true;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
RealOnScriptSystemReady += value;
|
|
785
|
+
}
|
|
786
|
+
remove { RealOnScriptSystemReady -= value; }
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
~SpaceEntitySystem()
|
|
790
|
+
{
|
|
791
|
+
//RealDispose();
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
void RealDispose()
|
|
795
|
+
{
|
|
796
|
+
if (_ownsPtr && !_disposed)
|
|
797
|
+
{
|
|
798
|
+
csp_multiplayer_SpaceEntitySystem_Dtor(_ptr);
|
|
799
|
+
_disposed = true;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
_disposed = true;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
public void Dispose()
|
|
806
|
+
{
|
|
807
|
+
RealDispose();
|
|
808
|
+
GC.SuppressFinalize(this);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
812
|
+
[AOT.MonoPInvokeCallback (typeof (CreateAvatarCallbackDelegate))]
|
|
813
|
+
#endif
|
|
814
|
+
static void CreateAvatarCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
815
|
+
{
|
|
816
|
+
var _handle = (GCHandle)_StateObject__;
|
|
817
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.SpaceEntity>)_handle.Target;
|
|
818
|
+
var _this = (SpaceEntitySystem)tcs.Task.AsyncState;
|
|
819
|
+
|
|
820
|
+
var task_result = new Csp.Multiplayer.SpaceEntity(_arg1);
|
|
821
|
+
|
|
822
|
+
tcs.SetResult(task_result);
|
|
823
|
+
_handle.Free();
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
static readonly CreateAvatarCallbackDelegate CreateAvatarDelegateInstance =
|
|
827
|
+
CreateAvatarCallbackDelegateFunction;
|
|
828
|
+
|
|
829
|
+
/// <summary>Creates a SpaceEntity with type Avatar, and relevant components and default states as specified.</summary>
|
|
830
|
+
/// <param name="InName">The name to give the new SpaceEntity.</param>
|
|
831
|
+
/// <param name="InSpaceTransform">The initial transform to set the SpaceEntity to.</param>
|
|
832
|
+
/// <param name="InState">The initial Avatar State to set.</param>
|
|
833
|
+
/// <param name="InAvatarId">The Initial AvatarID to set.</param>
|
|
834
|
+
/// <param name="InAvatarPlayMode">The Initial AvatarPlayMode to set.</param>
|
|
835
|
+
/// <param name="Callback">EntityCreatedCallback A callback that executes when the creation is complete,</param>
|
|
836
|
+
/// <returns>The result for the request</returns>
|
|
837
|
+
|
|
838
|
+
public Task<Csp.Multiplayer.SpaceEntity> CreateAvatar(
|
|
839
|
+
string InName,
|
|
840
|
+
Csp.Multiplayer.SpaceTransform InSpaceTransform,
|
|
841
|
+
Csp.Multiplayer.AvatarState InState,
|
|
842
|
+
string InAvatarId,
|
|
843
|
+
Csp.Multiplayer.AvatarPlayMode InAvatarPlayMode
|
|
844
|
+
) {
|
|
845
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.SpaceEntity>(this);
|
|
846
|
+
var handle = GCHandle.Alloc(tcs);
|
|
847
|
+
|
|
848
|
+
csp_multiplayer_SpaceEntitySystem_CreateAvatar_void_StringRC_SpaceTransformRC_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback(
|
|
849
|
+
_ptr,
|
|
850
|
+
InName,
|
|
851
|
+
InSpaceTransform._ptr,
|
|
852
|
+
InState,
|
|
853
|
+
InAvatarId,
|
|
854
|
+
InAvatarPlayMode,
|
|
855
|
+
CreateAvatarDelegateInstance,
|
|
856
|
+
(IntPtr)handle
|
|
857
|
+
);
|
|
858
|
+
|
|
859
|
+
return tcs.Task;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
863
|
+
[AOT.MonoPInvokeCallback (typeof (CreateObjectCallbackDelegate))]
|
|
864
|
+
#endif
|
|
865
|
+
static void CreateObjectCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
866
|
+
{
|
|
867
|
+
var _handle = (GCHandle)_StateObject__;
|
|
868
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.SpaceEntity>)_handle.Target;
|
|
869
|
+
var _this = (SpaceEntitySystem)tcs.Task.AsyncState;
|
|
870
|
+
|
|
871
|
+
var task_result = new Csp.Multiplayer.SpaceEntity(_arg1);
|
|
872
|
+
|
|
873
|
+
tcs.SetResult(task_result);
|
|
874
|
+
_handle.Free();
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
static readonly CreateObjectCallbackDelegate CreateObjectDelegateInstance =
|
|
878
|
+
CreateObjectCallbackDelegateFunction;
|
|
879
|
+
|
|
880
|
+
/// <summary>Creates a SpaceEntity of type Object, and relevant default values.</summary>
|
|
881
|
+
/// <param name="InName">The name to give the new SpaceEntity.</param>
|
|
882
|
+
/// <param name="InSpaceTransform">The initial transform to set the SpaceEntity to.</param>
|
|
883
|
+
/// <param name="Callback">A callback that executes when the creation is complete,</param>
|
|
884
|
+
/// <returns>The result for the request</returns>
|
|
885
|
+
|
|
886
|
+
public Task<Csp.Multiplayer.SpaceEntity> CreateObject(
|
|
887
|
+
string InName,
|
|
888
|
+
Csp.Multiplayer.SpaceTransform InSpaceTransform
|
|
889
|
+
) {
|
|
890
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.SpaceEntity>(this);
|
|
891
|
+
var handle = GCHandle.Alloc(tcs);
|
|
892
|
+
|
|
893
|
+
csp_multiplayer_SpaceEntitySystem_CreateObject_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
|
|
894
|
+
_ptr,
|
|
895
|
+
InName,
|
|
896
|
+
InSpaceTransform._ptr,
|
|
897
|
+
CreateObjectDelegateInstance,
|
|
898
|
+
(IntPtr)handle
|
|
899
|
+
);
|
|
900
|
+
|
|
901
|
+
return tcs.Task;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
905
|
+
[AOT.MonoPInvokeCallback (typeof (DestroyEntityCallbackDelegate))]
|
|
906
|
+
#endif
|
|
907
|
+
static void DestroyEntityCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
908
|
+
{
|
|
909
|
+
var _handle = (GCHandle)_StateObject__;
|
|
910
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
911
|
+
var _this = (SpaceEntitySystem)tcs.Task.AsyncState;
|
|
912
|
+
|
|
913
|
+
var task_result = _arg1;
|
|
914
|
+
|
|
915
|
+
tcs.SetResult(task_result);
|
|
916
|
+
_handle.Free();
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
static readonly DestroyEntityCallbackDelegate DestroyEntityDelegateInstance =
|
|
920
|
+
DestroyEntityCallbackDelegateFunction;
|
|
921
|
+
|
|
922
|
+
/// <summary>Destroys both the remote view and the local view of the specified entity.</summary>
|
|
923
|
+
/// <param name="Entity">The entity to be destroyed.</param>
|
|
924
|
+
/// <returns>The result for the request</returns>
|
|
925
|
+
|
|
926
|
+
public Task<bool> DestroyEntity(Csp.Multiplayer.SpaceEntity Entity)
|
|
927
|
+
{
|
|
928
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
929
|
+
var handle = GCHandle.Alloc(tcs);
|
|
930
|
+
|
|
931
|
+
csp_multiplayer_SpaceEntitySystem_DestroyEntity_void_SpaceEntityP_CallbackHandler(
|
|
932
|
+
_ptr,
|
|
933
|
+
Entity._ptr,
|
|
934
|
+
DestroyEntityDelegateInstance,
|
|
935
|
+
(IntPtr)handle
|
|
936
|
+
);
|
|
937
|
+
|
|
938
|
+
return tcs.Task;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/// <summary>Destroys the local client's view of the specified entity.</summary>
|
|
942
|
+
/// <param name="Entity">The entity to be destroyed locally.</param>
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
public void LocalDestroyEntity(Csp.Multiplayer.SpaceEntity Entity)
|
|
946
|
+
{
|
|
947
|
+
csp_multiplayer_SpaceEntitySystem_LocalDestroyEntity_void_SpaceEntityP(_ptr, Entity._ptr);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/// <summary>Finds the first SpaceEntity that matches InName.</summary>
|
|
951
|
+
/// <param name="InName">The name to search.</param>
|
|
952
|
+
/// <returns>A pointer to the first found match SpaceEntity.</returns>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
public Csp.Multiplayer.SpaceEntity FindSpaceEntity(string InName)
|
|
956
|
+
{
|
|
957
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
958
|
+
csp_multiplayer_SpaceEntitySystem_FindSpaceEntity_SpaceEntityP_StringRC(
|
|
959
|
+
_ptr,
|
|
960
|
+
WrapperHelper.StringToNativeUTF8(InName)
|
|
961
|
+
)
|
|
962
|
+
);
|
|
963
|
+
|
|
964
|
+
return _result;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/// <summary>Finds the first SpaceEntity that has the ID EntityId.</summary>
|
|
968
|
+
/// <param name="EntityId">The Id to look for.</param>
|
|
969
|
+
/// <returns>A pointer to the first found match SpaceEntity.</returns>
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
public Csp.Multiplayer.SpaceEntity FindSpaceEntityById(ulong EntityId)
|
|
973
|
+
{
|
|
974
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
975
|
+
csp_multiplayer_SpaceEntitySystem_FindSpaceEntityById_SpaceEntityP_uint64_t(_ptr, EntityId)
|
|
976
|
+
);
|
|
977
|
+
|
|
978
|
+
return _result;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/// <summary>Finds the first SpaceEntity of type Avatar that matches InName.</summary>
|
|
982
|
+
/// <param name="InName">The name to search.</param>
|
|
983
|
+
/// <returns>A pointer to the first found match SpaceEntity.</returns>
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
public Csp.Multiplayer.SpaceEntity FindSpaceAvatar(string InName)
|
|
987
|
+
{
|
|
988
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
989
|
+
csp_multiplayer_SpaceEntitySystem_FindSpaceAvatar_SpaceEntityP_StringRC(
|
|
990
|
+
_ptr,
|
|
991
|
+
WrapperHelper.StringToNativeUTF8(InName)
|
|
992
|
+
)
|
|
993
|
+
);
|
|
994
|
+
|
|
995
|
+
return _result;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/// <summary>Finds the first SpaceEntity of type Object that matches InName.</summary>
|
|
999
|
+
/// <param name="InName">The name to search.</param>
|
|
1000
|
+
/// <returns>A pointer to the first found match SpaceEntity.</returns>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
public Csp.Multiplayer.SpaceEntity FindSpaceObject(string InName)
|
|
1004
|
+
{
|
|
1005
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
1006
|
+
csp_multiplayer_SpaceEntitySystem_FindSpaceObject_SpaceEntityP_StringRC(
|
|
1007
|
+
_ptr,
|
|
1008
|
+
WrapperHelper.StringToNativeUTF8(InName)
|
|
1009
|
+
)
|
|
1010
|
+
);
|
|
1011
|
+
|
|
1012
|
+
return _result;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/// <summary>Locks the entity mutex.</summary>
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
public void LockEntityUpdate()
|
|
1019
|
+
{
|
|
1020
|
+
csp_multiplayer_SpaceEntitySystem_LockEntityUpdateC_void(_ptr);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/// <summary>Unlocks the entity mutex.</summary>
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
public void UnlockEntityUpdate()
|
|
1027
|
+
{
|
|
1028
|
+
csp_multiplayer_SpaceEntitySystem_UnlockEntityUpdateC_void(_ptr);
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
/// <summary>Get the number of total entities in the system (both Avatars and Objects).</summary>
|
|
1032
|
+
/// <returns>The total number of entities.</returns>
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
public ulong GetNumEntities()
|
|
1036
|
+
{
|
|
1037
|
+
var _result = csp_multiplayer_SpaceEntitySystem_GetNumEntitiesC_size_t(_ptr);
|
|
1038
|
+
|
|
1039
|
+
return _result;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/// <summary>Get the number of total Avatars in the system.</summary>
|
|
1043
|
+
/// <returns>The total number of Avatar entities.</returns>
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
public ulong GetNumAvatars()
|
|
1047
|
+
{
|
|
1048
|
+
var _result = csp_multiplayer_SpaceEntitySystem_GetNumAvatarsC_size_t(_ptr);
|
|
1049
|
+
|
|
1050
|
+
return _result;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/// <summary>Get the number of total Objects in the system.</summary>
|
|
1054
|
+
/// <returns>The total number of object entities.</returns>
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
public ulong GetNumObjects()
|
|
1058
|
+
{
|
|
1059
|
+
var _result = csp_multiplayer_SpaceEntitySystem_GetNumObjectsC_size_t(_ptr);
|
|
1060
|
+
|
|
1061
|
+
return _result;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
/// <summary>Get an Entity (Avatar or Object) by its index.</summary>
|
|
1065
|
+
/// <remarks>/// Note this is not currently thread safe and should only be called from the main thread.</remarks>
|
|
1066
|
+
/// <remarks>/// @param EntityIndex size_t : The index of the entity to get.</remarks>
|
|
1067
|
+
/// <returns>A pointer to the entity with the given index.</returns>
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
public Csp.Multiplayer.SpaceEntity GetEntityByIndex(ulong EntityIndex)
|
|
1071
|
+
{
|
|
1072
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
1073
|
+
csp_multiplayer_SpaceEntitySystem_GetEntityByIndex_SpaceEntityP_size_tC(_ptr, EntityIndex)
|
|
1074
|
+
);
|
|
1075
|
+
|
|
1076
|
+
return _result;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/// <summary>Get an Avatar by its index.</summary>
|
|
1080
|
+
/// <remarks>/// Note this is not currently thread safe and should only be called from the main thread.</remarks>
|
|
1081
|
+
/// <remarks>/// @param AvatarIndex size_t : The index of the avatar entity to get.</remarks>
|
|
1082
|
+
/// <returns>A pointer to the avatar entity with the given index.</returns>
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
public Csp.Multiplayer.SpaceEntity GetAvatarByIndex(ulong AvatarIndex)
|
|
1086
|
+
{
|
|
1087
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
1088
|
+
csp_multiplayer_SpaceEntitySystem_GetAvatarByIndex_SpaceEntityP_size_tC(_ptr, AvatarIndex)
|
|
1089
|
+
);
|
|
1090
|
+
|
|
1091
|
+
return _result;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/// <summary>Get an Object by its index.</summary>
|
|
1095
|
+
/// <remarks>/// Note this is not currently thread safe and should only be called from the main thread.</remarks>
|
|
1096
|
+
/// <remarks>/// @param ObjectIndex size_t : The index of the object entity to get.</remarks>
|
|
1097
|
+
/// <returns>A pointer to the object entity with the given index.</returns>
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
public Csp.Multiplayer.SpaceEntity GetObjectByIndex(ulong ObjectIndex)
|
|
1101
|
+
{
|
|
1102
|
+
var _result = new Csp.Multiplayer.SpaceEntity(
|
|
1103
|
+
csp_multiplayer_SpaceEntitySystem_GetObjectByIndex_SpaceEntityP_size_tC(_ptr, ObjectIndex)
|
|
1104
|
+
);
|
|
1105
|
+
|
|
1106
|
+
return _result;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/// <summary>Get the MultiplayerConnection object.</summary>
|
|
1110
|
+
/// <returns>A pointer to the MultiplayerConnection object.</returns>
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
public Csp.Multiplayer.MultiplayerConnection GetMultiplayerConnection()
|
|
1114
|
+
{
|
|
1115
|
+
var _result = new Csp.Multiplayer.MultiplayerConnection(
|
|
1116
|
+
csp_multiplayer_SpaceEntitySystem_GetMultiplayerConnection_MultiplayerConnectionP(_ptr)
|
|
1117
|
+
);
|
|
1118
|
+
|
|
1119
|
+
return _result;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/// <summary>Add a new entity to the system.</summary>
|
|
1123
|
+
/// <remarks>/// This can be called at any time from any thread and internally add the entity to a pending</remarks>
|
|
1124
|
+
/// <remarks>list which is then updated in a thread safe manner when ProcessPendingEntityOperations</remarks>
|
|
1125
|
+
/// <remarks>is called from the main thread.</remarks>
|
|
1126
|
+
/// <remarks>/// @param EntityToAdd SpaceEntity : Pointer to the entity to be added.</remarks>
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
public void AddEntity(Csp.Multiplayer.SpaceEntity EntityToAdd)
|
|
1130
|
+
{
|
|
1131
|
+
csp_multiplayer_SpaceEntitySystem_AddEntity_void_SpaceEntityP(_ptr, EntityToAdd._ptr);
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
/// <summary>Triggers queuing of the SpaceEntities updated components and replicated data.</summary>
|
|
1135
|
+
/// <remarks>/// Causes the replication of a SpaceEntities data on next Tick() or ProcessPendingEntityOperations(). However, this is bound by an</remarks>
|
|
1136
|
+
/// <remarks>entities rate limit and will only be replicated if there has been sufficient time since the last time the entity sent a message.</remarks>
|
|
1137
|
+
/// <remarks>/// @param EntityToUpdate SpaceEntity : A pointer to the SpaceEntity to update.</remarks>
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
public void QueueEntityUpdate(Csp.Multiplayer.SpaceEntity EntityToUpdate)
|
|
1141
|
+
{
|
|
1142
|
+
csp_multiplayer_SpaceEntitySystem_QueueEntityUpdate_void_SpaceEntityP(_ptr, EntityToUpdate._ptr);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/// <summary>Processes pending entity operations and then calls tick on scripts if necessary.</summary>
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
public void TickEntities()
|
|
1149
|
+
{
|
|
1150
|
+
csp_multiplayer_SpaceEntitySystem_TickEntities_void(_ptr);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
public void RegisterEntityScriptAsModule(Csp.Multiplayer.SpaceEntity NewEntity)
|
|
1154
|
+
{
|
|
1155
|
+
csp_multiplayer_SpaceEntitySystem_RegisterEntityScriptAsModule_void_SpaceEntityP(_ptr, NewEntity._ptr);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
public void BindNewEntityToScript(Csp.Multiplayer.SpaceEntity NewEntity)
|
|
1159
|
+
{
|
|
1160
|
+
csp_multiplayer_SpaceEntitySystem_BindNewEntityToScript_void_SpaceEntityP(_ptr, NewEntity._ptr);
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/// <summary>Sets the script owner for the given entity to the current client</summary>
|
|
1164
|
+
/// <param name="Entity">A pointer to the entity</param>
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
public void ClaimScriptOwnership(Csp.Multiplayer.SpaceEntity Entity)
|
|
1168
|
+
{
|
|
1169
|
+
csp_multiplayer_SpaceEntitySystem_ClaimScriptOwnershipC_void_SpaceEntityP(_ptr, Entity._ptr);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/// <summary>Adds the entity to a list of entities to be updated on tick</summary>
|
|
1173
|
+
/// <param name="Entity">A pointer to the entity to be added</param>
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
public void MarkEntityForUpdate(Csp.Multiplayer.SpaceEntity Entity)
|
|
1177
|
+
{
|
|
1178
|
+
csp_multiplayer_SpaceEntitySystem_MarkEntityForUpdate_void_SpaceEntityP(_ptr, Entity._ptr);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/// <summary>Process pending entity adds/removes and Patch message send and receives.</summary>
|
|
1182
|
+
/// <remarks>/// Note this should only be called from main thread</remarks>
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
public void ProcessPendingEntityOperations()
|
|
1186
|
+
{
|
|
1187
|
+
csp_multiplayer_SpaceEntitySystem_ProcessPendingEntityOperations_void(_ptr);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/// <summary>Retrieves all entities from the endpoint, calls "GetAllScopedObjects" currently.</summary>
|
|
1191
|
+
/// <remarks>/// Note this will generate new entity objects for every entity in the current scopes.</remarks>
|
|
1192
|
+
/// <remarks>If this is called by a client manually without first deleting all existing tracked entities, it is possible there will be duplicates.</remarks>
|
|
1193
|
+
/// <remarks>It is highly advised not to call this function unless you know what you are doing.</remarks>
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
public void RetrieveAllEntities()
|
|
1197
|
+
{
|
|
1198
|
+
csp_multiplayer_SpaceEntitySystem_RetrieveAllEntities_void(_ptr);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/// <summary>Sets the selected state of an entity, if the operation is acceptable.</summary>
|
|
1202
|
+
/// <remarks>/// Criteria:</remarks>
|
|
1203
|
+
/// <remarks>For Selection:</remarks>
|
|
1204
|
+
/// <remarks>- Entity must be deselected currently</remarks>
|
|
1205
|
+
/// <remarks>For Deselection:</remarks>
|
|
1206
|
+
/// <remarks>- Entity must be selected currently</remarks>
|
|
1207
|
+
/// <remarks>- Entity must be selected by the client attempting the deselection (SpaceEntity::GetSelectingClientID will return this information)</remarks>
|
|
1208
|
+
/// <remarks>/// @param SelectedState bool : The state to set the entity to, Selected = True, Deselected = false.</remarks>
|
|
1209
|
+
/// <param name="Entity">A pointer to the entity to modify selection state on.</param>
|
|
1210
|
+
/// <returns>True if a selection state change has occurred, false if no change was made (due to one of the above criteria not being met).</returns>
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
public bool SetSelectionStateOfEntity(bool SelectedState, Csp.Multiplayer.SpaceEntity Entity)
|
|
1214
|
+
{
|
|
1215
|
+
var _result = csp_multiplayer_SpaceEntitySystem_SetSelectionStateOfEntity_bool_boolC_SpaceEntityP(
|
|
1216
|
+
_ptr,
|
|
1217
|
+
SelectedState,
|
|
1218
|
+
Entity._ptr
|
|
1219
|
+
);
|
|
1220
|
+
|
|
1221
|
+
return _result;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/// <summary>Enable Leader Election feature.</summary>
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
public void EnableLeaderElection()
|
|
1228
|
+
{
|
|
1229
|
+
csp_multiplayer_SpaceEntitySystem_EnableLeaderElection_void(_ptr);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/// <summary>Disable Leader Election feature.</summary>
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
public void DisableLeaderElection()
|
|
1236
|
+
{
|
|
1237
|
+
csp_multiplayer_SpaceEntitySystem_DisableLeaderElection_void(_ptr);
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/// <summary>Check if the Leader Election feature is enabled.</summary>
|
|
1241
|
+
/// <returns>True if enabled, false otherwise.</returns>
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
public bool IsLeaderElectionEnabled()
|
|
1245
|
+
{
|
|
1246
|
+
var _result = csp_multiplayer_SpaceEntitySystem_IsLeaderElectionEnabledC_bool(_ptr);
|
|
1247
|
+
|
|
1248
|
+
return _result;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/// <summary>Debug helper to get the id of the currently elected script leader.</summary>
|
|
1252
|
+
/// <returns>The id of the leader.</returns>
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
public ulong GetLeaderId()
|
|
1256
|
+
{
|
|
1257
|
+
var _result = csp_multiplayer_SpaceEntitySystem_GetLeaderIdC_uint64_t(_ptr);
|
|
1258
|
+
|
|
1259
|
+
return _result;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/// <summary>Finds a component by the given id.</summary>
|
|
1263
|
+
/// <remarks>/// Searchs through all components of all entites so should be used sparingly.</remarks>
|
|
1264
|
+
/// <remarks>/// @param Id The id of the component to find.</remarks>
|
|
1265
|
+
/// <returns>A pointer to the found component which can be nullptr if the component is not found.</returns>
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
public Csp.Multiplayer.ComponentBase FindComponentById(ushort Id)
|
|
1269
|
+
{
|
|
1270
|
+
var _result = new Csp.Multiplayer.ComponentBase(
|
|
1271
|
+
csp_multiplayer_SpaceEntitySystem_FindComponentById_ComponentBaseP_uint16_t(_ptr, Id)
|
|
1272
|
+
);
|
|
1273
|
+
|
|
1274
|
+
return _result;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/// <summary>Retrieve the state of the patch rate limiter. If true, patches are limited for each individual entity to a fixed rate.</summary>
|
|
1278
|
+
/// <returns>True if enabled, false otherwise.</returns>
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
public bool GetEntityPatchRateLimitEnabled()
|
|
1282
|
+
{
|
|
1283
|
+
var _result = csp_multiplayer_SpaceEntitySystem_GetEntityPatchRateLimitEnabledC_boolC(_ptr);
|
|
1284
|
+
|
|
1285
|
+
return _result;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/// <summary>Set the state of the patch rate limiter. If true, patches are limited for each individual entity to a fixed rate.</summary>
|
|
1289
|
+
/// <remarks>/// This feature is enabled by default and should only be disabled if you are encountering issues.</remarks>
|
|
1290
|
+
/// <remarks>/// @param Enabled : sets if the feature should be enabled or not.</remarks>
|
|
1291
|
+
/// <remarks>\rst</remarks>
|
|
1292
|
+
/// <remarks>.. note::</remarks>
|
|
1293
|
+
/// <remarks>If disabling this feature, more requests will be made to Magnopus Connected Services,</remarks>
|
|
1294
|
+
/// <remarks>and consequntly more patch merges may occur on the server as a result.</remarks>
|
|
1295
|
+
/// <remarks>\endrst</remarks>
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
public void SetEntityPatchRateLimitEnabled(bool Enabled)
|
|
1299
|
+
{
|
|
1300
|
+
csp_multiplayer_SpaceEntitySystem_SetEntityPatchRateLimitEnabled_void_bool(_ptr, Enabled);
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
|