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
|
@@ -21515,7 +21515,7 @@ export namespace Common {
|
|
|
21515
21515
|
|
|
21516
21516
|
/**
|
|
21517
21517
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
21518
|
-
*
|
|
21518
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
21519
21519
|
*/
|
|
21520
21520
|
static create(): ReplicatedValue {
|
|
21521
21521
|
var _ptr = Module._malloc(8);
|
|
@@ -21651,34 +21651,17 @@ export namespace Common {
|
|
|
21651
21651
|
|
|
21652
21652
|
/**
|
|
21653
21653
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
21654
|
-
* @param
|
|
21654
|
+
* @param inValue - Initial value.
|
|
21655
21655
|
*/
|
|
21656
|
-
static
|
|
21657
|
-
|
|
21656
|
+
static create_value(
|
|
21657
|
+
value: Common.Map<string, Common.ReplicatedValue>,
|
|
21658
21658
|
): ReplicatedValue {
|
|
21659
21659
|
var _ptr = Module._malloc(8);
|
|
21660
21660
|
Module.ccall(
|
|
21661
21661
|
"csp_common_ReplicatedValue_Ctor_MapRC",
|
|
21662
21662
|
"void",
|
|
21663
21663
|
["number", "number"],
|
|
21664
|
-
[_ptr,
|
|
21665
|
-
);
|
|
21666
|
-
var _nPtr = getNativePointer(_ptr);
|
|
21667
|
-
|
|
21668
|
-
return new ReplicatedValue(_nPtr);
|
|
21669
|
-
}
|
|
21670
|
-
|
|
21671
|
-
/**
|
|
21672
|
-
* @description Copy constructor
|
|
21673
|
-
* @param other - The value to copy.
|
|
21674
|
-
*/
|
|
21675
|
-
static create_other(other: Common.ReplicatedValue): ReplicatedValue {
|
|
21676
|
-
var _ptr = Module._malloc(8);
|
|
21677
|
-
Module.ccall(
|
|
21678
|
-
"csp_common_ReplicatedValue_Ctor_ReplicatedValueRC",
|
|
21679
|
-
"void",
|
|
21680
|
-
["number", "number"],
|
|
21681
|
-
[_ptr, other.pointer],
|
|
21664
|
+
[_ptr, value.pointer],
|
|
21682
21665
|
);
|
|
21683
21666
|
var _nPtr = getNativePointer(_ptr);
|
|
21684
21667
|
|
|
@@ -21701,36 +21684,6 @@ export namespace Common {
|
|
|
21701
21684
|
}
|
|
21702
21685
|
}
|
|
21703
21686
|
|
|
21704
|
-
/**
|
|
21705
|
-
* @description Assignment operator overload.
|
|
21706
|
-
* @param inValue - Other replicated value to set this one to.
|
|
21707
|
-
*/
|
|
21708
|
-
// operator=
|
|
21709
|
-
|
|
21710
|
-
/**
|
|
21711
|
-
* @description Equality operator overload.
|
|
21712
|
-
* @param replicatedValue - Other value to compare to.
|
|
21713
|
-
*/
|
|
21714
|
-
// operator==
|
|
21715
|
-
|
|
21716
|
-
/**
|
|
21717
|
-
* @description Non equality operator overload.
|
|
21718
|
-
* @param replicatedValue - Other value to compare to.
|
|
21719
|
-
*/
|
|
21720
|
-
// operator!=
|
|
21721
|
-
|
|
21722
|
-
/**
|
|
21723
|
-
* @description Less than operator overload.
|
|
21724
|
-
* @param replicatedValue - Other value to compare to.
|
|
21725
|
-
*/
|
|
21726
|
-
// operator<
|
|
21727
|
-
|
|
21728
|
-
/**
|
|
21729
|
-
* @description Greater than operator overload.
|
|
21730
|
-
* @param replicatedValue - Other value to compare to.
|
|
21731
|
-
*/
|
|
21732
|
-
// operator>
|
|
21733
|
-
|
|
21734
21687
|
/**
|
|
21735
21688
|
* @description Gets the type of replicated value.
|
|
21736
21689
|
* @return Enum representing all supported replication base types.
|
|
@@ -21763,8 +21716,7 @@ export namespace Common {
|
|
|
21763
21716
|
|
|
21764
21717
|
/**
|
|
21765
21718
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
21766
|
-
*
|
|
21767
|
-
* /// @return bool
|
|
21719
|
+
* @return Bool
|
|
21768
21720
|
*/
|
|
21769
21721
|
|
|
21770
21722
|
getBool(): boolean {
|
|
@@ -21797,8 +21749,7 @@ export namespace Common {
|
|
|
21797
21749
|
|
|
21798
21750
|
/**
|
|
21799
21751
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
21800
|
-
*
|
|
21801
|
-
* /// @return float value
|
|
21752
|
+
* @return Float value
|
|
21802
21753
|
*/
|
|
21803
21754
|
|
|
21804
21755
|
getFloat(): number {
|
|
@@ -21831,8 +21782,7 @@ export namespace Common {
|
|
|
21831
21782
|
|
|
21832
21783
|
/**
|
|
21833
21784
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
21834
|
-
*
|
|
21835
|
-
* /// @return int64 value
|
|
21785
|
+
* @return Int64 value
|
|
21836
21786
|
*/
|
|
21837
21787
|
|
|
21838
21788
|
getInt(): bigint {
|
|
@@ -21857,8 +21807,7 @@ export namespace Common {
|
|
|
21857
21807
|
|
|
21858
21808
|
/**
|
|
21859
21809
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
21860
|
-
*
|
|
21861
|
-
* /// @return csp::common::String&
|
|
21810
|
+
* @return Csp::common::string&
|
|
21862
21811
|
*/
|
|
21863
21812
|
|
|
21864
21813
|
getString(): string {
|
|
@@ -21892,8 +21841,7 @@ export namespace Common {
|
|
|
21892
21841
|
|
|
21893
21842
|
/**
|
|
21894
21843
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
21895
|
-
*
|
|
21896
|
-
* /// @return csp::common::Vector2
|
|
21844
|
+
* @return Csp::common::vector2
|
|
21897
21845
|
*/
|
|
21898
21846
|
|
|
21899
21847
|
getVector2(): Common.Vector2 {
|
|
@@ -21926,8 +21874,7 @@ export namespace Common {
|
|
|
21926
21874
|
|
|
21927
21875
|
/**
|
|
21928
21876
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
21929
|
-
*
|
|
21930
|
-
* /// @return csp::common::Vector3
|
|
21877
|
+
* @return Csp::common::vector3
|
|
21931
21878
|
*/
|
|
21932
21879
|
|
|
21933
21880
|
getVector3(): Common.Vector3 {
|
|
@@ -21960,8 +21907,7 @@ export namespace Common {
|
|
|
21960
21907
|
|
|
21961
21908
|
/**
|
|
21962
21909
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
21963
|
-
*
|
|
21964
|
-
* /// @return csp::common::Vector4
|
|
21910
|
+
* @return Csp::common::vector4
|
|
21965
21911
|
*/
|
|
21966
21912
|
|
|
21967
21913
|
getVector4(): Common.Vector4 {
|
|
@@ -21982,8 +21928,7 @@ export namespace Common {
|
|
|
21982
21928
|
/**
|
|
21983
21929
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
21984
21930
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
21985
|
-
*
|
|
21986
|
-
* /// @return csp::common::Map
|
|
21931
|
+
* @return Csp::common::map
|
|
21987
21932
|
*/
|
|
21988
21933
|
|
|
21989
21934
|
getStringMap(): Common.Map<string, Common.ReplicatedValue> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connected-spaces-platform.web",
|
|
3
3
|
"displayName": "connected-spaces-platform.web",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.7.0+622",
|
|
5
5
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|