connected-spaces-platform.web 5.6.0 → 5.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 +43 -3
- 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 +8 -1
- package/connectedspacesplatform.js +54 -1
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +151 -1
- package/package.json +1 -1
|
@@ -2866,6 +2866,18 @@ function csp_common_Array_csp_common_Map_String_StringFactory(
|
|
|
2866
2866
|
ProxyClassFactories["csp_common_Array_csp_common_Map_String_String"] =
|
|
2867
2867
|
csp_common_Array_csp_common_Map_String_StringFactory;
|
|
2868
2868
|
|
|
2869
|
+
function csp_common_Array_csp_common_Array_StringFactory(
|
|
2870
|
+
nativePointer: NativePointer,
|
|
2871
|
+
): NativeClassWrapper {
|
|
2872
|
+
return new Common.Array<Common.Array<string>>(
|
|
2873
|
+
nativePointer,
|
|
2874
|
+
csp_common_Array_StringFactory,
|
|
2875
|
+
"csp_common_Array_String",
|
|
2876
|
+
);
|
|
2877
|
+
}
|
|
2878
|
+
ProxyClassFactories["csp_common_Array_csp_common_Array_String"] =
|
|
2879
|
+
csp_common_Array_csp_common_Array_StringFactory;
|
|
2880
|
+
|
|
2869
2881
|
function csp_common_List_csp_multiplayer_SpaceEntityFactory(
|
|
2870
2882
|
nativePointer: NativePointer,
|
|
2871
2883
|
): NativeClassWrapper {
|
|
@@ -2972,6 +2984,20 @@ function csp_common_Map_String_csp_common_Map_String_StringFactory(
|
|
|
2972
2984
|
ProxyClassFactories["csp_common_Map_String_csp_common_Map_String_String"] =
|
|
2973
2985
|
csp_common_Map_String_csp_common_Map_String_StringFactory;
|
|
2974
2986
|
|
|
2987
|
+
function csp_common_Map_String_csp_common_Array_StringFactory(
|
|
2988
|
+
nativePointer: NativePointer,
|
|
2989
|
+
): NativeClassWrapper {
|
|
2990
|
+
return new Common.Map<string, Common.Array<string>>(
|
|
2991
|
+
nativePointer,
|
|
2992
|
+
StringFactory,
|
|
2993
|
+
"String",
|
|
2994
|
+
csp_common_Array_StringFactory,
|
|
2995
|
+
"csp_common_Array_String",
|
|
2996
|
+
);
|
|
2997
|
+
}
|
|
2998
|
+
ProxyClassFactories["csp_common_Map_String_csp_common_Array_String"] =
|
|
2999
|
+
csp_common_Map_String_csp_common_Array_StringFactory;
|
|
3000
|
+
|
|
2975
3001
|
export namespace Systems {
|
|
2976
3002
|
/**
|
|
2977
3003
|
* @description Enum for setting csp::systems::Asset third party platform type.
|
|
@@ -51596,6 +51622,25 @@ export namespace Systems {
|
|
|
51596
51622
|
return _nPtr;
|
|
51597
51623
|
}
|
|
51598
51624
|
|
|
51625
|
+
getTags(): Common.Array<string> {
|
|
51626
|
+
var _ret = Module._malloc(8);
|
|
51627
|
+
|
|
51628
|
+
Module.ccall(
|
|
51629
|
+
"csp_systems_SpaceMetadataResult_GetTagsC_ArrayRC",
|
|
51630
|
+
"void",
|
|
51631
|
+
["number", "number"],
|
|
51632
|
+
[_ret, this.pointer],
|
|
51633
|
+
);
|
|
51634
|
+
var _nPtr = new Common.Array<string>(
|
|
51635
|
+
getNativePointer(_ret),
|
|
51636
|
+
StringFactory,
|
|
51637
|
+
"String",
|
|
51638
|
+
);
|
|
51639
|
+
Module._free(_ret);
|
|
51640
|
+
|
|
51641
|
+
return _nPtr;
|
|
51642
|
+
}
|
|
51643
|
+
|
|
51599
51644
|
delete(): void {
|
|
51600
51645
|
if (this.ownsPointer && !this.disposed) {
|
|
51601
51646
|
Module.ccall(
|
|
@@ -51658,6 +51703,27 @@ export namespace Systems {
|
|
|
51658
51703
|
return _nPtr;
|
|
51659
51704
|
}
|
|
51660
51705
|
|
|
51706
|
+
getTags(): Common.Map<string, Common.Array<string>> {
|
|
51707
|
+
var _ret = Module._malloc(8);
|
|
51708
|
+
|
|
51709
|
+
Module.ccall(
|
|
51710
|
+
"csp_systems_SpacesMetadataResult_GetTagsC_MapRC",
|
|
51711
|
+
"void",
|
|
51712
|
+
["number", "number"],
|
|
51713
|
+
[_ret, this.pointer],
|
|
51714
|
+
);
|
|
51715
|
+
var _nPtr = new Common.Map<string, Common.Array<string>>(
|
|
51716
|
+
getNativePointer(_ret),
|
|
51717
|
+
StringFactory,
|
|
51718
|
+
"String",
|
|
51719
|
+
csp_common_Array_StringFactory,
|
|
51720
|
+
"csp_common_Array_String",
|
|
51721
|
+
);
|
|
51722
|
+
Module._free(_ret);
|
|
51723
|
+
|
|
51724
|
+
return _nPtr;
|
|
51725
|
+
}
|
|
51726
|
+
|
|
51661
51727
|
delete(): void {
|
|
51662
51728
|
if (this.ownsPointer && !this.disposed) {
|
|
51663
51729
|
Module.ccall(
|
|
@@ -52948,7 +53014,8 @@ export namespace Systems {
|
|
|
52948
53014
|
* @description Updates the Space metadata information with the new one provided
|
|
52949
53015
|
* @param spaceId - ID of Space for which the metadata will be updated
|
|
52950
53016
|
* @param newMetadata - New metadata information that will replace the previous one
|
|
52951
|
-
* @param tags -
|
|
53017
|
+
* @param tags - Array of strings that will replace the tags on the space. If unset, the existing tags on
|
|
53018
|
+
* the AssetCollection will be unmodified.
|
|
52952
53019
|
* @param callback - Callback when asynchronous task finishes
|
|
52953
53020
|
*/
|
|
52954
53021
|
|
|
@@ -57040,6 +57107,24 @@ export namespace Common {
|
|
|
57040
57107
|
return _inst;
|
|
57041
57108
|
}
|
|
57042
57109
|
|
|
57110
|
+
static ofcsp_common_Array_String(): Array<Common.Array<string>> {
|
|
57111
|
+
var _ret = Module._malloc(8);
|
|
57112
|
+
Module.ccall(
|
|
57113
|
+
"csp_common_Array_Ctor_csp_common_Array_String",
|
|
57114
|
+
"void",
|
|
57115
|
+
["number"],
|
|
57116
|
+
[_ret],
|
|
57117
|
+
);
|
|
57118
|
+
var _inst = new Array<Common.Array<string>>(
|
|
57119
|
+
getNativePointer(_ret),
|
|
57120
|
+
csp_common_Array_StringFactory,
|
|
57121
|
+
"csp_common_Array_String",
|
|
57122
|
+
);
|
|
57123
|
+
Module._free(_ret);
|
|
57124
|
+
|
|
57125
|
+
return _inst;
|
|
57126
|
+
}
|
|
57127
|
+
|
|
57043
57128
|
static ofcsp_multiplayer_ReplicatedValue_number(
|
|
57044
57129
|
size: number,
|
|
57045
57130
|
): Array<Multiplayer.ReplicatedValue> {
|
|
@@ -57866,6 +57951,26 @@ export namespace Common {
|
|
|
57866
57951
|
return _inst;
|
|
57867
57952
|
}
|
|
57868
57953
|
|
|
57954
|
+
static ofcsp_common_Array_String_number(
|
|
57955
|
+
size: number,
|
|
57956
|
+
): Array<Common.Array<string>> {
|
|
57957
|
+
var _ret = Module._malloc(8);
|
|
57958
|
+
Module.ccall(
|
|
57959
|
+
"csp_common_Array_Conv_size_tC_csp_common_Array_String",
|
|
57960
|
+
"void",
|
|
57961
|
+
["number", "number"],
|
|
57962
|
+
[_ret, size],
|
|
57963
|
+
);
|
|
57964
|
+
var _inst = new Array<Common.Array<string>>(
|
|
57965
|
+
getNativePointer(_ret),
|
|
57966
|
+
csp_common_Array_StringFactory,
|
|
57967
|
+
"csp_common_Array_String",
|
|
57968
|
+
);
|
|
57969
|
+
Module._free(_ret);
|
|
57970
|
+
|
|
57971
|
+
return _inst;
|
|
57972
|
+
}
|
|
57973
|
+
|
|
57869
57974
|
delete(): void {
|
|
57870
57975
|
if (this.ownsPointer && !this.disposed) {
|
|
57871
57976
|
Module.ccall(
|
|
@@ -58378,6 +58483,29 @@ export namespace Common {
|
|
|
58378
58483
|
return _inst;
|
|
58379
58484
|
}
|
|
58380
58485
|
|
|
58486
|
+
static ofStringAndcsp_common_Array_String(): Map<
|
|
58487
|
+
string,
|
|
58488
|
+
Common.Array<string>
|
|
58489
|
+
> {
|
|
58490
|
+
var _ret = Module._malloc(8);
|
|
58491
|
+
Module.ccall(
|
|
58492
|
+
"csp_common_Map_Ctor_String_csp_common_Array_String",
|
|
58493
|
+
"void",
|
|
58494
|
+
["number"],
|
|
58495
|
+
[_ret],
|
|
58496
|
+
);
|
|
58497
|
+
var _inst = new Map<string, Common.Array<string>>(
|
|
58498
|
+
getNativePointer(_ret),
|
|
58499
|
+
StringFactory,
|
|
58500
|
+
"String",
|
|
58501
|
+
csp_common_Array_StringFactory,
|
|
58502
|
+
"csp_common_Array_String",
|
|
58503
|
+
);
|
|
58504
|
+
Module._free(_ret);
|
|
58505
|
+
|
|
58506
|
+
return _inst;
|
|
58507
|
+
}
|
|
58508
|
+
|
|
58381
58509
|
static ofUInt32Andcsp_multiplayer_ReplicatedValue_Map(
|
|
58382
58510
|
other: Common.Map<number, Multiplayer.ReplicatedValue>,
|
|
58383
58511
|
): Map<number, Multiplayer.ReplicatedValue> {
|
|
@@ -58494,6 +58622,28 @@ export namespace Common {
|
|
|
58494
58622
|
return _inst;
|
|
58495
58623
|
}
|
|
58496
58624
|
|
|
58625
|
+
static ofStringAndcsp_common_Array_String_Map(
|
|
58626
|
+
other: Common.Map<string, Common.Array<string>>,
|
|
58627
|
+
): Map<string, Common.Array<string>> {
|
|
58628
|
+
var _ret = Module._malloc(8);
|
|
58629
|
+
Module.ccall(
|
|
58630
|
+
"csp_common_Map_Ctor_MapRC_String_csp_common_Array_String",
|
|
58631
|
+
"void",
|
|
58632
|
+
["number", "number"],
|
|
58633
|
+
[_ret, other.pointer],
|
|
58634
|
+
);
|
|
58635
|
+
var _inst = new Map<string, Common.Array<string>>(
|
|
58636
|
+
getNativePointer(_ret),
|
|
58637
|
+
StringFactory,
|
|
58638
|
+
"String",
|
|
58639
|
+
csp_common_Array_StringFactory,
|
|
58640
|
+
"csp_common_Array_String",
|
|
58641
|
+
);
|
|
58642
|
+
Module._free(_ret);
|
|
58643
|
+
|
|
58644
|
+
return _inst;
|
|
58645
|
+
}
|
|
58646
|
+
|
|
58497
58647
|
delete(): void {
|
|
58498
58648
|
if (this.ownsPointer && !this.disposed) {
|
|
58499
58649
|
Module.ccall(
|
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": "5.
|
|
4
|
+
"version": "5.7.0+565",
|
|
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": {
|