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
|
@@ -265,6 +265,24 @@ function csp_systems_EThirdPartyPlatformFactory(nativePointer) {
|
|
|
265
265
|
}
|
|
266
266
|
ProxyClassFactories["csp_systems_EThirdPartyPlatform"] =
|
|
267
267
|
csp_systems_EThirdPartyPlatformFactory;
|
|
268
|
+
function csp_web_EResponseCodesFactory(nativePointer) {
|
|
269
|
+
return nativePointer.pointer;
|
|
270
|
+
}
|
|
271
|
+
ProxyClassFactories["csp_web_EResponseCodes"] = csp_web_EResponseCodesFactory;
|
|
272
|
+
function csp_multiplayer_ErrorCodeFactory(nativePointer) {
|
|
273
|
+
return nativePointer.pointer;
|
|
274
|
+
}
|
|
275
|
+
ProxyClassFactories["csp_multiplayer_ErrorCode"] =
|
|
276
|
+
csp_multiplayer_ErrorCodeFactory;
|
|
277
|
+
function csp_systems_EResultCodeFactory(nativePointer) {
|
|
278
|
+
return nativePointer.pointer;
|
|
279
|
+
}
|
|
280
|
+
ProxyClassFactories["csp_systems_EResultCode"] = csp_systems_EResultCodeFactory;
|
|
281
|
+
function csp_systems_ERequestFailureReasonFactory(nativePointer) {
|
|
282
|
+
return nativePointer.pointer;
|
|
283
|
+
}
|
|
284
|
+
ProxyClassFactories["csp_systems_ERequestFailureReason"] =
|
|
285
|
+
csp_systems_ERequestFailureReasonFactory;
|
|
268
286
|
function csp_common_VariantTypeFactory(nativePointer) {
|
|
269
287
|
return nativePointer.pointer;
|
|
270
288
|
}
|
|
@@ -274,6 +292,10 @@ function csp_common_RealtimeEngineTypeFactory(nativePointer) {
|
|
|
274
292
|
}
|
|
275
293
|
ProxyClassFactories["csp_common_RealtimeEngineType"] =
|
|
276
294
|
csp_common_RealtimeEngineTypeFactory;
|
|
295
|
+
function csp_common_LogLevelFactory(nativePointer) {
|
|
296
|
+
return nativePointer.pointer;
|
|
297
|
+
}
|
|
298
|
+
ProxyClassFactories["csp_common_LogLevel"] = csp_common_LogLevelFactory;
|
|
277
299
|
function csp_multiplayer_ComponentTypeFactory(nativePointer) {
|
|
278
300
|
return nativePointer.pointer;
|
|
279
301
|
}
|
|
@@ -299,11 +321,6 @@ function csp_multiplayer_ConnectionStateFactory(nativePointer) {
|
|
|
299
321
|
}
|
|
300
322
|
ProxyClassFactories["csp_multiplayer_ConnectionState"] =
|
|
301
323
|
csp_multiplayer_ConnectionStateFactory;
|
|
302
|
-
function csp_multiplayer_ErrorCodeFactory(nativePointer) {
|
|
303
|
-
return nativePointer.pointer;
|
|
304
|
-
}
|
|
305
|
-
ProxyClassFactories["csp_multiplayer_ErrorCode"] =
|
|
306
|
-
csp_multiplayer_ErrorCodeFactory;
|
|
307
324
|
function csp_multiplayer_ReplicatedValueTypeFactory(nativePointer) {
|
|
308
325
|
return nativePointer.pointer;
|
|
309
326
|
}
|
|
@@ -548,15 +565,6 @@ function csp_multiplayer_ConversationEventTypeFactory(nativePointer) {
|
|
|
548
565
|
}
|
|
549
566
|
ProxyClassFactories["csp_multiplayer_ConversationEventType"] =
|
|
550
567
|
csp_multiplayer_ConversationEventTypeFactory;
|
|
551
|
-
function csp_systems_EResultCodeFactory(nativePointer) {
|
|
552
|
-
return nativePointer.pointer;
|
|
553
|
-
}
|
|
554
|
-
ProxyClassFactories["csp_systems_EResultCode"] = csp_systems_EResultCodeFactory;
|
|
555
|
-
function csp_systems_ERequestFailureReasonFactory(nativePointer) {
|
|
556
|
-
return nativePointer.pointer;
|
|
557
|
-
}
|
|
558
|
-
ProxyClassFactories["csp_systems_ERequestFailureReason"] =
|
|
559
|
-
csp_systems_ERequestFailureReasonFactory;
|
|
560
568
|
function csp_systems_EAssetTypeFactory(nativePointer) {
|
|
561
569
|
return nativePointer.pointer;
|
|
562
570
|
}
|
|
@@ -603,10 +611,6 @@ function csp_systems_TicketStatusFactory(nativePointer) {
|
|
|
603
611
|
}
|
|
604
612
|
ProxyClassFactories["csp_systems_TicketStatus"] =
|
|
605
613
|
csp_systems_TicketStatusFactory;
|
|
606
|
-
function csp_systems_LogLevelFactory(nativePointer) {
|
|
607
|
-
return nativePointer.pointer;
|
|
608
|
-
}
|
|
609
|
-
ProxyClassFactories["csp_systems_LogLevel"] = csp_systems_LogLevelFactory;
|
|
610
614
|
function csp_systems_PeriodEnumFactory(nativePointer) {
|
|
611
615
|
return nativePointer.pointer;
|
|
612
616
|
}
|
|
@@ -653,10 +657,6 @@ function csp_systems_EThirdPartyAuthenticationProvidersFactory(nativePointer) {
|
|
|
653
657
|
}
|
|
654
658
|
ProxyClassFactories["csp_systems_EThirdPartyAuthenticationProviders"] =
|
|
655
659
|
csp_systems_EThirdPartyAuthenticationProvidersFactory;
|
|
656
|
-
function csp_web_EResponseCodesFactory(nativePointer) {
|
|
657
|
-
return nativePointer.pointer;
|
|
658
|
-
}
|
|
659
|
-
ProxyClassFactories["csp_web_EResponseCodes"] = csp_web_EResponseCodesFactory;
|
|
660
660
|
function csp_EndpointURIsFactory(nativePointer) {
|
|
661
661
|
return new EndpointURIs(nativePointer);
|
|
662
662
|
}
|
|
@@ -705,6 +705,10 @@ function csp_common_IRealtimeEngineFactory(nativePointer) {
|
|
|
705
705
|
}
|
|
706
706
|
ProxyClassFactories["csp_common_IRealtimeEngine"] =
|
|
707
707
|
csp_common_IRealtimeEngineFactory;
|
|
708
|
+
function csp_common_LogSystemFactory(nativePointer) {
|
|
709
|
+
return new Common.LogSystem(nativePointer);
|
|
710
|
+
}
|
|
711
|
+
ProxyClassFactories["csp_common_LogSystem"] = csp_common_LogSystemFactory;
|
|
708
712
|
function csp_multiplayer_ComponentBaseFactory(nativePointer) {
|
|
709
713
|
return new Multiplayer.ComponentBase(nativePointer);
|
|
710
714
|
}
|
|
@@ -924,10 +928,6 @@ function csp_systems_HotspotGroupFactory(nativePointer) {
|
|
|
924
928
|
}
|
|
925
929
|
ProxyClassFactories["csp_systems_HotspotGroup"] =
|
|
926
930
|
csp_systems_HotspotGroupFactory;
|
|
927
|
-
function csp_systems_LogSystemFactory(nativePointer) {
|
|
928
|
-
return new Systems.LogSystem(nativePointer);
|
|
929
|
-
}
|
|
930
|
-
ProxyClassFactories["csp_systems_LogSystem"] = csp_systems_LogSystemFactory;
|
|
931
931
|
function csp_systems_MaintenanceInfoFactory(nativePointer) {
|
|
932
932
|
return new Systems.MaintenanceInfo(nativePointer);
|
|
933
933
|
}
|
|
@@ -1852,6 +1852,146 @@ export var Systems;
|
|
|
1852
1852
|
EThirdPartyPlatform[EThirdPartyPlatform["UNITY"] = 2] = "UNITY";
|
|
1853
1853
|
})(EThirdPartyPlatform = Systems.EThirdPartyPlatform || (Systems.EThirdPartyPlatform = {}));
|
|
1854
1854
|
})(Systems || (Systems = {}));
|
|
1855
|
+
export var Web;
|
|
1856
|
+
(function (Web) {
|
|
1857
|
+
/**
|
|
1858
|
+
* @description Enum which represents all possible HTTP responses.
|
|
1859
|
+
*/
|
|
1860
|
+
let EResponseCodes;
|
|
1861
|
+
(function (EResponseCodes) {
|
|
1862
|
+
EResponseCodes[EResponseCodes["ResponseInit"] = 0] = "ResponseInit";
|
|
1863
|
+
EResponseCodes[EResponseCodes["ResponseContinue"] = 100] = "ResponseContinue";
|
|
1864
|
+
EResponseCodes[EResponseCodes["ResponseSwitchingProtocols"] = 101] = "ResponseSwitchingProtocols";
|
|
1865
|
+
EResponseCodes[EResponseCodes["ResponseProcessing"] = 102] = "ResponseProcessing";
|
|
1866
|
+
EResponseCodes[EResponseCodes["ResponseOK"] = 200] = "ResponseOK";
|
|
1867
|
+
EResponseCodes[EResponseCodes["ResponseCreated"] = 201] = "ResponseCreated";
|
|
1868
|
+
EResponseCodes[EResponseCodes["ResponseAccepted"] = 202] = "ResponseAccepted";
|
|
1869
|
+
EResponseCodes[EResponseCodes["ResponseNonauthoritative"] = 203] = "ResponseNonauthoritative";
|
|
1870
|
+
EResponseCodes[EResponseCodes["ResponseNoContent"] = 204] = "ResponseNoContent";
|
|
1871
|
+
EResponseCodes[EResponseCodes["ResponseResetContent"] = 205] = "ResponseResetContent";
|
|
1872
|
+
EResponseCodes[EResponseCodes["ResponsePartialContent"] = 206] = "ResponsePartialContent";
|
|
1873
|
+
EResponseCodes[EResponseCodes["ResponseMultiStatus"] = 207] = "ResponseMultiStatus";
|
|
1874
|
+
EResponseCodes[EResponseCodes["ResponseAlreadyReported"] = 208] = "ResponseAlreadyReported";
|
|
1875
|
+
EResponseCodes[EResponseCodes["ResponseImUsed"] = 226] = "ResponseImUsed";
|
|
1876
|
+
EResponseCodes[EResponseCodes["ResponseMultipleChoices"] = 300] = "ResponseMultipleChoices";
|
|
1877
|
+
EResponseCodes[EResponseCodes["ResponseMovedPermanently"] = 301] = "ResponseMovedPermanently";
|
|
1878
|
+
EResponseCodes[EResponseCodes["ResponseFound"] = 302] = "ResponseFound";
|
|
1879
|
+
EResponseCodes[EResponseCodes["ResponseSeeOther"] = 303] = "ResponseSeeOther";
|
|
1880
|
+
EResponseCodes[EResponseCodes["ResponseNotModified"] = 304] = "ResponseNotModified";
|
|
1881
|
+
EResponseCodes[EResponseCodes["ResponseUseProxy"] = 305] = "ResponseUseProxy";
|
|
1882
|
+
EResponseCodes[EResponseCodes["ResponseTemporaryRedirect"] = 307] = "ResponseTemporaryRedirect";
|
|
1883
|
+
EResponseCodes[EResponseCodes["ResponsePermanentRedirect"] = 308] = "ResponsePermanentRedirect";
|
|
1884
|
+
EResponseCodes[EResponseCodes["ResponseBadRequest"] = 400] = "ResponseBadRequest";
|
|
1885
|
+
EResponseCodes[EResponseCodes["ResponseUnauthorized"] = 401] = "ResponseUnauthorized";
|
|
1886
|
+
EResponseCodes[EResponseCodes["ResponsePaymentRequired"] = 402] = "ResponsePaymentRequired";
|
|
1887
|
+
EResponseCodes[EResponseCodes["ResponseForbidden"] = 403] = "ResponseForbidden";
|
|
1888
|
+
EResponseCodes[EResponseCodes["ResponseNotFound"] = 404] = "ResponseNotFound";
|
|
1889
|
+
EResponseCodes[EResponseCodes["ResponseMethodNotAllowed"] = 405] = "ResponseMethodNotAllowed";
|
|
1890
|
+
EResponseCodes[EResponseCodes["ResponseNotAcceptable"] = 406] = "ResponseNotAcceptable";
|
|
1891
|
+
EResponseCodes[EResponseCodes["ResponseProxyAuthenticationRequired"] = 407] = "ResponseProxyAuthenticationRequired";
|
|
1892
|
+
EResponseCodes[EResponseCodes["ResponseRequestTimeout"] = 408] = "ResponseRequestTimeout";
|
|
1893
|
+
EResponseCodes[EResponseCodes["ResponseConflict"] = 409] = "ResponseConflict";
|
|
1894
|
+
EResponseCodes[EResponseCodes["ResponseGone"] = 410] = "ResponseGone";
|
|
1895
|
+
EResponseCodes[EResponseCodes["ResponseLengthRequired"] = 411] = "ResponseLengthRequired";
|
|
1896
|
+
EResponseCodes[EResponseCodes["ResponsePreconditionFailed"] = 412] = "ResponsePreconditionFailed";
|
|
1897
|
+
EResponseCodes[EResponseCodes["ResponseRequestEntityTooLarge"] = 413] = "ResponseRequestEntityTooLarge";
|
|
1898
|
+
EResponseCodes[EResponseCodes["ResponseRequestUriTooLong"] = 414] = "ResponseRequestUriTooLong";
|
|
1899
|
+
EResponseCodes[EResponseCodes["ResponseUnsupportedMediaType"] = 415] = "ResponseUnsupportedMediaType";
|
|
1900
|
+
EResponseCodes[EResponseCodes["ResponseRequestedRangeNotSatisfiable"] = 416] = "ResponseRequestedRangeNotSatisfiable";
|
|
1901
|
+
EResponseCodes[EResponseCodes["ResponseExpectationFailed"] = 417] = "ResponseExpectationFailed";
|
|
1902
|
+
EResponseCodes[EResponseCodes["ResponseImATeapot"] = 418] = "ResponseImATeapot";
|
|
1903
|
+
EResponseCodes[EResponseCodes["ResponseEnchanceYourCalm"] = 420] = "ResponseEnchanceYourCalm";
|
|
1904
|
+
EResponseCodes[EResponseCodes["ResponseMisdirectedRequest"] = 421] = "ResponseMisdirectedRequest";
|
|
1905
|
+
EResponseCodes[EResponseCodes["ResponseUnprocessableEntity"] = 422] = "ResponseUnprocessableEntity";
|
|
1906
|
+
EResponseCodes[EResponseCodes["ResponseLocked"] = 423] = "ResponseLocked";
|
|
1907
|
+
EResponseCodes[EResponseCodes["ResponseFailedDependency"] = 424] = "ResponseFailedDependency";
|
|
1908
|
+
EResponseCodes[EResponseCodes["ResponseUpgradeRequired"] = 426] = "ResponseUpgradeRequired";
|
|
1909
|
+
EResponseCodes[EResponseCodes["ResponsePreconditionRequired"] = 428] = "ResponsePreconditionRequired";
|
|
1910
|
+
EResponseCodes[EResponseCodes["ResponseTooManyRequests"] = 429] = "ResponseTooManyRequests";
|
|
1911
|
+
EResponseCodes[EResponseCodes["ResponseRequestHeaderFieldsTooLarge"] = 431] = "ResponseRequestHeaderFieldsTooLarge";
|
|
1912
|
+
EResponseCodes[EResponseCodes["ResponseUnavailableForLegalReasons"] = 451] = "ResponseUnavailableForLegalReasons";
|
|
1913
|
+
EResponseCodes[EResponseCodes["ResponseInternalServerError"] = 500] = "ResponseInternalServerError";
|
|
1914
|
+
EResponseCodes[EResponseCodes["ResponseNotImplemented"] = 501] = "ResponseNotImplemented";
|
|
1915
|
+
EResponseCodes[EResponseCodes["ResponseBadGateway"] = 502] = "ResponseBadGateway";
|
|
1916
|
+
EResponseCodes[EResponseCodes["ResponseServiceUnavailable"] = 503] = "ResponseServiceUnavailable";
|
|
1917
|
+
EResponseCodes[EResponseCodes["ResponseGatewayTimeout"] = 504] = "ResponseGatewayTimeout";
|
|
1918
|
+
EResponseCodes[EResponseCodes["ResponseVersionNotSupported"] = 505] = "ResponseVersionNotSupported";
|
|
1919
|
+
EResponseCodes[EResponseCodes["ResponseVariantAlsoNegotiates"] = 506] = "ResponseVariantAlsoNegotiates";
|
|
1920
|
+
EResponseCodes[EResponseCodes["ResponseInsufficientStorage"] = 507] = "ResponseInsufficientStorage";
|
|
1921
|
+
EResponseCodes[EResponseCodes["ResponseLoopDetected"] = 508] = "ResponseLoopDetected";
|
|
1922
|
+
EResponseCodes[EResponseCodes["ResponseNotExtended"] = 510] = "ResponseNotExtended";
|
|
1923
|
+
EResponseCodes[EResponseCodes["ResponseNetworkAuthenticationRequired"] = 511] = "ResponseNetworkAuthenticationRequired";
|
|
1924
|
+
})(EResponseCodes = Web.EResponseCodes || (Web.EResponseCodes = {}));
|
|
1925
|
+
})(Web || (Web = {}));
|
|
1926
|
+
export var Multiplayer;
|
|
1927
|
+
(function (Multiplayer) {
|
|
1928
|
+
/**
|
|
1929
|
+
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
1930
|
+
*/
|
|
1931
|
+
let ErrorCode;
|
|
1932
|
+
(function (ErrorCode) {
|
|
1933
|
+
ErrorCode[ErrorCode["None"] = 0] = "None";
|
|
1934
|
+
ErrorCode[ErrorCode["Unknown"] = 1] = "Unknown";
|
|
1935
|
+
ErrorCode[ErrorCode["NotConnected"] = 2] = "NotConnected";
|
|
1936
|
+
ErrorCode[ErrorCode["AlreadyConnected"] = 3] = "AlreadyConnected";
|
|
1937
|
+
ErrorCode[ErrorCode["SpaceUserLimitExceeded"] = 4] = "SpaceUserLimitExceeded";
|
|
1938
|
+
})(ErrorCode = Multiplayer.ErrorCode || (Multiplayer.ErrorCode = {}));
|
|
1939
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
1940
|
+
(function (Systems) {
|
|
1941
|
+
/**
|
|
1942
|
+
* @description Code to indicate the result of a request.
|
|
1943
|
+
* Request results should be checked for a success by clients before using any other accessors.
|
|
1944
|
+
*/
|
|
1945
|
+
let EResultCode;
|
|
1946
|
+
(function (EResultCode) {
|
|
1947
|
+
EResultCode[EResultCode["Init"] = 0] = "Init";
|
|
1948
|
+
EResultCode[EResultCode["InProgress"] = 1] = "InProgress";
|
|
1949
|
+
EResultCode[EResultCode["Success"] = 2] = "Success";
|
|
1950
|
+
EResultCode[EResultCode["Failed"] = 3] = "Failed";
|
|
1951
|
+
})(EResultCode = Systems.EResultCode || (Systems.EResultCode = {}));
|
|
1952
|
+
})(Systems || (Systems = {}));
|
|
1953
|
+
(function (Systems) {
|
|
1954
|
+
let ERequestFailureReason;
|
|
1955
|
+
(function (ERequestFailureReason) {
|
|
1956
|
+
ERequestFailureReason[ERequestFailureReason["Unknown"] = -1] = "Unknown";
|
|
1957
|
+
ERequestFailureReason[ERequestFailureReason["None"] = 0] = "None";
|
|
1958
|
+
ERequestFailureReason[ERequestFailureReason["AddUserToSpaceDenied"] = 1] = "AddUserToSpaceDenied";
|
|
1959
|
+
ERequestFailureReason[ERequestFailureReason["UserSpaceAccessDenied"] = 2] = "UserSpaceAccessDenied";
|
|
1960
|
+
ERequestFailureReason[ERequestFailureReason["UserSpaceBannedAccessDenied"] = 3] = "UserSpaceBannedAccessDenied";
|
|
1961
|
+
ERequestFailureReason[ERequestFailureReason["UserSpaceFullAccessDenied"] = 4] = "UserSpaceFullAccessDenied";
|
|
1962
|
+
ERequestFailureReason[ERequestFailureReason["UserSpaceInviteExpired"] = 5] = "UserSpaceInviteExpired";
|
|
1963
|
+
ERequestFailureReason[ERequestFailureReason["SpacePublicNameDuplicate"] = 6] = "SpacePublicNameDuplicate";
|
|
1964
|
+
ERequestFailureReason[ERequestFailureReason["UserMaxSpaceLimitReached"] = 7] = "UserMaxSpaceLimitReached";
|
|
1965
|
+
ERequestFailureReason[ERequestFailureReason["UserAccountLocked"] = 8] = "UserAccountLocked";
|
|
1966
|
+
ERequestFailureReason[ERequestFailureReason["UserMissingPassword"] = 9] = "UserMissingPassword";
|
|
1967
|
+
ERequestFailureReason[ERequestFailureReason["UserUnverifiedEmail"] = 10] = "UserUnverifiedEmail";
|
|
1968
|
+
ERequestFailureReason[ERequestFailureReason["UserBannedFromSpace"] = 11] = "UserBannedFromSpace";
|
|
1969
|
+
ERequestFailureReason[ERequestFailureReason["UserInvalidEmailDomain"] = 12] = "UserInvalidEmailDomain";
|
|
1970
|
+
ERequestFailureReason[ERequestFailureReason["UserInvalidThirdPartyAuth"] = 13] = "UserInvalidThirdPartyAuth";
|
|
1971
|
+
ERequestFailureReason[ERequestFailureReason["UserAgeNotVerified"] = 14] = "UserAgeNotVerified";
|
|
1972
|
+
ERequestFailureReason[ERequestFailureReason["UserGuestLoginDisallowed"] = 15] = "UserGuestLoginDisallowed";
|
|
1973
|
+
ERequestFailureReason[ERequestFailureReason["UserAgoraLimitReached"] = 16] = "UserAgoraLimitReached";
|
|
1974
|
+
ERequestFailureReason[ERequestFailureReason["UserOpenAILimitReached"] = 17] = "UserOpenAILimitReached";
|
|
1975
|
+
ERequestFailureReason[ERequestFailureReason["UserTicketedSpacesLimitReached"] = 18] = "UserTicketedSpacesLimitReached";
|
|
1976
|
+
ERequestFailureReason[ERequestFailureReason["UserSpaceConcurrentUsersLimitReached"] = 19] = "UserSpaceConcurrentUsersLimitReached";
|
|
1977
|
+
ERequestFailureReason[ERequestFailureReason["PrototypeReservedKeysNotAllowed"] = 20] = "PrototypeReservedKeysNotAllowed";
|
|
1978
|
+
ERequestFailureReason[ERequestFailureReason["AssetInvalidFileContents"] = 21] = "AssetInvalidFileContents";
|
|
1979
|
+
ERequestFailureReason[ERequestFailureReason["AssetInvalidFileType"] = 22] = "AssetInvalidFileType";
|
|
1980
|
+
ERequestFailureReason[ERequestFailureReason["AssetAudioVideoLimitReached"] = 23] = "AssetAudioVideoLimitReached";
|
|
1981
|
+
ERequestFailureReason[ERequestFailureReason["AssetObjectCaptureLimitReached"] = 24] = "AssetObjectCaptureLimitReached";
|
|
1982
|
+
ERequestFailureReason[ERequestFailureReason["AssetTotalUploadSizeLimitReached"] = 25] = "AssetTotalUploadSizeLimitReached";
|
|
1983
|
+
ERequestFailureReason[ERequestFailureReason["TicketUnknownNumber"] = 26] = "TicketUnknownNumber";
|
|
1984
|
+
ERequestFailureReason[ERequestFailureReason["TicketEmailMismatch"] = 27] = "TicketEmailMismatch";
|
|
1985
|
+
ERequestFailureReason[ERequestFailureReason["TicketVendorOAuthFailure"] = 28] = "TicketVendorOAuthFailure";
|
|
1986
|
+
ERequestFailureReason[ERequestFailureReason["TicketOAuthTokenInvalid"] = 29] = "TicketOAuthTokenInvalid";
|
|
1987
|
+
ERequestFailureReason[ERequestFailureReason["TicketAlreadyApplied"] = 30] = "TicketAlreadyApplied";
|
|
1988
|
+
ERequestFailureReason[ERequestFailureReason["ShopifyConnectionBroken"] = 31] = "ShopifyConnectionBroken";
|
|
1989
|
+
ERequestFailureReason[ERequestFailureReason["ShopifyInvalidStoreName"] = 32] = "ShopifyInvalidStoreName";
|
|
1990
|
+
ERequestFailureReason[ERequestFailureReason["UserShopifyLimitReached"] = 33] = "UserShopifyLimitReached";
|
|
1991
|
+
ERequestFailureReason[ERequestFailureReason["UserTokenRefreshFailed"] = 34] = "UserTokenRefreshFailed";
|
|
1992
|
+
ERequestFailureReason[ERequestFailureReason["InvalidSequenceKey"] = 35] = "InvalidSequenceKey";
|
|
1993
|
+
})(ERequestFailureReason = Systems.ERequestFailureReason || (Systems.ERequestFailureReason = {}));
|
|
1994
|
+
})(Systems || (Systems = {}));
|
|
1855
1995
|
export var Common;
|
|
1856
1996
|
(function (Common) {
|
|
1857
1997
|
/**
|
|
@@ -1878,7 +2018,20 @@ export var Common;
|
|
|
1878
2018
|
RealtimeEngineType[RealtimeEngineType["OnlineSingleUser"] = 1] = "OnlineSingleUser";
|
|
1879
2019
|
})(RealtimeEngineType = Common.RealtimeEngineType || (Common.RealtimeEngineType = {}));
|
|
1880
2020
|
})(Common || (Common = {}));
|
|
1881
|
-
|
|
2021
|
+
(function (Common) {
|
|
2022
|
+
let LogLevel;
|
|
2023
|
+
(function (LogLevel) {
|
|
2024
|
+
LogLevel[LogLevel["NoLogging"] = 0] = "NoLogging";
|
|
2025
|
+
LogLevel[LogLevel["Fatal"] = 1] = "Fatal";
|
|
2026
|
+
LogLevel[LogLevel["Error"] = 2] = "Error";
|
|
2027
|
+
LogLevel[LogLevel["Warning"] = 3] = "Warning";
|
|
2028
|
+
LogLevel[LogLevel["Display"] = 4] = "Display";
|
|
2029
|
+
LogLevel[LogLevel["Log"] = 5] = "Log";
|
|
2030
|
+
LogLevel[LogLevel["Verbose"] = 6] = "Verbose";
|
|
2031
|
+
LogLevel[LogLevel["VeryVerbose"] = 7] = "VeryVerbose";
|
|
2032
|
+
LogLevel[LogLevel["All"] = 8] = "All";
|
|
2033
|
+
})(LogLevel = Common.LogLevel || (Common.LogLevel = {}));
|
|
2034
|
+
})(Common || (Common = {}));
|
|
1882
2035
|
(function (Multiplayer) {
|
|
1883
2036
|
/**
|
|
1884
2037
|
* @description Represents the type of component.
|
|
@@ -1968,19 +2121,6 @@ export var Multiplayer;
|
|
|
1968
2121
|
ConnectionState[ConnectionState["Disconnected"] = 3] = "Disconnected";
|
|
1969
2122
|
})(ConnectionState = Multiplayer.ConnectionState || (Multiplayer.ConnectionState = {}));
|
|
1970
2123
|
})(Multiplayer || (Multiplayer = {}));
|
|
1971
|
-
(function (Multiplayer) {
|
|
1972
|
-
/**
|
|
1973
|
-
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
1974
|
-
*/
|
|
1975
|
-
let ErrorCode;
|
|
1976
|
-
(function (ErrorCode) {
|
|
1977
|
-
ErrorCode[ErrorCode["None"] = 0] = "None";
|
|
1978
|
-
ErrorCode[ErrorCode["Unknown"] = 1] = "Unknown";
|
|
1979
|
-
ErrorCode[ErrorCode["NotConnected"] = 2] = "NotConnected";
|
|
1980
|
-
ErrorCode[ErrorCode["AlreadyConnected"] = 3] = "AlreadyConnected";
|
|
1981
|
-
ErrorCode[ErrorCode["SpaceUserLimitExceeded"] = 4] = "SpaceUserLimitExceeded";
|
|
1982
|
-
})(ErrorCode = Multiplayer.ErrorCode || (Multiplayer.ErrorCode = {}));
|
|
1983
|
-
})(Multiplayer || (Multiplayer = {}));
|
|
1984
2124
|
(function (Multiplayer) {
|
|
1985
2125
|
/**
|
|
1986
2126
|
* @description Enum representing the type of a replicated value.
|
|
@@ -2200,7 +2340,9 @@ export var Multiplayer;
|
|
|
2200
2340
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["AvatarPlayMode"] = 12] = "AvatarPlayMode";
|
|
2201
2341
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["MovementDirection"] = 13] = "MovementDirection";
|
|
2202
2342
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["LocomotionModel"] = 14] = "LocomotionModel";
|
|
2203
|
-
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["
|
|
2343
|
+
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["IsVisible"] = 15] = "IsVisible";
|
|
2344
|
+
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["IsARVisible"] = 16] = "IsARVisible";
|
|
2345
|
+
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["Num"] = 17] = "Num";
|
|
2204
2346
|
})(AvatarComponentPropertyKeys = Multiplayer.AvatarComponentPropertyKeys || (Multiplayer.AvatarComponentPropertyKeys = {}));
|
|
2205
2347
|
})(Multiplayer || (Multiplayer = {}));
|
|
2206
2348
|
(function (Multiplayer) {
|
|
@@ -2738,61 +2880,6 @@ export var Multiplayer;
|
|
|
2738
2880
|
ConversationEventType[ConversationEventType["DeleteConversationAnnotation"] = 9] = "DeleteConversationAnnotation";
|
|
2739
2881
|
})(ConversationEventType = Multiplayer.ConversationEventType || (Multiplayer.ConversationEventType = {}));
|
|
2740
2882
|
})(Multiplayer || (Multiplayer = {}));
|
|
2741
|
-
(function (Systems) {
|
|
2742
|
-
/**
|
|
2743
|
-
* @description Code to indicate the result of a request.
|
|
2744
|
-
* Request results should be checked for a success by clients before using any other accessors.
|
|
2745
|
-
*/
|
|
2746
|
-
let EResultCode;
|
|
2747
|
-
(function (EResultCode) {
|
|
2748
|
-
EResultCode[EResultCode["Init"] = 0] = "Init";
|
|
2749
|
-
EResultCode[EResultCode["InProgress"] = 1] = "InProgress";
|
|
2750
|
-
EResultCode[EResultCode["Success"] = 2] = "Success";
|
|
2751
|
-
EResultCode[EResultCode["Failed"] = 3] = "Failed";
|
|
2752
|
-
})(EResultCode = Systems.EResultCode || (Systems.EResultCode = {}));
|
|
2753
|
-
})(Systems || (Systems = {}));
|
|
2754
|
-
(function (Systems) {
|
|
2755
|
-
let ERequestFailureReason;
|
|
2756
|
-
(function (ERequestFailureReason) {
|
|
2757
|
-
ERequestFailureReason[ERequestFailureReason["Unknown"] = -1] = "Unknown";
|
|
2758
|
-
ERequestFailureReason[ERequestFailureReason["None"] = 0] = "None";
|
|
2759
|
-
ERequestFailureReason[ERequestFailureReason["AddUserToSpaceDenied"] = 1] = "AddUserToSpaceDenied";
|
|
2760
|
-
ERequestFailureReason[ERequestFailureReason["UserSpaceAccessDenied"] = 2] = "UserSpaceAccessDenied";
|
|
2761
|
-
ERequestFailureReason[ERequestFailureReason["UserSpaceBannedAccessDenied"] = 3] = "UserSpaceBannedAccessDenied";
|
|
2762
|
-
ERequestFailureReason[ERequestFailureReason["UserSpaceFullAccessDenied"] = 4] = "UserSpaceFullAccessDenied";
|
|
2763
|
-
ERequestFailureReason[ERequestFailureReason["UserSpaceInviteExpired"] = 5] = "UserSpaceInviteExpired";
|
|
2764
|
-
ERequestFailureReason[ERequestFailureReason["SpacePublicNameDuplicate"] = 6] = "SpacePublicNameDuplicate";
|
|
2765
|
-
ERequestFailureReason[ERequestFailureReason["UserMaxSpaceLimitReached"] = 7] = "UserMaxSpaceLimitReached";
|
|
2766
|
-
ERequestFailureReason[ERequestFailureReason["UserAccountLocked"] = 8] = "UserAccountLocked";
|
|
2767
|
-
ERequestFailureReason[ERequestFailureReason["UserMissingPassword"] = 9] = "UserMissingPassword";
|
|
2768
|
-
ERequestFailureReason[ERequestFailureReason["UserUnverifiedEmail"] = 10] = "UserUnverifiedEmail";
|
|
2769
|
-
ERequestFailureReason[ERequestFailureReason["UserBannedFromSpace"] = 11] = "UserBannedFromSpace";
|
|
2770
|
-
ERequestFailureReason[ERequestFailureReason["UserInvalidEmailDomain"] = 12] = "UserInvalidEmailDomain";
|
|
2771
|
-
ERequestFailureReason[ERequestFailureReason["UserInvalidThirdPartyAuth"] = 13] = "UserInvalidThirdPartyAuth";
|
|
2772
|
-
ERequestFailureReason[ERequestFailureReason["UserAgeNotVerified"] = 14] = "UserAgeNotVerified";
|
|
2773
|
-
ERequestFailureReason[ERequestFailureReason["UserGuestLoginDisallowed"] = 15] = "UserGuestLoginDisallowed";
|
|
2774
|
-
ERequestFailureReason[ERequestFailureReason["UserAgoraLimitReached"] = 16] = "UserAgoraLimitReached";
|
|
2775
|
-
ERequestFailureReason[ERequestFailureReason["UserOpenAILimitReached"] = 17] = "UserOpenAILimitReached";
|
|
2776
|
-
ERequestFailureReason[ERequestFailureReason["UserTicketedSpacesLimitReached"] = 18] = "UserTicketedSpacesLimitReached";
|
|
2777
|
-
ERequestFailureReason[ERequestFailureReason["UserSpaceConcurrentUsersLimitReached"] = 19] = "UserSpaceConcurrentUsersLimitReached";
|
|
2778
|
-
ERequestFailureReason[ERequestFailureReason["PrototypeReservedKeysNotAllowed"] = 20] = "PrototypeReservedKeysNotAllowed";
|
|
2779
|
-
ERequestFailureReason[ERequestFailureReason["AssetInvalidFileContents"] = 21] = "AssetInvalidFileContents";
|
|
2780
|
-
ERequestFailureReason[ERequestFailureReason["AssetInvalidFileType"] = 22] = "AssetInvalidFileType";
|
|
2781
|
-
ERequestFailureReason[ERequestFailureReason["AssetAudioVideoLimitReached"] = 23] = "AssetAudioVideoLimitReached";
|
|
2782
|
-
ERequestFailureReason[ERequestFailureReason["AssetObjectCaptureLimitReached"] = 24] = "AssetObjectCaptureLimitReached";
|
|
2783
|
-
ERequestFailureReason[ERequestFailureReason["AssetTotalUploadSizeLimitReached"] = 25] = "AssetTotalUploadSizeLimitReached";
|
|
2784
|
-
ERequestFailureReason[ERequestFailureReason["TicketUnknownNumber"] = 26] = "TicketUnknownNumber";
|
|
2785
|
-
ERequestFailureReason[ERequestFailureReason["TicketEmailMismatch"] = 27] = "TicketEmailMismatch";
|
|
2786
|
-
ERequestFailureReason[ERequestFailureReason["TicketVendorOAuthFailure"] = 28] = "TicketVendorOAuthFailure";
|
|
2787
|
-
ERequestFailureReason[ERequestFailureReason["TicketOAuthTokenInvalid"] = 29] = "TicketOAuthTokenInvalid";
|
|
2788
|
-
ERequestFailureReason[ERequestFailureReason["TicketAlreadyApplied"] = 30] = "TicketAlreadyApplied";
|
|
2789
|
-
ERequestFailureReason[ERequestFailureReason["ShopifyConnectionBroken"] = 31] = "ShopifyConnectionBroken";
|
|
2790
|
-
ERequestFailureReason[ERequestFailureReason["ShopifyInvalidStoreName"] = 32] = "ShopifyInvalidStoreName";
|
|
2791
|
-
ERequestFailureReason[ERequestFailureReason["UserShopifyLimitReached"] = 33] = "UserShopifyLimitReached";
|
|
2792
|
-
ERequestFailureReason[ERequestFailureReason["UserTokenRefreshFailed"] = 34] = "UserTokenRefreshFailed";
|
|
2793
|
-
ERequestFailureReason[ERequestFailureReason["InvalidSequenceKey"] = 35] = "InvalidSequenceKey";
|
|
2794
|
-
})(ERequestFailureReason = Systems.ERequestFailureReason || (Systems.ERequestFailureReason = {}));
|
|
2795
|
-
})(Systems || (Systems = {}));
|
|
2796
2883
|
(function (Systems) {
|
|
2797
2884
|
/**
|
|
2798
2885
|
* @description Asset type enum, defines the allowed and implemented types of assets.
|
|
@@ -2917,20 +3004,6 @@ export var Multiplayer;
|
|
|
2917
3004
|
TicketStatus[TicketStatus["Unknown"] = 2] = "Unknown";
|
|
2918
3005
|
})(TicketStatus = Systems.TicketStatus || (Systems.TicketStatus = {}));
|
|
2919
3006
|
})(Systems || (Systems = {}));
|
|
2920
|
-
(function (Systems) {
|
|
2921
|
-
let LogLevel;
|
|
2922
|
-
(function (LogLevel) {
|
|
2923
|
-
LogLevel[LogLevel["NoLogging"] = 0] = "NoLogging";
|
|
2924
|
-
LogLevel[LogLevel["Fatal"] = 1] = "Fatal";
|
|
2925
|
-
LogLevel[LogLevel["Error"] = 2] = "Error";
|
|
2926
|
-
LogLevel[LogLevel["Warning"] = 3] = "Warning";
|
|
2927
|
-
LogLevel[LogLevel["Display"] = 4] = "Display";
|
|
2928
|
-
LogLevel[LogLevel["Log"] = 5] = "Log";
|
|
2929
|
-
LogLevel[LogLevel["Verbose"] = 6] = "Verbose";
|
|
2930
|
-
LogLevel[LogLevel["VeryVerbose"] = 7] = "VeryVerbose";
|
|
2931
|
-
LogLevel[LogLevel["All"] = 8] = "All";
|
|
2932
|
-
})(LogLevel = Systems.LogLevel || (Systems.LogLevel = {}));
|
|
2933
|
-
})(Systems || (Systems = {}));
|
|
2934
3007
|
(function (Systems) {
|
|
2935
3008
|
/**
|
|
2936
3009
|
@ingroup Quota System
|
|
@@ -3041,77 +3114,6 @@ export var Multiplayer;
|
|
|
3041
3114
|
EThirdPartyAuthenticationProviders[EThirdPartyAuthenticationProviders["Invalid"] = 3] = "Invalid";
|
|
3042
3115
|
})(EThirdPartyAuthenticationProviders = Systems.EThirdPartyAuthenticationProviders || (Systems.EThirdPartyAuthenticationProviders = {}));
|
|
3043
3116
|
})(Systems || (Systems = {}));
|
|
3044
|
-
export var Web;
|
|
3045
|
-
(function (Web) {
|
|
3046
|
-
/**
|
|
3047
|
-
* @description Enum which represents all possible HTTP responses.
|
|
3048
|
-
*/
|
|
3049
|
-
let EResponseCodes;
|
|
3050
|
-
(function (EResponseCodes) {
|
|
3051
|
-
EResponseCodes[EResponseCodes["ResponseInit"] = 0] = "ResponseInit";
|
|
3052
|
-
EResponseCodes[EResponseCodes["ResponseContinue"] = 100] = "ResponseContinue";
|
|
3053
|
-
EResponseCodes[EResponseCodes["ResponseSwitchingProtocols"] = 101] = "ResponseSwitchingProtocols";
|
|
3054
|
-
EResponseCodes[EResponseCodes["ResponseProcessing"] = 102] = "ResponseProcessing";
|
|
3055
|
-
EResponseCodes[EResponseCodes["ResponseOK"] = 200] = "ResponseOK";
|
|
3056
|
-
EResponseCodes[EResponseCodes["ResponseCreated"] = 201] = "ResponseCreated";
|
|
3057
|
-
EResponseCodes[EResponseCodes["ResponseAccepted"] = 202] = "ResponseAccepted";
|
|
3058
|
-
EResponseCodes[EResponseCodes["ResponseNonauthoritative"] = 203] = "ResponseNonauthoritative";
|
|
3059
|
-
EResponseCodes[EResponseCodes["ResponseNoContent"] = 204] = "ResponseNoContent";
|
|
3060
|
-
EResponseCodes[EResponseCodes["ResponseResetContent"] = 205] = "ResponseResetContent";
|
|
3061
|
-
EResponseCodes[EResponseCodes["ResponsePartialContent"] = 206] = "ResponsePartialContent";
|
|
3062
|
-
EResponseCodes[EResponseCodes["ResponseMultiStatus"] = 207] = "ResponseMultiStatus";
|
|
3063
|
-
EResponseCodes[EResponseCodes["ResponseAlreadyReported"] = 208] = "ResponseAlreadyReported";
|
|
3064
|
-
EResponseCodes[EResponseCodes["ResponseImUsed"] = 226] = "ResponseImUsed";
|
|
3065
|
-
EResponseCodes[EResponseCodes["ResponseMultipleChoices"] = 300] = "ResponseMultipleChoices";
|
|
3066
|
-
EResponseCodes[EResponseCodes["ResponseMovedPermanently"] = 301] = "ResponseMovedPermanently";
|
|
3067
|
-
EResponseCodes[EResponseCodes["ResponseFound"] = 302] = "ResponseFound";
|
|
3068
|
-
EResponseCodes[EResponseCodes["ResponseSeeOther"] = 303] = "ResponseSeeOther";
|
|
3069
|
-
EResponseCodes[EResponseCodes["ResponseNotModified"] = 304] = "ResponseNotModified";
|
|
3070
|
-
EResponseCodes[EResponseCodes["ResponseUseProxy"] = 305] = "ResponseUseProxy";
|
|
3071
|
-
EResponseCodes[EResponseCodes["ResponseTemporaryRedirect"] = 307] = "ResponseTemporaryRedirect";
|
|
3072
|
-
EResponseCodes[EResponseCodes["ResponsePermanentRedirect"] = 308] = "ResponsePermanentRedirect";
|
|
3073
|
-
EResponseCodes[EResponseCodes["ResponseBadRequest"] = 400] = "ResponseBadRequest";
|
|
3074
|
-
EResponseCodes[EResponseCodes["ResponseUnauthorized"] = 401] = "ResponseUnauthorized";
|
|
3075
|
-
EResponseCodes[EResponseCodes["ResponsePaymentRequired"] = 402] = "ResponsePaymentRequired";
|
|
3076
|
-
EResponseCodes[EResponseCodes["ResponseForbidden"] = 403] = "ResponseForbidden";
|
|
3077
|
-
EResponseCodes[EResponseCodes["ResponseNotFound"] = 404] = "ResponseNotFound";
|
|
3078
|
-
EResponseCodes[EResponseCodes["ResponseMethodNotAllowed"] = 405] = "ResponseMethodNotAllowed";
|
|
3079
|
-
EResponseCodes[EResponseCodes["ResponseNotAcceptable"] = 406] = "ResponseNotAcceptable";
|
|
3080
|
-
EResponseCodes[EResponseCodes["ResponseProxyAuthenticationRequired"] = 407] = "ResponseProxyAuthenticationRequired";
|
|
3081
|
-
EResponseCodes[EResponseCodes["ResponseRequestTimeout"] = 408] = "ResponseRequestTimeout";
|
|
3082
|
-
EResponseCodes[EResponseCodes["ResponseConflict"] = 409] = "ResponseConflict";
|
|
3083
|
-
EResponseCodes[EResponseCodes["ResponseGone"] = 410] = "ResponseGone";
|
|
3084
|
-
EResponseCodes[EResponseCodes["ResponseLengthRequired"] = 411] = "ResponseLengthRequired";
|
|
3085
|
-
EResponseCodes[EResponseCodes["ResponsePreconditionFailed"] = 412] = "ResponsePreconditionFailed";
|
|
3086
|
-
EResponseCodes[EResponseCodes["ResponseRequestEntityTooLarge"] = 413] = "ResponseRequestEntityTooLarge";
|
|
3087
|
-
EResponseCodes[EResponseCodes["ResponseRequestUriTooLong"] = 414] = "ResponseRequestUriTooLong";
|
|
3088
|
-
EResponseCodes[EResponseCodes["ResponseUnsupportedMediaType"] = 415] = "ResponseUnsupportedMediaType";
|
|
3089
|
-
EResponseCodes[EResponseCodes["ResponseRequestedRangeNotSatisfiable"] = 416] = "ResponseRequestedRangeNotSatisfiable";
|
|
3090
|
-
EResponseCodes[EResponseCodes["ResponseExpectationFailed"] = 417] = "ResponseExpectationFailed";
|
|
3091
|
-
EResponseCodes[EResponseCodes["ResponseImATeapot"] = 418] = "ResponseImATeapot";
|
|
3092
|
-
EResponseCodes[EResponseCodes["ResponseEnchanceYourCalm"] = 420] = "ResponseEnchanceYourCalm";
|
|
3093
|
-
EResponseCodes[EResponseCodes["ResponseMisdirectedRequest"] = 421] = "ResponseMisdirectedRequest";
|
|
3094
|
-
EResponseCodes[EResponseCodes["ResponseUnprocessableEntity"] = 422] = "ResponseUnprocessableEntity";
|
|
3095
|
-
EResponseCodes[EResponseCodes["ResponseLocked"] = 423] = "ResponseLocked";
|
|
3096
|
-
EResponseCodes[EResponseCodes["ResponseFailedDependency"] = 424] = "ResponseFailedDependency";
|
|
3097
|
-
EResponseCodes[EResponseCodes["ResponseUpgradeRequired"] = 426] = "ResponseUpgradeRequired";
|
|
3098
|
-
EResponseCodes[EResponseCodes["ResponsePreconditionRequired"] = 428] = "ResponsePreconditionRequired";
|
|
3099
|
-
EResponseCodes[EResponseCodes["ResponseTooManyRequests"] = 429] = "ResponseTooManyRequests";
|
|
3100
|
-
EResponseCodes[EResponseCodes["ResponseRequestHeaderFieldsTooLarge"] = 431] = "ResponseRequestHeaderFieldsTooLarge";
|
|
3101
|
-
EResponseCodes[EResponseCodes["ResponseUnavailableForLegalReasons"] = 451] = "ResponseUnavailableForLegalReasons";
|
|
3102
|
-
EResponseCodes[EResponseCodes["ResponseInternalServerError"] = 500] = "ResponseInternalServerError";
|
|
3103
|
-
EResponseCodes[EResponseCodes["ResponseNotImplemented"] = 501] = "ResponseNotImplemented";
|
|
3104
|
-
EResponseCodes[EResponseCodes["ResponseBadGateway"] = 502] = "ResponseBadGateway";
|
|
3105
|
-
EResponseCodes[EResponseCodes["ResponseServiceUnavailable"] = 503] = "ResponseServiceUnavailable";
|
|
3106
|
-
EResponseCodes[EResponseCodes["ResponseGatewayTimeout"] = 504] = "ResponseGatewayTimeout";
|
|
3107
|
-
EResponseCodes[EResponseCodes["ResponseVersionNotSupported"] = 505] = "ResponseVersionNotSupported";
|
|
3108
|
-
EResponseCodes[EResponseCodes["ResponseVariantAlsoNegotiates"] = 506] = "ResponseVariantAlsoNegotiates";
|
|
3109
|
-
EResponseCodes[EResponseCodes["ResponseInsufficientStorage"] = 507] = "ResponseInsufficientStorage";
|
|
3110
|
-
EResponseCodes[EResponseCodes["ResponseLoopDetected"] = 508] = "ResponseLoopDetected";
|
|
3111
|
-
EResponseCodes[EResponseCodes["ResponseNotExtended"] = 510] = "ResponseNotExtended";
|
|
3112
|
-
EResponseCodes[EResponseCodes["ResponseNetworkAuthenticationRequired"] = 511] = "ResponseNetworkAuthenticationRequired";
|
|
3113
|
-
})(EResponseCodes = Web.EResponseCodes || (Web.EResponseCodes = {}));
|
|
3114
|
-
})(Web || (Web = {}));
|
|
3115
3117
|
/**
|
|
3116
3118
|
* @description Holds supported endpoint uris used by Foundation.
|
|
3117
3119
|
*/
|
|
@@ -9570,91 +9572,230 @@ export class CSPFoundation {
|
|
|
9570
9572
|
return _nPtr;
|
|
9571
9573
|
}
|
|
9572
9574
|
/**
|
|
9573
|
-
* @description Get an Object by its index. The returned pointer will be an entity that does not contain an AvatarSpaceComponent.
|
|
9574
|
-
* /// @param ObjectIndex size_t : The index of the object entity to get.
|
|
9575
|
-
* @return A non-owning pointer to the object entity with the given index.
|
|
9575
|
+
* @description Get an Object by its index. The returned pointer will be an entity that does not contain an AvatarSpaceComponent.
|
|
9576
|
+
* /// @param ObjectIndex size_t : The index of the object entity to get.
|
|
9577
|
+
* @return A non-owning pointer to the object entity with the given index.
|
|
9578
|
+
*/
|
|
9579
|
+
getObjectByIndex(objectIndex) {
|
|
9580
|
+
assert(Number.isInteger(objectIndex));
|
|
9581
|
+
assert(objectIndex >= Limits.UINT32_MIN);
|
|
9582
|
+
assert(objectIndex <= Limits.UINT32_MAX);
|
|
9583
|
+
var _ret = Module._malloc(8);
|
|
9584
|
+
Module.ccall("csp_common_IRealtimeEngine_GetObjectByIndex_SpaceEntityP_size_t", "void", ["number", "number", "number"], [_ret, this.pointer, objectIndex]);
|
|
9585
|
+
var _nPtr = new Multiplayer.SpaceEntity(getNativePointer(_ret));
|
|
9586
|
+
Module._free(_ret);
|
|
9587
|
+
return _nPtr;
|
|
9588
|
+
}
|
|
9589
|
+
/**
|
|
9590
|
+
* @description Get the number of total entities in the system.
|
|
9591
|
+
* @return The total number of entities.
|
|
9592
|
+
*/
|
|
9593
|
+
getNumEntities() {
|
|
9594
|
+
let _result = Module.ccall("csp_common_IRealtimeEngine_GetNumEntitiesC_size_t", "number", ["number"], [this.pointer]);
|
|
9595
|
+
const _unfixedValue = _result;
|
|
9596
|
+
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9597
|
+
_result = _fixedValue;
|
|
9598
|
+
return _result;
|
|
9599
|
+
}
|
|
9600
|
+
/**
|
|
9601
|
+
* @description Get the number of total Avatars in the system. Avatars are entities that contain AvatarSpaceComponents.
|
|
9602
|
+
* @return The total number of Avatar entities.
|
|
9603
|
+
*/
|
|
9604
|
+
getNumAvatars() {
|
|
9605
|
+
let _result = Module.ccall("csp_common_IRealtimeEngine_GetNumAvatarsC_size_t", "number", ["number"], [this.pointer]);
|
|
9606
|
+
const _unfixedValue = _result;
|
|
9607
|
+
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9608
|
+
_result = _fixedValue;
|
|
9609
|
+
return _result;
|
|
9610
|
+
}
|
|
9611
|
+
/**
|
|
9612
|
+
* @description Get the number of total Objects in the system. Objects are entities that do not contain AvatarSpaceComponents.
|
|
9613
|
+
* @return The total number of object entities.
|
|
9614
|
+
*/
|
|
9615
|
+
getNumObjects() {
|
|
9616
|
+
let _result = Module.ccall("csp_common_IRealtimeEngine_GetNumObjectsC_size_t", "number", ["number"], [this.pointer]);
|
|
9617
|
+
const _unfixedValue = _result;
|
|
9618
|
+
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9619
|
+
_result = _fixedValue;
|
|
9620
|
+
return _result;
|
|
9621
|
+
}
|
|
9622
|
+
/**
|
|
9623
|
+
* @description Retrieves all entities that exist at the root level (do not have a parent entity).
|
|
9624
|
+
* @return A list of root entities containing non-owning pointers to entities.
|
|
9625
|
+
*/
|
|
9626
|
+
getRootHierarchyEntities() {
|
|
9627
|
+
var _ret = Module._malloc(8);
|
|
9628
|
+
Module.ccall("csp_common_IRealtimeEngine_GetRootHierarchyEntitiesC_ListPC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
9629
|
+
var _nPtr = new Common.List(getNativePointer(_ret), csp_multiplayer_SpaceEntityFactory, "csp_multiplayer_SpaceEntity");
|
|
9630
|
+
Module._free(_ret);
|
|
9631
|
+
return _nPtr;
|
|
9632
|
+
}
|
|
9633
|
+
/**
|
|
9634
|
+
* @description Sets a callback to be executed when all existing entities have been retrieved after entering a space.
|
|
9635
|
+
* @param callback - A callback that executes when all existing entities have been retrieved.
|
|
9636
|
+
*/
|
|
9637
|
+
setInitialEntitiesRetrievedCallback(callback) {
|
|
9638
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9639
|
+
callback(arg1);
|
|
9640
|
+
};
|
|
9641
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9642
|
+
Module.ccall("csp_common_IRealtimeEngine_SetInitialEntitiesRetrievedCallback_void_CallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9643
|
+
}
|
|
9644
|
+
/**
|
|
9645
|
+
* @description Adds an entity to a list of entities to be updated when ProcessPendingEntityOperations is called.
|
|
9646
|
+
* From a client perspective, ProcessPendingEntityOperations is normally called via the CSPFoundation::Tick method.
|
|
9647
|
+
* @param entity - A non-owning pointer to the entity to be marked.
|
|
9648
|
+
*/
|
|
9649
|
+
markEntityForUpdate(entity) {
|
|
9650
|
+
Module.ccall("csp_common_IRealtimeEngine_MarkEntityForUpdate_void_SpaceEntityP", "void", ["number", "number"], [this.pointer, entity.pointer]);
|
|
9651
|
+
}
|
|
9652
|
+
/**
|
|
9653
|
+
* @description Applies any pending changes to entities that have been marked for update.
|
|
9654
|
+
*/
|
|
9655
|
+
processPendingEntityOperations() {
|
|
9656
|
+
Module.ccall("csp_common_IRealtimeEngine_ProcessPendingEntityOperations_void", "void", ["number"], [this.pointer]);
|
|
9657
|
+
}
|
|
9658
|
+
}
|
|
9659
|
+
Common.IRealtimeEngine = IRealtimeEngine;
|
|
9660
|
+
})(Common || (Common = {}));
|
|
9661
|
+
(function (Common) {
|
|
9662
|
+
/**
|
|
9663
|
+
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
9664
|
+
* Contains a callback system that allows clients to react to specific logs or events.
|
|
9665
|
+
*/
|
|
9666
|
+
class LogSystem extends NativeClassWrapper {
|
|
9667
|
+
/** @internal */
|
|
9668
|
+
constructor(pointer) {
|
|
9669
|
+
super(pointer);
|
|
9670
|
+
}
|
|
9671
|
+
static create() {
|
|
9672
|
+
var _ptr = Module._malloc(8);
|
|
9673
|
+
Module.ccall("csp_common_LogSystem_Ctor", "void", ["number"], [_ptr]);
|
|
9674
|
+
var _nPtr = getNativePointer(_ptr);
|
|
9675
|
+
return new LogSystem(_nPtr);
|
|
9676
|
+
}
|
|
9677
|
+
delete() {
|
|
9678
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9679
|
+
Module.ccall("csp_common_LogSystem_Dtor", "void", ["number"], [this.pointer]);
|
|
9680
|
+
this.disposed = true;
|
|
9681
|
+
}
|
|
9682
|
+
}
|
|
9683
|
+
/**
|
|
9684
|
+
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
9685
|
+
* @param inLogCallback - The callback to execute when a log occurs.
|
|
9686
|
+
*/
|
|
9687
|
+
setLogCallback(callback) {
|
|
9688
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9689
|
+
{
|
|
9690
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
9691
|
+
free(arg1);
|
|
9692
|
+
arg1 = _stringValue;
|
|
9693
|
+
}
|
|
9694
|
+
callback(arg1);
|
|
9695
|
+
};
|
|
9696
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9697
|
+
Module.ccall("csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9698
|
+
}
|
|
9699
|
+
/**
|
|
9700
|
+
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
9701
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
9702
|
+
*/
|
|
9703
|
+
setEventCallback(callback) {
|
|
9704
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9705
|
+
{
|
|
9706
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
9707
|
+
free(arg1);
|
|
9708
|
+
arg1 = _stringValue;
|
|
9709
|
+
}
|
|
9710
|
+
callback(arg1);
|
|
9711
|
+
};
|
|
9712
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9713
|
+
Module.ccall("csp_common_LogSystem_SetEventCallback_void_EventCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9714
|
+
}
|
|
9715
|
+
/**
|
|
9716
|
+
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
9717
|
+
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
9718
|
+
*/
|
|
9719
|
+
setBeginMarkerCallback(callback) {
|
|
9720
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9721
|
+
{
|
|
9722
|
+
const _stringValue = Module.UTF8ToString(arg1);
|
|
9723
|
+
free(arg1);
|
|
9724
|
+
arg1 = _stringValue;
|
|
9725
|
+
}
|
|
9726
|
+
callback(arg1);
|
|
9727
|
+
};
|
|
9728
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9729
|
+
Module.ccall("csp_common_LogSystem_SetBeginMarkerCallback_void_BeginMarkerCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9730
|
+
}
|
|
9731
|
+
/**
|
|
9732
|
+
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
9733
|
+
* @param inEndCallback - The callback to execute when the marker ends.
|
|
9576
9734
|
*/
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
var
|
|
9582
|
-
Module.ccall("
|
|
9583
|
-
var _nPtr = new Multiplayer.SpaceEntity(getNativePointer(_ret));
|
|
9584
|
-
Module._free(_ret);
|
|
9585
|
-
return _nPtr;
|
|
9735
|
+
setEndMarkerCallback(callback) {
|
|
9736
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9737
|
+
callback(arg1);
|
|
9738
|
+
};
|
|
9739
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9740
|
+
Module.ccall("csp_common_LogSystem_SetEndMarkerCallback_void_EndMarkerCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9586
9741
|
}
|
|
9587
9742
|
/**
|
|
9588
|
-
* @description
|
|
9589
|
-
* @
|
|
9743
|
+
* @description Set the verbosity of logging for a system-wide level.
|
|
9744
|
+
* @param inSystemLevel - The level to set the system logging to.
|
|
9590
9745
|
*/
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
const _unfixedValue = _result;
|
|
9594
|
-
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9595
|
-
_result = _fixedValue;
|
|
9596
|
-
return _result;
|
|
9746
|
+
setSystemLevel(systemLevel) {
|
|
9747
|
+
Module.ccall("csp_common_LogSystem_SetSystemLevel_void_LogLevelC", "void", ["number", "number"], [this.pointer, systemLevel]);
|
|
9597
9748
|
}
|
|
9598
9749
|
/**
|
|
9599
|
-
* @description
|
|
9600
|
-
* @return The total number of Avatar entities.
|
|
9750
|
+
* @description Retreive the log verbosity level.
|
|
9601
9751
|
*/
|
|
9602
|
-
|
|
9603
|
-
let _result = Module.ccall("
|
|
9604
|
-
const _unfixedValue = _result;
|
|
9605
|
-
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9606
|
-
_result = _fixedValue;
|
|
9752
|
+
getSystemLevel() {
|
|
9753
|
+
let _result = Module.ccall("csp_common_LogSystem_GetSystemLevel_LogLevel", "number", ["number"], [this.pointer]);
|
|
9607
9754
|
return _result;
|
|
9608
9755
|
}
|
|
9609
9756
|
/**
|
|
9610
|
-
* @description
|
|
9611
|
-
* @
|
|
9757
|
+
* @description Check if we currently log a specified log verbosity level.
|
|
9758
|
+
* @param level - The level to check.
|
|
9612
9759
|
*/
|
|
9613
|
-
|
|
9614
|
-
let _result = Module.ccall("
|
|
9615
|
-
const _unfixedValue = _result;
|
|
9616
|
-
let _fixedValue = _unfixedValue < 0 ? _unfixedValue + 2 ** 32 : _unfixedValue;
|
|
9617
|
-
_result = _fixedValue;
|
|
9760
|
+
loggingEnabled(level) {
|
|
9761
|
+
let _result = Module.ccall("csp_common_LogSystem_LoggingEnabled_bool_LogLevelC", "boolean", ["number", "number"], [this.pointer, level]);
|
|
9618
9762
|
return _result;
|
|
9619
9763
|
}
|
|
9620
9764
|
/**
|
|
9621
|
-
* @description
|
|
9622
|
-
* @
|
|
9765
|
+
* @description Log a message at a specific verbosity level.
|
|
9766
|
+
* @param level - The level to log this message at.
|
|
9767
|
+
* @param inMessage - The message to be logged.
|
|
9623
9768
|
*/
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
Module.ccall("csp_common_IRealtimeEngine_GetRootHierarchyEntitiesC_ListPC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
9627
|
-
var _nPtr = new Common.List(getNativePointer(_ret), csp_multiplayer_SpaceEntityFactory, "csp_multiplayer_SpaceEntity");
|
|
9628
|
-
Module._free(_ret);
|
|
9629
|
-
return _nPtr;
|
|
9769
|
+
logMsg(level, message) {
|
|
9770
|
+
Module.ccall("csp_common_LogSystem_LogMsg_void_LogLevelC_StringRC", "void", ["number", "number", "string"], [this.pointer, level, message]);
|
|
9630
9771
|
}
|
|
9631
9772
|
/**
|
|
9632
|
-
* @description
|
|
9633
|
-
* @param
|
|
9773
|
+
* @description Log an event.
|
|
9774
|
+
* @param inEvent - The event to be logged.
|
|
9634
9775
|
*/
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
callback(arg1);
|
|
9638
|
-
};
|
|
9639
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9640
|
-
Module.ccall("csp_common_IRealtimeEngine_SetInitialEntitiesRetrievedCallback_void_CallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9776
|
+
logEvent(event) {
|
|
9777
|
+
Module.ccall("csp_common_LogSystem_LogEvent_void_StringRC", "void", ["number", "string"], [this.pointer, event]);
|
|
9641
9778
|
}
|
|
9642
9779
|
/**
|
|
9643
|
-
* @description
|
|
9644
|
-
* From a client perspective, ProcessPendingEntityOperations is normally called via the CSPFoundation::Tick method.
|
|
9645
|
-
* @param entity - A non-owning pointer to the entity to be marked.
|
|
9780
|
+
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
9646
9781
|
*/
|
|
9647
|
-
|
|
9648
|
-
Module.ccall("
|
|
9782
|
+
beginMarker(marker) {
|
|
9783
|
+
Module.ccall("csp_common_LogSystem_BeginMarker_void_StringRC", "void", ["number", "string"], [this.pointer, marker]);
|
|
9649
9784
|
}
|
|
9650
9785
|
/**
|
|
9651
|
-
* @description
|
|
9786
|
+
* @description End a 'Marker' event.
|
|
9652
9787
|
*/
|
|
9653
|
-
|
|
9654
|
-
Module.ccall("
|
|
9788
|
+
endMarker() {
|
|
9789
|
+
Module.ccall("csp_common_LogSystem_EndMarker_void", "void", ["number"], [this.pointer]);
|
|
9790
|
+
}
|
|
9791
|
+
/**
|
|
9792
|
+
* @description Clears all logging callbacks.
|
|
9793
|
+
*/
|
|
9794
|
+
clearAllCallbacks() {
|
|
9795
|
+
Module.ccall("csp_common_LogSystem_ClearAllCallbacks_void", "void", ["number"], [this.pointer]);
|
|
9655
9796
|
}
|
|
9656
9797
|
}
|
|
9657
|
-
Common.
|
|
9798
|
+
Common.LogSystem = LogSystem;
|
|
9658
9799
|
})(Common || (Common = {}));
|
|
9659
9800
|
(function (Multiplayer) {
|
|
9660
9801
|
/**
|
|
@@ -10623,9 +10764,9 @@ export class CSPFoundation {
|
|
|
10623
10764
|
/**
|
|
10624
10765
|
* @description Creates a SpaceEntity instance using the space entity system provided.
|
|
10625
10766
|
*/
|
|
10626
|
-
static
|
|
10767
|
+
static create_entitySystem_logSystem(entitySystem, logSystem) {
|
|
10627
10768
|
var _ptr = Module._malloc(8);
|
|
10628
|
-
Module.ccall("
|
|
10769
|
+
Module.ccall("csp_multiplayer_SpaceEntity_Ctor_SpaceEntitySystemP_LogSystemP", "void", ["number", "number", "number"], [_ptr, entitySystem.pointer, logSystem.pointer]);
|
|
10629
10770
|
var _nPtr = getNativePointer(_ptr);
|
|
10630
10771
|
return new SpaceEntity(_nPtr);
|
|
10631
10772
|
}
|
|
@@ -11132,13 +11273,14 @@ export class CSPFoundation {
|
|
|
11132
11273
|
* @description Creates a SpaceEntity with type Avatar, and relevant components and default states as specified.
|
|
11133
11274
|
* @param inName - The name to give the new SpaceEntity.
|
|
11134
11275
|
* @param inSpaceTransform - The initial transform to set the SpaceEntity to.
|
|
11276
|
+
* @param isVisible - The initial visibility of the Avatar.
|
|
11135
11277
|
* @param inState - The initial Avatar State to set.
|
|
11136
11278
|
* @param inAvatarId - The Initial AvatarID to set.
|
|
11137
11279
|
* @param inAvatarPlayMode - The Initial AvatarPlayMode to set.
|
|
11138
11280
|
* @param callback - EntityCreatedCallback A callback that executes when the creation is complete,
|
|
11139
11281
|
* which contains a pointer to the new SpaceEntity so that it can be used on the local client.
|
|
11140
11282
|
*/
|
|
11141
|
-
async createAvatar(name, spaceTransform, state, avatarId, avatarPlayMode) {
|
|
11283
|
+
async createAvatar(name, spaceTransform, isVisible, state, avatarId, avatarPlayMode) {
|
|
11142
11284
|
var _resolve;
|
|
11143
11285
|
var _promise = new Promise((_r) => {
|
|
11144
11286
|
_resolve = _r;
|
|
@@ -11151,10 +11293,11 @@ export class CSPFoundation {
|
|
|
11151
11293
|
Module.removeFunction(_callbackPtr);
|
|
11152
11294
|
};
|
|
11153
11295
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
11154
|
-
Module.ccall("
|
|
11296
|
+
Module.ccall("csp_multiplayer_SpaceEntitySystem_CreateAvatar_void_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
|
|
11155
11297
|
"number",
|
|
11156
11298
|
"string",
|
|
11157
11299
|
"number",
|
|
11300
|
+
"boolean",
|
|
11158
11301
|
"number",
|
|
11159
11302
|
"string",
|
|
11160
11303
|
"number",
|
|
@@ -11164,6 +11307,7 @@ export class CSPFoundation {
|
|
|
11164
11307
|
this.pointer,
|
|
11165
11308
|
name,
|
|
11166
11309
|
spaceTransform.pointer,
|
|
11310
|
+
isVisible,
|
|
11167
11311
|
state,
|
|
11168
11312
|
avatarId,
|
|
11169
11313
|
avatarPlayMode,
|
|
@@ -12186,7 +12330,7 @@ export class CSPFoundation {
|
|
|
12186
12330
|
getLogSystem() {
|
|
12187
12331
|
var _ret = Module._malloc(8);
|
|
12188
12332
|
Module.ccall("csp_systems_SystemsManager_GetLogSystem_LogSystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
12189
|
-
var _nPtr = new
|
|
12333
|
+
var _nPtr = new Common.LogSystem(getNativePointer(_ret));
|
|
12190
12334
|
Module._free(_ret);
|
|
12191
12335
|
return _nPtr;
|
|
12192
12336
|
}
|
|
@@ -14044,133 +14188,6 @@ export class CSPFoundation {
|
|
|
14044
14188
|
}
|
|
14045
14189
|
Systems.HotspotGroup = HotspotGroup;
|
|
14046
14190
|
})(Systems || (Systems = {}));
|
|
14047
|
-
(function (Systems) {
|
|
14048
|
-
/**
|
|
14049
|
-
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
14050
|
-
* Contains a callback system that allows clients to react to specific logs or events.
|
|
14051
|
-
*/
|
|
14052
|
-
class LogSystem extends NativeClassWrapper {
|
|
14053
|
-
/** @internal */
|
|
14054
|
-
constructor(pointer) {
|
|
14055
|
-
super(pointer);
|
|
14056
|
-
}
|
|
14057
|
-
/**
|
|
14058
|
-
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
14059
|
-
* @param inLogCallback - The callback to execute when a log occurs.
|
|
14060
|
-
*/
|
|
14061
|
-
setLogCallback(callback) {
|
|
14062
|
-
var _callback = (_stateObject__, arg1) => {
|
|
14063
|
-
{
|
|
14064
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
14065
|
-
free(arg1);
|
|
14066
|
-
arg1 = _stringValue;
|
|
14067
|
-
}
|
|
14068
|
-
callback(arg1);
|
|
14069
|
-
};
|
|
14070
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
14071
|
-
Module.ccall("csp_systems_LogSystem_SetLogCallback_void_LogCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
14072
|
-
}
|
|
14073
|
-
/**
|
|
14074
|
-
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
14075
|
-
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
14076
|
-
*/
|
|
14077
|
-
setEventCallback(callback) {
|
|
14078
|
-
var _callback = (_stateObject__, arg1) => {
|
|
14079
|
-
{
|
|
14080
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
14081
|
-
free(arg1);
|
|
14082
|
-
arg1 = _stringValue;
|
|
14083
|
-
}
|
|
14084
|
-
callback(arg1);
|
|
14085
|
-
};
|
|
14086
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
14087
|
-
Module.ccall("csp_systems_LogSystem_SetEventCallback_void_EventCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
14088
|
-
}
|
|
14089
|
-
/**
|
|
14090
|
-
* @description Set a callback for handling a begin marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
14091
|
-
* @param inBeginCallback - The callback to execute when the marker begins.
|
|
14092
|
-
*/
|
|
14093
|
-
setBeginMarkerCallback(callback) {
|
|
14094
|
-
var _callback = (_stateObject__, arg1) => {
|
|
14095
|
-
{
|
|
14096
|
-
const _stringValue = Module.UTF8ToString(arg1);
|
|
14097
|
-
free(arg1);
|
|
14098
|
-
arg1 = _stringValue;
|
|
14099
|
-
}
|
|
14100
|
-
callback(arg1);
|
|
14101
|
-
};
|
|
14102
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
14103
|
-
Module.ccall("csp_systems_LogSystem_SetBeginMarkerCallback_void_BeginMarkerCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
14104
|
-
}
|
|
14105
|
-
/**
|
|
14106
|
-
* @description Set a callback for handling an end marker event. Can be used to debug Connected Spaces Platform within a client application.
|
|
14107
|
-
* @param inEndCallback - The callback to execute when the marker ends.
|
|
14108
|
-
*/
|
|
14109
|
-
setEndMarkerCallback(callback) {
|
|
14110
|
-
var _callback = (_stateObject__, arg1) => {
|
|
14111
|
-
callback(arg1);
|
|
14112
|
-
};
|
|
14113
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
14114
|
-
Module.ccall("csp_systems_LogSystem_SetEndMarkerCallback_void_EndMarkerCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
14115
|
-
}
|
|
14116
|
-
/**
|
|
14117
|
-
* @description Set the verbosity of logging for a system-wide level.
|
|
14118
|
-
* @param inSystemLevel - The level to set the system logging to.
|
|
14119
|
-
*/
|
|
14120
|
-
setSystemLevel(systemLevel) {
|
|
14121
|
-
Module.ccall("csp_systems_LogSystem_SetSystemLevel_void_LogLevelC", "void", ["number", "number"], [this.pointer, systemLevel]);
|
|
14122
|
-
}
|
|
14123
|
-
/**
|
|
14124
|
-
* @description Retreive the log verbosity level.
|
|
14125
|
-
*/
|
|
14126
|
-
getSystemLevel() {
|
|
14127
|
-
let _result = Module.ccall("csp_systems_LogSystem_GetSystemLevel_LogLevel", "number", ["number"], [this.pointer]);
|
|
14128
|
-
return _result;
|
|
14129
|
-
}
|
|
14130
|
-
/**
|
|
14131
|
-
* @description Check if we currently log a specified log verbosity level.
|
|
14132
|
-
* @param level - The level to check.
|
|
14133
|
-
*/
|
|
14134
|
-
loggingEnabled(level) {
|
|
14135
|
-
let _result = Module.ccall("csp_systems_LogSystem_LoggingEnabled_bool_LogLevelC", "boolean", ["number", "number"], [this.pointer, level]);
|
|
14136
|
-
return _result;
|
|
14137
|
-
}
|
|
14138
|
-
/**
|
|
14139
|
-
* @description Log a message at a specific verbosity level.
|
|
14140
|
-
* @param level - The level to log this message at.
|
|
14141
|
-
* @param inMessage - The message to be logged.
|
|
14142
|
-
*/
|
|
14143
|
-
logMsg(level, message) {
|
|
14144
|
-
Module.ccall("csp_systems_LogSystem_LogMsg_void_LogLevelC_StringRC", "void", ["number", "number", "string"], [this.pointer, level, message]);
|
|
14145
|
-
}
|
|
14146
|
-
/**
|
|
14147
|
-
* @description Log an event.
|
|
14148
|
-
* @param inEvent - The event to be logged.
|
|
14149
|
-
*/
|
|
14150
|
-
logEvent(event) {
|
|
14151
|
-
Module.ccall("csp_systems_LogSystem_LogEvent_void_StringRC", "void", ["number", "string"], [this.pointer, event]);
|
|
14152
|
-
}
|
|
14153
|
-
/**
|
|
14154
|
-
* @description Specify a 'Marker' event which can be used to communicate a certain process occurring, usually for debugging.
|
|
14155
|
-
*/
|
|
14156
|
-
beginMarker(marker) {
|
|
14157
|
-
Module.ccall("csp_systems_LogSystem_BeginMarker_void_StringRC", "void", ["number", "string"], [this.pointer, marker]);
|
|
14158
|
-
}
|
|
14159
|
-
/**
|
|
14160
|
-
* @description End a 'Marker' event.
|
|
14161
|
-
*/
|
|
14162
|
-
endMarker() {
|
|
14163
|
-
Module.ccall("csp_systems_LogSystem_EndMarker_void", "void", ["number"], [this.pointer]);
|
|
14164
|
-
}
|
|
14165
|
-
/**
|
|
14166
|
-
* @description Clears all logging callbacks.
|
|
14167
|
-
*/
|
|
14168
|
-
clearAllCallbacks() {
|
|
14169
|
-
Module.ccall("csp_systems_LogSystem_ClearAllCallbacks_void", "void", ["number"], [this.pointer]);
|
|
14170
|
-
}
|
|
14171
|
-
}
|
|
14172
|
-
Systems.LogSystem = LogSystem;
|
|
14173
|
-
})(Systems || (Systems = {}));
|
|
14174
14191
|
(function (Systems) {
|
|
14175
14192
|
/**
|
|
14176
14193
|
* @description Represents a single maintenance window, provides description of the event and a start and end timestamp
|
|
@@ -15748,9 +15765,9 @@ export class CSPFoundation {
|
|
|
15748
15765
|
* @description Constructs the animated model space component, and associates it with the specified Parent space entity.
|
|
15749
15766
|
* @param parent - The Space entity that owns this component.
|
|
15750
15767
|
*/
|
|
15751
|
-
static
|
|
15768
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
15752
15769
|
var _ptr = Module._malloc(8);
|
|
15753
|
-
Module.ccall("
|
|
15770
|
+
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
15754
15771
|
var _nPtr = getNativePointer(_ptr);
|
|
15755
15772
|
return new AnimatedModelSpaceComponent(_nPtr);
|
|
15756
15773
|
}
|
|
@@ -16024,9 +16041,9 @@ export class CSPFoundation {
|
|
|
16024
16041
|
* @description Constructs the audio space component, and associates it with the specified Parent space entity.
|
|
16025
16042
|
* @param parent - The Space entity that owns this component.
|
|
16026
16043
|
*/
|
|
16027
|
-
static
|
|
16044
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16028
16045
|
var _ptr = Module._malloc(8);
|
|
16029
|
-
Module.ccall("
|
|
16046
|
+
Module.ccall("csp_multiplayer_AudioSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16030
16047
|
var _nPtr = getNativePointer(_ptr);
|
|
16031
16048
|
return new AudioSpaceComponent(_nPtr);
|
|
16032
16049
|
}
|
|
@@ -16253,9 +16270,9 @@ export class CSPFoundation {
|
|
|
16253
16270
|
* @description Constructs the avatar space component, and associates it with the specified Parent space entity.
|
|
16254
16271
|
* @param parent - The Space entity that owns this component.
|
|
16255
16272
|
*/
|
|
16256
|
-
static
|
|
16273
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16257
16274
|
var _ptr = Module._malloc(8);
|
|
16258
|
-
Module.ccall("
|
|
16275
|
+
Module.ccall("csp_multiplayer_AvatarSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16259
16276
|
var _nPtr = getNativePointer(_ptr);
|
|
16260
16277
|
return new AvatarSpaceComponent(_nPtr);
|
|
16261
16278
|
}
|
|
@@ -16572,6 +16589,34 @@ export class CSPFoundation {
|
|
|
16572
16589
|
setLocomotionModel(value) {
|
|
16573
16590
|
Module.ccall("csp_multiplayer_AvatarSpaceComponent_SetLocomotionModel_void_LocomotionModel", "void", ["number", "number"], [this.pointer, value]);
|
|
16574
16591
|
}
|
|
16592
|
+
/**
|
|
16593
|
+
* \addtogroup IVisibleComponent
|
|
16594
|
+
@{
|
|
16595
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
16596
|
+
*/
|
|
16597
|
+
getIsVisible() {
|
|
16598
|
+
let _result = Module.ccall("csp_multiplayer_AvatarSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
16599
|
+
return _result;
|
|
16600
|
+
}
|
|
16601
|
+
/**
|
|
16602
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
16603
|
+
*/
|
|
16604
|
+
setIsVisible(value) {
|
|
16605
|
+
Module.ccall("csp_multiplayer_AvatarSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16606
|
+
}
|
|
16607
|
+
/**
|
|
16608
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
16609
|
+
*/
|
|
16610
|
+
getIsARVisible() {
|
|
16611
|
+
let _result = Module.ccall("csp_multiplayer_AvatarSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
16612
|
+
return _result;
|
|
16613
|
+
}
|
|
16614
|
+
/**
|
|
16615
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
16616
|
+
*/
|
|
16617
|
+
setIsARVisible(value) {
|
|
16618
|
+
Module.ccall("csp_multiplayer_AvatarSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16619
|
+
}
|
|
16575
16620
|
delete() {
|
|
16576
16621
|
if (this.ownsPointer && !this.disposed) {
|
|
16577
16622
|
Module.ccall("csp_multiplayer_AvatarSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -16599,9 +16644,9 @@ export class CSPFoundation {
|
|
|
16599
16644
|
* @description Constructs the button space component, and associates it with the specified Parent space entity.
|
|
16600
16645
|
* @param parent - The Space entity that owns this component.
|
|
16601
16646
|
*/
|
|
16602
|
-
static
|
|
16647
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16603
16648
|
var _ptr = Module._malloc(8);
|
|
16604
|
-
Module.ccall("
|
|
16649
|
+
Module.ccall("csp_multiplayer_ButtonSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16605
16650
|
var _nPtr = getNativePointer(_ptr);
|
|
16606
16651
|
return new ButtonSpaceComponent(_nPtr);
|
|
16607
16652
|
}
|
|
@@ -16801,9 +16846,9 @@ export class CSPFoundation {
|
|
|
16801
16846
|
* @description Constructs the CinematicCamera space component, and associates it with the specified Parent space entity.
|
|
16802
16847
|
* @param parent - The Space entity that owns this component.
|
|
16803
16848
|
*/
|
|
16804
|
-
static
|
|
16849
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16805
16850
|
var _ptr = Module._malloc(8);
|
|
16806
|
-
Module.ccall("
|
|
16851
|
+
Module.ccall("csp_multiplayer_CinematicCameraSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16807
16852
|
var _nPtr = getNativePointer(_ptr);
|
|
16808
16853
|
return new CinematicCameraSpaceComponent(_nPtr);
|
|
16809
16854
|
}
|
|
@@ -17079,9 +17124,9 @@ export class CSPFoundation {
|
|
|
17079
17124
|
* @description Constructs the collision space component, and associates it with the specified Parent space entity.
|
|
17080
17125
|
* @param parent - The Space entity that owns this component.
|
|
17081
17126
|
*/
|
|
17082
|
-
static
|
|
17127
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
17083
17128
|
var _ptr = Module._malloc(8);
|
|
17084
|
-
Module.ccall("
|
|
17129
|
+
Module.ccall("csp_multiplayer_CollisionSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
17085
17130
|
var _nPtr = getNativePointer(_ptr);
|
|
17086
17131
|
return new CollisionSpaceComponent(_nPtr);
|
|
17087
17132
|
}
|
|
@@ -17335,9 +17380,9 @@ export class CSPFoundation {
|
|
|
17335
17380
|
* @param parent - The Space entity that owns this component. This will also register the component to the entity.
|
|
17336
17381
|
@pre Parent must not be null.
|
|
17337
17382
|
*/
|
|
17338
|
-
static
|
|
17383
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
17339
17384
|
var _ptr = Module._malloc(8);
|
|
17340
|
-
Module.ccall("
|
|
17385
|
+
Module.ccall("csp_multiplayer_ConversationSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
17341
17386
|
var _nPtr = getNativePointer(_ptr);
|
|
17342
17387
|
return new ConversationSpaceComponent(_nPtr);
|
|
17343
17388
|
}
|
|
@@ -18007,9 +18052,9 @@ export class CSPFoundation {
|
|
|
18007
18052
|
* @description Constructs the custom space component, and associates it with the specified Parent space entity.
|
|
18008
18053
|
* @param parent - The Space entity that owns this component.
|
|
18009
18054
|
*/
|
|
18010
|
-
static
|
|
18055
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18011
18056
|
var _ptr = Module._malloc(8);
|
|
18012
|
-
Module.ccall("
|
|
18057
|
+
Module.ccall("csp_multiplayer_CustomSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18013
18058
|
var _nPtr = getNativePointer(_ptr);
|
|
18014
18059
|
return new CustomSpaceComponent(_nPtr);
|
|
18015
18060
|
}
|
|
@@ -18125,9 +18170,9 @@ export class CSPFoundation {
|
|
|
18125
18170
|
* @description Constructs the ECommerce space component, and associates it with the specified Parent space entity.
|
|
18126
18171
|
* @param parent - The Space entity that owns this component.
|
|
18127
18172
|
*/
|
|
18128
|
-
static
|
|
18173
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18129
18174
|
var _ptr = Module._malloc(8);
|
|
18130
|
-
Module.ccall("
|
|
18175
|
+
Module.ccall("csp_multiplayer_ECommerceSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18131
18176
|
var _nPtr = getNativePointer(_ptr);
|
|
18132
18177
|
return new ECommerceSpaceComponent(_nPtr);
|
|
18133
18178
|
}
|
|
@@ -18195,9 +18240,9 @@ export class CSPFoundation {
|
|
|
18195
18240
|
* @description Creates an external link component that can be added to an existing space entity.
|
|
18196
18241
|
* @param parent - - The space entity to which this new component will belong to.
|
|
18197
18242
|
*/
|
|
18198
|
-
static
|
|
18243
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18199
18244
|
var _ptr = Module._malloc(8);
|
|
18200
|
-
Module.ccall("
|
|
18245
|
+
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18201
18246
|
var _nPtr = getNativePointer(_ptr);
|
|
18202
18247
|
return new ExternalLinkSpaceComponent(_nPtr);
|
|
18203
18248
|
}
|
|
@@ -18396,9 +18441,9 @@ export class CSPFoundation {
|
|
|
18396
18441
|
* @description Constructs the fiducial marker space component, and associates it with the specified Parent space entity.
|
|
18397
18442
|
* @param parent - The Space entity that owns this component.
|
|
18398
18443
|
*/
|
|
18399
|
-
static
|
|
18444
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18400
18445
|
var _ptr = Module._malloc(8);
|
|
18401
|
-
Module.ccall("
|
|
18446
|
+
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18402
18447
|
var _nPtr = getNativePointer(_ptr);
|
|
18403
18448
|
return new FiducialMarkerSpaceComponent(_nPtr);
|
|
18404
18449
|
}
|
|
@@ -18586,9 +18631,9 @@ export class CSPFoundation {
|
|
|
18586
18631
|
* @description Constructs the fog space component, and associates it with the specified Parent space entity.
|
|
18587
18632
|
* @param parent - The Space entity that owns this component.
|
|
18588
18633
|
*/
|
|
18589
|
-
static
|
|
18634
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18590
18635
|
var _ptr = Module._malloc(8);
|
|
18591
|
-
Module.ccall("
|
|
18636
|
+
Module.ccall("csp_multiplayer_FogSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18592
18637
|
var _nPtr = getNativePointer(_ptr);
|
|
18593
18638
|
return new FogSpaceComponent(_nPtr);
|
|
18594
18639
|
}
|
|
@@ -18885,9 +18930,9 @@ export class CSPFoundation {
|
|
|
18885
18930
|
* @description Constructs the Gaussian Splat component, and associates it with the specified Parent space entity.
|
|
18886
18931
|
* @param parent - The Space entity that owns this component.
|
|
18887
18932
|
*/
|
|
18888
|
-
static
|
|
18933
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
18889
18934
|
var _ptr = Module._malloc(8);
|
|
18890
|
-
Module.ccall("
|
|
18935
|
+
Module.ccall("csp_multiplayer_GaussianSplatSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
18891
18936
|
var _nPtr = getNativePointer(_ptr);
|
|
18892
18937
|
return new GaussianSplatSpaceComponent(_nPtr);
|
|
18893
18938
|
}
|
|
@@ -19093,9 +19138,9 @@ export class CSPFoundation {
|
|
|
19093
19138
|
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
19094
19139
|
* @param parent - The Space entity that owns this component.
|
|
19095
19140
|
*/
|
|
19096
|
-
static
|
|
19141
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19097
19142
|
var _ptr = Module._malloc(8);
|
|
19098
|
-
Module.ccall("
|
|
19143
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19099
19144
|
var _nPtr = getNativePointer(_ptr);
|
|
19100
19145
|
return new HotspotSpaceComponent(_nPtr);
|
|
19101
19146
|
}
|
|
@@ -19256,9 +19301,9 @@ export class CSPFoundation {
|
|
|
19256
19301
|
* @description Constructs the image space component, and associates it with the specified Parent space entity.
|
|
19257
19302
|
* @param parent - The Space entity that owns this component.
|
|
19258
19303
|
*/
|
|
19259
|
-
static
|
|
19304
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19260
19305
|
var _ptr = Module._malloc(8);
|
|
19261
|
-
Module.ccall("
|
|
19306
|
+
Module.ccall("csp_multiplayer_ImageSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19262
19307
|
var _nPtr = getNativePointer(_ptr);
|
|
19263
19308
|
return new ImageSpaceComponent(_nPtr);
|
|
19264
19309
|
}
|
|
@@ -19492,9 +19537,9 @@ export class CSPFoundation {
|
|
|
19492
19537
|
* @description Constructs the light space component, and associates it with the specified Parent space entity.
|
|
19493
19538
|
* @param parent - The Space entity that owns this component.
|
|
19494
19539
|
*/
|
|
19495
|
-
static
|
|
19540
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19496
19541
|
var _ptr = Module._malloc(8);
|
|
19497
|
-
Module.ccall("
|
|
19542
|
+
Module.ccall("csp_multiplayer_LightSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19498
19543
|
var _nPtr = getNativePointer(_ptr);
|
|
19499
19544
|
return new LightSpaceComponent(_nPtr);
|
|
19500
19545
|
}
|
|
@@ -19773,9 +19818,9 @@ export class CSPFoundation {
|
|
|
19773
19818
|
* @description Constructs the portal space component, and associates it with the specified Parent space entity.
|
|
19774
19819
|
* @param parent - The Space entity that owns this component.
|
|
19775
19820
|
*/
|
|
19776
|
-
static
|
|
19821
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19777
19822
|
var _ptr = Module._malloc(8);
|
|
19778
|
-
Module.ccall("
|
|
19823
|
+
Module.ccall("csp_multiplayer_PortalSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19779
19824
|
var _nPtr = getNativePointer(_ptr);
|
|
19780
19825
|
return new PortalSpaceComponent(_nPtr);
|
|
19781
19826
|
}
|
|
@@ -19852,32 +19897,6 @@ export class CSPFoundation {
|
|
|
19852
19897
|
setIsEnabled(value) {
|
|
19853
19898
|
Module.ccall("csp_multiplayer_PortalSpaceComponent_SetIsEnabled_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19854
19899
|
}
|
|
19855
|
-
/**
|
|
19856
|
-
@}
|
|
19857
|
-
* @description Retrieves the space thumbnail information associated with the space.
|
|
19858
|
-
* If the space does not have a thumbnail associated with it the result callback will be successful, the
|
|
19859
|
-
* HTTP res code will be ResponseNotFound and the Uri field inside the UriResult will be empty.
|
|
19860
|
-
* @param callback - Callback when asynchronous task finishes
|
|
19861
|
-
*/
|
|
19862
|
-
async getSpaceThumbnail() {
|
|
19863
|
-
var _resolve;
|
|
19864
|
-
var _promise = new Promise((_r) => {
|
|
19865
|
-
_resolve = _r;
|
|
19866
|
-
});
|
|
19867
|
-
var _callbackPtr;
|
|
19868
|
-
var _callback = (_stateObject__, result) => {
|
|
19869
|
-
var _resultPtr = getNativePointer(result);
|
|
19870
|
-
var _resultInstance = new Systems.UriResult(_resultPtr);
|
|
19871
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
19872
|
-
return;
|
|
19873
|
-
}
|
|
19874
|
-
_resolve(_resultInstance);
|
|
19875
|
-
Module.removeFunction(_callbackPtr);
|
|
19876
|
-
};
|
|
19877
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
19878
|
-
Module.ccall("csp_multiplayer_PortalSpaceComponent_GetSpaceThumbnailC_void_UriResultCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
19879
|
-
return _promise;
|
|
19880
|
-
}
|
|
19881
19900
|
delete() {
|
|
19882
19901
|
if (this.ownsPointer && !this.disposed) {
|
|
19883
19902
|
Module.ccall("csp_multiplayer_PortalSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -19905,9 +19924,9 @@ export class CSPFoundation {
|
|
|
19905
19924
|
* @description Constructs the reflection component, and associates it with the specified Parent space entity.
|
|
19906
19925
|
* @param parent - The Space entity that owns this component.
|
|
19907
19926
|
*/
|
|
19908
|
-
static
|
|
19927
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
19909
19928
|
var _ptr = Module._malloc(8);
|
|
19910
|
-
Module.ccall("
|
|
19929
|
+
Module.ccall("csp_multiplayer_ReflectionSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
19911
19930
|
var _nPtr = getNativePointer(_ptr);
|
|
19912
19931
|
return new ReflectionSpaceComponent(_nPtr);
|
|
19913
19932
|
}
|
|
@@ -20076,9 +20095,9 @@ export class CSPFoundation {
|
|
|
20076
20095
|
* @description Constructs the script space component, and associates it with the specified Parent space entity.
|
|
20077
20096
|
* @param parent - The Space entity that owns this component.
|
|
20078
20097
|
*/
|
|
20079
|
-
static
|
|
20098
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20080
20099
|
var _ptr = Module._malloc(8);
|
|
20081
|
-
Module.ccall("
|
|
20100
|
+
Module.ccall("csp_multiplayer_ScriptSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20082
20101
|
var _nPtr = getNativePointer(_ptr);
|
|
20083
20102
|
return new ScriptSpaceComponent(_nPtr);
|
|
20084
20103
|
}
|
|
@@ -20155,9 +20174,9 @@ export class CSPFoundation {
|
|
|
20155
20174
|
* @description Constructs the spline space component, and associates it with the specified Parent space entity.
|
|
20156
20175
|
* @param parent - The Space entity that owns this component.
|
|
20157
20176
|
*/
|
|
20158
|
-
static
|
|
20177
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20159
20178
|
var _ptr = Module._malloc(8);
|
|
20160
|
-
Module.ccall("
|
|
20179
|
+
Module.ccall("csp_multiplayer_SplineSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20161
20180
|
var _nPtr = getNativePointer(_ptr);
|
|
20162
20181
|
return new SplineSpaceComponent(_nPtr);
|
|
20163
20182
|
}
|
|
@@ -20225,9 +20244,9 @@ export class CSPFoundation {
|
|
|
20225
20244
|
* @description Constructs the static model space component, and associates it with the specified Parent space entity.
|
|
20226
20245
|
* @param parent - The Space entity that owns this component.
|
|
20227
20246
|
*/
|
|
20228
|
-
static
|
|
20247
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20229
20248
|
var _ptr = Module._malloc(8);
|
|
20230
|
-
Module.ccall("
|
|
20249
|
+
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20231
20250
|
var _nPtr = getNativePointer(_ptr);
|
|
20232
20251
|
return new StaticModelSpaceComponent(_nPtr);
|
|
20233
20252
|
}
|
|
@@ -20453,9 +20472,9 @@ export class CSPFoundation {
|
|
|
20453
20472
|
* @description Constructs the text space component, and associates it with the specified Parent space entity.
|
|
20454
20473
|
* @param parent - The Space entity that owns this component.
|
|
20455
20474
|
*/
|
|
20456
|
-
static
|
|
20475
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20457
20476
|
var _ptr = Module._malloc(8);
|
|
20458
|
-
Module.ccall("
|
|
20477
|
+
Module.ccall("csp_multiplayer_TextSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20459
20478
|
var _nPtr = getNativePointer(_ptr);
|
|
20460
20479
|
return new TextSpaceComponent(_nPtr);
|
|
20461
20480
|
}
|
|
@@ -20701,9 +20720,9 @@ export class CSPFoundation {
|
|
|
20701
20720
|
* @description Constructs the video player component, and associates it with the specified Parent space entity.
|
|
20702
20721
|
* @param parent - The Space entity that owns this component.
|
|
20703
20722
|
*/
|
|
20704
|
-
static
|
|
20723
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20705
20724
|
var _ptr = Module._malloc(8);
|
|
20706
|
-
Module.ccall("
|
|
20725
|
+
Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20707
20726
|
var _nPtr = getNativePointer(_ptr);
|
|
20708
20727
|
return new VideoPlayerSpaceComponent(_nPtr);
|
|
20709
20728
|
}
|
|
@@ -24450,9 +24469,15 @@ export class CSPFoundation {
|
|
|
24450
24469
|
const nativeClassWrapper = baseInstance;
|
|
24451
24470
|
return new Systems.HotspotSequenceSystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
24452
24471
|
}
|
|
24453
|
-
static
|
|
24472
|
+
static create_sequenceSystem_spaceSystem_eventBus_logSystem(sequenceSystem, spaceSystem, eventBus, logSystem) {
|
|
24454
24473
|
var _ptr = Module._malloc(8);
|
|
24455
|
-
Module.ccall("
|
|
24474
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_Ctor_SequenceSystemP_SpaceSystemP_EventBusP_LogSystemR", "void", ["number", "number", "number", "number", "number"], [
|
|
24475
|
+
_ptr,
|
|
24476
|
+
sequenceSystem.pointer,
|
|
24477
|
+
spaceSystem.pointer,
|
|
24478
|
+
eventBus.pointer,
|
|
24479
|
+
logSystem.pointer,
|
|
24480
|
+
]);
|
|
24456
24481
|
var _nPtr = getNativePointer(_ptr);
|
|
24457
24482
|
return new HotspotSequenceSystem(_nPtr);
|
|
24458
24483
|
}
|