connected-spaces-platform.unity.core 5.17.1 → 5.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
- package/Editor.meta +1 -1
- package/README.md +1 -1
- package/README.md.meta +1 -1
- package/Source/CSPFoundation.cs.meta +1 -1
- package/Source/ClientUserAgent.cs.meta +1 -1
- package/Source/Common/Array.cs.meta +1 -1
- package/Source/Common/CancellationToken.cs.meta +1 -1
- package/Source/Common/FileExtensions.cs.meta +1 -1
- package/Source/Common/Interfaces/IRealtimeEngine.cs +613 -0
- package/Source/Common/Interfaces/IRealtimeEngine.cs.meta +11 -0
- package/Source/Common/Interfaces/RealtimeEngineType.cs +22 -0
- package/Source/Common/Interfaces/RealtimeEngineType.cs.meta +11 -0
- package/Source/Common/Interfaces.meta +7 -0
- package/Source/Common/List.cs.meta +1 -1
- package/Source/Common/Map.cs.meta +1 -1
- package/Source/Common/MimeTypeHelper.cs.meta +1 -1
- package/Source/Common/MimeTypes.cs.meta +1 -1
- package/Source/Common/Variant.cs.meta +1 -1
- package/Source/Common/VariantType.cs.meta +1 -1
- package/Source/Common/Vector2.cs.meta +1 -1
- package/Source/Common/Vector3.cs.meta +1 -1
- package/Source/Common/Vector4.cs.meta +1 -1
- package/Source/Common.meta +1 -1
- package/Source/Constants.cs.meta +1 -1
- package/Source/Csp.cs.meta +1 -1
- package/Source/EThirdPartyPlatform.cs.meta +1 -1
- package/Source/EndpointURIs.cs.meta +1 -1
- package/Source/Il2cppPreserver.cs.meta +1 -1
- package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
- package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
- package/Source/Multiplayer/ComponentType.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
- package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
- package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CinematicCameraSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs +24 -18
- package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/HotspotSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/Interfaces.meta +1 -1
- package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
- package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs +1 -1
- package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
- package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
- package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/TextSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
- package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
- package/Source/Multiplayer/Components.meta +1 -1
- package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/AnnotationData.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/AnnotationResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/AnnotationThumbnailCollectionResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/AnnotationUpdateParams.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationEventType.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/MessageUpdateParams.cs.meta +1 -1
- package/Source/Multiplayer/Conversation/NumberOfRepliesResult.cs.meta +1 -1
- package/Source/Multiplayer/Conversation.meta +1 -1
- package/Source/Multiplayer/ConversationEventParams.cs.meta +1 -1
- package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
- package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
- package/Source/Multiplayer/ESequenceUpdateType.cs.meta +1 -1
- package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
- package/Source/Multiplayer/EventBus.cs.meta +1 -1
- package/Source/Multiplayer/LockType.cs.meta +1 -1
- package/Source/Multiplayer/MaterialChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/MultiplayerConnection.cs +2 -1
- package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
- package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
- package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
- package/Source/Multiplayer/Script.meta +1 -1
- package/Source/Multiplayer/SequenceChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SequenceHotspotChangedParams.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntity.cs +3 -2
- package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntitySystem.cs +4 -3
- package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
- package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
- package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
- package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
- package/Source/Multiplayer.meta +1 -1
- package/Source/NativeClassWrapper.cs +6 -0
- package/Source/NativeClassWrapper.cs.meta +1 -1
- package/Source/ProgressEventArgs.cs.meta +1 -1
- package/Source/Ref.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
- package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
- package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
- package/Source/Systems/Analytics.meta +1 -1
- package/Source/Systems/Assets/AlphaVideoMaterial.cs.meta +1 -1
- package/Source/Systems/Assets/Asset.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionCountResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
- package/Source/Systems/Assets/AssetSystem.cs +31 -29
- package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
- package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
- package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/EAlphaMode.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
- package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
- package/Source/Systems/Assets/EBlendMode.cs.meta +1 -1
- package/Source/Systems/Assets/EColorChannel.cs.meta +1 -1
- package/Source/Systems/Assets/EShaderType.cs.meta +1 -1
- package/Source/Systems/Assets/ETextureResourceType.cs.meta +1 -1
- package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
- package/Source/Systems/Assets/GLTFMaterial.cs.meta +1 -1
- package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
- package/Source/Systems/Assets/LODChain.cs.meta +1 -1
- package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
- package/Source/Systems/Assets/Material.cs.meta +1 -1
- package/Source/Systems/Assets/MaterialResult.cs.meta +1 -1
- package/Source/Systems/Assets/MaterialsResult.cs.meta +1 -1
- package/Source/Systems/Assets/TextureInfo.cs.meta +1 -1
- package/Source/Systems/Assets/UriResult.cs.meta +1 -1
- package/Source/Systems/Assets.meta +1 -1
- package/Source/Systems/BooleanResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ECommerceSystem.cs +12 -10
- package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
- package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
- package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
- package/Source/Systems/ECommerce.meta +1 -1
- package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
- package/Source/Systems/EResultCode.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs +8 -6
- package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
- package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
- package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
- package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
- package/Source/Systems/EventTicketing.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
- package/Source/Systems/GraphQL/GraphQLSystem.cs +2 -2
- package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
- package/Source/Systems/GraphQL.meta +1 -1
- package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroup.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotGroupsResult.cs.meta +1 -1
- package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs +9 -8
- package/Source/Systems/HotspotSequence/HotspotSequenceSystem.cs.meta +1 -1
- package/Source/Systems/HotspotSequence.meta +1 -1
- package/Source/Systems/Log/LogLevel.cs.meta +1 -1
- package/Source/Systems/Log/LogSystem.cs +2 -1
- package/Source/Systems/Log/LogSystem.cs.meta +1 -1
- package/Source/Systems/Log.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs +1 -1
- package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
- package/Source/Systems/Maintenance.meta +1 -1
- package/Source/Systems/NullResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
- package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
- package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
- package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
- package/Source/Systems/Quota/QuotaSystem.cs +8 -8
- package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
- package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
- package/Source/Systems/Quota/TierNames.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
- package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
- package/Source/Systems/Quota.meta +1 -1
- package/Source/Systems/ResultBase.cs.meta +1 -1
- package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
- package/Source/Systems/Script.meta +1 -1
- package/Source/Systems/Sequence/Sequence.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceResult.cs.meta +1 -1
- package/Source/Systems/Sequence/SequenceSystem.cs +9 -8
- package/Source/Systems/Sequence/SequenceSystem.cs.meta +1 -1
- package/Source/Systems/Sequence/SequencesResult.cs.meta +1 -1
- package/Source/Systems/Sequence.meta +1 -1
- package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
- package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
- package/Source/Systems/Settings/SettingsSystem.cs +16 -16
- package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
- package/Source/Systems/Settings.meta +1 -1
- package/Source/Systems/Spaces/AcceptedInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
- package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Site.cs.meta +1 -1
- package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/Space.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceSystem.cs +34 -34
- package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
- package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
- package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
- package/Source/Systems/Spaces.meta +1 -1
- package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
- package/Source/Systems/Spatial/AnchorSystem.cs +7 -7
- package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
- package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
- package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
- package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
- package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
- package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
- package/Source/Systems/Spatial/PointOfInterestSystem.cs +3 -3
- package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
- package/Source/Systems/Spatial.meta +1 -1
- package/Source/Systems/StringArrayResult.cs.meta +1 -1
- package/Source/Systems/StringResult.cs.meta +1 -1
- package/Source/Systems/SystemBase.cs +2 -1
- package/Source/Systems/SystemBase.cs.meta +1 -1
- package/Source/Systems/SystemsManager.cs.meta +1 -1
- package/Source/Systems/UInt64Result.cs.meta +1 -1
- package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
- package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
- package/Source/Systems/Users/ELoginState.cs.meta +1 -1
- package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
- package/Source/Systems/Users/LoginState.cs.meta +1 -1
- package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
- package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
- package/Source/Systems/Users/Profile.cs.meta +1 -1
- package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
- package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
- package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
- package/Source/Systems/Users/TokenInfoParams.cs.meta +1 -1
- package/Source/Systems/Users/UserSystem.cs +24 -23
- package/Source/Systems/Users/UserSystem.cs.meta +1 -1
- package/Source/Systems/Users.meta +1 -1
- package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
- package/Source/Systems/Voip.meta +1 -1
- package/Source/Systems.meta +1 -1
- package/Source/Web/EResponseCodes.cs.meta +1 -1
- package/Source/Web.meta +1 -1
- package/Source/WrapperHelper.cs.meta +1 -1
- package/Source.meta +1 -1
- package/android64/libConnectedSpacesPlatform.so +0 -0
- package/android64/libConnectedSpacesPlatform.so.meta +1 -1
- package/android64/libConnectedSpacesPlatform_D.so +0 -0
- package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
- package/android64.meta +1 -1
- package/ios/libConnectedSpacesPlatform.a +0 -0
- package/ios/libConnectedSpacesPlatform.a.meta +1 -1
- package/ios/libcrypto.a.meta +1 -1
- package/ios/libssl.a.meta +1 -1
- package/ios.meta +1 -1
- package/macosx/libConnectedSpacesPlatform.dylib +0 -0
- package/macosx/libConnectedSpacesPlatform.dylib.meta +1 -1
- package/macosx.meta +1 -1
- package/package.json +1 -1
- package/package.json.meta +1 -1
- package/visionos/libConnectedSpacesPlatform.a +0 -0
- package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
- package/visionos/libcrypto.a.meta +1 -1
- package/visionos/libssl.a.meta +1 -1
- package/visionos.meta +1 -1
- package/windows/ConnectedSpacesPlatform.dll +0 -0
- package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
- package/windows/ConnectedSpacesPlatform_D.dll +0 -0
- package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
- package/windows.meta +1 -1
package/Editor.meta
CHANGED
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
## Built from changelist ID:
|
|
1
|
+
## Built from changelist ID: 451c235be8bfdb67b0c2fc2a2dfb79a46a33dee6
|
|
2
2
|
The Release Notes for this package can be found [here](https://github.com/magnopus-opensource/connected-spaces-platform/releases).
|
package/README.md.meta
CHANGED
|
@@ -0,0 +1,613 @@
|
|
|
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.Common
|
|
14
|
+
{
|
|
15
|
+
public class IRealtimeEngine : NativeClassWrapper, IDisposable
|
|
16
|
+
{
|
|
17
|
+
internal override string _safeTypeName { get; } = "csp_common_IRealtimeEngine";
|
|
18
|
+
|
|
19
|
+
#region P/Invoke
|
|
20
|
+
#pragma warning disable IDE1006
|
|
21
|
+
|
|
22
|
+
[DllImport(Csp.Constants.DllName)]
|
|
23
|
+
[SuppressUnmanagedCodeSecurity]
|
|
24
|
+
static extern void csp_common_IRealtimeEngine_SetEntityCreatedCallback_void_EntityCreatedCallback(
|
|
25
|
+
IntPtr @class,
|
|
26
|
+
SetEntityCreatedCallbackCallbackDelegate callback,
|
|
27
|
+
IntPtr callbackStateObject
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
[DllImport(Csp.Constants.DllName)]
|
|
31
|
+
[SuppressUnmanagedCodeSecurity]
|
|
32
|
+
static extern void csp_common_IRealtimeEngine_SetInitialEntitiesRetrievedCallback_void_CallbackHandler(
|
|
33
|
+
IntPtr @class,
|
|
34
|
+
SetInitialEntitiesRetrievedCallbackCallbackDelegate callback,
|
|
35
|
+
IntPtr callbackStateObject
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
[DllImport(Csp.Constants.DllName)]
|
|
39
|
+
[SuppressUnmanagedCodeSecurity]
|
|
40
|
+
static extern void csp_common_IRealtimeEngine_Dtor(IntPtr @class);
|
|
41
|
+
|
|
42
|
+
[DllImport(Csp.Constants.DllName)]
|
|
43
|
+
[SuppressUnmanagedCodeSecurity]
|
|
44
|
+
static extern Csp.Common.RealtimeEngineType csp_common_IRealtimeEngine_GetRealtimeEngineTypeC_RealtimeEngineType(
|
|
45
|
+
IntPtr @class
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
[DllImport(Csp.Constants.DllName)]
|
|
49
|
+
[SuppressUnmanagedCodeSecurity]
|
|
50
|
+
static extern void csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_SpaceTransformRC_AvatarStateRC_StringRC_AvatarPlayModeRC_EntityCreatedCallback(
|
|
51
|
+
IntPtr @class,
|
|
52
|
+
string Name,
|
|
53
|
+
IntPtr SpaceTransform,
|
|
54
|
+
IntPtr State,
|
|
55
|
+
string AvatarId,
|
|
56
|
+
IntPtr AvatarPlayMode,
|
|
57
|
+
CreateAvatarCallbackDelegate callback,
|
|
58
|
+
IntPtr callbackStateObject
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
[DllImport(Csp.Constants.DllName)]
|
|
62
|
+
[SuppressUnmanagedCodeSecurity]
|
|
63
|
+
static extern void csp_common_IRealtimeEngine_CreateEntity_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
|
|
64
|
+
IntPtr @class,
|
|
65
|
+
string Name,
|
|
66
|
+
IntPtr SpaceTransform,
|
|
67
|
+
CreateEntityCallbackDelegate callback,
|
|
68
|
+
IntPtr callbackStateObject
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
[DllImport(Csp.Constants.DllName)]
|
|
72
|
+
[SuppressUnmanagedCodeSecurity]
|
|
73
|
+
static extern void csp_common_IRealtimeEngine_DestroyEntity_void_SpaceEntityP_CallbackHandler(
|
|
74
|
+
IntPtr @class,
|
|
75
|
+
IntPtr Entity,
|
|
76
|
+
DestroyEntityCallbackDelegate callback,
|
|
77
|
+
IntPtr callbackStateObject
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
[DllImport(Csp.Constants.DllName)]
|
|
81
|
+
[SuppressUnmanagedCodeSecurity]
|
|
82
|
+
static extern NativePointer csp_common_IRealtimeEngine_FindSpaceEntity_SpaceEntityP_StringRC(
|
|
83
|
+
IntPtr @class,
|
|
84
|
+
IntPtr Name
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
[DllImport(Csp.Constants.DllName)]
|
|
88
|
+
[SuppressUnmanagedCodeSecurity]
|
|
89
|
+
static extern NativePointer csp_common_IRealtimeEngine_FindSpaceEntityById_SpaceEntityP_uint64_t(
|
|
90
|
+
IntPtr @class,
|
|
91
|
+
ulong EntityId
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
[DllImport(Csp.Constants.DllName)]
|
|
95
|
+
[SuppressUnmanagedCodeSecurity]
|
|
96
|
+
static extern NativePointer csp_common_IRealtimeEngine_FindSpaceAvatar_SpaceEntityP_StringRC(
|
|
97
|
+
IntPtr @class,
|
|
98
|
+
IntPtr Name
|
|
99
|
+
);
|
|
100
|
+
|
|
101
|
+
[DllImport(Csp.Constants.DllName)]
|
|
102
|
+
[SuppressUnmanagedCodeSecurity]
|
|
103
|
+
static extern NativePointer csp_common_IRealtimeEngine_FindSpaceObject_SpaceEntityP_StringRC(
|
|
104
|
+
IntPtr @class,
|
|
105
|
+
IntPtr Name
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
[DllImport(Csp.Constants.DllName)]
|
|
109
|
+
[SuppressUnmanagedCodeSecurity]
|
|
110
|
+
static extern NativePointer csp_common_IRealtimeEngine_GetEntityByIndex_SpaceEntityP_size_t(
|
|
111
|
+
IntPtr @class,
|
|
112
|
+
ulong EntityIndex
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
[DllImport(Csp.Constants.DllName)]
|
|
116
|
+
[SuppressUnmanagedCodeSecurity]
|
|
117
|
+
static extern NativePointer csp_common_IRealtimeEngine_GetAvatarByIndex_SpaceEntityP_size_t(
|
|
118
|
+
IntPtr @class,
|
|
119
|
+
ulong AvatarIndex
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
[DllImport(Csp.Constants.DllName)]
|
|
123
|
+
[SuppressUnmanagedCodeSecurity]
|
|
124
|
+
static extern NativePointer csp_common_IRealtimeEngine_GetObjectByIndex_SpaceEntityP_size_t(
|
|
125
|
+
IntPtr @class,
|
|
126
|
+
ulong ObjectIndex
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
[DllImport(Csp.Constants.DllName)]
|
|
130
|
+
[SuppressUnmanagedCodeSecurity]
|
|
131
|
+
static extern ulong csp_common_IRealtimeEngine_GetNumEntitiesC_size_t(IntPtr @class);
|
|
132
|
+
|
|
133
|
+
[DllImport(Csp.Constants.DllName)]
|
|
134
|
+
[SuppressUnmanagedCodeSecurity]
|
|
135
|
+
static extern ulong csp_common_IRealtimeEngine_GetNumAvatarsC_size_t(IntPtr @class);
|
|
136
|
+
|
|
137
|
+
[DllImport(Csp.Constants.DllName)]
|
|
138
|
+
[SuppressUnmanagedCodeSecurity]
|
|
139
|
+
static extern ulong csp_common_IRealtimeEngine_GetNumObjectsC_size_t(IntPtr @class);
|
|
140
|
+
|
|
141
|
+
[DllImport(Csp.Constants.DllName)]
|
|
142
|
+
[SuppressUnmanagedCodeSecurity]
|
|
143
|
+
static extern NativePointer csp_common_IRealtimeEngine_GetRootHierarchyEntitiesC_ListPC(IntPtr @class);
|
|
144
|
+
|
|
145
|
+
[DllImport(Csp.Constants.DllName)]
|
|
146
|
+
[SuppressUnmanagedCodeSecurity]
|
|
147
|
+
static extern void csp_common_IRealtimeEngine_MarkEntityForUpdate_void_SpaceEntityP(
|
|
148
|
+
IntPtr @class,
|
|
149
|
+
IntPtr Entity
|
|
150
|
+
);
|
|
151
|
+
|
|
152
|
+
[DllImport(Csp.Constants.DllName)]
|
|
153
|
+
[SuppressUnmanagedCodeSecurity]
|
|
154
|
+
static extern void csp_common_IRealtimeEngine_ProcessPendingEntityOperations_void(IntPtr @class);
|
|
155
|
+
|
|
156
|
+
#pragma warning restore IDE1006
|
|
157
|
+
#endregion
|
|
158
|
+
|
|
159
|
+
internal IRealtimeEngine(NativePointer ptr) : base(ptr) { }
|
|
160
|
+
|
|
161
|
+
delegate void CreateAvatarCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
162
|
+
|
|
163
|
+
delegate void CreateEntityCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
164
|
+
|
|
165
|
+
delegate void DestroyEntityCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
166
|
+
|
|
167
|
+
delegate void SetEntityCreatedCallbackCallbackDelegate(IntPtr _StateObject__, NativePointer arg1);
|
|
168
|
+
|
|
169
|
+
delegate void SetInitialEntitiesRetrievedCallbackCallbackDelegate(IntPtr _StateObject__, bool arg1);
|
|
170
|
+
|
|
171
|
+
readonly System.Collections.Generic.List<GCHandle> eventHandles =
|
|
172
|
+
new System.Collections.Generic.List<GCHandle>();
|
|
173
|
+
|
|
174
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
175
|
+
[AOT.MonoPInvokeCallback (typeof (SetEntityCreatedCallbackCallbackDelegate))]
|
|
176
|
+
#endif
|
|
177
|
+
static void SetEntityCreatedCallbackCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
178
|
+
{
|
|
179
|
+
var _handle = (GCHandle)_StateObject__;
|
|
180
|
+
var _this = (IRealtimeEngine)_handle.Target;
|
|
181
|
+
_this.RealOnEntityCreated?.Invoke(_this, new Csp.Multiplayer.SpaceEntity(_arg1));
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
static readonly SetEntityCreatedCallbackCallbackDelegate OnEntityCreatedDelegateInstance =
|
|
185
|
+
SetEntityCreatedCallbackCallbackDelegateFunction;
|
|
186
|
+
|
|
187
|
+
bool OnEntityCreatedInitialised = false;
|
|
188
|
+
event EventHandler<Csp.Multiplayer.SpaceEntity>? RealOnEntityCreated;
|
|
189
|
+
public event EventHandler<Csp.Multiplayer.SpaceEntity> OnEntityCreated
|
|
190
|
+
{
|
|
191
|
+
add
|
|
192
|
+
{
|
|
193
|
+
if (!OnEntityCreatedInitialised)
|
|
194
|
+
{
|
|
195
|
+
var handle = GCHandle.Alloc(this);
|
|
196
|
+
csp_common_IRealtimeEngine_SetEntityCreatedCallback_void_EntityCreatedCallback(
|
|
197
|
+
_ptr,
|
|
198
|
+
OnEntityCreatedDelegateInstance,
|
|
199
|
+
(IntPtr)handle
|
|
200
|
+
);
|
|
201
|
+
eventHandles.Add(handle);
|
|
202
|
+
OnEntityCreatedInitialised = true;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
RealOnEntityCreated += value;
|
|
206
|
+
}
|
|
207
|
+
remove { RealOnEntityCreated -= value; }
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
211
|
+
[AOT.MonoPInvokeCallback (typeof (SetInitialEntitiesRetrievedCallbackCallbackDelegate))]
|
|
212
|
+
#endif
|
|
213
|
+
static void SetInitialEntitiesRetrievedCallbackCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
214
|
+
{
|
|
215
|
+
var _handle = (GCHandle)_StateObject__;
|
|
216
|
+
var _this = (IRealtimeEngine)_handle.Target;
|
|
217
|
+
_this.RealOnInitialEntitiesRetrieved?.Invoke(_this, _arg1);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
static readonly SetInitialEntitiesRetrievedCallbackCallbackDelegate OnInitialEntitiesRetrievedDelegateInstance =
|
|
221
|
+
SetInitialEntitiesRetrievedCallbackCallbackDelegateFunction;
|
|
222
|
+
|
|
223
|
+
bool OnInitialEntitiesRetrievedInitialised = false;
|
|
224
|
+
event EventHandler<bool>? RealOnInitialEntitiesRetrieved;
|
|
225
|
+
public event EventHandler<bool> OnInitialEntitiesRetrieved
|
|
226
|
+
{
|
|
227
|
+
add
|
|
228
|
+
{
|
|
229
|
+
if (!OnInitialEntitiesRetrievedInitialised)
|
|
230
|
+
{
|
|
231
|
+
var handle = GCHandle.Alloc(this);
|
|
232
|
+
csp_common_IRealtimeEngine_SetInitialEntitiesRetrievedCallback_void_CallbackHandler(
|
|
233
|
+
_ptr,
|
|
234
|
+
OnInitialEntitiesRetrievedDelegateInstance,
|
|
235
|
+
(IntPtr)handle
|
|
236
|
+
);
|
|
237
|
+
eventHandles.Add(handle);
|
|
238
|
+
OnInitialEntitiesRetrievedInitialised = true;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
RealOnInitialEntitiesRetrieved += value;
|
|
242
|
+
}
|
|
243
|
+
remove { RealOnInitialEntitiesRetrieved -= value; }
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/// <summary>Virtual destructor.</summary>
|
|
247
|
+
|
|
248
|
+
~IRealtimeEngine()
|
|
249
|
+
{
|
|
250
|
+
//RealDispose();
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
void RealDispose()
|
|
254
|
+
{
|
|
255
|
+
if (_ownsPtr && !_disposed)
|
|
256
|
+
{
|
|
257
|
+
csp_common_IRealtimeEngine_Dtor(_ptr);
|
|
258
|
+
_disposed = true;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
_disposed = true;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
public void Dispose()
|
|
265
|
+
{
|
|
266
|
+
RealDispose();
|
|
267
|
+
GC.SuppressFinalize(this);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/// <summary>Returns the concrete type of the instantiation of the abstract IRealtimeEngine.</summary>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
public virtual Csp.Common.RealtimeEngineType GetRealtimeEngineType()
|
|
274
|
+
{
|
|
275
|
+
var _value = csp_common_IRealtimeEngine_GetRealtimeEngineTypeC_RealtimeEngineType(_ptr);
|
|
276
|
+
|
|
277
|
+
var _result = _value;
|
|
278
|
+
|
|
279
|
+
return _result;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
283
|
+
[AOT.MonoPInvokeCallback (typeof (CreateAvatarCallbackDelegate))]
|
|
284
|
+
#endif
|
|
285
|
+
static void CreateAvatarCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
286
|
+
{
|
|
287
|
+
var _handle = (GCHandle)_StateObject__;
|
|
288
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.SpaceEntity>)_handle.Target;
|
|
289
|
+
var _this = (IRealtimeEngine)tcs.Task.AsyncState;
|
|
290
|
+
|
|
291
|
+
var task_result = _arg1.Pointer == IntPtr.Zero ? null : new Csp.Multiplayer.SpaceEntity(_arg1);
|
|
292
|
+
|
|
293
|
+
tcs.SetResult(task_result);
|
|
294
|
+
_handle.Free();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
static readonly CreateAvatarCallbackDelegate CreateAvatarDelegateInstance =
|
|
298
|
+
CreateAvatarCallbackDelegateFunction;
|
|
299
|
+
|
|
300
|
+
/// <summary>Create and add a SpaceEntity with type Avatar, and relevant components and default states as specified.</summary>
|
|
301
|
+
/// <param name="Name">The entity name of the newly created avatar entity.</param>
|
|
302
|
+
/// <param name="SpaceTransform">The initial transform to set the SpaceEntity to.</param>
|
|
303
|
+
/// <param name="State">The initial Avatar State to set.</param>
|
|
304
|
+
/// <param name="AvatarId">The ID to be set on the AvatarSpaceComponent</param>
|
|
305
|
+
/// <param name="AvatarPlayMode">The Initial AvatarPlayMode to set.</param>
|
|
306
|
+
/// <param name="Callback">Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,</param>
|
|
307
|
+
/// <returns>The result for the request</returns>
|
|
308
|
+
|
|
309
|
+
public Task<Csp.Multiplayer.SpaceEntity> CreateAvatar(
|
|
310
|
+
string Name,
|
|
311
|
+
Csp.Multiplayer.SpaceTransform SpaceTransform,
|
|
312
|
+
Csp.Multiplayer.AvatarState State,
|
|
313
|
+
string AvatarId,
|
|
314
|
+
Csp.Multiplayer.AvatarPlayMode AvatarPlayMode
|
|
315
|
+
) {
|
|
316
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.SpaceEntity>(this);
|
|
317
|
+
var handle = GCHandle.Alloc(tcs);
|
|
318
|
+
|
|
319
|
+
csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_SpaceTransformRC_AvatarStateRC_StringRC_AvatarPlayModeRC_EntityCreatedCallback(
|
|
320
|
+
_ptr,
|
|
321
|
+
Name,
|
|
322
|
+
SpaceTransform._ptr,
|
|
323
|
+
(IntPtr)State,
|
|
324
|
+
AvatarId,
|
|
325
|
+
(IntPtr)AvatarPlayMode,
|
|
326
|
+
CreateAvatarDelegateInstance,
|
|
327
|
+
(IntPtr)handle
|
|
328
|
+
);
|
|
329
|
+
|
|
330
|
+
return tcs.Task;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
334
|
+
[AOT.MonoPInvokeCallback (typeof (CreateEntityCallbackDelegate))]
|
|
335
|
+
#endif
|
|
336
|
+
static void CreateEntityCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _arg1)
|
|
337
|
+
{
|
|
338
|
+
var _handle = (GCHandle)_StateObject__;
|
|
339
|
+
var tcs = (TaskCompletionSource<Csp.Multiplayer.SpaceEntity>)_handle.Target;
|
|
340
|
+
var _this = (IRealtimeEngine)tcs.Task.AsyncState;
|
|
341
|
+
|
|
342
|
+
var task_result = _arg1.Pointer == IntPtr.Zero ? null : new Csp.Multiplayer.SpaceEntity(_arg1);
|
|
343
|
+
|
|
344
|
+
tcs.SetResult(task_result);
|
|
345
|
+
_handle.Free();
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
static readonly CreateEntityCallbackDelegate CreateEntityDelegateInstance =
|
|
349
|
+
CreateEntityCallbackDelegateFunction;
|
|
350
|
+
|
|
351
|
+
/// <summary>Create and add a SpaceEntity, with relevant default values.</summary>
|
|
352
|
+
/// <param name="Name">The name of the newly created SpaceEntity.</param>
|
|
353
|
+
/// <param name="SpaceTransform">The initial transform to set the SpaceEntity to.</param>
|
|
354
|
+
/// <param name="Callback">A callback that executes when the creation is complete,</param>
|
|
355
|
+
/// <returns>The result for the request</returns>
|
|
356
|
+
|
|
357
|
+
public Task<Csp.Multiplayer.SpaceEntity> CreateEntity(
|
|
358
|
+
string Name,
|
|
359
|
+
Csp.Multiplayer.SpaceTransform SpaceTransform
|
|
360
|
+
) {
|
|
361
|
+
var tcs = new TaskCompletionSource<Csp.Multiplayer.SpaceEntity>(this);
|
|
362
|
+
var handle = GCHandle.Alloc(tcs);
|
|
363
|
+
|
|
364
|
+
csp_common_IRealtimeEngine_CreateEntity_void_StringRC_SpaceTransformRC_EntityCreatedCallback(
|
|
365
|
+
_ptr,
|
|
366
|
+
Name,
|
|
367
|
+
SpaceTransform._ptr,
|
|
368
|
+
CreateEntityDelegateInstance,
|
|
369
|
+
(IntPtr)handle
|
|
370
|
+
);
|
|
371
|
+
|
|
372
|
+
return tcs.Task;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
#if !UNITY_EDITOR && ENABLE_IL2CPP
|
|
376
|
+
[AOT.MonoPInvokeCallback (typeof (DestroyEntityCallbackDelegate))]
|
|
377
|
+
#endif
|
|
378
|
+
static void DestroyEntityCallbackDelegateFunction(IntPtr _StateObject__, bool _arg1)
|
|
379
|
+
{
|
|
380
|
+
var _handle = (GCHandle)_StateObject__;
|
|
381
|
+
var tcs = (TaskCompletionSource<bool>)_handle.Target;
|
|
382
|
+
var _this = (IRealtimeEngine)tcs.Task.AsyncState;
|
|
383
|
+
|
|
384
|
+
var task_result = _arg1;
|
|
385
|
+
|
|
386
|
+
tcs.SetResult(task_result);
|
|
387
|
+
_handle.Free();
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
static readonly DestroyEntityCallbackDelegate DestroyEntityDelegateInstance =
|
|
391
|
+
DestroyEntityCallbackDelegateFunction;
|
|
392
|
+
|
|
393
|
+
/// <summary>Destroy the specified entity.</summary>
|
|
394
|
+
/// <param name="Entity">A non-owning pointer to the entity to be destroyed.</param>
|
|
395
|
+
/// <returns>The result for the request</returns>
|
|
396
|
+
|
|
397
|
+
public Task<bool> DestroyEntity(Csp.Multiplayer.SpaceEntity Entity)
|
|
398
|
+
{
|
|
399
|
+
var tcs = new TaskCompletionSource<bool>(this);
|
|
400
|
+
var handle = GCHandle.Alloc(tcs);
|
|
401
|
+
|
|
402
|
+
csp_common_IRealtimeEngine_DestroyEntity_void_SpaceEntityP_CallbackHandler(
|
|
403
|
+
_ptr,
|
|
404
|
+
Entity._ptr,
|
|
405
|
+
DestroyEntityDelegateInstance,
|
|
406
|
+
(IntPtr)handle
|
|
407
|
+
);
|
|
408
|
+
|
|
409
|
+
return tcs.Task;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/// <summary>Finds the first found SpaceEntity of a matching Name.</summary>
|
|
413
|
+
/// <param name="Name">The name to search.</param>
|
|
414
|
+
/// <returns>A non-owning pointer to the first found matching SpaceEntity.</returns>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
public virtual Csp.Multiplayer.SpaceEntity FindSpaceEntity(string Name)
|
|
418
|
+
{
|
|
419
|
+
var _value = csp_common_IRealtimeEngine_FindSpaceEntity_SpaceEntityP_StringRC(
|
|
420
|
+
_ptr,
|
|
421
|
+
WrapperHelper.StringToNativeUTF8(Name)
|
|
422
|
+
);
|
|
423
|
+
|
|
424
|
+
if (_value.Equals(NativePointer.Zero))
|
|
425
|
+
return null;
|
|
426
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
427
|
+
;
|
|
428
|
+
|
|
429
|
+
return _result;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/// <summary>Finds the first found SpaceEntity that has the ID EntityId.</summary>
|
|
433
|
+
/// <param name="EntityId">The Id to look for.</param>
|
|
434
|
+
/// <returns>A non-owning pointer to the first found matching SpaceEntity.</returns>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
public virtual Csp.Multiplayer.SpaceEntity FindSpaceEntityById(ulong EntityId)
|
|
438
|
+
{
|
|
439
|
+
var _value = csp_common_IRealtimeEngine_FindSpaceEntityById_SpaceEntityP_uint64_t(_ptr, EntityId);
|
|
440
|
+
|
|
441
|
+
if (_value.Equals(NativePointer.Zero))
|
|
442
|
+
return null;
|
|
443
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
444
|
+
;
|
|
445
|
+
|
|
446
|
+
return _result;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/// <summary>Finds the first found SpaceEntity of a matching Name. The found SpaceEntity will contain an AvatarSpaceComponent.</summary>
|
|
450
|
+
/// <param name="Name">The name to search for.</param>
|
|
451
|
+
/// <returns>A pointer to the first found matching SpaceEntity.</returns>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
public virtual Csp.Multiplayer.SpaceEntity FindSpaceAvatar(string Name)
|
|
455
|
+
{
|
|
456
|
+
var _value = csp_common_IRealtimeEngine_FindSpaceAvatar_SpaceEntityP_StringRC(
|
|
457
|
+
_ptr,
|
|
458
|
+
WrapperHelper.StringToNativeUTF8(Name)
|
|
459
|
+
);
|
|
460
|
+
|
|
461
|
+
if (_value.Equals(NativePointer.Zero))
|
|
462
|
+
return null;
|
|
463
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
464
|
+
;
|
|
465
|
+
|
|
466
|
+
return _result;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/// <summary>Finds the first found SpaceEntity of a matching Name. The found SpaceEntity will not contain an AvatarSpaceComponent.</summary>
|
|
470
|
+
/// <param name="Name">The name to search for.</param>
|
|
471
|
+
/// <returns>A pointer to the first found matching SpaceEntity.</returns>
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
public virtual Csp.Multiplayer.SpaceEntity FindSpaceObject(string Name)
|
|
475
|
+
{
|
|
476
|
+
var _value = csp_common_IRealtimeEngine_FindSpaceObject_SpaceEntityP_StringRC(
|
|
477
|
+
_ptr,
|
|
478
|
+
WrapperHelper.StringToNativeUTF8(Name)
|
|
479
|
+
);
|
|
480
|
+
|
|
481
|
+
if (_value.Equals(NativePointer.Zero))
|
|
482
|
+
return null;
|
|
483
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
484
|
+
;
|
|
485
|
+
|
|
486
|
+
return _result;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/// <summary>Get an Entity by its index.</summary>
|
|
490
|
+
/// <remarks>/// @param EntityIndex size_t : The index of the entity to get.</remarks>
|
|
491
|
+
/// <returns>A non-owning pointer to the entity at the given index.</returns>
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
public virtual Csp.Multiplayer.SpaceEntity GetEntityByIndex(ulong EntityIndex)
|
|
495
|
+
{
|
|
496
|
+
var _value = csp_common_IRealtimeEngine_GetEntityByIndex_SpaceEntityP_size_t(_ptr, EntityIndex);
|
|
497
|
+
|
|
498
|
+
if (_value.Equals(NativePointer.Zero))
|
|
499
|
+
return null;
|
|
500
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
501
|
+
;
|
|
502
|
+
|
|
503
|
+
return _result;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/// <summary>Get an Avatar by its index. The returned pointer will be an entity that contains an AvatarSpaceComponent.</summary>
|
|
507
|
+
/// <remarks>/// @param AvatarIndex size_t : The index of the avatar entity to get.</remarks>
|
|
508
|
+
/// <returns>A non-owning pointer to the avatar entity with the given index.</returns>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
public virtual Csp.Multiplayer.SpaceEntity GetAvatarByIndex(ulong AvatarIndex)
|
|
512
|
+
{
|
|
513
|
+
var _value = csp_common_IRealtimeEngine_GetAvatarByIndex_SpaceEntityP_size_t(_ptr, AvatarIndex);
|
|
514
|
+
|
|
515
|
+
if (_value.Equals(NativePointer.Zero))
|
|
516
|
+
return null;
|
|
517
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
518
|
+
;
|
|
519
|
+
|
|
520
|
+
return _result;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/// <summary>Get an Object by its index. The returned pointer will be an entity that does not contain an AvatarSpaceComponent.</summary>
|
|
524
|
+
/// <remarks>/// @param ObjectIndex size_t : The index of the object entity to get.</remarks>
|
|
525
|
+
/// <returns>A non-owning pointer to the object entity with the given index.</returns>
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
public virtual Csp.Multiplayer.SpaceEntity GetObjectByIndex(ulong ObjectIndex)
|
|
529
|
+
{
|
|
530
|
+
var _value = csp_common_IRealtimeEngine_GetObjectByIndex_SpaceEntityP_size_t(_ptr, ObjectIndex);
|
|
531
|
+
|
|
532
|
+
if (_value.Equals(NativePointer.Zero))
|
|
533
|
+
return null;
|
|
534
|
+
var _result = new Csp.Multiplayer.SpaceEntity(_value);
|
|
535
|
+
;
|
|
536
|
+
|
|
537
|
+
return _result;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/// <summary>Get the number of total entities in the system.</summary>
|
|
541
|
+
/// <returns>The total number of entities.</returns>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
public virtual ulong GetNumEntities()
|
|
545
|
+
{
|
|
546
|
+
var _value = csp_common_IRealtimeEngine_GetNumEntitiesC_size_t(_ptr);
|
|
547
|
+
|
|
548
|
+
var _result = _value;
|
|
549
|
+
|
|
550
|
+
return _result;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/// <summary>Get the number of total Avatars in the system. Avatars are entities that contain AvatarSpaceComponents.</summary>
|
|
554
|
+
/// <returns>The total number of Avatar entities.</returns>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
public virtual ulong GetNumAvatars()
|
|
558
|
+
{
|
|
559
|
+
var _value = csp_common_IRealtimeEngine_GetNumAvatarsC_size_t(_ptr);
|
|
560
|
+
|
|
561
|
+
var _result = _value;
|
|
562
|
+
|
|
563
|
+
return _result;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/// <summary>Get the number of total Objects in the system. Objects are entities that do not contain AvatarSpaceComponents.</summary>
|
|
567
|
+
/// <returns>The total number of object entities.</returns>
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
public virtual ulong GetNumObjects()
|
|
571
|
+
{
|
|
572
|
+
var _value = csp_common_IRealtimeEngine_GetNumObjectsC_size_t(_ptr);
|
|
573
|
+
|
|
574
|
+
var _result = _value;
|
|
575
|
+
|
|
576
|
+
return _result;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/// <summary>Retrieves all entities that exist at the root level (do not have a parent entity).</summary>
|
|
580
|
+
/// <returns>A list of root entities containing non-owning pointers to entities.</returns>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
public virtual Csp.Common.List<Csp.Multiplayer.SpaceEntity> GetRootHierarchyEntities()
|
|
584
|
+
{
|
|
585
|
+
var _value = csp_common_IRealtimeEngine_GetRootHierarchyEntitiesC_ListPC(_ptr);
|
|
586
|
+
|
|
587
|
+
if (_value.Equals(NativePointer.Zero))
|
|
588
|
+
return null;
|
|
589
|
+
var _result = new Csp.Common.List<Csp.Multiplayer.SpaceEntity>(_value);
|
|
590
|
+
;
|
|
591
|
+
|
|
592
|
+
return _result;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/// <summary>Adds an entity to a list of entities to be updated when ProcessPendingEntityOperations is called.</summary>
|
|
596
|
+
/// <remarks>From a client perspective, ProcessPendingEntityOperations is normally called via the CSPFoundation::Tick method.</remarks>
|
|
597
|
+
/// <param name="Entity">A non-owning pointer to the entity to be marked.</param>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
public virtual void MarkEntityForUpdate(Csp.Multiplayer.SpaceEntity Entity)
|
|
601
|
+
{
|
|
602
|
+
csp_common_IRealtimeEngine_MarkEntityForUpdate_void_SpaceEntityP(_ptr, Entity._ptr);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/// <summary>Applies any pending changes to entities that have been marked for update.</summary>
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
public virtual void ProcessPendingEntityOperations()
|
|
609
|
+
{
|
|
610
|
+
csp_common_IRealtimeEngine_ProcessPendingEntityOperations_void(_ptr);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|