connected-spaces-platform.web 5.15.0 → 5.16.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 +22 -18
- 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 +14 -52
- package/connectedspacesplatform.js +65 -99
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +108 -151
- package/package.json +1 -1
|
@@ -21806,7 +21806,7 @@ export namespace Multiplayer {
|
|
|
21806
21806
|
|
|
21807
21807
|
getComponentType(): Multiplayer.ComponentType {
|
|
21808
21808
|
let _result = Module.ccall(
|
|
21809
|
-
"
|
|
21809
|
+
"csp_multiplayer_ComponentBase_GetComponentTypeC_ComponentType",
|
|
21810
21810
|
"number",
|
|
21811
21811
|
["number"],
|
|
21812
21812
|
[this.pointer],
|
|
@@ -21826,7 +21826,7 @@ export namespace Multiplayer {
|
|
|
21826
21826
|
var _ret = Module._malloc(8);
|
|
21827
21827
|
|
|
21828
21828
|
Module.ccall(
|
|
21829
|
-
"
|
|
21829
|
+
"csp_multiplayer_ComponentBase_GetPropertiesC_MapPC",
|
|
21830
21830
|
"void",
|
|
21831
21831
|
["number", "number"],
|
|
21832
21832
|
[_ret, this.pointer],
|
|
@@ -25825,12 +25825,6 @@ export namespace Multiplayer {
|
|
|
25825
25825
|
[this.pointer],
|
|
25826
25826
|
);
|
|
25827
25827
|
|
|
25828
|
-
const _unfixedValue = _result;
|
|
25829
|
-
let _fixedValue =
|
|
25830
|
-
_unfixedValue < 0 ? _unfixedValue + 2 ** 16 : _unfixedValue;
|
|
25831
|
-
|
|
25832
|
-
_result = _fixedValue;
|
|
25833
|
-
|
|
25834
25828
|
return _result;
|
|
25835
25829
|
}
|
|
25836
25830
|
|
|
@@ -25925,7 +25919,7 @@ export namespace Multiplayer {
|
|
|
25925
25919
|
): AnnotationData {
|
|
25926
25920
|
var _ptr = Module._malloc(8);
|
|
25927
25921
|
Module.ccall(
|
|
25928
|
-
"
|
|
25922
|
+
"csp_multiplayer_AnnotationData_Ctor_StringRC_StringRC_double_Vector3RC_Vector4RC",
|
|
25929
25923
|
"void",
|
|
25930
25924
|
["number", "string", "string", "number", "number", "number"],
|
|
25931
25925
|
[
|
|
@@ -25957,193 +25951,122 @@ export namespace Multiplayer {
|
|
|
25957
25951
|
return new AnnotationData(_nPtr);
|
|
25958
25952
|
}
|
|
25959
25953
|
|
|
25960
|
-
|
|
25961
|
-
|
|
25962
|
-
|
|
25963
|
-
|
|
25954
|
+
delete(): void {
|
|
25955
|
+
if (this.ownsPointer && !this.disposed) {
|
|
25956
|
+
Module.ccall(
|
|
25957
|
+
"csp_multiplayer_AnnotationData_Dtor",
|
|
25958
|
+
"void",
|
|
25959
|
+
["number"],
|
|
25960
|
+
[this.pointer],
|
|
25961
|
+
);
|
|
25964
25962
|
|
|
25965
|
-
|
|
25963
|
+
this.disposed = true;
|
|
25964
|
+
}
|
|
25965
|
+
}
|
|
25966
|
+
|
|
25967
|
+
get annotationId(): string {
|
|
25966
25968
|
let _result = Module.ccall(
|
|
25967
|
-
"
|
|
25968
|
-
"
|
|
25969
|
+
"csp_multiplayer_AnnotationData__Get_AnnotationId",
|
|
25970
|
+
"string",
|
|
25969
25971
|
["number"],
|
|
25970
25972
|
[this.pointer],
|
|
25971
25973
|
);
|
|
25972
25974
|
|
|
25973
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
25974
|
-
free(_result);
|
|
25975
|
-
|
|
25976
|
-
_result = _resultString;
|
|
25977
|
-
|
|
25978
25975
|
return _result;
|
|
25979
25976
|
}
|
|
25980
25977
|
|
|
25981
|
-
|
|
25982
|
-
|
|
25983
|
-
|
|
25984
|
-
|
|
25978
|
+
set annotationId(value: string) {
|
|
25979
|
+
Module.ccall(
|
|
25980
|
+
"csp_multiplayer_AnnotationData__Set_AnnotationId",
|
|
25981
|
+
"void",
|
|
25982
|
+
["number", "string"],
|
|
25983
|
+
[this.pointer, value],
|
|
25984
|
+
);
|
|
25985
|
+
}
|
|
25985
25986
|
|
|
25986
|
-
|
|
25987
|
+
get annotationThumbnailId(): string {
|
|
25987
25988
|
let _result = Module.ccall(
|
|
25988
|
-
"
|
|
25989
|
-
"
|
|
25989
|
+
"csp_multiplayer_AnnotationData__Get_AnnotationThumbnailId",
|
|
25990
|
+
"string",
|
|
25990
25991
|
["number"],
|
|
25991
25992
|
[this.pointer],
|
|
25992
25993
|
);
|
|
25993
25994
|
|
|
25994
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
25995
|
-
free(_result);
|
|
25996
|
-
|
|
25997
|
-
_result = _resultString;
|
|
25998
|
-
|
|
25999
25995
|
return _result;
|
|
26000
25996
|
}
|
|
26001
25997
|
|
|
26002
|
-
|
|
26003
|
-
|
|
26004
|
-
|
|
26005
|
-
|
|
25998
|
+
set annotationThumbnailId(value: string) {
|
|
25999
|
+
Module.ccall(
|
|
26000
|
+
"csp_multiplayer_AnnotationData__Set_AnnotationThumbnailId",
|
|
26001
|
+
"void",
|
|
26002
|
+
["number", "string"],
|
|
26003
|
+
[this.pointer, value],
|
|
26004
|
+
);
|
|
26005
|
+
}
|
|
26006
26006
|
|
|
26007
|
-
|
|
26007
|
+
get verticalFov(): number {
|
|
26008
26008
|
let _result = Module.ccall(
|
|
26009
|
-
"
|
|
26009
|
+
"csp_multiplayer_AnnotationData__Get_VerticalFov",
|
|
26010
26010
|
"number",
|
|
26011
26011
|
["number"],
|
|
26012
26012
|
[this.pointer],
|
|
26013
26013
|
);
|
|
26014
26014
|
|
|
26015
|
-
const _unfixedValue = _result;
|
|
26016
|
-
let _fixedValue =
|
|
26017
|
-
_unfixedValue < 0 ? _unfixedValue + 2 ** 16 : _unfixedValue;
|
|
26018
|
-
_result = _fixedValue;
|
|
26019
|
-
|
|
26020
26015
|
return _result;
|
|
26021
26016
|
}
|
|
26022
26017
|
|
|
26023
|
-
|
|
26024
|
-
* @description Get the AuthorCameraPosition
|
|
26025
|
-
* @return A vector3 representing the authorcameraposition
|
|
26026
|
-
*/
|
|
26027
|
-
|
|
26028
|
-
getAuthorCameraPosition(): Common.Vector3 {
|
|
26029
|
-
var _ret = Module._malloc(8);
|
|
26030
|
-
|
|
26018
|
+
set verticalFov(value: number) {
|
|
26031
26019
|
Module.ccall(
|
|
26032
|
-
"
|
|
26020
|
+
"csp_multiplayer_AnnotationData__Set_VerticalFov",
|
|
26033
26021
|
"void",
|
|
26034
26022
|
["number", "number"],
|
|
26035
|
-
[
|
|
26023
|
+
[this.pointer, value],
|
|
26036
26024
|
);
|
|
26037
|
-
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
26038
|
-
Module._free(_ret);
|
|
26039
|
-
return _nPtr;
|
|
26040
26025
|
}
|
|
26041
26026
|
|
|
26042
|
-
|
|
26043
|
-
|
|
26044
|
-
* @return A vector4 representing the authorcamerarotation
|
|
26045
|
-
*/
|
|
26046
|
-
|
|
26047
|
-
getAuthorCameraRotation(): Common.Vector4 {
|
|
26048
|
-
var _ret = Module._malloc(8);
|
|
26049
|
-
|
|
26027
|
+
get authorCameraPosition(): Common.Vector3 {
|
|
26028
|
+
const _ptr = Module._malloc(8);
|
|
26050
26029
|
Module.ccall(
|
|
26051
|
-
"
|
|
26030
|
+
"csp_multiplayer_AnnotationData__Get_AuthorCameraPosition",
|
|
26052
26031
|
"void",
|
|
26053
26032
|
["number", "number"],
|
|
26054
|
-
[
|
|
26055
|
-
);
|
|
26056
|
-
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
26057
|
-
Module._free(_ret);
|
|
26058
|
-
return _nPtr;
|
|
26059
|
-
}
|
|
26060
|
-
|
|
26061
|
-
/**
|
|
26062
|
-
* @description Set the annotation id
|
|
26063
|
-
* @param id - Const csp::common::string& id
|
|
26064
|
-
*/
|
|
26065
|
-
|
|
26066
|
-
setAnnotationId(id: string): void {
|
|
26067
|
-
Module.ccall(
|
|
26068
|
-
"csp_multiplayer_AnnotationData_SetAnnotationId_void_StringRC",
|
|
26069
|
-
"void",
|
|
26070
|
-
["number", "string"],
|
|
26071
|
-
[this.pointer, id],
|
|
26033
|
+
[_ptr, this.pointer],
|
|
26072
26034
|
);
|
|
26073
|
-
}
|
|
26074
|
-
|
|
26075
|
-
/**
|
|
26076
|
-
* @description Set the annotation collection id
|
|
26077
|
-
* @param id - Const csp::common::string& id
|
|
26078
|
-
*/
|
|
26079
26035
|
|
|
26080
|
-
|
|
26081
|
-
|
|
26082
|
-
"csp_multiplayer_AnnotationData_SetAnnotationThumbnailId_void_StringRC",
|
|
26083
|
-
"void",
|
|
26084
|
-
["number", "string"],
|
|
26085
|
-
[this.pointer, id],
|
|
26086
|
-
);
|
|
26036
|
+
const _nPtr = getNativePointer(_ptr);
|
|
26037
|
+
return new Common.Vector3(_nPtr);
|
|
26087
26038
|
}
|
|
26088
26039
|
|
|
26089
|
-
|
|
26090
|
-
* @description Set the VerticalFov
|
|
26091
|
-
* @param inVerticalFo - InVerticalFov
|
|
26092
|
-
*/
|
|
26093
|
-
|
|
26094
|
-
setVerticalFov(verticalFov: number): void {
|
|
26095
|
-
assert(Number.isInteger(verticalFov));
|
|
26096
|
-
assert(verticalFov >= Limits.UINT16_MIN);
|
|
26097
|
-
assert(verticalFov <= Limits.UINT16_MAX);
|
|
26098
|
-
|
|
26040
|
+
set authorCameraPosition(value: Common.Vector3) {
|
|
26099
26041
|
Module.ccall(
|
|
26100
|
-
"
|
|
26042
|
+
"csp_multiplayer_AnnotationData__Set_AuthorCameraPosition",
|
|
26101
26043
|
"void",
|
|
26102
26044
|
["number", "number"],
|
|
26103
|
-
[this.pointer,
|
|
26045
|
+
[this.pointer, value.pointer],
|
|
26104
26046
|
);
|
|
26105
26047
|
}
|
|
26106
26048
|
|
|
26107
|
-
|
|
26108
|
-
|
|
26109
|
-
* @param inAuthorCameraPositio - InAuthorCameraPosition
|
|
26110
|
-
*/
|
|
26111
|
-
|
|
26112
|
-
setAuthorCameraPosition(authorCameraPosition: Common.Vector3): void {
|
|
26049
|
+
get authorCameraRotation(): Common.Vector4 {
|
|
26050
|
+
const _ptr = Module._malloc(8);
|
|
26113
26051
|
Module.ccall(
|
|
26114
|
-
"
|
|
26052
|
+
"csp_multiplayer_AnnotationData__Get_AuthorCameraRotation",
|
|
26115
26053
|
"void",
|
|
26116
26054
|
["number", "number"],
|
|
26117
|
-
[
|
|
26055
|
+
[_ptr, this.pointer],
|
|
26118
26056
|
);
|
|
26119
|
-
}
|
|
26120
26057
|
|
|
26121
|
-
|
|
26122
|
-
|
|
26123
|
-
|
|
26124
|
-
*/
|
|
26058
|
+
const _nPtr = getNativePointer(_ptr);
|
|
26059
|
+
return new Common.Vector4(_nPtr);
|
|
26060
|
+
}
|
|
26125
26061
|
|
|
26126
|
-
|
|
26062
|
+
set authorCameraRotation(value: Common.Vector4) {
|
|
26127
26063
|
Module.ccall(
|
|
26128
|
-
"
|
|
26064
|
+
"csp_multiplayer_AnnotationData__Set_AuthorCameraRotation",
|
|
26129
26065
|
"void",
|
|
26130
26066
|
["number", "number"],
|
|
26131
|
-
[this.pointer,
|
|
26067
|
+
[this.pointer, value.pointer],
|
|
26132
26068
|
);
|
|
26133
26069
|
}
|
|
26134
|
-
|
|
26135
|
-
delete(): void {
|
|
26136
|
-
if (this.ownsPointer && !this.disposed) {
|
|
26137
|
-
Module.ccall(
|
|
26138
|
-
"csp_multiplayer_AnnotationData_Dtor",
|
|
26139
|
-
"void",
|
|
26140
|
-
["number"],
|
|
26141
|
-
[this.pointer],
|
|
26142
|
-
);
|
|
26143
|
-
|
|
26144
|
-
this.disposed = true;
|
|
26145
|
-
}
|
|
26146
|
-
}
|
|
26147
26070
|
}
|
|
26148
26071
|
}
|
|
26149
26072
|
|
|
@@ -38181,26 +38104,39 @@ export namespace Multiplayer {
|
|
|
38181
38104
|
* A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.
|
|
38182
38105
|
*/
|
|
38183
38106
|
|
|
38184
|
-
getAnnotationThumbnailsForConversation(
|
|
38185
|
-
|
|
38186
|
-
|
|
38187
|
-
|
|
38188
|
-
|
|
38107
|
+
async getAnnotationThumbnailsForConversation(): Promise<Multiplayer.AnnotationThumbnailCollectionResult> {
|
|
38108
|
+
var _resolve;
|
|
38109
|
+
|
|
38110
|
+
var _promise =
|
|
38111
|
+
new Promise<Multiplayer.AnnotationThumbnailCollectionResult>((_r) => {
|
|
38112
|
+
_resolve = _r;
|
|
38113
|
+
});
|
|
38114
|
+
|
|
38115
|
+
var _callbackPtr: number;
|
|
38189
38116
|
var _callback = (_stateObject__: number, result) => {
|
|
38190
|
-
var
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38117
|
+
var _resultPtr = getNativePointer(result);
|
|
38118
|
+
var _resultInstance =
|
|
38119
|
+
new Multiplayer.AnnotationThumbnailCollectionResult(_resultPtr);
|
|
38120
|
+
|
|
38121
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
38122
|
+
return;
|
|
38123
|
+
}
|
|
38124
|
+
|
|
38125
|
+
_resolve(_resultInstance);
|
|
38126
|
+
|
|
38127
|
+
Module.removeFunction(_callbackPtr);
|
|
38194
38128
|
};
|
|
38195
38129
|
|
|
38196
|
-
|
|
38130
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
38197
38131
|
|
|
38198
38132
|
Module.ccall(
|
|
38199
38133
|
"csp_multiplayer_ConversationSpaceComponent_GetAnnotationThumbnailsForConversation_void_AnnotationThumbnailCollectionResultCallback",
|
|
38200
38134
|
"void",
|
|
38201
|
-
["number", "number"],
|
|
38202
|
-
[this.pointer,
|
|
38135
|
+
["number", "number", "number"],
|
|
38136
|
+
[this.pointer, _callbackPtr, 0],
|
|
38203
38137
|
);
|
|
38138
|
+
|
|
38139
|
+
return _promise;
|
|
38204
38140
|
}
|
|
38205
38141
|
|
|
38206
38142
|
/**
|
|
@@ -45885,6 +45821,19 @@ export namespace Systems {
|
|
|
45885
45821
|
return _nPtr;
|
|
45886
45822
|
}
|
|
45887
45823
|
|
|
45824
|
+
static create(): AssetCollectionResult {
|
|
45825
|
+
var _ptr = Module._malloc(8);
|
|
45826
|
+
Module.ccall(
|
|
45827
|
+
"csp_systems_AssetCollectionResult_Ctor",
|
|
45828
|
+
"void",
|
|
45829
|
+
["number"],
|
|
45830
|
+
[_ptr],
|
|
45831
|
+
);
|
|
45832
|
+
var _nPtr = getNativePointer(_ptr);
|
|
45833
|
+
|
|
45834
|
+
return new AssetCollectionResult(_nPtr);
|
|
45835
|
+
}
|
|
45836
|
+
|
|
45888
45837
|
delete(): void {
|
|
45889
45838
|
if (this.ownsPointer && !this.disposed) {
|
|
45890
45839
|
Module.ccall(
|
|
@@ -53244,6 +53193,14 @@ export namespace Systems {
|
|
|
53244
53193
|
return _result;
|
|
53245
53194
|
}
|
|
53246
53195
|
|
|
53196
|
+
static create(): SpaceResult {
|
|
53197
|
+
var _ptr = Module._malloc(8);
|
|
53198
|
+
Module.ccall("csp_systems_SpaceResult_Ctor", "void", ["number"], [_ptr]);
|
|
53199
|
+
var _nPtr = getNativePointer(_ptr);
|
|
53200
|
+
|
|
53201
|
+
return new SpaceResult(_nPtr);
|
|
53202
|
+
}
|
|
53203
|
+
|
|
53247
53204
|
delete(): void {
|
|
53248
53205
|
if (this.ownsPointer && !this.disposed) {
|
|
53249
53206
|
Module.ccall(
|
|
@@ -54192,7 +54149,7 @@ export namespace Systems {
|
|
|
54192
54149
|
}
|
|
54193
54150
|
|
|
54194
54151
|
/**
|
|
54195
|
-
* @description Deletes a given space and the
|
|
54152
|
+
* @description Deletes a given space and the associated objects that belong to it. Including UserService group, Metadata, and Thumbnail.
|
|
54196
54153
|
* @param space - Space to delete
|
|
54197
54154
|
* @param callback - Callback when asynchronous task finishes
|
|
54198
54155
|
*/
|
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.16.0+592",
|
|
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": {
|