connected-spaces-platform.web 5.18.0 → 5.19.0
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/Debug/ConnectedSpacesPlatform_WASM.js +28 -30
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +25 -33
- package/connectedspacesplatform.js +56 -76
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +141 -141
- package/package.json +1 -1
|
Binary file
|
|
@@ -4138,7 +4138,7 @@ export declare namespace Multiplayer {
|
|
|
4138
4138
|
/**
|
|
4139
4139
|
* @description Creates a SpaceEntity instance using the space entity system provided.
|
|
4140
4140
|
*/
|
|
4141
|
-
static
|
|
4141
|
+
static create_entitySystem_logSystem(entitySystem: Multiplayer.SpaceEntitySystem, logSystem: Common.LogSystem): SpaceEntity;
|
|
4142
4142
|
/**
|
|
4143
4143
|
* @description Destroys the SpaceEntity instance.
|
|
4144
4144
|
*/
|
|
@@ -6268,7 +6268,7 @@ export declare namespace Multiplayer {
|
|
|
6268
6268
|
* @description Constructs the animated model space component, and associates it with the specified Parent space entity.
|
|
6269
6269
|
* @param parent - The Space entity that owns this component.
|
|
6270
6270
|
*/
|
|
6271
|
-
static
|
|
6271
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): AnimatedModelSpaceComponent;
|
|
6272
6272
|
/** @deprecated
|
|
6273
6273
|
Due to the introduction of LODs it doesn't make sense to set a specific asset anymore
|
|
6274
6274
|
*/
|
|
@@ -6430,7 +6430,7 @@ export declare namespace Multiplayer {
|
|
|
6430
6430
|
* @description Constructs the audio space component, and associates it with the specified Parent space entity.
|
|
6431
6431
|
* @param parent - The Space entity that owns this component.
|
|
6432
6432
|
*/
|
|
6433
|
-
static
|
|
6433
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): AudioSpaceComponent;
|
|
6434
6434
|
/**
|
|
6435
6435
|
* \addtogroup IPositionComponent
|
|
6436
6436
|
@{
|
|
@@ -6570,7 +6570,7 @@ export declare namespace Multiplayer {
|
|
|
6570
6570
|
* @description Constructs the avatar space component, and associates it with the specified Parent space entity.
|
|
6571
6571
|
* @param parent - The Space entity that owns this component.
|
|
6572
6572
|
*/
|
|
6573
|
-
static
|
|
6573
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): AvatarSpaceComponent;
|
|
6574
6574
|
/**
|
|
6575
6575
|
* @description Gets the ID for the avatar of this avatar component.
|
|
6576
6576
|
* NOTE: Used for selecting a specific avatar depending on the user's preferences.
|
|
@@ -6813,7 +6813,7 @@ export declare namespace Multiplayer {
|
|
|
6813
6813
|
* @description Constructs the button space component, and associates it with the specified Parent space entity.
|
|
6814
6814
|
* @param parent - The Space entity that owns this component.
|
|
6815
6815
|
*/
|
|
6816
|
-
static
|
|
6816
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ButtonSpaceComponent;
|
|
6817
6817
|
/**
|
|
6818
6818
|
* @description Gets the text of the label of this button.
|
|
6819
6819
|
* @return The text on the label of this button.
|
|
@@ -6928,7 +6928,7 @@ export declare namespace Multiplayer {
|
|
|
6928
6928
|
* @description Constructs the CinematicCamera space component, and associates it with the specified Parent space entity.
|
|
6929
6929
|
* @param parent - The Space entity that owns this component.
|
|
6930
6930
|
*/
|
|
6931
|
-
static
|
|
6931
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): CinematicCameraSpaceComponent;
|
|
6932
6932
|
/**
|
|
6933
6933
|
* @description Gived the sensor size and focal length, return the horizonal fov
|
|
6934
6934
|
* @return FOV in radians
|
|
@@ -7096,7 +7096,7 @@ export declare namespace Multiplayer {
|
|
|
7096
7096
|
* @description Constructs the collision space component, and associates it with the specified Parent space entity.
|
|
7097
7097
|
* @param parent - The Space entity that owns this component.
|
|
7098
7098
|
*/
|
|
7099
|
-
static
|
|
7099
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): CollisionSpaceComponent;
|
|
7100
7100
|
/**
|
|
7101
7101
|
* \addtogroup ITransformComponent
|
|
7102
7102
|
@{
|
|
@@ -7237,7 +7237,7 @@ export declare namespace Multiplayer {
|
|
|
7237
7237
|
* @param parent - The Space entity that owns this component. This will also register the component to the entity.
|
|
7238
7238
|
@pre Parent must not be null.
|
|
7239
7239
|
*/
|
|
7240
|
-
static
|
|
7240
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ConversationSpaceComponent;
|
|
7241
7241
|
/**
|
|
7242
7242
|
* @description Creates a conversation represented by this component.
|
|
7243
7243
|
* @param message - The message to be stored.
|
|
@@ -7488,7 +7488,7 @@ export declare namespace Multiplayer {
|
|
|
7488
7488
|
* @description Constructs the custom space component, and associates it with the specified Parent space entity.
|
|
7489
7489
|
* @param parent - The Space entity that owns this component.
|
|
7490
7490
|
*/
|
|
7491
|
-
static
|
|
7491
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): CustomSpaceComponent;
|
|
7492
7492
|
/**
|
|
7493
7493
|
* @description Gets a string that identifies the application origin.
|
|
7494
7494
|
* @return The application origin for which this component has been generated.
|
|
@@ -7554,7 +7554,7 @@ export declare namespace Multiplayer {
|
|
|
7554
7554
|
* @description Constructs the ECommerce space component, and associates it with the specified Parent space entity.
|
|
7555
7555
|
* @param parent - The Space entity that owns this component.
|
|
7556
7556
|
*/
|
|
7557
|
-
static
|
|
7557
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ECommerceSpaceComponent;
|
|
7558
7558
|
/**
|
|
7559
7559
|
* \addtogroup ITransformComponent
|
|
7560
7560
|
@{
|
|
@@ -7592,7 +7592,7 @@ export declare namespace Multiplayer {
|
|
|
7592
7592
|
* @description Creates an external link component that can be added to an existing space entity.
|
|
7593
7593
|
* @param parent - - The space entity to which this new component will belong to.
|
|
7594
7594
|
*/
|
|
7595
|
-
static
|
|
7595
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ExternalLinkSpaceComponent;
|
|
7596
7596
|
/**
|
|
7597
7597
|
* @description Gets the name of this external link component.
|
|
7598
7598
|
*/
|
|
@@ -7706,7 +7706,7 @@ export declare namespace Multiplayer {
|
|
|
7706
7706
|
* @description Constructs the fiducial marker space component, and associates it with the specified Parent space entity.
|
|
7707
7707
|
* @param parent - The Space entity that owns this component.
|
|
7708
7708
|
*/
|
|
7709
|
-
static
|
|
7709
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): FiducialMarkerSpaceComponent;
|
|
7710
7710
|
/**
|
|
7711
7711
|
* @description Gets the name of this fiducial marker space component.
|
|
7712
7712
|
* @return The name of this fiducial marker space component.
|
|
@@ -7814,7 +7814,7 @@ export declare namespace Multiplayer {
|
|
|
7814
7814
|
* @description Constructs the fog space component, and associates it with the specified Parent space entity.
|
|
7815
7815
|
* @param parent - The Space entity that owns this component.
|
|
7816
7816
|
*/
|
|
7817
|
-
static
|
|
7817
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): FogSpaceComponent;
|
|
7818
7818
|
/**
|
|
7819
7819
|
* @description Retrieves the type of fog currently used by this fog component.
|
|
7820
7820
|
* @return The modality of fog currently used by this component.
|
|
@@ -7994,7 +7994,7 @@ export declare namespace Multiplayer {
|
|
|
7994
7994
|
* @description Constructs the Gaussian Splat component, and associates it with the specified Parent space entity.
|
|
7995
7995
|
* @param parent - The Space entity that owns this component.
|
|
7996
7996
|
*/
|
|
7997
|
-
static
|
|
7997
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): GaussianSplatSpaceComponent;
|
|
7998
7998
|
/**
|
|
7999
7999
|
* @description Gets the ID of the asset associated with this component.
|
|
8000
8000
|
* NOTE: To retrieve this component's gaussian splat asset, both the Asset ID and the Asset Collection ID are required.
|
|
@@ -8115,7 +8115,7 @@ export declare namespace Multiplayer {
|
|
|
8115
8115
|
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
8116
8116
|
* @param parent - The Space entity that owns this component.
|
|
8117
8117
|
*/
|
|
8118
|
-
static
|
|
8118
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): HotspotSpaceComponent;
|
|
8119
8119
|
/**
|
|
8120
8120
|
* @description Gets the Name of the Hotspot.
|
|
8121
8121
|
* @return The Name of the Hotspot.
|
|
@@ -8212,7 +8212,7 @@ export declare namespace Multiplayer {
|
|
|
8212
8212
|
* @description Constructs the image space component, and associates it with the specified Parent space entity.
|
|
8213
8213
|
* @param parent - The Space entity that owns this component.
|
|
8214
8214
|
*/
|
|
8215
|
-
static
|
|
8215
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ImageSpaceComponent;
|
|
8216
8216
|
/**
|
|
8217
8217
|
* @description Gets the name of this image space component.
|
|
8218
8218
|
* @return The name of this image space component.
|
|
@@ -8351,7 +8351,7 @@ export declare namespace Multiplayer {
|
|
|
8351
8351
|
* @description Constructs the light space component, and associates it with the specified Parent space entity.
|
|
8352
8352
|
* @param parent - The Space entity that owns this component.
|
|
8353
8353
|
*/
|
|
8354
|
-
static
|
|
8354
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): LightSpaceComponent;
|
|
8355
8355
|
/**
|
|
8356
8356
|
* @description Gets the type of light of this light component.
|
|
8357
8357
|
* @return The type of light of this light component.
|
|
@@ -8515,7 +8515,7 @@ export declare namespace Multiplayer {
|
|
|
8515
8515
|
* @description Constructs the portal space component, and associates it with the specified Parent space entity.
|
|
8516
8516
|
* @param parent - The Space entity that owns this component.
|
|
8517
8517
|
*/
|
|
8518
|
-
static
|
|
8518
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): PortalSpaceComponent;
|
|
8519
8519
|
/**
|
|
8520
8520
|
* @description Retrieves the space ID that this portal points to.
|
|
8521
8521
|
* NOTE: When the user uses the portal, it should be able to leave the current space and enter the one
|
|
@@ -8561,14 +8561,6 @@ export declare namespace Multiplayer {
|
|
|
8561
8561
|
@copydoc IEnableableComponent::SetIsEnabled()
|
|
8562
8562
|
*/
|
|
8563
8563
|
setIsEnabled(value: boolean): void;
|
|
8564
|
-
/**
|
|
8565
|
-
@}
|
|
8566
|
-
* @description Retrieves the space thumbnail information associated with the space.
|
|
8567
|
-
* If the space does not have a thumbnail associated with it the result callback will be successful, the
|
|
8568
|
-
* HTTP res code will be ResponseNotFound and the Uri field inside the UriResult will be empty.
|
|
8569
|
-
* @param callback - Callback when asynchronous task finishes
|
|
8570
|
-
*/
|
|
8571
|
-
getSpaceThumbnail(): Promise<Systems.UriResult>;
|
|
8572
8564
|
delete(): void;
|
|
8573
8565
|
}
|
|
8574
8566
|
}
|
|
@@ -8585,7 +8577,7 @@ export declare namespace Multiplayer {
|
|
|
8585
8577
|
* @description Constructs the reflection component, and associates it with the specified Parent space entity.
|
|
8586
8578
|
* @param parent - The Space entity that owns this component.
|
|
8587
8579
|
*/
|
|
8588
|
-
static
|
|
8580
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ReflectionSpaceComponent;
|
|
8589
8581
|
/**
|
|
8590
8582
|
* @description Get the name of the Reflection component.
|
|
8591
8583
|
* @return Csp::common::string specifying the component name.
|
|
@@ -8687,7 +8679,7 @@ export declare namespace Multiplayer {
|
|
|
8687
8679
|
* @description Constructs the script space component, and associates it with the specified Parent space entity.
|
|
8688
8680
|
* @param parent - The Space entity that owns this component.
|
|
8689
8681
|
*/
|
|
8690
|
-
static
|
|
8682
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): ScriptSpaceComponent;
|
|
8691
8683
|
/**
|
|
8692
8684
|
* @description Retrieves the source of the script of this script component.
|
|
8693
8685
|
* @return The script source of this script component.
|
|
@@ -8730,7 +8722,7 @@ export declare namespace Multiplayer {
|
|
|
8730
8722
|
* @description Constructs the spline space component, and associates it with the specified Parent space entity.
|
|
8731
8723
|
* @param parent - The Space entity that owns this component.
|
|
8732
8724
|
*/
|
|
8733
|
-
static
|
|
8725
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): SplineSpaceComponent;
|
|
8734
8726
|
/**
|
|
8735
8727
|
* @description Generate a vector3 at a chosen position along the spline
|
|
8736
8728
|
* Note: Generates a cubic spline position from current Waypoints
|
|
@@ -8768,7 +8760,7 @@ export declare namespace Multiplayer {
|
|
|
8768
8760
|
* @description Constructs the static model space component, and associates it with the specified Parent space entity.
|
|
8769
8761
|
* @param parent - The Space entity that owns this component.
|
|
8770
8762
|
*/
|
|
8771
|
-
static
|
|
8763
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): StaticModelSpaceComponent;
|
|
8772
8764
|
/** @deprecated
|
|
8773
8765
|
Due to the introduction of LODs it doesn't make sense to set a specific asset anymore
|
|
8774
8766
|
*/
|
|
@@ -8899,7 +8891,7 @@ export declare namespace Multiplayer {
|
|
|
8899
8891
|
* @description Constructs the text space component, and associates it with the specified Parent space entity.
|
|
8900
8892
|
* @param parent - The Space entity that owns this component.
|
|
8901
8893
|
*/
|
|
8902
|
-
static
|
|
8894
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): TextSpaceComponent;
|
|
8903
8895
|
/**
|
|
8904
8896
|
* @description Gets the text this text component refers to.
|
|
8905
8897
|
* @return The text this text component refers to.
|
|
@@ -9041,7 +9033,7 @@ export declare namespace Multiplayer {
|
|
|
9041
9033
|
* @description Constructs the video player component, and associates it with the specified Parent space entity.
|
|
9042
9034
|
* @param parent - The Space entity that owns this component.
|
|
9043
9035
|
*/
|
|
9044
|
-
static
|
|
9036
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): VideoPlayerSpaceComponent;
|
|
9045
9037
|
/**
|
|
9046
9038
|
* @description Gets the name of this video player.
|
|
9047
9039
|
* @return The name of this video player.
|
|
@@ -10606,7 +10598,7 @@ export declare namespace Systems {
|
|
|
10606
10598
|
/** @internal */
|
|
10607
10599
|
constructor(pointer: NativePointer);
|
|
10608
10600
|
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.HotspotSequenceSystem;
|
|
10609
|
-
static
|
|
10601
|
+
static create_sequenceSystem_spaceSystem_eventBus_logSystem(sequenceSystem: Systems.SequenceSystem, spaceSystem: Systems.SpaceSystem, eventBus: Multiplayer.EventBus, logSystem: Common.LogSystem): HotspotSequenceSystem;
|
|
10610
10602
|
/**
|
|
10611
10603
|
* @description Create a Hotspot group
|
|
10612
10604
|
* @param groupName - The unique grouping name
|
|
@@ -10764,9 +10764,9 @@ export class CSPFoundation {
|
|
|
10764
10764
|
/**
|
|
10765
10765
|
* @description Creates a SpaceEntity instance using the space entity system provided.
|
|
10766
10766
|
*/
|
|
10767
|
-
static
|
|
10767
|
+
static create_entitySystem_logSystem(entitySystem, logSystem) {
|
|
10768
10768
|
var _ptr = Module._malloc(8);
|
|
10769
|
-
Module.ccall("
|
|
10769
|
+
Module.ccall("csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP_LogSystemP", "void", ["number", "number", "number"], [_ptr, entitySystem.pointer, logSystem.pointer]);
|
|
10770
10770
|
var _nPtr = getNativePointer(_ptr);
|
|
10771
10771
|
return new SpaceEntity(_nPtr);
|
|
10772
10772
|
}
|
|
@@ -15765,9 +15765,9 @@ export class CSPFoundation {
|
|
|
15765
15765
|
* @description Constructs the animated model space component, and associates it with the specified Parent space entity.
|
|
15766
15766
|
* @param parent - The Space entity that owns this component.
|
|
15767
15767
|
*/
|
|
15768
|
-
static
|
|
15768
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
15769
15769
|
var _ptr = Module._malloc(8);
|
|
15770
|
-
Module.ccall("
|
|
15770
|
+
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
15771
15771
|
var _nPtr = getNativePointer(_ptr);
|
|
15772
15772
|
return new AnimatedModelSpaceComponent(_nPtr);
|
|
15773
15773
|
}
|
|
@@ -16041,9 +16041,9 @@ export class CSPFoundation {
|
|
|
16041
16041
|
* @description Constructs the audio space component, and associates it with the specified Parent space entity.
|
|
16042
16042
|
* @param parent - The Space entity that owns this component.
|
|
16043
16043
|
*/
|
|
16044
|
-
static
|
|
16044
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16045
16045
|
var _ptr = Module._malloc(8);
|
|
16046
|
-
Module.ccall("
|
|
16046
|
+
Module.ccall("csp_multiplayer_AudioSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16047
16047
|
var _nPtr = getNativePointer(_ptr);
|
|
16048
16048
|
return new AudioSpaceComponent(_nPtr);
|
|
16049
16049
|
}
|
|
@@ -16270,9 +16270,9 @@ export class CSPFoundation {
|
|
|
16270
16270
|
* @description Constructs the avatar space component, and associates it with the specified Parent space entity.
|
|
16271
16271
|
* @param parent - The Space entity that owns this component.
|
|
16272
16272
|
*/
|
|
16273
|
-
static
|
|
16273
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16274
16274
|
var _ptr = Module._malloc(8);
|
|
16275
|
-
Module.ccall("
|
|
16275
|
+
Module.ccall("csp_multiplayer_AvatarSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16276
16276
|
var _nPtr = getNativePointer(_ptr);
|
|
16277
16277
|
return new AvatarSpaceComponent(_nPtr);
|
|
16278
16278
|
}
|
|
@@ -16644,9 +16644,9 @@ export class CSPFoundation {
|
|
|
16644
16644
|
* @description Constructs the button space component, and associates it with the specified Parent space entity.
|
|
16645
16645
|
* @param parent - The Space entity that owns this component.
|
|
16646
16646
|
*/
|
|
16647
|
-
static
|
|
16647
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16648
16648
|
var _ptr = Module._malloc(8);
|
|
16649
|
-
Module.ccall("
|
|
16649
|
+
Module.ccall("csp_multiplayer_ButtonSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16650
16650
|
var _nPtr = getNativePointer(_ptr);
|
|
16651
16651
|
return new ButtonSpaceComponent(_nPtr);
|
|
16652
16652
|
}
|
|
@@ -16846,9 +16846,9 @@ export class CSPFoundation {
|
|
|
16846
16846
|
* @description Constructs the CinematicCamera space component, and associates it with the specified Parent space entity.
|
|
16847
16847
|
* @param parent - The Space entity that owns this component.
|
|
16848
16848
|
*/
|
|
16849
|
-
static
|
|
16849
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16850
16850
|
var _ptr = Module._malloc(8);
|
|
16851
|
-
Module.ccall("
|
|
16851
|
+
Module.ccall("csp_multiplayer_CinematicCameraSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16852
16852
|
var _nPtr = getNativePointer(_ptr);
|
|
16853
16853
|
return new CinematicCameraSpaceComponent(_nPtr);
|
|
16854
16854
|
}
|
|
@@ -17124,9 +17124,9 @@ export class CSPFoundation {
|
|
|
17124
17124
|
* @description Constructs the collision space component, and associates it with the specified Parent space entity.
|
|
17125
17125
|
* @param parent - The Space entity that owns this component.
|
|
17126
17126
|
*/
|
|
17127
|
-
static
|
|
17127
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
17128
17128
|
var _ptr = Module._malloc(8);
|
|
17129
|
-
Module.ccall("
|
|
17129
|
+
Module.ccall("csp_multiplayer_CollisionSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
17130
17130
|
var _nPtr = getNativePointer(_ptr);
|
|
17131
17131
|
return new CollisionSpaceComponent(_nPtr);
|
|
17132
17132
|
}
|
|
@@ -17380,9 +17380,9 @@ export class CSPFoundation {
|
|
|
17380
17380
|
* @param parent - The Space entity that owns this component. This will also register the component to the entity.
|
|
17381
17381
|
@pre Parent must not be null.
|
|
17382
17382
|
*/
|
|
17383
|
-
static
|
|
17383
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
17384
17384
|
var _ptr = Module._malloc(8);
|
|
17385
|
-
Module.ccall("
|
|
17385
|
+
Module.ccall("csp_multiplayer_ConversationSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
17386
17386
|
var _nPtr = getNativePointer(_ptr);
|
|
17387
17387
|
return new ConversationSpaceComponent(_nPtr);
|
|
17388
17388
|
}
|
|
@@ -18052,9 +18052,9 @@ export class CSPFoundation {
|
|
|
18052
18052
|
* @description Constructs the custom space component, and associates it with the specified Parent space entity.
|
|
18053
18053
|
* @param parent - The Space entity that owns this component.
|
|
18054
18054
|
*/
|
|
18055
|
-
static
|
|
18055
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18056
18056
|
var _ptr = Module._malloc(8);
|
|
18057
|
-
Module.ccall("
|
|
18057
|
+
Module.ccall("csp_multiplayer_CustomSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18058
18058
|
var _nPtr = getNativePointer(_ptr);
|
|
18059
18059
|
return new CustomSpaceComponent(_nPtr);
|
|
18060
18060
|
}
|
|
@@ -18170,9 +18170,9 @@ export class CSPFoundation {
|
|
|
18170
18170
|
* @description Constructs the ECommerce space component, and associates it with the specified Parent space entity.
|
|
18171
18171
|
* @param parent - The Space entity that owns this component.
|
|
18172
18172
|
*/
|
|
18173
|
-
static
|
|
18173
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18174
18174
|
var _ptr = Module._malloc(8);
|
|
18175
|
-
Module.ccall("
|
|
18175
|
+
Module.ccall("csp_multiplayer_ECommerceSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18176
18176
|
var _nPtr = getNativePointer(_ptr);
|
|
18177
18177
|
return new ECommerceSpaceComponent(_nPtr);
|
|
18178
18178
|
}
|
|
@@ -18240,9 +18240,9 @@ export class CSPFoundation {
|
|
|
18240
18240
|
* @description Creates an external link component that can be added to an existing space entity.
|
|
18241
18241
|
* @param parent - - The space entity to which this new component will belong to.
|
|
18242
18242
|
*/
|
|
18243
|
-
static
|
|
18243
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18244
18244
|
var _ptr = Module._malloc(8);
|
|
18245
|
-
Module.ccall("
|
|
18245
|
+
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18246
18246
|
var _nPtr = getNativePointer(_ptr);
|
|
18247
18247
|
return new ExternalLinkSpaceComponent(_nPtr);
|
|
18248
18248
|
}
|
|
@@ -18441,9 +18441,9 @@ export class CSPFoundation {
|
|
|
18441
18441
|
* @description Constructs the fiducial marker space component, and associates it with the specified Parent space entity.
|
|
18442
18442
|
* @param parent - The Space entity that owns this component.
|
|
18443
18443
|
*/
|
|
18444
|
-
static
|
|
18444
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18445
18445
|
var _ptr = Module._malloc(8);
|
|
18446
|
-
Module.ccall("
|
|
18446
|
+
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18447
18447
|
var _nPtr = getNativePointer(_ptr);
|
|
18448
18448
|
return new FiducialMarkerSpaceComponent(_nPtr);
|
|
18449
18449
|
}
|
|
@@ -18631,9 +18631,9 @@ export class CSPFoundation {
|
|
|
18631
18631
|
* @description Constructs the fog space component, and associates it with the specified Parent space entity.
|
|
18632
18632
|
* @param parent - The Space entity that owns this component.
|
|
18633
18633
|
*/
|
|
18634
|
-
static
|
|
18634
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18635
18635
|
var _ptr = Module._malloc(8);
|
|
18636
|
-
Module.ccall("
|
|
18636
|
+
Module.ccall("csp_multiplayer_FogSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18637
18637
|
var _nPtr = getNativePointer(_ptr);
|
|
18638
18638
|
return new FogSpaceComponent(_nPtr);
|
|
18639
18639
|
}
|
|
@@ -18930,9 +18930,9 @@ export class CSPFoundation {
|
|
|
18930
18930
|
* @description Constructs the Gaussian Splat component, and associates it with the specified Parent space entity.
|
|
18931
18931
|
* @param parent - The Space entity that owns this component.
|
|
18932
18932
|
*/
|
|
18933
|
-
static
|
|
18933
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18934
18934
|
var _ptr = Module._malloc(8);
|
|
18935
|
-
Module.ccall("
|
|
18935
|
+
Module.ccall("csp_multiplayer_GaussianSplatSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18936
18936
|
var _nPtr = getNativePointer(_ptr);
|
|
18937
18937
|
return new GaussianSplatSpaceComponent(_nPtr);
|
|
18938
18938
|
}
|
|
@@ -19138,9 +19138,9 @@ export class CSPFoundation {
|
|
|
19138
19138
|
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
19139
19139
|
* @param parent - The Space entity that owns this component.
|
|
19140
19140
|
*/
|
|
19141
|
-
static
|
|
19141
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19142
19142
|
var _ptr = Module._malloc(8);
|
|
19143
|
-
Module.ccall("
|
|
19143
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19144
19144
|
var _nPtr = getNativePointer(_ptr);
|
|
19145
19145
|
return new HotspotSpaceComponent(_nPtr);
|
|
19146
19146
|
}
|
|
@@ -19301,9 +19301,9 @@ export class CSPFoundation {
|
|
|
19301
19301
|
* @description Constructs the image space component, and associates it with the specified Parent space entity.
|
|
19302
19302
|
* @param parent - The Space entity that owns this component.
|
|
19303
19303
|
*/
|
|
19304
|
-
static
|
|
19304
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19305
19305
|
var _ptr = Module._malloc(8);
|
|
19306
|
-
Module.ccall("
|
|
19306
|
+
Module.ccall("csp_multiplayer_ImageSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19307
19307
|
var _nPtr = getNativePointer(_ptr);
|
|
19308
19308
|
return new ImageSpaceComponent(_nPtr);
|
|
19309
19309
|
}
|
|
@@ -19537,9 +19537,9 @@ export class CSPFoundation {
|
|
|
19537
19537
|
* @description Constructs the light space component, and associates it with the specified Parent space entity.
|
|
19538
19538
|
* @param parent - The Space entity that owns this component.
|
|
19539
19539
|
*/
|
|
19540
|
-
static
|
|
19540
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19541
19541
|
var _ptr = Module._malloc(8);
|
|
19542
|
-
Module.ccall("
|
|
19542
|
+
Module.ccall("csp_multiplayer_LightSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19543
19543
|
var _nPtr = getNativePointer(_ptr);
|
|
19544
19544
|
return new LightSpaceComponent(_nPtr);
|
|
19545
19545
|
}
|
|
@@ -19818,9 +19818,9 @@ export class CSPFoundation {
|
|
|
19818
19818
|
* @description Constructs the portal space component, and associates it with the specified Parent space entity.
|
|
19819
19819
|
* @param parent - The Space entity that owns this component.
|
|
19820
19820
|
*/
|
|
19821
|
-
static
|
|
19821
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19822
19822
|
var _ptr = Module._malloc(8);
|
|
19823
|
-
Module.ccall("
|
|
19823
|
+
Module.ccall("csp_multiplayer_PortalSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19824
19824
|
var _nPtr = getNativePointer(_ptr);
|
|
19825
19825
|
return new PortalSpaceComponent(_nPtr);
|
|
19826
19826
|
}
|
|
@@ -19897,32 +19897,6 @@ export class CSPFoundation {
|
|
|
19897
19897
|
setIsEnabled(value) {
|
|
19898
19898
|
Module.ccall("csp_multiplayer_PortalSpaceComponent_SetIsEnabled_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19899
19899
|
}
|
|
19900
|
-
/**
|
|
19901
|
-
@}
|
|
19902
|
-
* @description Retrieves the space thumbnail information associated with the space.
|
|
19903
|
-
* If the space does not have a thumbnail associated with it the result callback will be successful, the
|
|
19904
|
-
* HTTP res code will be ResponseNotFound and the Uri field inside the UriResult will be empty.
|
|
19905
|
-
* @param callback - Callback when asynchronous task finishes
|
|
19906
|
-
*/
|
|
19907
|
-
async getSpaceThumbnail() {
|
|
19908
|
-
var _resolve;
|
|
19909
|
-
var _promise = new Promise((_r) => {
|
|
19910
|
-
_resolve = _r;
|
|
19911
|
-
});
|
|
19912
|
-
var _callbackPtr;
|
|
19913
|
-
var _callback = (_stateObject__, result) => {
|
|
19914
|
-
var _resultPtr = getNativePointer(result);
|
|
19915
|
-
var _resultInstance = new Systems.UriResult(_resultPtr);
|
|
19916
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
19917
|
-
return;
|
|
19918
|
-
}
|
|
19919
|
-
_resolve(_resultInstance);
|
|
19920
|
-
Module.removeFunction(_callbackPtr);
|
|
19921
|
-
};
|
|
19922
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
19923
|
-
Module.ccall("csp_multiplayer_PortalSpaceComponent_GetSpaceThumbnailC_void_UriResultCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
19924
|
-
return _promise;
|
|
19925
|
-
}
|
|
19926
19900
|
delete() {
|
|
19927
19901
|
if (this.ownsPointer && !this.disposed) {
|
|
19928
19902
|
Module.ccall("csp_multiplayer_PortalSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -19950,9 +19924,9 @@ export class CSPFoundation {
|
|
|
19950
19924
|
* @description Constructs the reflection component, and associates it with the specified Parent space entity.
|
|
19951
19925
|
* @param parent - The Space entity that owns this component.
|
|
19952
19926
|
*/
|
|
19953
|
-
static
|
|
19927
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19954
19928
|
var _ptr = Module._malloc(8);
|
|
19955
|
-
Module.ccall("
|
|
19929
|
+
Module.ccall("csp_multiplayer_ReflectionSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19956
19930
|
var _nPtr = getNativePointer(_ptr);
|
|
19957
19931
|
return new ReflectionSpaceComponent(_nPtr);
|
|
19958
19932
|
}
|
|
@@ -20121,9 +20095,9 @@ export class CSPFoundation {
|
|
|
20121
20095
|
* @description Constructs the script space component, and associates it with the specified Parent space entity.
|
|
20122
20096
|
* @param parent - The Space entity that owns this component.
|
|
20123
20097
|
*/
|
|
20124
|
-
static
|
|
20098
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20125
20099
|
var _ptr = Module._malloc(8);
|
|
20126
|
-
Module.ccall("
|
|
20100
|
+
Module.ccall("csp_multiplayer_ScriptSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20127
20101
|
var _nPtr = getNativePointer(_ptr);
|
|
20128
20102
|
return new ScriptSpaceComponent(_nPtr);
|
|
20129
20103
|
}
|
|
@@ -20200,9 +20174,9 @@ export class CSPFoundation {
|
|
|
20200
20174
|
* @description Constructs the spline space component, and associates it with the specified Parent space entity.
|
|
20201
20175
|
* @param parent - The Space entity that owns this component.
|
|
20202
20176
|
*/
|
|
20203
|
-
static
|
|
20177
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20204
20178
|
var _ptr = Module._malloc(8);
|
|
20205
|
-
Module.ccall("
|
|
20179
|
+
Module.ccall("csp_multiplayer_SplineSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20206
20180
|
var _nPtr = getNativePointer(_ptr);
|
|
20207
20181
|
return new SplineSpaceComponent(_nPtr);
|
|
20208
20182
|
}
|
|
@@ -20270,9 +20244,9 @@ export class CSPFoundation {
|
|
|
20270
20244
|
* @description Constructs the static model space component, and associates it with the specified Parent space entity.
|
|
20271
20245
|
* @param parent - The Space entity that owns this component.
|
|
20272
20246
|
*/
|
|
20273
|
-
static
|
|
20247
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20274
20248
|
var _ptr = Module._malloc(8);
|
|
20275
|
-
Module.ccall("
|
|
20249
|
+
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20276
20250
|
var _nPtr = getNativePointer(_ptr);
|
|
20277
20251
|
return new StaticModelSpaceComponent(_nPtr);
|
|
20278
20252
|
}
|
|
@@ -20498,9 +20472,9 @@ export class CSPFoundation {
|
|
|
20498
20472
|
* @description Constructs the text space component, and associates it with the specified Parent space entity.
|
|
20499
20473
|
* @param parent - The Space entity that owns this component.
|
|
20500
20474
|
*/
|
|
20501
|
-
static
|
|
20475
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20502
20476
|
var _ptr = Module._malloc(8);
|
|
20503
|
-
Module.ccall("
|
|
20477
|
+
Module.ccall("csp_multiplayer_TextSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20504
20478
|
var _nPtr = getNativePointer(_ptr);
|
|
20505
20479
|
return new TextSpaceComponent(_nPtr);
|
|
20506
20480
|
}
|
|
@@ -20746,9 +20720,9 @@ export class CSPFoundation {
|
|
|
20746
20720
|
* @description Constructs the video player component, and associates it with the specified Parent space entity.
|
|
20747
20721
|
* @param parent - The Space entity that owns this component.
|
|
20748
20722
|
*/
|
|
20749
|
-
static
|
|
20723
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20750
20724
|
var _ptr = Module._malloc(8);
|
|
20751
|
-
Module.ccall("
|
|
20725
|
+
Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20752
20726
|
var _nPtr = getNativePointer(_ptr);
|
|
20753
20727
|
return new VideoPlayerSpaceComponent(_nPtr);
|
|
20754
20728
|
}
|
|
@@ -24495,9 +24469,15 @@ export class CSPFoundation {
|
|
|
24495
24469
|
const nativeClassWrapper = baseInstance;
|
|
24496
24470
|
return new Systems.HotspotSequenceSystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
24497
24471
|
}
|
|
24498
|
-
static
|
|
24472
|
+
static create_sequenceSystem_spaceSystem_eventBus_logSystem(sequenceSystem, spaceSystem, eventBus, logSystem) {
|
|
24499
24473
|
var _ptr = Module._malloc(8);
|
|
24500
|
-
Module.ccall("
|
|
24474
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_Ctor_SequenceSystemP_SpaceSystemP_EventBusP_LogSystemR", "void", ["number", "number", "number", "number", "number"], [
|
|
24475
|
+
_ptr,
|
|
24476
|
+
sequenceSystem.pointer,
|
|
24477
|
+
spaceSystem.pointer,
|
|
24478
|
+
eventBus.pointer,
|
|
24479
|
+
logSystem.pointer,
|
|
24480
|
+
]);
|
|
24501
24481
|
var _nPtr = getNativePointer(_ptr);
|
|
24502
24482
|
return new HotspotSequenceSystem(_nPtr);
|
|
24503
24483
|
}
|