connected-spaces-platform.web 6.6.0 → 6.7.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 +3 -5
- 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 +11 -44
- package/connectedspacesplatform.js +12 -55
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +13 -68
- package/package.json +1 -1
|
Binary file
|
|
@@ -3418,7 +3418,7 @@ export declare namespace Common {
|
|
|
3418
3418
|
constructor(pointer: NativePointer);
|
|
3419
3419
|
/**
|
|
3420
3420
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
3421
|
-
*
|
|
3421
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
3422
3422
|
*/
|
|
3423
3423
|
static create(): ReplicatedValue;
|
|
3424
3424
|
/**
|
|
@@ -3458,38 +3458,13 @@ export declare namespace Common {
|
|
|
3458
3458
|
static create_vector4Value(vector4Value: Common.Vector4): ReplicatedValue;
|
|
3459
3459
|
/**
|
|
3460
3460
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
3461
|
-
* @param
|
|
3461
|
+
* @param inValue - Initial value.
|
|
3462
3462
|
*/
|
|
3463
|
-
static
|
|
3464
|
-
/**
|
|
3465
|
-
* @description Copy constructor
|
|
3466
|
-
* @param other - The value to copy.
|
|
3467
|
-
*/
|
|
3468
|
-
static create_other(other: Common.ReplicatedValue): ReplicatedValue;
|
|
3463
|
+
static create_value(value: Common.Map<string, Common.ReplicatedValue>): ReplicatedValue;
|
|
3469
3464
|
/**
|
|
3470
3465
|
* @description Destroys the replicated value instance.
|
|
3471
3466
|
*/
|
|
3472
3467
|
delete(): void;
|
|
3473
|
-
/**
|
|
3474
|
-
* @description Assignment operator overload.
|
|
3475
|
-
* @param inValue - Other replicated value to set this one to.
|
|
3476
|
-
*/
|
|
3477
|
-
/**
|
|
3478
|
-
* @description Equality operator overload.
|
|
3479
|
-
* @param replicatedValue - Other value to compare to.
|
|
3480
|
-
*/
|
|
3481
|
-
/**
|
|
3482
|
-
* @description Non equality operator overload.
|
|
3483
|
-
* @param replicatedValue - Other value to compare to.
|
|
3484
|
-
*/
|
|
3485
|
-
/**
|
|
3486
|
-
* @description Less than operator overload.
|
|
3487
|
-
* @param replicatedValue - Other value to compare to.
|
|
3488
|
-
*/
|
|
3489
|
-
/**
|
|
3490
|
-
* @description Greater than operator overload.
|
|
3491
|
-
* @param replicatedValue - Other value to compare to.
|
|
3492
|
-
*/
|
|
3493
3468
|
/**
|
|
3494
3469
|
* @description Gets the type of replicated value.
|
|
3495
3470
|
* @return Enum representing all supported replication base types.
|
|
@@ -3502,8 +3477,7 @@ export declare namespace Common {
|
|
|
3502
3477
|
setBool(value: boolean): void;
|
|
3503
3478
|
/**
|
|
3504
3479
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
3505
|
-
*
|
|
3506
|
-
* /// @return bool
|
|
3480
|
+
* @return Bool
|
|
3507
3481
|
*/
|
|
3508
3482
|
getBool(): boolean;
|
|
3509
3483
|
/**
|
|
@@ -3513,8 +3487,7 @@ export declare namespace Common {
|
|
|
3513
3487
|
setFloat(value: number): void;
|
|
3514
3488
|
/**
|
|
3515
3489
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
3516
|
-
*
|
|
3517
|
-
* /// @return float value
|
|
3490
|
+
* @return Float value
|
|
3518
3491
|
*/
|
|
3519
3492
|
getFloat(): number;
|
|
3520
3493
|
/**
|
|
@@ -3524,15 +3497,13 @@ export declare namespace Common {
|
|
|
3524
3497
|
setInt(value: bigint): void;
|
|
3525
3498
|
/**
|
|
3526
3499
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
3527
|
-
*
|
|
3528
|
-
* /// @return int64 value
|
|
3500
|
+
* @return Int64 value
|
|
3529
3501
|
*/
|
|
3530
3502
|
getInt(): bigint;
|
|
3531
3503
|
setString(value: string): void;
|
|
3532
3504
|
/**
|
|
3533
3505
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
3534
|
-
*
|
|
3535
|
-
* /// @return csp::common::String&
|
|
3506
|
+
* @return Csp::common::string&
|
|
3536
3507
|
*/
|
|
3537
3508
|
getString(): string;
|
|
3538
3509
|
/**
|
|
@@ -3541,8 +3512,7 @@ export declare namespace Common {
|
|
|
3541
3512
|
setVector2(value: Common.Vector2): void;
|
|
3542
3513
|
/**
|
|
3543
3514
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
3544
|
-
*
|
|
3545
|
-
* /// @return csp::common::Vector2
|
|
3515
|
+
* @return Csp::common::vector2
|
|
3546
3516
|
*/
|
|
3547
3517
|
getVector2(): Common.Vector2;
|
|
3548
3518
|
/**
|
|
@@ -3551,8 +3521,7 @@ export declare namespace Common {
|
|
|
3551
3521
|
setVector3(value: Common.Vector3): void;
|
|
3552
3522
|
/**
|
|
3553
3523
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
3554
|
-
*
|
|
3555
|
-
* /// @return csp::common::Vector3
|
|
3524
|
+
* @return Csp::common::vector3
|
|
3556
3525
|
*/
|
|
3557
3526
|
getVector3(): Common.Vector3;
|
|
3558
3527
|
/**
|
|
@@ -3561,15 +3530,13 @@ export declare namespace Common {
|
|
|
3561
3530
|
setVector4(value: Common.Vector4): void;
|
|
3562
3531
|
/**
|
|
3563
3532
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
3564
|
-
*
|
|
3565
|
-
* /// @return csp::common::Vector4
|
|
3533
|
+
* @return Csp::common::vector4
|
|
3566
3534
|
*/
|
|
3567
3535
|
getVector4(): Common.Vector4;
|
|
3568
3536
|
/**
|
|
3569
3537
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
3570
3538
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
3571
|
-
*
|
|
3572
|
-
* /// @return csp::common::Map
|
|
3539
|
+
* @return Csp::common::map
|
|
3573
3540
|
*/
|
|
3574
3541
|
getStringMap(): Common.Map<string, Common.ReplicatedValue>;
|
|
3575
3542
|
/**
|
|
@@ -9300,7 +9300,7 @@ export class CSPFoundation {
|
|
|
9300
9300
|
}
|
|
9301
9301
|
/**
|
|
9302
9302
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
9303
|
-
*
|
|
9303
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
9304
9304
|
*/
|
|
9305
9305
|
static create() {
|
|
9306
9306
|
var _ptr = Module._malloc(8);
|
|
@@ -9380,21 +9380,11 @@ export class CSPFoundation {
|
|
|
9380
9380
|
}
|
|
9381
9381
|
/**
|
|
9382
9382
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
9383
|
-
* @param
|
|
9383
|
+
* @param inValue - Initial value.
|
|
9384
9384
|
*/
|
|
9385
|
-
static
|
|
9385
|
+
static create_value(value) {
|
|
9386
9386
|
var _ptr = Module._malloc(8);
|
|
9387
|
-
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr,
|
|
9388
|
-
var _nPtr = getNativePointer(_ptr);
|
|
9389
|
-
return new ReplicatedValue(_nPtr);
|
|
9390
|
-
}
|
|
9391
|
-
/**
|
|
9392
|
-
* @description Copy constructor
|
|
9393
|
-
* @param other - The value to copy.
|
|
9394
|
-
*/
|
|
9395
|
-
static create_other(other) {
|
|
9396
|
-
var _ptr = Module._malloc(8);
|
|
9397
|
-
Module.ccall("csp_common_ReplicatedValue_Ctor_ReplicatedValueRC", "void", ["number", "number"], [_ptr, other.pointer]);
|
|
9387
|
+
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr, value.pointer]);
|
|
9398
9388
|
var _nPtr = getNativePointer(_ptr);
|
|
9399
9389
|
return new ReplicatedValue(_nPtr);
|
|
9400
9390
|
}
|
|
@@ -9407,31 +9397,6 @@ export class CSPFoundation {
|
|
|
9407
9397
|
this.disposed = true;
|
|
9408
9398
|
}
|
|
9409
9399
|
}
|
|
9410
|
-
/**
|
|
9411
|
-
* @description Assignment operator overload.
|
|
9412
|
-
* @param inValue - Other replicated value to set this one to.
|
|
9413
|
-
*/
|
|
9414
|
-
// operator=
|
|
9415
|
-
/**
|
|
9416
|
-
* @description Equality operator overload.
|
|
9417
|
-
* @param replicatedValue - Other value to compare to.
|
|
9418
|
-
*/
|
|
9419
|
-
// operator==
|
|
9420
|
-
/**
|
|
9421
|
-
* @description Non equality operator overload.
|
|
9422
|
-
* @param replicatedValue - Other value to compare to.
|
|
9423
|
-
*/
|
|
9424
|
-
// operator!=
|
|
9425
|
-
/**
|
|
9426
|
-
* @description Less than operator overload.
|
|
9427
|
-
* @param replicatedValue - Other value to compare to.
|
|
9428
|
-
*/
|
|
9429
|
-
// operator<
|
|
9430
|
-
/**
|
|
9431
|
-
* @description Greater than operator overload.
|
|
9432
|
-
* @param replicatedValue - Other value to compare to.
|
|
9433
|
-
*/
|
|
9434
|
-
// operator>
|
|
9435
9400
|
/**
|
|
9436
9401
|
* @description Gets the type of replicated value.
|
|
9437
9402
|
* @return Enum representing all supported replication base types.
|
|
@@ -9449,8 +9414,7 @@ export class CSPFoundation {
|
|
|
9449
9414
|
}
|
|
9450
9415
|
/**
|
|
9451
9416
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
9452
|
-
*
|
|
9453
|
-
* /// @return bool
|
|
9417
|
+
* @return Bool
|
|
9454
9418
|
*/
|
|
9455
9419
|
getBool() {
|
|
9456
9420
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetBoolC_bool", "boolean", ["number"], [this.pointer]);
|
|
@@ -9467,8 +9431,7 @@ export class CSPFoundation {
|
|
|
9467
9431
|
}
|
|
9468
9432
|
/**
|
|
9469
9433
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
9470
|
-
*
|
|
9471
|
-
* /// @return float value
|
|
9434
|
+
* @return Float value
|
|
9472
9435
|
*/
|
|
9473
9436
|
getFloat() {
|
|
9474
9437
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetFloatC_float", "number", ["number"], [this.pointer]);
|
|
@@ -9485,8 +9448,7 @@ export class CSPFoundation {
|
|
|
9485
9448
|
}
|
|
9486
9449
|
/**
|
|
9487
9450
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
9488
|
-
*
|
|
9489
|
-
* /// @return int64 value
|
|
9451
|
+
* @return Int64 value
|
|
9490
9452
|
*/
|
|
9491
9453
|
getInt() {
|
|
9492
9454
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetIntC_int64_t", "bigint", ["number"], [this.pointer]);
|
|
@@ -9497,8 +9459,7 @@ export class CSPFoundation {
|
|
|
9497
9459
|
}
|
|
9498
9460
|
/**
|
|
9499
9461
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
9500
|
-
*
|
|
9501
|
-
* /// @return csp::common::String&
|
|
9462
|
+
* @return Csp::common::string&
|
|
9502
9463
|
*/
|
|
9503
9464
|
getString() {
|
|
9504
9465
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetStringC_StringRC", "number", ["number"], [this.pointer]);
|
|
@@ -9515,8 +9476,7 @@ export class CSPFoundation {
|
|
|
9515
9476
|
}
|
|
9516
9477
|
/**
|
|
9517
9478
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
9518
|
-
*
|
|
9519
|
-
* /// @return csp::common::Vector2
|
|
9479
|
+
* @return Csp::common::vector2
|
|
9520
9480
|
*/
|
|
9521
9481
|
getVector2() {
|
|
9522
9482
|
var _ret = Module._malloc(8);
|
|
@@ -9533,8 +9493,7 @@ export class CSPFoundation {
|
|
|
9533
9493
|
}
|
|
9534
9494
|
/**
|
|
9535
9495
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
9536
|
-
*
|
|
9537
|
-
* /// @return csp::common::Vector3
|
|
9496
|
+
* @return Csp::common::vector3
|
|
9538
9497
|
*/
|
|
9539
9498
|
getVector3() {
|
|
9540
9499
|
var _ret = Module._malloc(8);
|
|
@@ -9551,8 +9510,7 @@ export class CSPFoundation {
|
|
|
9551
9510
|
}
|
|
9552
9511
|
/**
|
|
9553
9512
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
9554
|
-
*
|
|
9555
|
-
* /// @return csp::common::Vector4
|
|
9513
|
+
* @return Csp::common::vector4
|
|
9556
9514
|
*/
|
|
9557
9515
|
getVector4() {
|
|
9558
9516
|
var _ret = Module._malloc(8);
|
|
@@ -9564,8 +9522,7 @@ export class CSPFoundation {
|
|
|
9564
9522
|
/**
|
|
9565
9523
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
9566
9524
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
9567
|
-
*
|
|
9568
|
-
* /// @return csp::common::Map
|
|
9525
|
+
* @return Csp::common::map
|
|
9569
9526
|
*/
|
|
9570
9527
|
getStringMap() {
|
|
9571
9528
|
var _ret = Module._malloc(8);
|