connected-spaces-platform.web 5.17.4 → 5.19.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 +65 -55
- 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 +266 -251
- package/connectedspacesplatform.js +471 -446
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +649 -564
- package/package.json +1 -1
|
@@ -335,6 +335,36 @@ function csp_systems_EThirdPartyPlatformFactory(
|
|
|
335
335
|
ProxyClassFactories["csp_systems_EThirdPartyPlatform"] =
|
|
336
336
|
csp_systems_EThirdPartyPlatformFactory;
|
|
337
337
|
|
|
338
|
+
function csp_web_EResponseCodesFactory(
|
|
339
|
+
nativePointer: NativePointer,
|
|
340
|
+
): Web.EResponseCodes {
|
|
341
|
+
return nativePointer.pointer as Web.EResponseCodes;
|
|
342
|
+
}
|
|
343
|
+
ProxyClassFactories["csp_web_EResponseCodes"] = csp_web_EResponseCodesFactory;
|
|
344
|
+
|
|
345
|
+
function csp_multiplayer_ErrorCodeFactory(
|
|
346
|
+
nativePointer: NativePointer,
|
|
347
|
+
): Multiplayer.ErrorCode {
|
|
348
|
+
return nativePointer.pointer as Multiplayer.ErrorCode;
|
|
349
|
+
}
|
|
350
|
+
ProxyClassFactories["csp_multiplayer_ErrorCode"] =
|
|
351
|
+
csp_multiplayer_ErrorCodeFactory;
|
|
352
|
+
|
|
353
|
+
function csp_systems_EResultCodeFactory(
|
|
354
|
+
nativePointer: NativePointer,
|
|
355
|
+
): Systems.EResultCode {
|
|
356
|
+
return nativePointer.pointer as Systems.EResultCode;
|
|
357
|
+
}
|
|
358
|
+
ProxyClassFactories["csp_systems_EResultCode"] = csp_systems_EResultCodeFactory;
|
|
359
|
+
|
|
360
|
+
function csp_systems_ERequestFailureReasonFactory(
|
|
361
|
+
nativePointer: NativePointer,
|
|
362
|
+
): Systems.ERequestFailureReason {
|
|
363
|
+
return nativePointer.pointer as Systems.ERequestFailureReason;
|
|
364
|
+
}
|
|
365
|
+
ProxyClassFactories["csp_systems_ERequestFailureReason"] =
|
|
366
|
+
csp_systems_ERequestFailureReasonFactory;
|
|
367
|
+
|
|
338
368
|
function csp_common_VariantTypeFactory(
|
|
339
369
|
nativePointer: NativePointer,
|
|
340
370
|
): Common.VariantType {
|
|
@@ -350,6 +380,13 @@ function csp_common_RealtimeEngineTypeFactory(
|
|
|
350
380
|
ProxyClassFactories["csp_common_RealtimeEngineType"] =
|
|
351
381
|
csp_common_RealtimeEngineTypeFactory;
|
|
352
382
|
|
|
383
|
+
function csp_common_LogLevelFactory(
|
|
384
|
+
nativePointer: NativePointer,
|
|
385
|
+
): Common.LogLevel {
|
|
386
|
+
return nativePointer.pointer as Common.LogLevel;
|
|
387
|
+
}
|
|
388
|
+
ProxyClassFactories["csp_common_LogLevel"] = csp_common_LogLevelFactory;
|
|
389
|
+
|
|
353
390
|
function csp_multiplayer_ComponentTypeFactory(
|
|
354
391
|
nativePointer: NativePointer,
|
|
355
392
|
): Multiplayer.ComponentType {
|
|
@@ -390,14 +427,6 @@ function csp_multiplayer_ConnectionStateFactory(
|
|
|
390
427
|
ProxyClassFactories["csp_multiplayer_ConnectionState"] =
|
|
391
428
|
csp_multiplayer_ConnectionStateFactory;
|
|
392
429
|
|
|
393
|
-
function csp_multiplayer_ErrorCodeFactory(
|
|
394
|
-
nativePointer: NativePointer,
|
|
395
|
-
): Multiplayer.ErrorCode {
|
|
396
|
-
return nativePointer.pointer as Multiplayer.ErrorCode;
|
|
397
|
-
}
|
|
398
|
-
ProxyClassFactories["csp_multiplayer_ErrorCode"] =
|
|
399
|
-
csp_multiplayer_ErrorCodeFactory;
|
|
400
|
-
|
|
401
430
|
function csp_multiplayer_ReplicatedValueTypeFactory(
|
|
402
431
|
nativePointer: NativePointer,
|
|
403
432
|
): Multiplayer.ReplicatedValueType {
|
|
@@ -789,21 +818,6 @@ function csp_multiplayer_ConversationEventTypeFactory(
|
|
|
789
818
|
ProxyClassFactories["csp_multiplayer_ConversationEventType"] =
|
|
790
819
|
csp_multiplayer_ConversationEventTypeFactory;
|
|
791
820
|
|
|
792
|
-
function csp_systems_EResultCodeFactory(
|
|
793
|
-
nativePointer: NativePointer,
|
|
794
|
-
): Systems.EResultCode {
|
|
795
|
-
return nativePointer.pointer as Systems.EResultCode;
|
|
796
|
-
}
|
|
797
|
-
ProxyClassFactories["csp_systems_EResultCode"] = csp_systems_EResultCodeFactory;
|
|
798
|
-
|
|
799
|
-
function csp_systems_ERequestFailureReasonFactory(
|
|
800
|
-
nativePointer: NativePointer,
|
|
801
|
-
): Systems.ERequestFailureReason {
|
|
802
|
-
return nativePointer.pointer as Systems.ERequestFailureReason;
|
|
803
|
-
}
|
|
804
|
-
ProxyClassFactories["csp_systems_ERequestFailureReason"] =
|
|
805
|
-
csp_systems_ERequestFailureReasonFactory;
|
|
806
|
-
|
|
807
821
|
function csp_systems_EAssetTypeFactory(
|
|
808
822
|
nativePointer: NativePointer,
|
|
809
823
|
): Systems.EAssetType {
|
|
@@ -880,13 +894,6 @@ function csp_systems_TicketStatusFactory(
|
|
|
880
894
|
ProxyClassFactories["csp_systems_TicketStatus"] =
|
|
881
895
|
csp_systems_TicketStatusFactory;
|
|
882
896
|
|
|
883
|
-
function csp_systems_LogLevelFactory(
|
|
884
|
-
nativePointer: NativePointer,
|
|
885
|
-
): Systems.LogLevel {
|
|
886
|
-
return nativePointer.pointer as Systems.LogLevel;
|
|
887
|
-
}
|
|
888
|
-
ProxyClassFactories["csp_systems_LogLevel"] = csp_systems_LogLevelFactory;
|
|
889
|
-
|
|
890
897
|
function csp_systems_PeriodEnumFactory(
|
|
891
898
|
nativePointer: NativePointer,
|
|
892
899
|
): Systems.PeriodEnum {
|
|
@@ -963,13 +970,6 @@ function csp_systems_EThirdPartyAuthenticationProvidersFactory(
|
|
|
963
970
|
ProxyClassFactories["csp_systems_EThirdPartyAuthenticationProviders"] =
|
|
964
971
|
csp_systems_EThirdPartyAuthenticationProvidersFactory;
|
|
965
972
|
|
|
966
|
-
function csp_web_EResponseCodesFactory(
|
|
967
|
-
nativePointer: NativePointer,
|
|
968
|
-
): Web.EResponseCodes {
|
|
969
|
-
return nativePointer.pointer as Web.EResponseCodes;
|
|
970
|
-
}
|
|
971
|
-
ProxyClassFactories["csp_web_EResponseCodes"] = csp_web_EResponseCodesFactory;
|
|
972
|
-
|
|
973
973
|
function csp_EndpointURIsFactory(
|
|
974
974
|
nativePointer: NativePointer,
|
|
975
975
|
): NativeClassWrapper {
|
|
@@ -1051,6 +1051,13 @@ function csp_common_IRealtimeEngineFactory(
|
|
|
1051
1051
|
ProxyClassFactories["csp_common_IRealtimeEngine"] =
|
|
1052
1052
|
csp_common_IRealtimeEngineFactory;
|
|
1053
1053
|
|
|
1054
|
+
function csp_common_LogSystemFactory(
|
|
1055
|
+
nativePointer: NativePointer,
|
|
1056
|
+
): NativeClassWrapper {
|
|
1057
|
+
return new Common.LogSystem(nativePointer);
|
|
1058
|
+
}
|
|
1059
|
+
ProxyClassFactories["csp_common_LogSystem"] = csp_common_LogSystemFactory;
|
|
1060
|
+
|
|
1054
1061
|
function csp_multiplayer_ComponentBaseFactory(
|
|
1055
1062
|
nativePointer: NativePointer,
|
|
1056
1063
|
): NativeClassWrapper {
|
|
@@ -1408,13 +1415,6 @@ function csp_systems_HotspotGroupFactory(
|
|
|
1408
1415
|
ProxyClassFactories["csp_systems_HotspotGroup"] =
|
|
1409
1416
|
csp_systems_HotspotGroupFactory;
|
|
1410
1417
|
|
|
1411
|
-
function csp_systems_LogSystemFactory(
|
|
1412
|
-
nativePointer: NativePointer,
|
|
1413
|
-
): NativeClassWrapper {
|
|
1414
|
-
return new Systems.LogSystem(nativePointer);
|
|
1415
|
-
}
|
|
1416
|
-
ProxyClassFactories["csp_systems_LogSystem"] = csp_systems_LogSystemFactory;
|
|
1417
|
-
|
|
1418
1418
|
function csp_systems_MaintenanceInfoFactory(
|
|
1419
1419
|
nativePointer: NativePointer,
|
|
1420
1420
|
): NativeClassWrapper {
|
|
@@ -3103,6 +3103,144 @@ export namespace Systems {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
}
|
|
3105
3105
|
|
|
3106
|
+
export namespace Web {
|
|
3107
|
+
/**
|
|
3108
|
+
* @description Enum which represents all possible HTTP responses.
|
|
3109
|
+
*/
|
|
3110
|
+
export enum EResponseCodes {
|
|
3111
|
+
ResponseInit = 0,
|
|
3112
|
+
ResponseContinue = 100,
|
|
3113
|
+
ResponseSwitchingProtocols = 101,
|
|
3114
|
+
ResponseProcessing = 102,
|
|
3115
|
+
ResponseOK = 200,
|
|
3116
|
+
ResponseCreated = 201,
|
|
3117
|
+
ResponseAccepted = 202,
|
|
3118
|
+
ResponseNonauthoritative = 203,
|
|
3119
|
+
ResponseNoContent = 204,
|
|
3120
|
+
ResponseResetContent = 205,
|
|
3121
|
+
ResponsePartialContent = 206,
|
|
3122
|
+
ResponseMultiStatus = 207,
|
|
3123
|
+
ResponseAlreadyReported = 208,
|
|
3124
|
+
ResponseImUsed = 226,
|
|
3125
|
+
ResponseMultipleChoices = 300,
|
|
3126
|
+
ResponseMovedPermanently = 301,
|
|
3127
|
+
ResponseFound = 302,
|
|
3128
|
+
ResponseSeeOther = 303,
|
|
3129
|
+
ResponseNotModified = 304,
|
|
3130
|
+
ResponseUseProxy = 305,
|
|
3131
|
+
ResponseTemporaryRedirect = 307,
|
|
3132
|
+
ResponsePermanentRedirect = 308,
|
|
3133
|
+
ResponseBadRequest = 400,
|
|
3134
|
+
ResponseUnauthorized = 401,
|
|
3135
|
+
ResponsePaymentRequired = 402,
|
|
3136
|
+
ResponseForbidden = 403,
|
|
3137
|
+
ResponseNotFound = 404,
|
|
3138
|
+
ResponseMethodNotAllowed = 405,
|
|
3139
|
+
ResponseNotAcceptable = 406,
|
|
3140
|
+
ResponseProxyAuthenticationRequired = 407,
|
|
3141
|
+
ResponseRequestTimeout = 408,
|
|
3142
|
+
ResponseConflict = 409,
|
|
3143
|
+
ResponseGone = 410,
|
|
3144
|
+
ResponseLengthRequired = 411,
|
|
3145
|
+
ResponsePreconditionFailed = 412,
|
|
3146
|
+
ResponseRequestEntityTooLarge = 413,
|
|
3147
|
+
ResponseRequestUriTooLong = 414,
|
|
3148
|
+
ResponseUnsupportedMediaType = 415,
|
|
3149
|
+
ResponseRequestedRangeNotSatisfiable = 416,
|
|
3150
|
+
ResponseExpectationFailed = 417,
|
|
3151
|
+
ResponseImATeapot = 418,
|
|
3152
|
+
ResponseEnchanceYourCalm = 420,
|
|
3153
|
+
ResponseMisdirectedRequest = 421,
|
|
3154
|
+
ResponseUnprocessableEntity = 422,
|
|
3155
|
+
ResponseLocked = 423,
|
|
3156
|
+
ResponseFailedDependency = 424,
|
|
3157
|
+
ResponseUpgradeRequired = 426,
|
|
3158
|
+
ResponsePreconditionRequired = 428,
|
|
3159
|
+
ResponseTooManyRequests = 429,
|
|
3160
|
+
ResponseRequestHeaderFieldsTooLarge = 431,
|
|
3161
|
+
ResponseUnavailableForLegalReasons = 451,
|
|
3162
|
+
ResponseInternalServerError = 500,
|
|
3163
|
+
ResponseNotImplemented = 501,
|
|
3164
|
+
ResponseBadGateway = 502,
|
|
3165
|
+
ResponseServiceUnavailable = 503,
|
|
3166
|
+
ResponseGatewayTimeout = 504,
|
|
3167
|
+
ResponseVersionNotSupported = 505,
|
|
3168
|
+
ResponseVariantAlsoNegotiates = 506,
|
|
3169
|
+
ResponseInsufficientStorage = 507,
|
|
3170
|
+
ResponseLoopDetected = 508,
|
|
3171
|
+
ResponseNotExtended = 510,
|
|
3172
|
+
ResponseNetworkAuthenticationRequired = 511,
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
export namespace Multiplayer {
|
|
3177
|
+
/**
|
|
3178
|
+
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
3179
|
+
*/
|
|
3180
|
+
export enum ErrorCode {
|
|
3181
|
+
None,
|
|
3182
|
+
Unknown,
|
|
3183
|
+
NotConnected,
|
|
3184
|
+
AlreadyConnected,
|
|
3185
|
+
SpaceUserLimitExceeded,
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
export namespace Systems {
|
|
3190
|
+
/**
|
|
3191
|
+
* @description Code to indicate the result of a request.
|
|
3192
|
+
* Request results should be checked for a success by clients before using any other accessors.
|
|
3193
|
+
*/
|
|
3194
|
+
export enum EResultCode {
|
|
3195
|
+
Init,
|
|
3196
|
+
InProgress,
|
|
3197
|
+
Success,
|
|
3198
|
+
Failed,
|
|
3199
|
+
}
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
export namespace Systems {
|
|
3203
|
+
export enum ERequestFailureReason {
|
|
3204
|
+
Unknown = -1,
|
|
3205
|
+
None = 0,
|
|
3206
|
+
AddUserToSpaceDenied,
|
|
3207
|
+
UserSpaceAccessDenied,
|
|
3208
|
+
UserSpaceBannedAccessDenied,
|
|
3209
|
+
UserSpaceFullAccessDenied,
|
|
3210
|
+
UserSpaceInviteExpired,
|
|
3211
|
+
SpacePublicNameDuplicate,
|
|
3212
|
+
UserMaxSpaceLimitReached,
|
|
3213
|
+
UserAccountLocked,
|
|
3214
|
+
UserMissingPassword,
|
|
3215
|
+
UserUnverifiedEmail,
|
|
3216
|
+
UserBannedFromSpace,
|
|
3217
|
+
UserInvalidEmailDomain,
|
|
3218
|
+
UserInvalidThirdPartyAuth,
|
|
3219
|
+
UserAgeNotVerified,
|
|
3220
|
+
UserGuestLoginDisallowed,
|
|
3221
|
+
UserAgoraLimitReached,
|
|
3222
|
+
UserOpenAILimitReached,
|
|
3223
|
+
UserTicketedSpacesLimitReached,
|
|
3224
|
+
UserSpaceConcurrentUsersLimitReached,
|
|
3225
|
+
PrototypeReservedKeysNotAllowed,
|
|
3226
|
+
AssetInvalidFileContents,
|
|
3227
|
+
AssetInvalidFileType,
|
|
3228
|
+
AssetAudioVideoLimitReached,
|
|
3229
|
+
AssetObjectCaptureLimitReached,
|
|
3230
|
+
AssetTotalUploadSizeLimitReached,
|
|
3231
|
+
TicketUnknownNumber,
|
|
3232
|
+
TicketEmailMismatch,
|
|
3233
|
+
TicketVendorOAuthFailure,
|
|
3234
|
+
TicketOAuthTokenInvalid,
|
|
3235
|
+
TicketAlreadyApplied,
|
|
3236
|
+
ShopifyConnectionBroken,
|
|
3237
|
+
ShopifyInvalidStoreName,
|
|
3238
|
+
UserShopifyLimitReached,
|
|
3239
|
+
UserTokenRefreshFailed,
|
|
3240
|
+
InvalidSequenceKey,
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3106
3244
|
export namespace Common {
|
|
3107
3245
|
/**
|
|
3108
3246
|
* @description enum for representing a type stored by a csp::common::Variant.
|
|
@@ -3128,6 +3266,20 @@ export namespace Common {
|
|
|
3128
3266
|
}
|
|
3129
3267
|
}
|
|
3130
3268
|
|
|
3269
|
+
export namespace Common {
|
|
3270
|
+
export enum LogLevel {
|
|
3271
|
+
NoLogging,
|
|
3272
|
+
Fatal,
|
|
3273
|
+
Error,
|
|
3274
|
+
Warning,
|
|
3275
|
+
Display,
|
|
3276
|
+
Log,
|
|
3277
|
+
Verbose,
|
|
3278
|
+
VeryVerbose,
|
|
3279
|
+
All,
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3131
3283
|
export namespace Multiplayer {
|
|
3132
3284
|
/**
|
|
3133
3285
|
* @description Represents the type of component.
|
|
@@ -3217,19 +3369,6 @@ export namespace Multiplayer {
|
|
|
3217
3369
|
}
|
|
3218
3370
|
}
|
|
3219
3371
|
|
|
3220
|
-
export namespace Multiplayer {
|
|
3221
|
-
/**
|
|
3222
|
-
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
3223
|
-
*/
|
|
3224
|
-
export enum ErrorCode {
|
|
3225
|
-
None,
|
|
3226
|
-
Unknown,
|
|
3227
|
-
NotConnected,
|
|
3228
|
-
AlreadyConnected,
|
|
3229
|
-
SpaceUserLimitExceeded,
|
|
3230
|
-
}
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
3372
|
export namespace Multiplayer {
|
|
3234
3373
|
/**
|
|
3235
3374
|
* @description Enum representing the type of a replicated value.
|
|
@@ -3448,6 +3587,8 @@ export namespace Multiplayer {
|
|
|
3448
3587
|
AvatarPlayMode,
|
|
3449
3588
|
MovementDirection,
|
|
3450
3589
|
LocomotionModel,
|
|
3590
|
+
IsVisible,
|
|
3591
|
+
IsARVisible,
|
|
3451
3592
|
Num,
|
|
3452
3593
|
}
|
|
3453
3594
|
}
|
|
@@ -3987,61 +4128,6 @@ export namespace Multiplayer {
|
|
|
3987
4128
|
}
|
|
3988
4129
|
}
|
|
3989
4130
|
|
|
3990
|
-
export namespace Systems {
|
|
3991
|
-
/**
|
|
3992
|
-
* @description Code to indicate the result of a request.
|
|
3993
|
-
* Request results should be checked for a success by clients before using any other accessors.
|
|
3994
|
-
*/
|
|
3995
|
-
export enum EResultCode {
|
|
3996
|
-
Init,
|
|
3997
|
-
InProgress,
|
|
3998
|
-
Success,
|
|
3999
|
-
Failed,
|
|
4000
|
-
}
|
|
4001
|
-
}
|
|
4002
|
-
|
|
4003
|
-
export namespace Systems {
|
|
4004
|
-
export enum ERequestFailureReason {
|
|
4005
|
-
Unknown = -1,
|
|
4006
|
-
None = 0,
|
|
4007
|
-
AddUserToSpaceDenied,
|
|
4008
|
-
UserSpaceAccessDenied,
|
|
4009
|
-
UserSpaceBannedAccessDenied,
|
|
4010
|
-
UserSpaceFullAccessDenied,
|
|
4011
|
-
UserSpaceInviteExpired,
|
|
4012
|
-
SpacePublicNameDuplicate,
|
|
4013
|
-
UserMaxSpaceLimitReached,
|
|
4014
|
-
UserAccountLocked,
|
|
4015
|
-
UserMissingPassword,
|
|
4016
|
-
UserUnverifiedEmail,
|
|
4017
|
-
UserBannedFromSpace,
|
|
4018
|
-
UserInvalidEmailDomain,
|
|
4019
|
-
UserInvalidThirdPartyAuth,
|
|
4020
|
-
UserAgeNotVerified,
|
|
4021
|
-
UserGuestLoginDisallowed,
|
|
4022
|
-
UserAgoraLimitReached,
|
|
4023
|
-
UserOpenAILimitReached,
|
|
4024
|
-
UserTicketedSpacesLimitReached,
|
|
4025
|
-
UserSpaceConcurrentUsersLimitReached,
|
|
4026
|
-
PrototypeReservedKeysNotAllowed,
|
|
4027
|
-
AssetInvalidFileContents,
|
|
4028
|
-
AssetInvalidFileType,
|
|
4029
|
-
AssetAudioVideoLimitReached,
|
|
4030
|
-
AssetObjectCaptureLimitReached,
|
|
4031
|
-
AssetTotalUploadSizeLimitReached,
|
|
4032
|
-
TicketUnknownNumber,
|
|
4033
|
-
TicketEmailMismatch,
|
|
4034
|
-
TicketVendorOAuthFailure,
|
|
4035
|
-
TicketOAuthTokenInvalid,
|
|
4036
|
-
TicketAlreadyApplied,
|
|
4037
|
-
ShopifyConnectionBroken,
|
|
4038
|
-
ShopifyInvalidStoreName,
|
|
4039
|
-
UserShopifyLimitReached,
|
|
4040
|
-
UserTokenRefreshFailed,
|
|
4041
|
-
InvalidSequenceKey,
|
|
4042
|
-
}
|
|
4043
|
-
}
|
|
4044
|
-
|
|
4045
4131
|
export namespace Systems {
|
|
4046
4132
|
/**
|
|
4047
4133
|
* @description Asset type enum, defines the allowed and implemented types of assets.
|
|
@@ -4166,20 +4252,6 @@ export namespace Systems {
|
|
|
4166
4252
|
}
|
|
4167
4253
|
}
|
|
4168
4254
|
|
|
4169
|
-
export namespace Systems {
|
|
4170
|
-
export enum LogLevel {
|
|
4171
|
-
NoLogging,
|
|
4172
|
-
Fatal,
|
|
4173
|
-
Error,
|
|
4174
|
-
Warning,
|
|
4175
|
-
Display,
|
|
4176
|
-
Log,
|
|
4177
|
-
Verbose,
|
|
4178
|
-
VeryVerbose,
|
|
4179
|
-
All,
|
|
4180
|
-
}
|
|
4181
|
-
}
|
|
4182
|
-
|
|
4183
4255
|
export namespace Systems {
|
|
4184
4256
|
/**
|
|
4185
4257
|
@ingroup Quota System
|
|
@@ -4290,76 +4362,6 @@ export namespace Systems {
|
|
|
4290
4362
|
}
|
|
4291
4363
|
}
|
|
4292
4364
|
|
|
4293
|
-
export namespace Web {
|
|
4294
|
-
/**
|
|
4295
|
-
* @description Enum which represents all possible HTTP responses.
|
|
4296
|
-
*/
|
|
4297
|
-
export enum EResponseCodes {
|
|
4298
|
-
ResponseInit = 0,
|
|
4299
|
-
ResponseContinue = 100,
|
|
4300
|
-
ResponseSwitchingProtocols = 101,
|
|
4301
|
-
ResponseProcessing = 102,
|
|
4302
|
-
ResponseOK = 200,
|
|
4303
|
-
ResponseCreated = 201,
|
|
4304
|
-
ResponseAccepted = 202,
|
|
4305
|
-
ResponseNonauthoritative = 203,
|
|
4306
|
-
ResponseNoContent = 204,
|
|
4307
|
-
ResponseResetContent = 205,
|
|
4308
|
-
ResponsePartialContent = 206,
|
|
4309
|
-
ResponseMultiStatus = 207,
|
|
4310
|
-
ResponseAlreadyReported = 208,
|
|
4311
|
-
ResponseImUsed = 226,
|
|
4312
|
-
ResponseMultipleChoices = 300,
|
|
4313
|
-
ResponseMovedPermanently = 301,
|
|
4314
|
-
ResponseFound = 302,
|
|
4315
|
-
ResponseSeeOther = 303,
|
|
4316
|
-
ResponseNotModified = 304,
|
|
4317
|
-
ResponseUseProxy = 305,
|
|
4318
|
-
ResponseTemporaryRedirect = 307,
|
|
4319
|
-
ResponsePermanentRedirect = 308,
|
|
4320
|
-
ResponseBadRequest = 400,
|
|
4321
|
-
ResponseUnauthorized = 401,
|
|
4322
|
-
ResponsePaymentRequired = 402,
|
|
4323
|
-
ResponseForbidden = 403,
|
|
4324
|
-
ResponseNotFound = 404,
|
|
4325
|
-
ResponseMethodNotAllowed = 405,
|
|
4326
|
-
ResponseNotAcceptable = 406,
|
|
4327
|
-
ResponseProxyAuthenticationRequired = 407,
|
|
4328
|
-
ResponseRequestTimeout = 408,
|
|
4329
|
-
ResponseConflict = 409,
|
|
4330
|
-
ResponseGone = 410,
|
|
4331
|
-
ResponseLengthRequired = 411,
|
|
4332
|
-
ResponsePreconditionFailed = 412,
|
|
4333
|
-
ResponseRequestEntityTooLarge = 413,
|
|
4334
|
-
ResponseRequestUriTooLong = 414,
|
|
4335
|
-
ResponseUnsupportedMediaType = 415,
|
|
4336
|
-
ResponseRequestedRangeNotSatisfiable = 416,
|
|
4337
|
-
ResponseExpectationFailed = 417,
|
|
4338
|
-
ResponseImATeapot = 418,
|
|
4339
|
-
ResponseEnchanceYourCalm = 420,
|
|
4340
|
-
ResponseMisdirectedRequest = 421,
|
|
4341
|
-
ResponseUnprocessableEntity = 422,
|
|
4342
|
-
ResponseLocked = 423,
|
|
4343
|
-
ResponseFailedDependency = 424,
|
|
4344
|
-
ResponseUpgradeRequired = 426,
|
|
4345
|
-
ResponsePreconditionRequired = 428,
|
|
4346
|
-
ResponseTooManyRequests = 429,
|
|
4347
|
-
ResponseRequestHeaderFieldsTooLarge = 431,
|
|
4348
|
-
ResponseUnavailableForLegalReasons = 451,
|
|
4349
|
-
ResponseInternalServerError = 500,
|
|
4350
|
-
ResponseNotImplemented = 501,
|
|
4351
|
-
ResponseBadGateway = 502,
|
|
4352
|
-
ResponseServiceUnavailable = 503,
|
|
4353
|
-
ResponseGatewayTimeout = 504,
|
|
4354
|
-
ResponseVersionNotSupported = 505,
|
|
4355
|
-
ResponseVariantAlsoNegotiates = 506,
|
|
4356
|
-
ResponseInsufficientStorage = 507,
|
|
4357
|
-
ResponseLoopDetected = 508,
|
|
4358
|
-
ResponseNotExtended = 510,
|
|
4359
|
-
ResponseNetworkAuthenticationRequired = 511,
|
|
4360
|
-
}
|
|
4361
|
-
}
|
|
4362
|
-
|
|
4363
4365
|
export namespace Multiplayer {
|
|
4364
4366
|
/**
|
|
4365
4367
|
* @description Controls whether a component is enabled or disabled.
|
|
@@ -22000,6 +22002,250 @@ export namespace Common {
|
|
|
22000
22002
|
}
|
|
22001
22003
|
}
|
|
22002
22004
|
|
|
22005
|
+
export namespace Common {
|
|
22006
|
+
/**
|
|
22007
|
+
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
22008
|
+
* Contains a callback system that allows clients to react to specific logs or events.
|
|
22009
|
+
*/
|
|
22010
|
+
export class LogSystem extends NativeClassWrapper implements INativeResource {
|
|
22011
|
+
/** @internal */
|
|
22012
|
+
constructor(pointer: NativePointer) {
|
|
22013
|
+
super(pointer);
|
|
22014
|
+
}
|
|
22015
|
+
|
|
22016
|
+
static create(): LogSystem {
|
|
22017
|
+
var _ptr = Module._malloc(8);
|
|
22018
|
+
Module.ccall("csp_common_LogSystem_Ctor", "void", ["number"], [_ptr]);
|
|
22019
|
+
var _nPtr = getNativePointer(_ptr);
|
|
22020
|
+
|
|
22021
|
+
return new LogSystem(_nPtr);
|
|
22022
|
+
}
|
|
22023
|
+
|
|
22024
|
+
delete(): void {
|
|
22025
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22026
|
+
Module.ccall(
|
|
22027
|
+
"csp_common_LogSystem_Dtor",
|
|
22028
|
+
"void",
|
|
22029
|
+
["number"],
|
|
22030
|
+
[this.pointer],
|
|
22031
|
+
);
|
|
22032
|
+
|
|
22033
|
+
this.disposed = true;
|
|
22034
|
+
}
|
|
22035
|
+
}
|
|
22036
|
+
|
|
22037
|
+
/**
|
|
22038
|
+
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
22039
|
+
* @param inLogCallback - The callback to execute when a log occurs.
|
|
22040
|
+
*/
|
|
22041
|
+
setLogCallback(callback: (arg1: string) => void) {
|
|
22042
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22043
|
+
{
|
|
22044
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
22045
|
+
free(arg1);
|
|
22046
|
+
|
|
22047
|
+
arg1 = _stringValue;
|
|
22048
|
+
}
|
|
22049
|
+
|
|
22050
|
+
callback(arg1);
|
|
22051
|
+
};
|
|
22052
|
+
|
|
22053
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22054
|
+
|
|
22055
|
+
Module.ccall(
|
|
22056
|
+
"csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler",
|
|
22057
|
+
"void",
|
|
22058
|
+
["number", "number", "number"],
|
|
22059
|
+
[this.pointer, _callbackPtr, 0],
|
|
22060
|
+
);
|
|
22061
|
+
}
|
|
22062
|
+
|
|
22063
|
+
/**
|
|
22064
|
+
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
22065
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
22066
|
+
*/
|
|
22067
|
+
setEventCallback(callback: (arg1: string) => void) {
|
|
22068
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22069
|
+
{
|
|
22070
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
22071
|
+
free(arg1);
|
|
22072
|
+
|
|
22073
|
+
arg1 = _stringValue;
|
|
22074
|
+
}
|
|
22075
|
+
|
|
22076
|
+
callback(arg1);
|
|
22077
|
+
};
|
|
22078
|
+
|
|
22079
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22080
|
+
|
|
22081
|
+
Module.ccall(
|
|
22082
|
+
"csp_common_LogSystem_SetEventCallback_void_EventCallbackHandler",
|
|
22083
|
+
"void",
|
|
22084
|
+
["number", "number", "number"],
|
|
22085
|
+
[this.pointer, _callbackPtr, 0],
|
|
22086
|
+
);
|
|
22087
|
+
}
|
|
22088
|
+
|
|
22089
|
+
/**
|
|
22090
|
+
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
22091
|
+
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
22092
|
+
*/
|
|
22093
|
+
setBeginMarkerCallback(callback: (arg1: string) => void) {
|
|
22094
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22095
|
+
{
|
|
22096
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
22097
|
+
free(arg1);
|
|
22098
|
+
|
|
22099
|
+
arg1 = _stringValue;
|
|
22100
|
+
}
|
|
22101
|
+
|
|
22102
|
+
callback(arg1);
|
|
22103
|
+
};
|
|
22104
|
+
|
|
22105
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22106
|
+
|
|
22107
|
+
Module.ccall(
|
|
22108
|
+
"csp_common_LogSystem_SetBeginMarkerCallback_void_BeginMarkerCallbackHandler",
|
|
22109
|
+
"void",
|
|
22110
|
+
["number", "number", "number"],
|
|
22111
|
+
[this.pointer, _callbackPtr, 0],
|
|
22112
|
+
);
|
|
22113
|
+
}
|
|
22114
|
+
|
|
22115
|
+
/**
|
|
22116
|
+
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
22117
|
+
* @param inEndCallback - The callback to execute when the marker ends.
|
|
22118
|
+
*/
|
|
22119
|
+
setEndMarkerCallback(callback: (arg1: number) => void) {
|
|
22120
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22121
|
+
callback(arg1);
|
|
22122
|
+
};
|
|
22123
|
+
|
|
22124
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22125
|
+
|
|
22126
|
+
Module.ccall(
|
|
22127
|
+
"csp_common_LogSystem_SetEndMarkerCallback_void_EndMarkerCallbackHandler",
|
|
22128
|
+
"void",
|
|
22129
|
+
["number", "number", "number"],
|
|
22130
|
+
[this.pointer, _callbackPtr, 0],
|
|
22131
|
+
);
|
|
22132
|
+
}
|
|
22133
|
+
|
|
22134
|
+
/**
|
|
22135
|
+
* @description Set the verbosity of logging for a system-wide level.
|
|
22136
|
+
* @param inSystemLevel - The level to set the system logging to.
|
|
22137
|
+
*/
|
|
22138
|
+
|
|
22139
|
+
setSystemLevel(systemLevel: Common.LogLevel): void {
|
|
22140
|
+
Module.ccall(
|
|
22141
|
+
"csp_common_LogSystem_SetSystemLevel_void_LogLevelC",
|
|
22142
|
+
"void",
|
|
22143
|
+
["number", "number"],
|
|
22144
|
+
[this.pointer, systemLevel],
|
|
22145
|
+
);
|
|
22146
|
+
}
|
|
22147
|
+
|
|
22148
|
+
/**
|
|
22149
|
+
* @description Retreive the log verbosity level.
|
|
22150
|
+
*/
|
|
22151
|
+
|
|
22152
|
+
getSystemLevel(): Common.LogLevel {
|
|
22153
|
+
let _result = Module.ccall(
|
|
22154
|
+
"csp_common_LogSystem_GetSystemLevel_LogLevel",
|
|
22155
|
+
"number",
|
|
22156
|
+
["number"],
|
|
22157
|
+
[this.pointer],
|
|
22158
|
+
);
|
|
22159
|
+
|
|
22160
|
+
return _result;
|
|
22161
|
+
}
|
|
22162
|
+
|
|
22163
|
+
/**
|
|
22164
|
+
* @description Check if we currently log a specified log verbosity level.
|
|
22165
|
+
* @param level - The level to check.
|
|
22166
|
+
*/
|
|
22167
|
+
|
|
22168
|
+
loggingEnabled(level: Common.LogLevel): boolean {
|
|
22169
|
+
let _result = Module.ccall(
|
|
22170
|
+
"csp_common_LogSystem_LoggingEnabled_bool_LogLevelC",
|
|
22171
|
+
"boolean",
|
|
22172
|
+
["number", "number"],
|
|
22173
|
+
[this.pointer, level],
|
|
22174
|
+
);
|
|
22175
|
+
|
|
22176
|
+
return _result;
|
|
22177
|
+
}
|
|
22178
|
+
|
|
22179
|
+
/**
|
|
22180
|
+
* @description Log a message at a specific verbosity level.
|
|
22181
|
+
* @param level - The level to log this message at.
|
|
22182
|
+
* @param inMessage - The message to be logged.
|
|
22183
|
+
*/
|
|
22184
|
+
|
|
22185
|
+
logMsg(level: Common.LogLevel, message: string): void {
|
|
22186
|
+
Module.ccall(
|
|
22187
|
+
"csp_common_LogSystem_LogMsg_void_LogLevelC_StringRC",
|
|
22188
|
+
"void",
|
|
22189
|
+
["number", "number", "string"],
|
|
22190
|
+
[this.pointer, level, message],
|
|
22191
|
+
);
|
|
22192
|
+
}
|
|
22193
|
+
|
|
22194
|
+
/**
|
|
22195
|
+
* @description Log an event.
|
|
22196
|
+
* @param inEvent - The event to be logged.
|
|
22197
|
+
*/
|
|
22198
|
+
|
|
22199
|
+
logEvent(event: string): void {
|
|
22200
|
+
Module.ccall(
|
|
22201
|
+
"csp_common_LogSystem_LogEvent_void_StringRC",
|
|
22202
|
+
"void",
|
|
22203
|
+
["number", "string"],
|
|
22204
|
+
[this.pointer, event],
|
|
22205
|
+
);
|
|
22206
|
+
}
|
|
22207
|
+
|
|
22208
|
+
/**
|
|
22209
|
+
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
22210
|
+
*/
|
|
22211
|
+
|
|
22212
|
+
beginMarker(marker: string): void {
|
|
22213
|
+
Module.ccall(
|
|
22214
|
+
"csp_common_LogSystem_BeginMarker_void_StringRC",
|
|
22215
|
+
"void",
|
|
22216
|
+
["number", "string"],
|
|
22217
|
+
[this.pointer, marker],
|
|
22218
|
+
);
|
|
22219
|
+
}
|
|
22220
|
+
|
|
22221
|
+
/**
|
|
22222
|
+
* @description End a 'Marker' event.
|
|
22223
|
+
*/
|
|
22224
|
+
|
|
22225
|
+
endMarker(): void {
|
|
22226
|
+
Module.ccall(
|
|
22227
|
+
"csp_common_LogSystem_EndMarker_void",
|
|
22228
|
+
"void",
|
|
22229
|
+
["number"],
|
|
22230
|
+
[this.pointer],
|
|
22231
|
+
);
|
|
22232
|
+
}
|
|
22233
|
+
|
|
22234
|
+
/**
|
|
22235
|
+
* @description Clears all logging callbacks.
|
|
22236
|
+
*/
|
|
22237
|
+
|
|
22238
|
+
clearAllCallbacks(): void {
|
|
22239
|
+
Module.ccall(
|
|
22240
|
+
"csp_common_LogSystem_ClearAllCallbacks_void",
|
|
22241
|
+
"void",
|
|
22242
|
+
["number"],
|
|
22243
|
+
[this.pointer],
|
|
22244
|
+
);
|
|
22245
|
+
}
|
|
22246
|
+
}
|
|
22247
|
+
}
|
|
22248
|
+
|
|
22003
22249
|
export namespace Multiplayer {
|
|
22004
22250
|
/**
|
|
22005
22251
|
* @description The base class for all components, provides mechanisms for dirtying properties and subscribing to events on property changes.
|
|
@@ -23884,15 +24130,16 @@ export namespace Multiplayer {
|
|
|
23884
24130
|
/**
|
|
23885
24131
|
* @description Creates a SpaceEntity instance using the space entity system provided.
|
|
23886
24132
|
*/
|
|
23887
|
-
static
|
|
24133
|
+
static create_entitySystem_logSystem(
|
|
23888
24134
|
entitySystem: Multiplayer.SpaceEntitySystem,
|
|
24135
|
+
logSystem: Common.LogSystem,
|
|
23889
24136
|
): SpaceEntity {
|
|
23890
24137
|
var _ptr = Module._malloc(8);
|
|
23891
24138
|
Module.ccall(
|
|
23892
|
-
"
|
|
24139
|
+
"csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP_LogSystemP",
|
|
23893
24140
|
"void",
|
|
23894
|
-
["number", "number"],
|
|
23895
|
-
[_ptr, entitySystem.pointer],
|
|
24141
|
+
["number", "number", "number"],
|
|
24142
|
+
[_ptr, entitySystem.pointer, logSystem.pointer],
|
|
23896
24143
|
);
|
|
23897
24144
|
var _nPtr = getNativePointer(_ptr);
|
|
23898
24145
|
|
|
@@ -24821,6 +25068,7 @@ export namespace Multiplayer {
|
|
|
24821
25068
|
* @description Creates a SpaceEntity with type Avatar, and relevant components and default states as specified.
|
|
24822
25069
|
* @param inName - The name to give the new SpaceEntity.
|
|
24823
25070
|
* @param inSpaceTransform - The initial transform to set the SpaceEntity to.
|
|
25071
|
+
* @param isVisible - The initial visibility of the Avatar.
|
|
24824
25072
|
* @param inState - The initial Avatar State to set.
|
|
24825
25073
|
* @param inAvatarId - The Initial AvatarID to set.
|
|
24826
25074
|
* @param inAvatarPlayMode - The Initial AvatarPlayMode to set.
|
|
@@ -24831,6 +25079,7 @@ export namespace Multiplayer {
|
|
|
24831
25079
|
async createAvatar(
|
|
24832
25080
|
name: string,
|
|
24833
25081
|
spaceTransform: Multiplayer.SpaceTransform,
|
|
25082
|
+
isVisible: boolean,
|
|
24834
25083
|
state: Multiplayer.AvatarState,
|
|
24835
25084
|
avatarId: string,
|
|
24836
25085
|
avatarPlayMode: Multiplayer.AvatarPlayMode,
|
|
@@ -24854,12 +25103,13 @@ export namespace Multiplayer {
|
|
|
24854
25103
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
24855
25104
|
|
|
24856
25105
|
Module.ccall(
|
|
24857
|
-
"
|
|
25106
|
+
"csp_multiplayer_SpaceEntitySystem_CreateAvatar_void_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback",
|
|
24858
25107
|
"void",
|
|
24859
25108
|
[
|
|
24860
25109
|
"number",
|
|
24861
25110
|
"string",
|
|
24862
25111
|
"number",
|
|
25112
|
+
"boolean",
|
|
24863
25113
|
"number",
|
|
24864
25114
|
"string",
|
|
24865
25115
|
"number",
|
|
@@ -24870,6 +25120,7 @@ export namespace Multiplayer {
|
|
|
24870
25120
|
this.pointer,
|
|
24871
25121
|
name,
|
|
24872
25122
|
spaceTransform.pointer,
|
|
25123
|
+
isVisible,
|
|
24873
25124
|
state,
|
|
24874
25125
|
avatarId,
|
|
24875
25126
|
avatarPlayMode,
|
|
@@ -26843,7 +27094,7 @@ export namespace Systems {
|
|
|
26843
27094
|
* @return Pointer to the log system class
|
|
26844
27095
|
*/
|
|
26845
27096
|
|
|
26846
|
-
getLogSystem():
|
|
27097
|
+
getLogSystem(): Common.LogSystem {
|
|
26847
27098
|
var _ret = Module._malloc(8);
|
|
26848
27099
|
|
|
26849
27100
|
Module.ccall(
|
|
@@ -26852,7 +27103,7 @@ export namespace Systems {
|
|
|
26852
27103
|
["number", "number"],
|
|
26853
27104
|
[_ret, this.pointer],
|
|
26854
27105
|
);
|
|
26855
|
-
var _nPtr = new
|
|
27106
|
+
var _nPtr = new Common.LogSystem(getNativePointer(_ret));
|
|
26856
27107
|
Module._free(_ret);
|
|
26857
27108
|
|
|
26858
27109
|
return _nPtr;
|
|
@@ -30810,229 +31061,6 @@ export namespace Systems {
|
|
|
30810
31061
|
}
|
|
30811
31062
|
}
|
|
30812
31063
|
|
|
30813
|
-
export namespace Systems {
|
|
30814
|
-
/**
|
|
30815
|
-
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
30816
|
-
* Contains a callback system that allows clients to react to specific logs or events.
|
|
30817
|
-
*/
|
|
30818
|
-
export class LogSystem extends NativeClassWrapper {
|
|
30819
|
-
/** @internal */
|
|
30820
|
-
constructor(pointer: NativePointer) {
|
|
30821
|
-
super(pointer);
|
|
30822
|
-
}
|
|
30823
|
-
|
|
30824
|
-
/**
|
|
30825
|
-
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
30826
|
-
* @param inLogCallback - The callback to execute when a log occurs.
|
|
30827
|
-
*/
|
|
30828
|
-
setLogCallback(callback: (arg1: string) => void) {
|
|
30829
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
30830
|
-
{
|
|
30831
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
30832
|
-
free(arg1);
|
|
30833
|
-
|
|
30834
|
-
arg1 = _stringValue;
|
|
30835
|
-
}
|
|
30836
|
-
|
|
30837
|
-
callback(arg1);
|
|
30838
|
-
};
|
|
30839
|
-
|
|
30840
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
30841
|
-
|
|
30842
|
-
Module.ccall(
|
|
30843
|
-
"csp_systems_LogSystem_SetLogCallback_void_LogCallbackHandler",
|
|
30844
|
-
"void",
|
|
30845
|
-
["number", "number", "number"],
|
|
30846
|
-
[this.pointer, _callbackPtr, 0],
|
|
30847
|
-
);
|
|
30848
|
-
}
|
|
30849
|
-
|
|
30850
|
-
/**
|
|
30851
|
-
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
30852
|
-
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
30853
|
-
*/
|
|
30854
|
-
setEventCallback(callback: (arg1: string) => void) {
|
|
30855
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
30856
|
-
{
|
|
30857
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
30858
|
-
free(arg1);
|
|
30859
|
-
|
|
30860
|
-
arg1 = _stringValue;
|
|
30861
|
-
}
|
|
30862
|
-
|
|
30863
|
-
callback(arg1);
|
|
30864
|
-
};
|
|
30865
|
-
|
|
30866
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
30867
|
-
|
|
30868
|
-
Module.ccall(
|
|
30869
|
-
"csp_systems_LogSystem_SetEventCallback_void_EventCallbackHandler",
|
|
30870
|
-
"void",
|
|
30871
|
-
["number", "number", "number"],
|
|
30872
|
-
[this.pointer, _callbackPtr, 0],
|
|
30873
|
-
);
|
|
30874
|
-
}
|
|
30875
|
-
|
|
30876
|
-
/**
|
|
30877
|
-
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
30878
|
-
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
30879
|
-
*/
|
|
30880
|
-
setBeginMarkerCallback(callback: (arg1: string) => void) {
|
|
30881
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
30882
|
-
{
|
|
30883
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
30884
|
-
free(arg1);
|
|
30885
|
-
|
|
30886
|
-
arg1 = _stringValue;
|
|
30887
|
-
}
|
|
30888
|
-
|
|
30889
|
-
callback(arg1);
|
|
30890
|
-
};
|
|
30891
|
-
|
|
30892
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
30893
|
-
|
|
30894
|
-
Module.ccall(
|
|
30895
|
-
"csp_systems_LogSystem_SetBeginMarkerCallback_void_BeginMarkerCallbackHandler",
|
|
30896
|
-
"void",
|
|
30897
|
-
["number", "number", "number"],
|
|
30898
|
-
[this.pointer, _callbackPtr, 0],
|
|
30899
|
-
);
|
|
30900
|
-
}
|
|
30901
|
-
|
|
30902
|
-
/**
|
|
30903
|
-
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
30904
|
-
* @param inEndCallback - The callback to execute when the marker ends.
|
|
30905
|
-
*/
|
|
30906
|
-
setEndMarkerCallback(callback: (arg1: number) => void) {
|
|
30907
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
30908
|
-
callback(arg1);
|
|
30909
|
-
};
|
|
30910
|
-
|
|
30911
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
30912
|
-
|
|
30913
|
-
Module.ccall(
|
|
30914
|
-
"csp_systems_LogSystem_SetEndMarkerCallback_void_EndMarkerCallbackHandler",
|
|
30915
|
-
"void",
|
|
30916
|
-
["number", "number", "number"],
|
|
30917
|
-
[this.pointer, _callbackPtr, 0],
|
|
30918
|
-
);
|
|
30919
|
-
}
|
|
30920
|
-
|
|
30921
|
-
/**
|
|
30922
|
-
* @description Set the verbosity of logging for a system-wide level.
|
|
30923
|
-
* @param inSystemLevel - The level to set the system logging to.
|
|
30924
|
-
*/
|
|
30925
|
-
|
|
30926
|
-
setSystemLevel(systemLevel: Systems.LogLevel): void {
|
|
30927
|
-
Module.ccall(
|
|
30928
|
-
"csp_systems_LogSystem_SetSystemLevel_void_LogLevelC",
|
|
30929
|
-
"void",
|
|
30930
|
-
["number", "number"],
|
|
30931
|
-
[this.pointer, systemLevel],
|
|
30932
|
-
);
|
|
30933
|
-
}
|
|
30934
|
-
|
|
30935
|
-
/**
|
|
30936
|
-
* @description Retreive the log verbosity level.
|
|
30937
|
-
*/
|
|
30938
|
-
|
|
30939
|
-
getSystemLevel(): Systems.LogLevel {
|
|
30940
|
-
let _result = Module.ccall(
|
|
30941
|
-
"csp_systems_LogSystem_GetSystemLevel_LogLevel",
|
|
30942
|
-
"number",
|
|
30943
|
-
["number"],
|
|
30944
|
-
[this.pointer],
|
|
30945
|
-
);
|
|
30946
|
-
|
|
30947
|
-
return _result;
|
|
30948
|
-
}
|
|
30949
|
-
|
|
30950
|
-
/**
|
|
30951
|
-
* @description Check if we currently log a specified log verbosity level.
|
|
30952
|
-
* @param level - The level to check.
|
|
30953
|
-
*/
|
|
30954
|
-
|
|
30955
|
-
loggingEnabled(level: Systems.LogLevel): boolean {
|
|
30956
|
-
let _result = Module.ccall(
|
|
30957
|
-
"csp_systems_LogSystem_LoggingEnabled_bool_LogLevelC",
|
|
30958
|
-
"boolean",
|
|
30959
|
-
["number", "number"],
|
|
30960
|
-
[this.pointer, level],
|
|
30961
|
-
);
|
|
30962
|
-
|
|
30963
|
-
return _result;
|
|
30964
|
-
}
|
|
30965
|
-
|
|
30966
|
-
/**
|
|
30967
|
-
* @description Log a message at a specific verbosity level.
|
|
30968
|
-
* @param level - The level to log this message at.
|
|
30969
|
-
* @param inMessage - The message to be logged.
|
|
30970
|
-
*/
|
|
30971
|
-
|
|
30972
|
-
logMsg(level: Systems.LogLevel, message: string): void {
|
|
30973
|
-
Module.ccall(
|
|
30974
|
-
"csp_systems_LogSystem_LogMsg_void_LogLevelC_StringRC",
|
|
30975
|
-
"void",
|
|
30976
|
-
["number", "number", "string"],
|
|
30977
|
-
[this.pointer, level, message],
|
|
30978
|
-
);
|
|
30979
|
-
}
|
|
30980
|
-
|
|
30981
|
-
/**
|
|
30982
|
-
* @description Log an event.
|
|
30983
|
-
* @param inEvent - The event to be logged.
|
|
30984
|
-
*/
|
|
30985
|
-
|
|
30986
|
-
logEvent(event: string): void {
|
|
30987
|
-
Module.ccall(
|
|
30988
|
-
"csp_systems_LogSystem_LogEvent_void_StringRC",
|
|
30989
|
-
"void",
|
|
30990
|
-
["number", "string"],
|
|
30991
|
-
[this.pointer, event],
|
|
30992
|
-
);
|
|
30993
|
-
}
|
|
30994
|
-
|
|
30995
|
-
/**
|
|
30996
|
-
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
30997
|
-
*/
|
|
30998
|
-
|
|
30999
|
-
beginMarker(marker: string): void {
|
|
31000
|
-
Module.ccall(
|
|
31001
|
-
"csp_systems_LogSystem_BeginMarker_void_StringRC",
|
|
31002
|
-
"void",
|
|
31003
|
-
["number", "string"],
|
|
31004
|
-
[this.pointer, marker],
|
|
31005
|
-
);
|
|
31006
|
-
}
|
|
31007
|
-
|
|
31008
|
-
/**
|
|
31009
|
-
* @description End a 'Marker' event.
|
|
31010
|
-
*/
|
|
31011
|
-
|
|
31012
|
-
endMarker(): void {
|
|
31013
|
-
Module.ccall(
|
|
31014
|
-
"csp_systems_LogSystem_EndMarker_void",
|
|
31015
|
-
"void",
|
|
31016
|
-
["number"],
|
|
31017
|
-
[this.pointer],
|
|
31018
|
-
);
|
|
31019
|
-
}
|
|
31020
|
-
|
|
31021
|
-
/**
|
|
31022
|
-
* @description Clears all logging callbacks.
|
|
31023
|
-
*/
|
|
31024
|
-
|
|
31025
|
-
clearAllCallbacks(): void {
|
|
31026
|
-
Module.ccall(
|
|
31027
|
-
"csp_systems_LogSystem_ClearAllCallbacks_void",
|
|
31028
|
-
"void",
|
|
31029
|
-
["number"],
|
|
31030
|
-
[this.pointer],
|
|
31031
|
-
);
|
|
31032
|
-
}
|
|
31033
|
-
}
|
|
31034
|
-
}
|
|
31035
|
-
|
|
31036
31064
|
export namespace Systems {
|
|
31037
31065
|
/**
|
|
31038
31066
|
* @description Represents a single maintenance window, provides description of the event and a start and end timestamp
|
|
@@ -34599,15 +34627,16 @@ export namespace Multiplayer {
|
|
|
34599
34627
|
* @description Constructs the animated model space component, and associates it with the specified Parent space entity.
|
|
34600
34628
|
* @param parent - The Space entity that owns this component.
|
|
34601
34629
|
*/
|
|
34602
|
-
static
|
|
34630
|
+
static create_logSystem_parent(
|
|
34631
|
+
logSystem: Common.LogSystem,
|
|
34603
34632
|
parent: Multiplayer.SpaceEntity,
|
|
34604
34633
|
): AnimatedModelSpaceComponent {
|
|
34605
34634
|
var _ptr = Module._malloc(8);
|
|
34606
34635
|
Module.ccall(
|
|
34607
|
-
"
|
|
34636
|
+
"csp_multiplayer_AnimatedModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
34608
34637
|
"void",
|
|
34609
|
-
["number", "number"],
|
|
34610
|
-
[_ptr, parent.pointer],
|
|
34638
|
+
["number", "number", "number"],
|
|
34639
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
34611
34640
|
);
|
|
34612
34641
|
var _nPtr = getNativePointer(_ptr);
|
|
34613
34642
|
|
|
@@ -35139,13 +35168,16 @@ export namespace Multiplayer {
|
|
|
35139
35168
|
* @description Constructs the audio space component, and associates it with the specified Parent space entity.
|
|
35140
35169
|
* @param parent - The Space entity that owns this component.
|
|
35141
35170
|
*/
|
|
35142
|
-
static
|
|
35171
|
+
static create_logSystem_parent(
|
|
35172
|
+
logSystem: Common.LogSystem,
|
|
35173
|
+
parent: Multiplayer.SpaceEntity,
|
|
35174
|
+
): AudioSpaceComponent {
|
|
35143
35175
|
var _ptr = Module._malloc(8);
|
|
35144
35176
|
Module.ccall(
|
|
35145
|
-
"
|
|
35177
|
+
"csp_multiplayer_AudioSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
35146
35178
|
"void",
|
|
35147
|
-
["number", "number"],
|
|
35148
|
-
[_ptr, parent.pointer],
|
|
35179
|
+
["number", "number", "number"],
|
|
35180
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
35149
35181
|
);
|
|
35150
35182
|
var _nPtr = getNativePointer(_ptr);
|
|
35151
35183
|
|
|
@@ -35545,7 +35577,7 @@ export namespace Multiplayer {
|
|
|
35545
35577
|
*/
|
|
35546
35578
|
export class AvatarSpaceComponent
|
|
35547
35579
|
extends Multiplayer.ComponentBase
|
|
35548
|
-
implements INativeResource
|
|
35580
|
+
implements Multiplayer.IVisibleComponent, INativeResource
|
|
35549
35581
|
{
|
|
35550
35582
|
/** @internal */
|
|
35551
35583
|
constructor(pointer: NativePointer) {
|
|
@@ -35568,15 +35600,16 @@ export namespace Multiplayer {
|
|
|
35568
35600
|
* @description Constructs the avatar space component, and associates it with the specified Parent space entity.
|
|
35569
35601
|
* @param parent - The Space entity that owns this component.
|
|
35570
35602
|
*/
|
|
35571
|
-
static
|
|
35603
|
+
static create_logSystem_parent(
|
|
35604
|
+
logSystem: Common.LogSystem,
|
|
35572
35605
|
parent: Multiplayer.SpaceEntity,
|
|
35573
35606
|
): AvatarSpaceComponent {
|
|
35574
35607
|
var _ptr = Module._malloc(8);
|
|
35575
35608
|
Module.ccall(
|
|
35576
|
-
"
|
|
35609
|
+
"csp_multiplayer_AvatarSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
35577
35610
|
"void",
|
|
35578
|
-
["number", "number"],
|
|
35579
|
-
[_ptr, parent.pointer],
|
|
35611
|
+
["number", "number", "number"],
|
|
35612
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
35580
35613
|
);
|
|
35581
35614
|
var _nPtr = getNativePointer(_ptr);
|
|
35582
35615
|
|
|
@@ -36136,6 +36169,64 @@ export namespace Multiplayer {
|
|
|
36136
36169
|
);
|
|
36137
36170
|
}
|
|
36138
36171
|
|
|
36172
|
+
/**
|
|
36173
|
+
* \addtogroup IVisibleComponent
|
|
36174
|
+
@{
|
|
36175
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
36176
|
+
*/
|
|
36177
|
+
|
|
36178
|
+
getIsVisible(): boolean {
|
|
36179
|
+
let _result = Module.ccall(
|
|
36180
|
+
"csp_multiplayer_AvatarSpaceComponent_GetIsVisibleC_bool",
|
|
36181
|
+
"boolean",
|
|
36182
|
+
["number"],
|
|
36183
|
+
[this.pointer],
|
|
36184
|
+
);
|
|
36185
|
+
|
|
36186
|
+
return _result;
|
|
36187
|
+
}
|
|
36188
|
+
|
|
36189
|
+
/**
|
|
36190
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
36191
|
+
*/
|
|
36192
|
+
|
|
36193
|
+
setIsVisible(value: boolean): void {
|
|
36194
|
+
Module.ccall(
|
|
36195
|
+
"csp_multiplayer_AvatarSpaceComponent_SetIsVisible_void_bool",
|
|
36196
|
+
"void",
|
|
36197
|
+
["number", "boolean"],
|
|
36198
|
+
[this.pointer, value],
|
|
36199
|
+
);
|
|
36200
|
+
}
|
|
36201
|
+
|
|
36202
|
+
/**
|
|
36203
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
36204
|
+
*/
|
|
36205
|
+
|
|
36206
|
+
getIsARVisible(): boolean {
|
|
36207
|
+
let _result = Module.ccall(
|
|
36208
|
+
"csp_multiplayer_AvatarSpaceComponent_GetIsARVisibleC_bool",
|
|
36209
|
+
"boolean",
|
|
36210
|
+
["number"],
|
|
36211
|
+
[this.pointer],
|
|
36212
|
+
);
|
|
36213
|
+
|
|
36214
|
+
return _result;
|
|
36215
|
+
}
|
|
36216
|
+
|
|
36217
|
+
/**
|
|
36218
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
36219
|
+
*/
|
|
36220
|
+
|
|
36221
|
+
setIsARVisible(value: boolean): void {
|
|
36222
|
+
Module.ccall(
|
|
36223
|
+
"csp_multiplayer_AvatarSpaceComponent_SetIsARVisible_void_bool",
|
|
36224
|
+
"void",
|
|
36225
|
+
["number", "boolean"],
|
|
36226
|
+
[this.pointer, value],
|
|
36227
|
+
);
|
|
36228
|
+
}
|
|
36229
|
+
|
|
36139
36230
|
delete(): void {
|
|
36140
36231
|
if (this.ownsPointer && !this.disposed) {
|
|
36141
36232
|
Module.ccall(
|
|
@@ -36185,15 +36276,16 @@ export namespace Multiplayer {
|
|
|
36185
36276
|
* @description Constructs the button space component, and associates it with the specified Parent space entity.
|
|
36186
36277
|
* @param parent - The Space entity that owns this component.
|
|
36187
36278
|
*/
|
|
36188
|
-
static
|
|
36279
|
+
static create_logSystem_parent(
|
|
36280
|
+
logSystem: Common.LogSystem,
|
|
36189
36281
|
parent: Multiplayer.SpaceEntity,
|
|
36190
36282
|
): ButtonSpaceComponent {
|
|
36191
36283
|
var _ptr = Module._malloc(8);
|
|
36192
36284
|
Module.ccall(
|
|
36193
|
-
"
|
|
36285
|
+
"csp_multiplayer_ButtonSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
36194
36286
|
"void",
|
|
36195
|
-
["number", "number"],
|
|
36196
|
-
[_ptr, parent.pointer],
|
|
36287
|
+
["number", "number", "number"],
|
|
36288
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
36197
36289
|
);
|
|
36198
36290
|
var _nPtr = getNativePointer(_ptr);
|
|
36199
36291
|
|
|
@@ -36578,15 +36670,16 @@ export namespace Multiplayer {
|
|
|
36578
36670
|
* @description Constructs the CinematicCamera space component, and associates it with the specified Parent space entity.
|
|
36579
36671
|
* @param parent - The Space entity that owns this component.
|
|
36580
36672
|
*/
|
|
36581
|
-
static
|
|
36673
|
+
static create_logSystem_parent(
|
|
36674
|
+
logSystem: Common.LogSystem,
|
|
36582
36675
|
parent: Multiplayer.SpaceEntity,
|
|
36583
36676
|
): CinematicCameraSpaceComponent {
|
|
36584
36677
|
var _ptr = Module._malloc(8);
|
|
36585
36678
|
Module.ccall(
|
|
36586
|
-
"
|
|
36679
|
+
"csp_multiplayer_CinematicCameraSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
36587
36680
|
"void",
|
|
36588
|
-
["number", "number"],
|
|
36589
|
-
[_ptr, parent.pointer],
|
|
36681
|
+
["number", "number", "number"],
|
|
36682
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
36590
36683
|
);
|
|
36591
36684
|
var _nPtr = getNativePointer(_ptr);
|
|
36592
36685
|
|
|
@@ -37101,15 +37194,16 @@ export namespace Multiplayer {
|
|
|
37101
37194
|
* @description Constructs the collision space component, and associates it with the specified Parent space entity.
|
|
37102
37195
|
* @param parent - The Space entity that owns this component.
|
|
37103
37196
|
*/
|
|
37104
|
-
static
|
|
37197
|
+
static create_logSystem_parent(
|
|
37198
|
+
logSystem: Common.LogSystem,
|
|
37105
37199
|
parent: Multiplayer.SpaceEntity,
|
|
37106
37200
|
): CollisionSpaceComponent {
|
|
37107
37201
|
var _ptr = Module._malloc(8);
|
|
37108
37202
|
Module.ccall(
|
|
37109
|
-
"
|
|
37203
|
+
"csp_multiplayer_CollisionSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
37110
37204
|
"void",
|
|
37111
|
-
["number", "number"],
|
|
37112
|
-
[_ptr, parent.pointer],
|
|
37205
|
+
["number", "number", "number"],
|
|
37206
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
37113
37207
|
);
|
|
37114
37208
|
var _nPtr = getNativePointer(_ptr);
|
|
37115
37209
|
|
|
@@ -37587,15 +37681,16 @@ export namespace Multiplayer {
|
|
|
37587
37681
|
* @param parent - The Space entity that owns this component. This will also register the component to the entity.
|
|
37588
37682
|
@pre Parent must not be null.
|
|
37589
37683
|
*/
|
|
37590
|
-
static
|
|
37684
|
+
static create_logSystem_parent(
|
|
37685
|
+
logSystem: Common.LogSystem,
|
|
37591
37686
|
parent: Multiplayer.SpaceEntity,
|
|
37592
37687
|
): ConversationSpaceComponent {
|
|
37593
37688
|
var _ptr = Module._malloc(8);
|
|
37594
37689
|
Module.ccall(
|
|
37595
|
-
"
|
|
37690
|
+
"csp_multiplayer_ConversationSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
37596
37691
|
"void",
|
|
37597
|
-
["number", "number"],
|
|
37598
|
-
[_ptr, parent.pointer],
|
|
37692
|
+
["number", "number", "number"],
|
|
37693
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
37599
37694
|
);
|
|
37600
37695
|
var _nPtr = getNativePointer(_ptr);
|
|
37601
37696
|
|
|
@@ -38705,15 +38800,16 @@ export namespace Multiplayer {
|
|
|
38705
38800
|
* @description Constructs the custom space component, and associates it with the specified Parent space entity.
|
|
38706
38801
|
* @param parent - The Space entity that owns this component.
|
|
38707
38802
|
*/
|
|
38708
|
-
static
|
|
38803
|
+
static create_logSystem_parent(
|
|
38804
|
+
logSystem: Common.LogSystem,
|
|
38709
38805
|
parent: Multiplayer.SpaceEntity,
|
|
38710
38806
|
): CustomSpaceComponent {
|
|
38711
38807
|
var _ptr = Module._malloc(8);
|
|
38712
38808
|
Module.ccall(
|
|
38713
|
-
"
|
|
38809
|
+
"csp_multiplayer_CustomSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
38714
38810
|
"void",
|
|
38715
|
-
["number", "number"],
|
|
38716
|
-
[_ptr, parent.pointer],
|
|
38811
|
+
["number", "number", "number"],
|
|
38812
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
38717
38813
|
);
|
|
38718
38814
|
var _nPtr = getNativePointer(_ptr);
|
|
38719
38815
|
|
|
@@ -38928,15 +39024,16 @@ export namespace Multiplayer {
|
|
|
38928
39024
|
* @description Constructs the ECommerce space component, and associates it with the specified Parent space entity.
|
|
38929
39025
|
* @param parent - The Space entity that owns this component.
|
|
38930
39026
|
*/
|
|
38931
|
-
static
|
|
39027
|
+
static create_logSystem_parent(
|
|
39028
|
+
logSystem: Common.LogSystem,
|
|
38932
39029
|
parent: Multiplayer.SpaceEntity,
|
|
38933
39030
|
): ECommerceSpaceComponent {
|
|
38934
39031
|
var _ptr = Module._malloc(8);
|
|
38935
39032
|
Module.ccall(
|
|
38936
|
-
"
|
|
39033
|
+
"csp_multiplayer_ECommerceSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
38937
39034
|
"void",
|
|
38938
|
-
["number", "number"],
|
|
38939
|
-
[_ptr, parent.pointer],
|
|
39035
|
+
["number", "number", "number"],
|
|
39036
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
38940
39037
|
);
|
|
38941
39038
|
var _nPtr = getNativePointer(_ptr);
|
|
38942
39039
|
|
|
@@ -39062,15 +39159,16 @@ export namespace Multiplayer {
|
|
|
39062
39159
|
* @description Creates an external link component that can be added to an existing space entity.
|
|
39063
39160
|
* @param parent - - The space entity to which this new component will belong to.
|
|
39064
39161
|
*/
|
|
39065
|
-
static
|
|
39162
|
+
static create_logSystem_parent(
|
|
39163
|
+
logSystem: Common.LogSystem,
|
|
39066
39164
|
parent: Multiplayer.SpaceEntity,
|
|
39067
39165
|
): ExternalLinkSpaceComponent {
|
|
39068
39166
|
var _ptr = Module._malloc(8);
|
|
39069
39167
|
Module.ccall(
|
|
39070
|
-
"
|
|
39168
|
+
"csp_multiplayer_ExternalLinkSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
39071
39169
|
"void",
|
|
39072
|
-
["number", "number"],
|
|
39073
|
-
[_ptr, parent.pointer],
|
|
39170
|
+
["number", "number", "number"],
|
|
39171
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
39074
39172
|
);
|
|
39075
39173
|
var _nPtr = getNativePointer(_ptr);
|
|
39076
39174
|
|
|
@@ -39452,15 +39550,16 @@ export namespace Multiplayer {
|
|
|
39452
39550
|
* @description Constructs the fiducial marker space component, and associates it with the specified Parent space entity.
|
|
39453
39551
|
* @param parent - The Space entity that owns this component.
|
|
39454
39552
|
*/
|
|
39455
|
-
static
|
|
39553
|
+
static create_logSystem_parent(
|
|
39554
|
+
logSystem: Common.LogSystem,
|
|
39456
39555
|
parent: Multiplayer.SpaceEntity,
|
|
39457
39556
|
): FiducialMarkerSpaceComponent {
|
|
39458
39557
|
var _ptr = Module._malloc(8);
|
|
39459
39558
|
Module.ccall(
|
|
39460
|
-
"
|
|
39559
|
+
"csp_multiplayer_FiducialMarkerSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
39461
39560
|
"void",
|
|
39462
|
-
["number", "number"],
|
|
39463
|
-
[_ptr, parent.pointer],
|
|
39561
|
+
["number", "number", "number"],
|
|
39562
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
39464
39563
|
);
|
|
39465
39564
|
var _nPtr = getNativePointer(_ptr);
|
|
39466
39565
|
|
|
@@ -39817,13 +39916,16 @@ export namespace Multiplayer {
|
|
|
39817
39916
|
* @description Constructs the fog space component, and associates it with the specified Parent space entity.
|
|
39818
39917
|
* @param parent - The Space entity that owns this component.
|
|
39819
39918
|
*/
|
|
39820
|
-
static
|
|
39919
|
+
static create_logSystem_parent(
|
|
39920
|
+
logSystem: Common.LogSystem,
|
|
39921
|
+
parent: Multiplayer.SpaceEntity,
|
|
39922
|
+
): FogSpaceComponent {
|
|
39821
39923
|
var _ptr = Module._malloc(8);
|
|
39822
39924
|
Module.ccall(
|
|
39823
|
-
"
|
|
39925
|
+
"csp_multiplayer_FogSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
39824
39926
|
"void",
|
|
39825
|
-
["number", "number"],
|
|
39826
|
-
[_ptr, parent.pointer],
|
|
39927
|
+
["number", "number", "number"],
|
|
39928
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
39827
39929
|
);
|
|
39828
39930
|
var _nPtr = getNativePointer(_ptr);
|
|
39829
39931
|
|
|
@@ -40382,15 +40484,16 @@ export namespace Multiplayer {
|
|
|
40382
40484
|
* @description Constructs the Gaussian Splat component, and associates it with the specified Parent space entity.
|
|
40383
40485
|
* @param parent - The Space entity that owns this component.
|
|
40384
40486
|
*/
|
|
40385
|
-
static
|
|
40487
|
+
static create_logSystem_parent(
|
|
40488
|
+
logSystem: Common.LogSystem,
|
|
40386
40489
|
parent: Multiplayer.SpaceEntity,
|
|
40387
40490
|
): GaussianSplatSpaceComponent {
|
|
40388
40491
|
var _ptr = Module._malloc(8);
|
|
40389
40492
|
Module.ccall(
|
|
40390
|
-
"
|
|
40493
|
+
"csp_multiplayer_GaussianSplatSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
40391
40494
|
"void",
|
|
40392
|
-
["number", "number"],
|
|
40393
|
-
[_ptr, parent.pointer],
|
|
40495
|
+
["number", "number", "number"],
|
|
40496
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
40394
40497
|
);
|
|
40395
40498
|
var _nPtr = getNativePointer(_ptr);
|
|
40396
40499
|
|
|
@@ -40779,15 +40882,16 @@ export namespace Multiplayer {
|
|
|
40779
40882
|
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
40780
40883
|
* @param parent - The Space entity that owns this component.
|
|
40781
40884
|
*/
|
|
40782
|
-
static
|
|
40885
|
+
static create_logSystem_parent(
|
|
40886
|
+
logSystem: Common.LogSystem,
|
|
40783
40887
|
parent: Multiplayer.SpaceEntity,
|
|
40784
40888
|
): HotspotSpaceComponent {
|
|
40785
40889
|
var _ptr = Module._malloc(8);
|
|
40786
40890
|
Module.ccall(
|
|
40787
|
-
"
|
|
40891
|
+
"csp_multiplayer_HotspotSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
40788
40892
|
"void",
|
|
40789
|
-
["number", "number"],
|
|
40790
|
-
[_ptr, parent.pointer],
|
|
40893
|
+
["number", "number", "number"],
|
|
40894
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
40791
40895
|
);
|
|
40792
40896
|
var _nPtr = getNativePointer(_ptr);
|
|
40793
40897
|
|
|
@@ -41091,13 +41195,16 @@ export namespace Multiplayer {
|
|
|
41091
41195
|
* @description Constructs the image space component, and associates it with the specified Parent space entity.
|
|
41092
41196
|
* @param parent - The Space entity that owns this component.
|
|
41093
41197
|
*/
|
|
41094
|
-
static
|
|
41198
|
+
static create_logSystem_parent(
|
|
41199
|
+
logSystem: Common.LogSystem,
|
|
41200
|
+
parent: Multiplayer.SpaceEntity,
|
|
41201
|
+
): ImageSpaceComponent {
|
|
41095
41202
|
var _ptr = Module._malloc(8);
|
|
41096
41203
|
Module.ccall(
|
|
41097
|
-
"
|
|
41204
|
+
"csp_multiplayer_ImageSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
41098
41205
|
"void",
|
|
41099
|
-
["number", "number"],
|
|
41100
|
-
[_ptr, parent.pointer],
|
|
41206
|
+
["number", "number", "number"],
|
|
41207
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
41101
41208
|
);
|
|
41102
41209
|
var _nPtr = getNativePointer(_ptr);
|
|
41103
41210
|
|
|
@@ -41546,13 +41653,16 @@ export namespace Multiplayer {
|
|
|
41546
41653
|
* @description Constructs the light space component, and associates it with the specified Parent space entity.
|
|
41547
41654
|
* @param parent - The Space entity that owns this component.
|
|
41548
41655
|
*/
|
|
41549
|
-
static
|
|
41656
|
+
static create_logSystem_parent(
|
|
41657
|
+
logSystem: Common.LogSystem,
|
|
41658
|
+
parent: Multiplayer.SpaceEntity,
|
|
41659
|
+
): LightSpaceComponent {
|
|
41550
41660
|
var _ptr = Module._malloc(8);
|
|
41551
41661
|
Module.ccall(
|
|
41552
|
-
"
|
|
41662
|
+
"csp_multiplayer_LightSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
41553
41663
|
"void",
|
|
41554
|
-
["number", "number"],
|
|
41555
|
-
[_ptr, parent.pointer],
|
|
41664
|
+
["number", "number", "number"],
|
|
41665
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
41556
41666
|
);
|
|
41557
41667
|
var _nPtr = getNativePointer(_ptr);
|
|
41558
41668
|
|
|
@@ -42093,15 +42203,16 @@ export namespace Multiplayer {
|
|
|
42093
42203
|
* @description Constructs the portal space component, and associates it with the specified Parent space entity.
|
|
42094
42204
|
* @param parent - The Space entity that owns this component.
|
|
42095
42205
|
*/
|
|
42096
|
-
static
|
|
42206
|
+
static create_logSystem_parent(
|
|
42207
|
+
logSystem: Common.LogSystem,
|
|
42097
42208
|
parent: Multiplayer.SpaceEntity,
|
|
42098
42209
|
): PortalSpaceComponent {
|
|
42099
42210
|
var _ptr = Module._malloc(8);
|
|
42100
42211
|
Module.ccall(
|
|
42101
|
-
"
|
|
42212
|
+
"csp_multiplayer_PortalSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
42102
42213
|
"void",
|
|
42103
|
-
["number", "number"],
|
|
42104
|
-
[_ptr, parent.pointer],
|
|
42214
|
+
["number", "number", "number"],
|
|
42215
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
42105
42216
|
);
|
|
42106
42217
|
var _nPtr = getNativePointer(_ptr);
|
|
42107
42218
|
|
|
@@ -42245,47 +42356,6 @@ export namespace Multiplayer {
|
|
|
42245
42356
|
);
|
|
42246
42357
|
}
|
|
42247
42358
|
|
|
42248
|
-
/**
|
|
42249
|
-
@}
|
|
42250
|
-
* @description Retrieves the space thumbnail information associated with the space.
|
|
42251
|
-
* If the space does not have a thumbnail associated with it the result callback will be successful, the
|
|
42252
|
-
* HTTP res code will be ResponseNotFound and the Uri field inside the UriResult will be empty.
|
|
42253
|
-
* @param callback - Callback when asynchronous task finishes
|
|
42254
|
-
*/
|
|
42255
|
-
|
|
42256
|
-
async getSpaceThumbnail(): Promise<Systems.UriResult> {
|
|
42257
|
-
var _resolve;
|
|
42258
|
-
|
|
42259
|
-
var _promise = new Promise<Systems.UriResult>((_r) => {
|
|
42260
|
-
_resolve = _r;
|
|
42261
|
-
});
|
|
42262
|
-
|
|
42263
|
-
var _callbackPtr: number;
|
|
42264
|
-
var _callback = (_stateObject__: number, result) => {
|
|
42265
|
-
var _resultPtr = getNativePointer(result);
|
|
42266
|
-
var _resultInstance = new Systems.UriResult(_resultPtr);
|
|
42267
|
-
|
|
42268
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
42269
|
-
return;
|
|
42270
|
-
}
|
|
42271
|
-
|
|
42272
|
-
_resolve(_resultInstance);
|
|
42273
|
-
|
|
42274
|
-
Module.removeFunction(_callbackPtr);
|
|
42275
|
-
};
|
|
42276
|
-
|
|
42277
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
42278
|
-
|
|
42279
|
-
Module.ccall(
|
|
42280
|
-
"csp_multiplayer_PortalSpaceComponent_GetSpaceThumbnailC_void_UriResultCallback",
|
|
42281
|
-
"void",
|
|
42282
|
-
["number", "number", "number"],
|
|
42283
|
-
[this.pointer, _callbackPtr, 0],
|
|
42284
|
-
);
|
|
42285
|
-
|
|
42286
|
-
return _promise;
|
|
42287
|
-
}
|
|
42288
|
-
|
|
42289
42359
|
delete(): void {
|
|
42290
42360
|
if (this.ownsPointer && !this.disposed) {
|
|
42291
42361
|
Module.ccall(
|
|
@@ -42335,15 +42405,16 @@ export namespace Multiplayer {
|
|
|
42335
42405
|
* @description Constructs the reflection component, and associates it with the specified Parent space entity.
|
|
42336
42406
|
* @param parent - The Space entity that owns this component.
|
|
42337
42407
|
*/
|
|
42338
|
-
static
|
|
42408
|
+
static create_logSystem_parent(
|
|
42409
|
+
logSystem: Common.LogSystem,
|
|
42339
42410
|
parent: Multiplayer.SpaceEntity,
|
|
42340
42411
|
): ReflectionSpaceComponent {
|
|
42341
42412
|
var _ptr = Module._malloc(8);
|
|
42342
42413
|
Module.ccall(
|
|
42343
|
-
"
|
|
42414
|
+
"csp_multiplayer_ReflectionSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
42344
42415
|
"void",
|
|
42345
|
-
["number", "number"],
|
|
42346
|
-
[_ptr, parent.pointer],
|
|
42416
|
+
["number", "number", "number"],
|
|
42417
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
42347
42418
|
);
|
|
42348
42419
|
var _nPtr = getNativePointer(_ptr);
|
|
42349
42420
|
|
|
@@ -42648,15 +42719,16 @@ export namespace Multiplayer {
|
|
|
42648
42719
|
* @description Constructs the script space component, and associates it with the specified Parent space entity.
|
|
42649
42720
|
* @param parent - The Space entity that owns this component.
|
|
42650
42721
|
*/
|
|
42651
|
-
static
|
|
42722
|
+
static create_logSystem_parent(
|
|
42723
|
+
logSystem: Common.LogSystem,
|
|
42652
42724
|
parent: Multiplayer.SpaceEntity,
|
|
42653
42725
|
): ScriptSpaceComponent {
|
|
42654
42726
|
var _ptr = Module._malloc(8);
|
|
42655
42727
|
Module.ccall(
|
|
42656
|
-
"
|
|
42728
|
+
"csp_multiplayer_ScriptSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
42657
42729
|
"void",
|
|
42658
|
-
["number", "number"],
|
|
42659
|
-
[_ptr, parent.pointer],
|
|
42730
|
+
["number", "number", "number"],
|
|
42731
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
42660
42732
|
);
|
|
42661
42733
|
var _nPtr = getNativePointer(_ptr);
|
|
42662
42734
|
|
|
@@ -42802,15 +42874,16 @@ export namespace Multiplayer {
|
|
|
42802
42874
|
* @description Constructs the spline space component, and associates it with the specified Parent space entity.
|
|
42803
42875
|
* @param parent - The Space entity that owns this component.
|
|
42804
42876
|
*/
|
|
42805
|
-
static
|
|
42877
|
+
static create_logSystem_parent(
|
|
42878
|
+
logSystem: Common.LogSystem,
|
|
42806
42879
|
parent: Multiplayer.SpaceEntity,
|
|
42807
42880
|
): SplineSpaceComponent {
|
|
42808
42881
|
var _ptr = Module._malloc(8);
|
|
42809
42882
|
Module.ccall(
|
|
42810
|
-
"
|
|
42883
|
+
"csp_multiplayer_SplineSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
42811
42884
|
"void",
|
|
42812
|
-
["number", "number"],
|
|
42813
|
-
[_ptr, parent.pointer],
|
|
42885
|
+
["number", "number", "number"],
|
|
42886
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
42814
42887
|
);
|
|
42815
42888
|
var _nPtr = getNativePointer(_ptr);
|
|
42816
42889
|
|
|
@@ -42933,15 +43006,16 @@ export namespace Multiplayer {
|
|
|
42933
43006
|
* @description Constructs the static model space component, and associates it with the specified Parent space entity.
|
|
42934
43007
|
* @param parent - The Space entity that owns this component.
|
|
42935
43008
|
*/
|
|
42936
|
-
static
|
|
43009
|
+
static create_logSystem_parent(
|
|
43010
|
+
logSystem: Common.LogSystem,
|
|
42937
43011
|
parent: Multiplayer.SpaceEntity,
|
|
42938
43012
|
): StaticModelSpaceComponent {
|
|
42939
43013
|
var _ptr = Module._malloc(8);
|
|
42940
43014
|
Module.ccall(
|
|
42941
|
-
"
|
|
43015
|
+
"csp_multiplayer_StaticModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
42942
43016
|
"void",
|
|
42943
|
-
["number", "number"],
|
|
42944
|
-
[_ptr, parent.pointer],
|
|
43017
|
+
["number", "number", "number"],
|
|
43018
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
42945
43019
|
);
|
|
42946
43020
|
var _nPtr = getNativePointer(_ptr);
|
|
42947
43021
|
|
|
@@ -43378,13 +43452,16 @@ export namespace Multiplayer {
|
|
|
43378
43452
|
* @description Constructs the text space component, and associates it with the specified Parent space entity.
|
|
43379
43453
|
* @param parent - The Space entity that owns this component.
|
|
43380
43454
|
*/
|
|
43381
|
-
static
|
|
43455
|
+
static create_logSystem_parent(
|
|
43456
|
+
logSystem: Common.LogSystem,
|
|
43457
|
+
parent: Multiplayer.SpaceEntity,
|
|
43458
|
+
): TextSpaceComponent {
|
|
43382
43459
|
var _ptr = Module._malloc(8);
|
|
43383
43460
|
Module.ccall(
|
|
43384
|
-
"
|
|
43461
|
+
"csp_multiplayer_TextSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
43385
43462
|
"void",
|
|
43386
|
-
["number", "number"],
|
|
43387
|
-
[_ptr, parent.pointer],
|
|
43463
|
+
["number", "number", "number"],
|
|
43464
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
43388
43465
|
);
|
|
43389
43466
|
var _nPtr = getNativePointer(_ptr);
|
|
43390
43467
|
|
|
@@ -43859,15 +43936,16 @@ export namespace Multiplayer {
|
|
|
43859
43936
|
* @description Constructs the video player component, and associates it with the specified Parent space entity.
|
|
43860
43937
|
* @param parent - The Space entity that owns this component.
|
|
43861
43938
|
*/
|
|
43862
|
-
static
|
|
43939
|
+
static create_logSystem_parent(
|
|
43940
|
+
logSystem: Common.LogSystem,
|
|
43863
43941
|
parent: Multiplayer.SpaceEntity,
|
|
43864
43942
|
): VideoPlayerSpaceComponent {
|
|
43865
43943
|
var _ptr = Module._malloc(8);
|
|
43866
43944
|
Module.ccall(
|
|
43867
|
-
"
|
|
43945
|
+
"csp_multiplayer_VideoPlayerSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
43868
43946
|
"void",
|
|
43869
|
-
["number", "number"],
|
|
43870
|
-
[_ptr, parent.pointer],
|
|
43947
|
+
["number", "number", "number"],
|
|
43948
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
43871
43949
|
);
|
|
43872
43950
|
var _nPtr = getNativePointer(_ptr);
|
|
43873
43951
|
|
|
@@ -50474,17 +50552,24 @@ export namespace Systems {
|
|
|
50474
50552
|
);
|
|
50475
50553
|
}
|
|
50476
50554
|
|
|
50477
|
-
static
|
|
50555
|
+
static create_sequenceSystem_spaceSystem_eventBus_logSystem(
|
|
50478
50556
|
sequenceSystem: Systems.SequenceSystem,
|
|
50479
50557
|
spaceSystem: Systems.SpaceSystem,
|
|
50480
50558
|
eventBus: Multiplayer.EventBus,
|
|
50559
|
+
logSystem: Common.LogSystem,
|
|
50481
50560
|
): HotspotSequenceSystem {
|
|
50482
50561
|
var _ptr = Module._malloc(8);
|
|
50483
50562
|
Module.ccall(
|
|
50484
|
-
"
|
|
50563
|
+
"csp_systems_HotspotSequenceSystem_Ctor_SequenceSystemP_SpaceSystemP_EventBusP_LogSystemR",
|
|
50485
50564
|
"void",
|
|
50486
|
-
["number", "number", "number", "number"],
|
|
50487
|
-
[
|
|
50565
|
+
["number", "number", "number", "number", "number"],
|
|
50566
|
+
[
|
|
50567
|
+
_ptr,
|
|
50568
|
+
sequenceSystem.pointer,
|
|
50569
|
+
spaceSystem.pointer,
|
|
50570
|
+
eventBus.pointer,
|
|
50571
|
+
logSystem.pointer,
|
|
50572
|
+
],
|
|
50488
50573
|
);
|
|
50489
50574
|
var _nPtr = getNativePointer(_ptr);
|
|
50490
50575
|
|