connected-spaces-platform.web 5.17.3 → 5.18.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 +40 -28
- 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 +241 -218
- package/connectedspacesplatform.js +427 -382
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +508 -423
- package/package.json +1 -1
|
Binary file
|
|
@@ -84,6 +84,140 @@ export declare namespace Systems {
|
|
|
84
84
|
UNITY = 2
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
+
export declare namespace Web {
|
|
88
|
+
/**
|
|
89
|
+
* @description Enum which represents all possible HTTP responses.
|
|
90
|
+
*/
|
|
91
|
+
enum EResponseCodes {
|
|
92
|
+
ResponseInit = 0,
|
|
93
|
+
ResponseContinue = 100,
|
|
94
|
+
ResponseSwitchingProtocols = 101,
|
|
95
|
+
ResponseProcessing = 102,
|
|
96
|
+
ResponseOK = 200,
|
|
97
|
+
ResponseCreated = 201,
|
|
98
|
+
ResponseAccepted = 202,
|
|
99
|
+
ResponseNonauthoritative = 203,
|
|
100
|
+
ResponseNoContent = 204,
|
|
101
|
+
ResponseResetContent = 205,
|
|
102
|
+
ResponsePartialContent = 206,
|
|
103
|
+
ResponseMultiStatus = 207,
|
|
104
|
+
ResponseAlreadyReported = 208,
|
|
105
|
+
ResponseImUsed = 226,
|
|
106
|
+
ResponseMultipleChoices = 300,
|
|
107
|
+
ResponseMovedPermanently = 301,
|
|
108
|
+
ResponseFound = 302,
|
|
109
|
+
ResponseSeeOther = 303,
|
|
110
|
+
ResponseNotModified = 304,
|
|
111
|
+
ResponseUseProxy = 305,
|
|
112
|
+
ResponseTemporaryRedirect = 307,
|
|
113
|
+
ResponsePermanentRedirect = 308,
|
|
114
|
+
ResponseBadRequest = 400,
|
|
115
|
+
ResponseUnauthorized = 401,
|
|
116
|
+
ResponsePaymentRequired = 402,
|
|
117
|
+
ResponseForbidden = 403,
|
|
118
|
+
ResponseNotFound = 404,
|
|
119
|
+
ResponseMethodNotAllowed = 405,
|
|
120
|
+
ResponseNotAcceptable = 406,
|
|
121
|
+
ResponseProxyAuthenticationRequired = 407,
|
|
122
|
+
ResponseRequestTimeout = 408,
|
|
123
|
+
ResponseConflict = 409,
|
|
124
|
+
ResponseGone = 410,
|
|
125
|
+
ResponseLengthRequired = 411,
|
|
126
|
+
ResponsePreconditionFailed = 412,
|
|
127
|
+
ResponseRequestEntityTooLarge = 413,
|
|
128
|
+
ResponseRequestUriTooLong = 414,
|
|
129
|
+
ResponseUnsupportedMediaType = 415,
|
|
130
|
+
ResponseRequestedRangeNotSatisfiable = 416,
|
|
131
|
+
ResponseExpectationFailed = 417,
|
|
132
|
+
ResponseImATeapot = 418,
|
|
133
|
+
ResponseEnchanceYourCalm = 420,
|
|
134
|
+
ResponseMisdirectedRequest = 421,
|
|
135
|
+
ResponseUnprocessableEntity = 422,
|
|
136
|
+
ResponseLocked = 423,
|
|
137
|
+
ResponseFailedDependency = 424,
|
|
138
|
+
ResponseUpgradeRequired = 426,
|
|
139
|
+
ResponsePreconditionRequired = 428,
|
|
140
|
+
ResponseTooManyRequests = 429,
|
|
141
|
+
ResponseRequestHeaderFieldsTooLarge = 431,
|
|
142
|
+
ResponseUnavailableForLegalReasons = 451,
|
|
143
|
+
ResponseInternalServerError = 500,
|
|
144
|
+
ResponseNotImplemented = 501,
|
|
145
|
+
ResponseBadGateway = 502,
|
|
146
|
+
ResponseServiceUnavailable = 503,
|
|
147
|
+
ResponseGatewayTimeout = 504,
|
|
148
|
+
ResponseVersionNotSupported = 505,
|
|
149
|
+
ResponseVariantAlsoNegotiates = 506,
|
|
150
|
+
ResponseInsufficientStorage = 507,
|
|
151
|
+
ResponseLoopDetected = 508,
|
|
152
|
+
ResponseNotExtended = 510,
|
|
153
|
+
ResponseNetworkAuthenticationRequired = 511
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
export declare namespace Multiplayer {
|
|
157
|
+
/**
|
|
158
|
+
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
159
|
+
*/
|
|
160
|
+
enum ErrorCode {
|
|
161
|
+
None = 0,
|
|
162
|
+
Unknown = 1,
|
|
163
|
+
NotConnected = 2,
|
|
164
|
+
AlreadyConnected = 3,
|
|
165
|
+
SpaceUserLimitExceeded = 4
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export declare namespace Systems {
|
|
169
|
+
/**
|
|
170
|
+
* @description Code to indicate the result of a request.
|
|
171
|
+
* Request results should be checked for a success by clients before using any other accessors.
|
|
172
|
+
*/
|
|
173
|
+
enum EResultCode {
|
|
174
|
+
Init = 0,
|
|
175
|
+
InProgress = 1,
|
|
176
|
+
Success = 2,
|
|
177
|
+
Failed = 3
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
export declare namespace Systems {
|
|
181
|
+
enum ERequestFailureReason {
|
|
182
|
+
Unknown = -1,
|
|
183
|
+
None = 0,
|
|
184
|
+
AddUserToSpaceDenied = 1,
|
|
185
|
+
UserSpaceAccessDenied = 2,
|
|
186
|
+
UserSpaceBannedAccessDenied = 3,
|
|
187
|
+
UserSpaceFullAccessDenied = 4,
|
|
188
|
+
UserSpaceInviteExpired = 5,
|
|
189
|
+
SpacePublicNameDuplicate = 6,
|
|
190
|
+
UserMaxSpaceLimitReached = 7,
|
|
191
|
+
UserAccountLocked = 8,
|
|
192
|
+
UserMissingPassword = 9,
|
|
193
|
+
UserUnverifiedEmail = 10,
|
|
194
|
+
UserBannedFromSpace = 11,
|
|
195
|
+
UserInvalidEmailDomain = 12,
|
|
196
|
+
UserInvalidThirdPartyAuth = 13,
|
|
197
|
+
UserAgeNotVerified = 14,
|
|
198
|
+
UserGuestLoginDisallowed = 15,
|
|
199
|
+
UserAgoraLimitReached = 16,
|
|
200
|
+
UserOpenAILimitReached = 17,
|
|
201
|
+
UserTicketedSpacesLimitReached = 18,
|
|
202
|
+
UserSpaceConcurrentUsersLimitReached = 19,
|
|
203
|
+
PrototypeReservedKeysNotAllowed = 20,
|
|
204
|
+
AssetInvalidFileContents = 21,
|
|
205
|
+
AssetInvalidFileType = 22,
|
|
206
|
+
AssetAudioVideoLimitReached = 23,
|
|
207
|
+
AssetObjectCaptureLimitReached = 24,
|
|
208
|
+
AssetTotalUploadSizeLimitReached = 25,
|
|
209
|
+
TicketUnknownNumber = 26,
|
|
210
|
+
TicketEmailMismatch = 27,
|
|
211
|
+
TicketVendorOAuthFailure = 28,
|
|
212
|
+
TicketOAuthTokenInvalid = 29,
|
|
213
|
+
TicketAlreadyApplied = 30,
|
|
214
|
+
ShopifyConnectionBroken = 31,
|
|
215
|
+
ShopifyInvalidStoreName = 32,
|
|
216
|
+
UserShopifyLimitReached = 33,
|
|
217
|
+
UserTokenRefreshFailed = 34,
|
|
218
|
+
InvalidSequenceKey = 35
|
|
219
|
+
}
|
|
220
|
+
}
|
|
87
221
|
export declare namespace Common {
|
|
88
222
|
/**
|
|
89
223
|
* @description enum for representing a type stored by a csp::common::Variant.
|
|
@@ -107,6 +241,19 @@ export declare namespace Common {
|
|
|
107
241
|
OnlineSingleUser = 1
|
|
108
242
|
}
|
|
109
243
|
}
|
|
244
|
+
export declare namespace Common {
|
|
245
|
+
enum LogLevel {
|
|
246
|
+
NoLogging = 0,
|
|
247
|
+
Fatal = 1,
|
|
248
|
+
Error = 2,
|
|
249
|
+
Warning = 3,
|
|
250
|
+
Display = 4,
|
|
251
|
+
Log = 5,
|
|
252
|
+
Verbose = 6,
|
|
253
|
+
VeryVerbose = 7,
|
|
254
|
+
All = 8
|
|
255
|
+
}
|
|
256
|
+
}
|
|
110
257
|
export declare namespace Multiplayer {
|
|
111
258
|
/**
|
|
112
259
|
* @description Represents the type of component.
|
|
@@ -190,18 +337,6 @@ export declare namespace Multiplayer {
|
|
|
190
337
|
Disconnected = 3
|
|
191
338
|
}
|
|
192
339
|
}
|
|
193
|
-
export declare namespace Multiplayer {
|
|
194
|
-
/**
|
|
195
|
-
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
196
|
-
*/
|
|
197
|
-
enum ErrorCode {
|
|
198
|
-
None = 0,
|
|
199
|
-
Unknown = 1,
|
|
200
|
-
NotConnected = 2,
|
|
201
|
-
AlreadyConnected = 3,
|
|
202
|
-
SpaceUserLimitExceeded = 4
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
340
|
export declare namespace Multiplayer {
|
|
206
341
|
/**
|
|
207
342
|
* @description Enum representing the type of a replicated value.
|
|
@@ -407,7 +542,9 @@ export declare namespace Multiplayer {
|
|
|
407
542
|
AvatarPlayMode = 12,
|
|
408
543
|
MovementDirection = 13,
|
|
409
544
|
LocomotionModel = 14,
|
|
410
|
-
|
|
545
|
+
IsVisible = 15,
|
|
546
|
+
IsARVisible = 16,
|
|
547
|
+
Num = 17
|
|
411
548
|
}
|
|
412
549
|
}
|
|
413
550
|
export declare namespace Multiplayer {
|
|
@@ -910,59 +1047,6 @@ export declare namespace Multiplayer {
|
|
|
910
1047
|
DeleteConversationAnnotation = 9
|
|
911
1048
|
}
|
|
912
1049
|
}
|
|
913
|
-
export declare namespace Systems {
|
|
914
|
-
/**
|
|
915
|
-
* @description Code to indicate the result of a request.
|
|
916
|
-
* Request results should be checked for a success by clients before using any other accessors.
|
|
917
|
-
*/
|
|
918
|
-
enum EResultCode {
|
|
919
|
-
Init = 0,
|
|
920
|
-
InProgress = 1,
|
|
921
|
-
Success = 2,
|
|
922
|
-
Failed = 3
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
export declare namespace Systems {
|
|
926
|
-
enum ERequestFailureReason {
|
|
927
|
-
Unknown = -1,
|
|
928
|
-
None = 0,
|
|
929
|
-
AddUserToSpaceDenied = 1,
|
|
930
|
-
UserSpaceAccessDenied = 2,
|
|
931
|
-
UserSpaceBannedAccessDenied = 3,
|
|
932
|
-
UserSpaceFullAccessDenied = 4,
|
|
933
|
-
UserSpaceInviteExpired = 5,
|
|
934
|
-
SpacePublicNameDuplicate = 6,
|
|
935
|
-
UserMaxSpaceLimitReached = 7,
|
|
936
|
-
UserAccountLocked = 8,
|
|
937
|
-
UserMissingPassword = 9,
|
|
938
|
-
UserUnverifiedEmail = 10,
|
|
939
|
-
UserBannedFromSpace = 11,
|
|
940
|
-
UserInvalidEmailDomain = 12,
|
|
941
|
-
UserInvalidThirdPartyAuth = 13,
|
|
942
|
-
UserAgeNotVerified = 14,
|
|
943
|
-
UserGuestLoginDisallowed = 15,
|
|
944
|
-
UserAgoraLimitReached = 16,
|
|
945
|
-
UserOpenAILimitReached = 17,
|
|
946
|
-
UserTicketedSpacesLimitReached = 18,
|
|
947
|
-
UserSpaceConcurrentUsersLimitReached = 19,
|
|
948
|
-
PrototypeReservedKeysNotAllowed = 20,
|
|
949
|
-
AssetInvalidFileContents = 21,
|
|
950
|
-
AssetInvalidFileType = 22,
|
|
951
|
-
AssetAudioVideoLimitReached = 23,
|
|
952
|
-
AssetObjectCaptureLimitReached = 24,
|
|
953
|
-
AssetTotalUploadSizeLimitReached = 25,
|
|
954
|
-
TicketUnknownNumber = 26,
|
|
955
|
-
TicketEmailMismatch = 27,
|
|
956
|
-
TicketVendorOAuthFailure = 28,
|
|
957
|
-
TicketOAuthTokenInvalid = 29,
|
|
958
|
-
TicketAlreadyApplied = 30,
|
|
959
|
-
ShopifyConnectionBroken = 31,
|
|
960
|
-
ShopifyInvalidStoreName = 32,
|
|
961
|
-
UserShopifyLimitReached = 33,
|
|
962
|
-
UserTokenRefreshFailed = 34,
|
|
963
|
-
InvalidSequenceKey = 35
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
1050
|
export declare namespace Systems {
|
|
967
1051
|
/**
|
|
968
1052
|
* @description Asset type enum, defines the allowed and implemented types of assets.
|
|
@@ -1077,19 +1161,6 @@ export declare namespace Systems {
|
|
|
1077
1161
|
Unknown = 2
|
|
1078
1162
|
}
|
|
1079
1163
|
}
|
|
1080
|
-
export declare namespace Systems {
|
|
1081
|
-
enum LogLevel {
|
|
1082
|
-
NoLogging = 0,
|
|
1083
|
-
Fatal = 1,
|
|
1084
|
-
Error = 2,
|
|
1085
|
-
Warning = 3,
|
|
1086
|
-
Display = 4,
|
|
1087
|
-
Log = 5,
|
|
1088
|
-
Verbose = 6,
|
|
1089
|
-
VeryVerbose = 7,
|
|
1090
|
-
All = 8
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
1164
|
export declare namespace Systems {
|
|
1094
1165
|
/**
|
|
1095
1166
|
@ingroup Quota System
|
|
@@ -1190,75 +1261,6 @@ export declare namespace Systems {
|
|
|
1190
1261
|
Invalid = 3
|
|
1191
1262
|
}
|
|
1192
1263
|
}
|
|
1193
|
-
export declare namespace Web {
|
|
1194
|
-
/**
|
|
1195
|
-
* @description Enum which represents all possible HTTP responses.
|
|
1196
|
-
*/
|
|
1197
|
-
enum EResponseCodes {
|
|
1198
|
-
ResponseInit = 0,
|
|
1199
|
-
ResponseContinue = 100,
|
|
1200
|
-
ResponseSwitchingProtocols = 101,
|
|
1201
|
-
ResponseProcessing = 102,
|
|
1202
|
-
ResponseOK = 200,
|
|
1203
|
-
ResponseCreated = 201,
|
|
1204
|
-
ResponseAccepted = 202,
|
|
1205
|
-
ResponseNonauthoritative = 203,
|
|
1206
|
-
ResponseNoContent = 204,
|
|
1207
|
-
ResponseResetContent = 205,
|
|
1208
|
-
ResponsePartialContent = 206,
|
|
1209
|
-
ResponseMultiStatus = 207,
|
|
1210
|
-
ResponseAlreadyReported = 208,
|
|
1211
|
-
ResponseImUsed = 226,
|
|
1212
|
-
ResponseMultipleChoices = 300,
|
|
1213
|
-
ResponseMovedPermanently = 301,
|
|
1214
|
-
ResponseFound = 302,
|
|
1215
|
-
ResponseSeeOther = 303,
|
|
1216
|
-
ResponseNotModified = 304,
|
|
1217
|
-
ResponseUseProxy = 305,
|
|
1218
|
-
ResponseTemporaryRedirect = 307,
|
|
1219
|
-
ResponsePermanentRedirect = 308,
|
|
1220
|
-
ResponseBadRequest = 400,
|
|
1221
|
-
ResponseUnauthorized = 401,
|
|
1222
|
-
ResponsePaymentRequired = 402,
|
|
1223
|
-
ResponseForbidden = 403,
|
|
1224
|
-
ResponseNotFound = 404,
|
|
1225
|
-
ResponseMethodNotAllowed = 405,
|
|
1226
|
-
ResponseNotAcceptable = 406,
|
|
1227
|
-
ResponseProxyAuthenticationRequired = 407,
|
|
1228
|
-
ResponseRequestTimeout = 408,
|
|
1229
|
-
ResponseConflict = 409,
|
|
1230
|
-
ResponseGone = 410,
|
|
1231
|
-
ResponseLengthRequired = 411,
|
|
1232
|
-
ResponsePreconditionFailed = 412,
|
|
1233
|
-
ResponseRequestEntityTooLarge = 413,
|
|
1234
|
-
ResponseRequestUriTooLong = 414,
|
|
1235
|
-
ResponseUnsupportedMediaType = 415,
|
|
1236
|
-
ResponseRequestedRangeNotSatisfiable = 416,
|
|
1237
|
-
ResponseExpectationFailed = 417,
|
|
1238
|
-
ResponseImATeapot = 418,
|
|
1239
|
-
ResponseEnchanceYourCalm = 420,
|
|
1240
|
-
ResponseMisdirectedRequest = 421,
|
|
1241
|
-
ResponseUnprocessableEntity = 422,
|
|
1242
|
-
ResponseLocked = 423,
|
|
1243
|
-
ResponseFailedDependency = 424,
|
|
1244
|
-
ResponseUpgradeRequired = 426,
|
|
1245
|
-
ResponsePreconditionRequired = 428,
|
|
1246
|
-
ResponseTooManyRequests = 429,
|
|
1247
|
-
ResponseRequestHeaderFieldsTooLarge = 431,
|
|
1248
|
-
ResponseUnavailableForLegalReasons = 451,
|
|
1249
|
-
ResponseInternalServerError = 500,
|
|
1250
|
-
ResponseNotImplemented = 501,
|
|
1251
|
-
ResponseBadGateway = 502,
|
|
1252
|
-
ResponseServiceUnavailable = 503,
|
|
1253
|
-
ResponseGatewayTimeout = 504,
|
|
1254
|
-
ResponseVersionNotSupported = 505,
|
|
1255
|
-
ResponseVariantAlsoNegotiates = 506,
|
|
1256
|
-
ResponseInsufficientStorage = 507,
|
|
1257
|
-
ResponseLoopDetected = 508,
|
|
1258
|
-
ResponseNotExtended = 510,
|
|
1259
|
-
ResponseNetworkAuthenticationRequired = 511
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
1264
|
export declare namespace Multiplayer {
|
|
1263
1265
|
/**
|
|
1264
1266
|
* @description Controls whether a component is enabled or disabled.
|
|
@@ -3613,6 +3615,75 @@ export declare namespace Common {
|
|
|
3613
3615
|
processPendingEntityOperations(): void;
|
|
3614
3616
|
}
|
|
3615
3617
|
}
|
|
3618
|
+
export declare namespace Common {
|
|
3619
|
+
/**
|
|
3620
|
+
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
3621
|
+
* Contains a callback system that allows clients to react to specific logs or events.
|
|
3622
|
+
*/
|
|
3623
|
+
class LogSystem extends NativeClassWrapper implements INativeResource {
|
|
3624
|
+
/** @internal */
|
|
3625
|
+
constructor(pointer: NativePointer);
|
|
3626
|
+
static create(): LogSystem;
|
|
3627
|
+
delete(): void;
|
|
3628
|
+
/**
|
|
3629
|
+
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
3630
|
+
* @param inLogCallback - The callback to execute when a log occurs.
|
|
3631
|
+
*/
|
|
3632
|
+
setLogCallback(callback: (arg1: string) => void): void;
|
|
3633
|
+
/**
|
|
3634
|
+
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
3635
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
3636
|
+
*/
|
|
3637
|
+
setEventCallback(callback: (arg1: string) => void): void;
|
|
3638
|
+
/**
|
|
3639
|
+
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
3640
|
+
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
3641
|
+
*/
|
|
3642
|
+
setBeginMarkerCallback(callback: (arg1: string) => void): void;
|
|
3643
|
+
/**
|
|
3644
|
+
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
3645
|
+
* @param inEndCallback - The callback to execute when the marker ends.
|
|
3646
|
+
*/
|
|
3647
|
+
setEndMarkerCallback(callback: (arg1: number) => void): void;
|
|
3648
|
+
/**
|
|
3649
|
+
* @description Set the verbosity of logging for a system-wide level.
|
|
3650
|
+
* @param inSystemLevel - The level to set the system logging to.
|
|
3651
|
+
*/
|
|
3652
|
+
setSystemLevel(systemLevel: Common.LogLevel): void;
|
|
3653
|
+
/**
|
|
3654
|
+
* @description Retreive the log verbosity level.
|
|
3655
|
+
*/
|
|
3656
|
+
getSystemLevel(): Common.LogLevel;
|
|
3657
|
+
/**
|
|
3658
|
+
* @description Check if we currently log a specified log verbosity level.
|
|
3659
|
+
* @param level - The level to check.
|
|
3660
|
+
*/
|
|
3661
|
+
loggingEnabled(level: Common.LogLevel): boolean;
|
|
3662
|
+
/**
|
|
3663
|
+
* @description Log a message at a specific verbosity level.
|
|
3664
|
+
* @param level - The level to log this message at.
|
|
3665
|
+
* @param inMessage - The message to be logged.
|
|
3666
|
+
*/
|
|
3667
|
+
logMsg(level: Common.LogLevel, message: string): void;
|
|
3668
|
+
/**
|
|
3669
|
+
* @description Log an event.
|
|
3670
|
+
* @param inEvent - The event to be logged.
|
|
3671
|
+
*/
|
|
3672
|
+
logEvent(event: string): void;
|
|
3673
|
+
/**
|
|
3674
|
+
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
3675
|
+
*/
|
|
3676
|
+
beginMarker(marker: string): void;
|
|
3677
|
+
/**
|
|
3678
|
+
* @description End a 'Marker' event.
|
|
3679
|
+
*/
|
|
3680
|
+
endMarker(): void;
|
|
3681
|
+
/**
|
|
3682
|
+
* @description Clears all logging callbacks.
|
|
3683
|
+
*/
|
|
3684
|
+
clearAllCallbacks(): void;
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3616
3687
|
export declare namespace Multiplayer {
|
|
3617
3688
|
/**
|
|
3618
3689
|
* @description The base class for all components, provides mechanisms for dirtying properties and subscribing to events on property changes.
|
|
@@ -4339,13 +4410,14 @@ export declare namespace Multiplayer {
|
|
|
4339
4410
|
* @description Creates a SpaceEntity with type Avatar, and relevant components and default states as specified.
|
|
4340
4411
|
* @param inName - The name to give the new SpaceEntity.
|
|
4341
4412
|
* @param inSpaceTransform - The initial transform to set the SpaceEntity to.
|
|
4413
|
+
* @param isVisible - The initial visibility of the Avatar.
|
|
4342
4414
|
* @param inState - The initial Avatar State to set.
|
|
4343
4415
|
* @param inAvatarId - The Initial AvatarID to set.
|
|
4344
4416
|
* @param inAvatarPlayMode - The Initial AvatarPlayMode to set.
|
|
4345
4417
|
* @param callback - EntityCreatedCallback A callback that executes when the creation is complete,
|
|
4346
4418
|
* which contains a pointer to the new SpaceEntity so that it can be used on the local client.
|
|
4347
4419
|
*/
|
|
4348
|
-
createAvatar(name: string, spaceTransform: Multiplayer.SpaceTransform, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode): Promise<Multiplayer.SpaceEntity>;
|
|
4420
|
+
createAvatar(name: string, spaceTransform: Multiplayer.SpaceTransform, isVisible: boolean, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode): Promise<Multiplayer.SpaceEntity>;
|
|
4349
4421
|
/**
|
|
4350
4422
|
* @description Creates a SpaceEntity of type Object, and relevant default values.
|
|
4351
4423
|
* @param inName - The name to give the new SpaceEntity.
|
|
@@ -4844,7 +4916,7 @@ export declare namespace Systems {
|
|
|
4844
4916
|
* @description Retrieves the Log system.
|
|
4845
4917
|
* @return Pointer to the log system class
|
|
4846
4918
|
*/
|
|
4847
|
-
getLogSystem():
|
|
4919
|
+
getLogSystem(): Common.LogSystem;
|
|
4848
4920
|
/**
|
|
4849
4921
|
* @description Retrieves the Settings system.
|
|
4850
4922
|
* @return Pointer to the settings system class
|
|
@@ -5608,73 +5680,6 @@ export declare namespace Systems {
|
|
|
5608
5680
|
set items(value: Common.Array<string>);
|
|
5609
5681
|
}
|
|
5610
5682
|
}
|
|
5611
|
-
export declare namespace Systems {
|
|
5612
|
-
/**
|
|
5613
|
-
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
5614
|
-
* Contains a callback system that allows clients to react to specific logs or events.
|
|
5615
|
-
*/
|
|
5616
|
-
class LogSystem extends NativeClassWrapper {
|
|
5617
|
-
/** @internal */
|
|
5618
|
-
constructor(pointer: NativePointer);
|
|
5619
|
-
/**
|
|
5620
|
-
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
5621
|
-
* @param inLogCallback - The callback to execute when a log occurs.
|
|
5622
|
-
*/
|
|
5623
|
-
setLogCallback(callback: (arg1: string) => void): void;
|
|
5624
|
-
/**
|
|
5625
|
-
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
5626
|
-
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
5627
|
-
*/
|
|
5628
|
-
setEventCallback(callback: (arg1: string) => void): void;
|
|
5629
|
-
/**
|
|
5630
|
-
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
5631
|
-
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
5632
|
-
*/
|
|
5633
|
-
setBeginMarkerCallback(callback: (arg1: string) => void): void;
|
|
5634
|
-
/**
|
|
5635
|
-
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
5636
|
-
* @param inEndCallback - The callback to execute when the marker ends.
|
|
5637
|
-
*/
|
|
5638
|
-
setEndMarkerCallback(callback: (arg1: number) => void): void;
|
|
5639
|
-
/**
|
|
5640
|
-
* @description Set the verbosity of logging for a system-wide level.
|
|
5641
|
-
* @param inSystemLevel - The level to set the system logging to.
|
|
5642
|
-
*/
|
|
5643
|
-
setSystemLevel(systemLevel: Systems.LogLevel): void;
|
|
5644
|
-
/**
|
|
5645
|
-
* @description Retreive the log verbosity level.
|
|
5646
|
-
*/
|
|
5647
|
-
getSystemLevel(): Systems.LogLevel;
|
|
5648
|
-
/**
|
|
5649
|
-
* @description Check if we currently log a specified log verbosity level.
|
|
5650
|
-
* @param level - The level to check.
|
|
5651
|
-
*/
|
|
5652
|
-
loggingEnabled(level: Systems.LogLevel): boolean;
|
|
5653
|
-
/**
|
|
5654
|
-
* @description Log a message at a specific verbosity level.
|
|
5655
|
-
* @param level - The level to log this message at.
|
|
5656
|
-
* @param inMessage - The message to be logged.
|
|
5657
|
-
*/
|
|
5658
|
-
logMsg(level: Systems.LogLevel, message: string): void;
|
|
5659
|
-
/**
|
|
5660
|
-
* @description Log an event.
|
|
5661
|
-
* @param inEvent - The event to be logged.
|
|
5662
|
-
*/
|
|
5663
|
-
logEvent(event: string): void;
|
|
5664
|
-
/**
|
|
5665
|
-
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
5666
|
-
*/
|
|
5667
|
-
beginMarker(marker: string): void;
|
|
5668
|
-
/**
|
|
5669
|
-
* @description End a 'Marker' event.
|
|
5670
|
-
*/
|
|
5671
|
-
endMarker(): void;
|
|
5672
|
-
/**
|
|
5673
|
-
* @description Clears all logging callbacks.
|
|
5674
|
-
*/
|
|
5675
|
-
clearAllCallbacks(): void;
|
|
5676
|
-
}
|
|
5677
|
-
}
|
|
5678
5683
|
export declare namespace Systems {
|
|
5679
5684
|
/**
|
|
5680
5685
|
* @description Represents a single maintenance window, provides description of the event and a start and end timestamp
|
|
@@ -6557,7 +6562,7 @@ export declare namespace Multiplayer {
|
|
|
6557
6562
|
/**
|
|
6558
6563
|
* @description Data representation of an AvatarSpaceComponent.
|
|
6559
6564
|
*/
|
|
6560
|
-
class AvatarSpaceComponent extends Multiplayer.ComponentBase implements INativeResource {
|
|
6565
|
+
class AvatarSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IVisibleComponent, INativeResource {
|
|
6561
6566
|
/** @internal */
|
|
6562
6567
|
constructor(pointer: NativePointer);
|
|
6563
6568
|
static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.AvatarSpaceComponent;
|
|
@@ -6774,6 +6779,24 @@ export declare namespace Multiplayer {
|
|
|
6774
6779
|
* @param value - The locomotion model used by this avatar component.
|
|
6775
6780
|
*/
|
|
6776
6781
|
setLocomotionModel(value: Multiplayer.LocomotionModel): void;
|
|
6782
|
+
/**
|
|
6783
|
+
* \addtogroup IVisibleComponent
|
|
6784
|
+
@{
|
|
6785
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
6786
|
+
*/
|
|
6787
|
+
getIsVisible(): boolean;
|
|
6788
|
+
/**
|
|
6789
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
6790
|
+
*/
|
|
6791
|
+
setIsVisible(value: boolean): void;
|
|
6792
|
+
/**
|
|
6793
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
6794
|
+
*/
|
|
6795
|
+
getIsARVisible(): boolean;
|
|
6796
|
+
/**
|
|
6797
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
6798
|
+
*/
|
|
6799
|
+
setIsARVisible(value: boolean): void;
|
|
6777
6800
|
delete(): void;
|
|
6778
6801
|
}
|
|
6779
6802
|
}
|