@dcl/playground-assets 7.3.36-7251073921.commit-4305c4b → 7.3.36-7289906681.commit-55d5f98
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/dist/alpha.d.ts +114 -0
- package/dist/beta.d.ts +114 -0
- package/dist/index.bundled.d.ts +114 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +114 -12
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +114 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +1641 -196
- package/etc/playground-assets.api.md +99 -0
- package/package.json +4 -4
@@ -43,7 +43,11 @@ declare module "~system/CommunicationsController" {
|
|
43
43
|
}
|
44
44
|
|
45
45
|
// Function declaration section
|
46
|
-
|
46
|
+
/**
|
47
|
+
* @deprecated - This API should use a bidirectional binary stream in sdk7
|
48
|
+
* https://github.com/decentraland/sdk/issues/582
|
49
|
+
*/
|
50
|
+
export function send(body: RealSendRequest): Promise<RealSendResponse>;
|
47
51
|
export function sendBinary(body: SendBinaryRequest): Promise<SendBinaryResponse>;
|
48
52
|
|
49
53
|
}
|
@@ -900,11 +904,23 @@ declare module "~system/EngineApi" {
|
|
900
904
|
}
|
901
905
|
|
902
906
|
// Function declaration section
|
903
|
-
|
907
|
+
/** @deprecated */
|
908
|
+
export function sendBatch(body: ManyEntityAction): Promise<SendBatchResponse>;
|
909
|
+
/** @deprecated */
|
904
910
|
export function subscribe(body: SubscribeRequest): Promise<SubscribeResponse>;
|
911
|
+
/** @deprecated */
|
905
912
|
export function unsubscribe(body: UnsubscribeRequest): Promise<UnsubscribeResponse>;
|
913
|
+
/**
|
914
|
+
* send information of the CRDT messages to the renderer. It returns the CRDT changes back from the renderer
|
915
|
+
* like raycast responses or the player's position
|
916
|
+
*/
|
906
917
|
export function crdtSendToRenderer(body: CrdtSendToRendererRequest): Promise<CrdtSendToResponse>;
|
918
|
+
/**
|
919
|
+
* retrieves the current _full_ state of the entities from the renderer. This function is used to hidrate
|
920
|
+
* the state of the scenes when the code of the worker is stopped/resumed
|
921
|
+
*/
|
907
922
|
export function crdtGetState(body: CrdtSendToRendererRequest): Promise<CrdtGetStateResponse>;
|
923
|
+
/** @deprecated, this response was merged into CrdtSendToResponse */
|
908
924
|
export function crdtGetMessageFromRenderer(body: CrdtMessageFromRendererRequest): Promise<CrdtMessageFromRendererResponse>;
|
909
925
|
export function isServer(body: IsServerRequest): Promise<IsServerResponse>;
|
910
926
|
|
@@ -979,12 +995,19 @@ declare module "~system/EnvironmentApi" {
|
|
979
995
|
}
|
980
996
|
|
981
997
|
// Function declaration section
|
982
|
-
|
998
|
+
/** @deprecated, only available for SDK6 compatibility. Use runtime_api instead */
|
999
|
+
export function getBootstrapData(body: GetBootstrapDataRequest): Promise<BootstrapDataResponse>;
|
1000
|
+
/** @deprecated, only available for SDK6 compatibility. Needs migration */
|
983
1001
|
export function isPreviewMode(body: IsPreviewModeRequest): Promise<PreviewModeResponse>;
|
1002
|
+
/** @deprecated, only available for SDK6 compatibility */
|
984
1003
|
export function getPlatform(body: GetPlatformRequest): Promise<GetPlatformResponse>;
|
1004
|
+
/** @deprecated, only available for SDK6 compatibility */
|
985
1005
|
export function areUnsafeRequestAllowed(body: AreUnsafeRequestAllowedRequest): Promise<AreUnsafeRequestAllowedResponse>;
|
1006
|
+
/** @deprecated, use GetCurrentRealm from runtime_api instead */
|
986
1007
|
export function getCurrentRealm(body: GetCurrentRealmRequest): Promise<GetCurrentRealmResponse>;
|
1008
|
+
/** @deprecated, only available for SDK6 compatibility */
|
987
1009
|
export function getExplorerConfiguration(body: GetExplorerConfigurationRequest): Promise<GetExplorerConfigurationResponse>;
|
1010
|
+
/** @deprecated, use GetTime from runtime_api instead */
|
988
1011
|
export function getDecentralandTime(body: GetDecentralandTimeRequest): Promise<GetDecentralandTimeResponse>;
|
989
1012
|
|
990
1013
|
}
|
@@ -1042,10 +1065,26 @@ declare module "~system/EthereumController" {
|
|
1042
1065
|
}
|
1043
1066
|
|
1044
1067
|
// Function declaration section
|
1045
|
-
|
1068
|
+
/**
|
1069
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1070
|
+
* be replaced by any ethereum library on top of the provider
|
1071
|
+
*/
|
1072
|
+
export function requirePayment(body: RequirePaymentRequest): Promise<RequirePaymentResponse>;
|
1073
|
+
/**
|
1074
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1075
|
+
* be replaced by any ethereum library on top of the provider
|
1076
|
+
*/
|
1046
1077
|
export function signMessage(body: SignMessageRequest): Promise<SignMessageResponse>;
|
1078
|
+
/**
|
1079
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1080
|
+
* be replaced by any ethereum library on top of the provider
|
1081
|
+
*/
|
1047
1082
|
export function convertMessageToObject(body: ConvertMessageToObjectRequest): Promise<ConvertMessageToObjectResponse>;
|
1048
1083
|
export function sendAsync(body: SendAsyncRequest): Promise<SendAsyncResponse>;
|
1084
|
+
/**
|
1085
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1086
|
+
* be replaced by any ethereum library on top of the provider
|
1087
|
+
*/
|
1049
1088
|
export function getUserAccount(body: GetUserAccountRequest): Promise<GetUserAccountResponse>;
|
1050
1089
|
|
1051
1090
|
}
|
@@ -1094,8 +1133,20 @@ declare module "~system/Players" {
|
|
1094
1133
|
}
|
1095
1134
|
|
1096
1135
|
// Function declaration section
|
1097
|
-
|
1136
|
+
/**
|
1137
|
+
* Returns data about a specific player, by id
|
1138
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1139
|
+
*/
|
1140
|
+
export function getPlayerData(body: GetPlayerDataRequest): Promise<PlayersGetUserDataResponse>;
|
1141
|
+
/**
|
1142
|
+
* Returns a list of all the ids of players who are currently standing within the parcels of the scene
|
1143
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1144
|
+
*/
|
1098
1145
|
export function getPlayersInScene(body: GetPlayersInSceneRequest): Promise<PlayerListResponse>;
|
1146
|
+
/**
|
1147
|
+
* Returns a list of all the ids of players who are currently connected to the same server and grouped together
|
1148
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1149
|
+
*/
|
1099
1150
|
export function getConnectedPlayers(body: GetConnectedPlayersRequest): Promise<PlayerListResponse>;
|
1100
1151
|
|
1101
1152
|
}
|
@@ -1135,9 +1186,28 @@ declare module "~system/PortableExperiences" {
|
|
1135
1186
|
}
|
1136
1187
|
|
1137
1188
|
// Function declaration section
|
1138
|
-
|
1189
|
+
/**
|
1190
|
+
* Spawns a new portable experience that is detached from the current scene.
|
1191
|
+
* Spawned portable experiences can only be controlled by 1) the user (from the UI)
|
1192
|
+
* and 2) from the parent scene. If the parent scene gets unloaded i.e. by distance,
|
1193
|
+
* once the player re-loads the parent it will inherit the children portable experiences
|
1194
|
+
* to gain control over them.
|
1195
|
+
*/
|
1196
|
+
export function spawn(body: SpawnRequest): Promise<SpawnResponse>;
|
1197
|
+
/**
|
1198
|
+
* Kill a child portable experience, this method only works if the child was
|
1199
|
+
* spawned by the same process trying to kill it.
|
1200
|
+
*/
|
1139
1201
|
export function kill(body: KillRequest): Promise<KillResponse>;
|
1202
|
+
/**
|
1203
|
+
* Kill the current scene if the current scene is a portable experience. Other
|
1204
|
+
* kind of scenes are not allowed to finish their programs like portable experiences.
|
1205
|
+
*/
|
1140
1206
|
export function exit(body: ExitRequest): Promise<ExitResponse>;
|
1207
|
+
/**
|
1208
|
+
* Gets a list of running portable experiences for the current user. Be mindful
|
1209
|
+
* about the performance penalty of calling this function all frames.
|
1210
|
+
*/
|
1141
1211
|
export function getPortableExperiencesLoaded(body: GetPortableExperiencesLoadedRequest): Promise<GetPortableExperiencesLoadedResponse>;
|
1142
1212
|
|
1143
1213
|
}
|
@@ -1208,13 +1278,24 @@ declare module "~system/RestrictedActions" {
|
|
1208
1278
|
}
|
1209
1279
|
|
1210
1280
|
// Function declaration section
|
1211
|
-
|
1281
|
+
/** MovePlayerTo will move the player in a position relative to the current scene */
|
1282
|
+
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
1283
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
1212
1284
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
1285
|
+
/** TriggerEmote will trigger an emote in this current user */
|
1213
1286
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
1287
|
+
/** ChangeRealm prompts the user to change to a specific realm */
|
1214
1288
|
export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
|
1289
|
+
/** OpenExternalUrl prompts the user to open an external link */
|
1215
1290
|
export function openExternalUrl(body: OpenExternalUrlRequest): Promise<SuccessResponse>;
|
1291
|
+
/** OpenNftDialog opens an NFT dialog. */
|
1216
1292
|
export function openNftDialog(body: OpenNftDialogRequest): Promise<SuccessResponse>;
|
1293
|
+
/**
|
1294
|
+
* Asks the explorer to connect to other communications adapter, this feature
|
1295
|
+
* can be used to join private game servers
|
1296
|
+
*/
|
1217
1297
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
1298
|
+
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
1218
1299
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
1219
1300
|
|
1220
1301
|
}
|
@@ -1270,9 +1351,21 @@ declare module "~system/Runtime" {
|
|
1270
1351
|
}
|
1271
1352
|
|
1272
1353
|
// Function declaration section
|
1273
|
-
|
1354
|
+
/** Provides information about the current realm */
|
1355
|
+
export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
|
1356
|
+
/**
|
1357
|
+
* Provides information about the Decentraland Time, which is coordinated
|
1358
|
+
* across players.
|
1359
|
+
*/
|
1274
1360
|
export function getWorldTime(body: GetWorldTimeRequest): Promise<GetWorldTimeResponse>;
|
1361
|
+
/**
|
1362
|
+
* Returns the file content of a deployed asset. If the file doesn't
|
1363
|
+
* exist or cannot be retrieved, the RPC call throws an error.
|
1364
|
+
* This method is called to load any assets deployed among the scene,
|
1365
|
+
* runtime may cache this response much more than the provided "fetch" function.
|
1366
|
+
*/
|
1275
1367
|
export function readFile(body: ReadFileRequest): Promise<ReadFileResponse>;
|
1368
|
+
/** Returns information about the current scene. This is the replacement of GetBootstrapData */
|
1276
1369
|
export function getSceneInformation(body: CurrentSceneEntityRequest): Promise<CurrentSceneEntityResponse>;
|
1277
1370
|
|
1278
1371
|
}
|
@@ -1344,7 +1437,11 @@ declare module "~system/SignedFetch" {
|
|
1344
1437
|
}
|
1345
1438
|
|
1346
1439
|
// Function declaration section
|
1347
|
-
|
1440
|
+
/**
|
1441
|
+
* SignedFetch is used to authenticate JSON requests in name of the users,
|
1442
|
+
* a special scoped signature is generated following the https://adr.decentraland.org/adr/ADR-44
|
1443
|
+
*/
|
1444
|
+
export function signedFetch(body: SignedFetchRequest): Promise<FlatFetchResponse>;
|
1348
1445
|
export function getHeaders(body: SignedFetchRequest): Promise<GetHeadersResponse>;
|
1349
1446
|
|
1350
1447
|
}
|
@@ -1392,8 +1489,11 @@ declare module "~system/Testing" {
|
|
1392
1489
|
}
|
1393
1490
|
|
1394
1491
|
// Function declaration section
|
1395
|
-
|
1492
|
+
/** sends a test result to the test runner */
|
1493
|
+
export function logTestResult(body: TestResult): Promise<TestResultResponse>;
|
1494
|
+
/** send a list of all planned tests to the test runner */
|
1396
1495
|
export function plan(body: TestPlan): Promise<TestPlanResponse>;
|
1496
|
+
/** sets the camera position and rotation in the engine */
|
1397
1497
|
export function setCameraTransform(body: SetCameraTransformTestCommand): Promise<SetCameraTransformTestCommandResponse>;
|
1398
1498
|
|
1399
1499
|
}
|
@@ -1409,7 +1509,8 @@ declare module "~system/UserActionModule" {
|
|
1409
1509
|
}
|
1410
1510
|
|
1411
1511
|
// Function declaration section
|
1412
|
-
|
1512
|
+
/** @deprecated, only available for SDK6 compatibility. Use RestrictedActions/TeleportTo */
|
1513
|
+
export function requestTeleport(body: RequestTeleportRequest): Promise<RequestTeleportResponse>;
|
1413
1514
|
|
1414
1515
|
}
|
1415
1516
|
/**
|
@@ -1451,7 +1552,8 @@ declare module "~system/UserIdentity" {
|
|
1451
1552
|
}
|
1452
1553
|
|
1453
1554
|
// Function declaration section
|
1454
|
-
|
1555
|
+
/** @deprecated, only available for SDK6 compatibility. UseGetUserData */
|
1556
|
+
export function getUserPublicKey(body: GetUserPublicKeyRequest): Promise<GetUserPublicKeyResponse>;
|
1455
1557
|
export function getUserData(body: GetUserDataRequest): Promise<GetUserDataResponse>;
|
1456
1558
|
|
1457
1559
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.3.36-
|
4
|
+
"version": "7.3.36-7289906681.commit-55d5f98",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
},
|
36
36
|
"types": "./index.d.ts",
|
37
37
|
"typings": "./index.d.ts",
|
38
|
-
"commit": "
|
38
|
+
"commit": "55d5f98da8c3e7ff5e6441da427b571c270304f0"
|
39
39
|
}
|
@@ -110,6 +110,15 @@ export declare const enum AvatarAnchorPointType {
|
|
110
110
|
/** @public */
|
111
111
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
112
112
|
|
113
|
+
/** @public */
|
114
|
+
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
115
|
+
|
116
|
+
/** @public */
|
117
|
+
export declare const AvatarEmoteCommand: LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>;
|
118
|
+
|
119
|
+
/** @public */
|
120
|
+
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
121
|
+
|
113
122
|
/** @public */
|
114
123
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
115
124
|
|
@@ -1166,6 +1175,9 @@ export declare const componentDefinitionByName: {
|
|
1166
1175
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
1167
1176
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
1168
1177
|
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
1178
|
+
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
1179
|
+
"core::AvatarEmoteCommand": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>>;
|
1180
|
+
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
1169
1181
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
1170
1182
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
1171
1183
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
@@ -1178,6 +1190,7 @@ export declare const componentDefinitionByName: {
|
|
1178
1190
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
1179
1191
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
1180
1192
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
1193
|
+
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
1181
1194
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
1182
1195
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
1183
1196
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
@@ -3783,6 +3796,82 @@ export declare namespace PBAvatarAttach {
|
|
3783
3796
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3784
3797
|
}
|
3785
3798
|
|
3799
|
+
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3800
|
+
/**
|
3801
|
+
* @public
|
3802
|
+
*/
|
3803
|
+
export declare interface PBAvatarBase {
|
3804
|
+
skinColor: PBColor3 | undefined;
|
3805
|
+
eyesColor: PBColor3 | undefined;
|
3806
|
+
hairColor: PBColor3 | undefined;
|
3807
|
+
bodyShapeUrn: string;
|
3808
|
+
name: string;
|
3809
|
+
}
|
3810
|
+
|
3811
|
+
/**
|
3812
|
+
* @public
|
3813
|
+
*/
|
3814
|
+
export declare namespace PBAvatarBase {
|
3815
|
+
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3816
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3817
|
+
}
|
3818
|
+
|
3819
|
+
/**
|
3820
|
+
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3821
|
+
* avatar emotes playback.
|
3822
|
+
*/
|
3823
|
+
/**
|
3824
|
+
* @public
|
3825
|
+
*/
|
3826
|
+
export declare interface PBAvatarEmoteCommand {
|
3827
|
+
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3828
|
+
}
|
3829
|
+
|
3830
|
+
/**
|
3831
|
+
* @public
|
3832
|
+
*/
|
3833
|
+
export declare namespace PBAvatarEmoteCommand {
|
3834
|
+
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3835
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3836
|
+
}
|
3837
|
+
|
3838
|
+
/**
|
3839
|
+
* @public
|
3840
|
+
*/
|
3841
|
+
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3842
|
+
emoteUrn: string;
|
3843
|
+
loop: boolean;
|
3844
|
+
}
|
3845
|
+
|
3846
|
+
/**
|
3847
|
+
* @public
|
3848
|
+
*/
|
3849
|
+
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3850
|
+
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3851
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3852
|
+
}
|
3853
|
+
|
3854
|
+
/**
|
3855
|
+
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3856
|
+
* this component is written by the engine using the communications transports'
|
3857
|
+
* data.
|
3858
|
+
*/
|
3859
|
+
/**
|
3860
|
+
* @public
|
3861
|
+
*/
|
3862
|
+
export declare interface PBAvatarEquippedData {
|
3863
|
+
wearableUrns: string[];
|
3864
|
+
emotesUrns: string[];
|
3865
|
+
}
|
3866
|
+
|
3867
|
+
/**
|
3868
|
+
* @public
|
3869
|
+
*/
|
3870
|
+
export declare namespace PBAvatarEquippedData {
|
3871
|
+
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3872
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3873
|
+
}
|
3874
|
+
|
3786
3875
|
/**
|
3787
3876
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3788
3877
|
* avatar behavior changes.
|
@@ -4378,6 +4467,28 @@ export declare namespace PBNftShape {
|
|
4378
4467
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4379
4468
|
}
|
4380
4469
|
|
4470
|
+
/**
|
4471
|
+
* PlayerIdentityData is used to read the information about the avatar's
|
4472
|
+
* identity. this component is written by the engine using the communications
|
4473
|
+
* transports' data.
|
4474
|
+
*/
|
4475
|
+
/**
|
4476
|
+
* @public
|
4477
|
+
*/
|
4478
|
+
export declare interface PBPlayerIdentityData {
|
4479
|
+
/** ethereum address of this player */
|
4480
|
+
address: string;
|
4481
|
+
isGuest: boolean;
|
4482
|
+
}
|
4483
|
+
|
4484
|
+
/**
|
4485
|
+
* @public
|
4486
|
+
*/
|
4487
|
+
export declare namespace PBPlayerIdentityData {
|
4488
|
+
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4489
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4490
|
+
}
|
4491
|
+
|
4381
4492
|
/**
|
4382
4493
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4383
4494
|
*
|
@@ -5211,6 +5322,9 @@ export declare namespace Plane {
|
|
5211
5322
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5212
5323
|
}
|
5213
5324
|
|
5325
|
+
/** @public */
|
5326
|
+
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5327
|
+
|
5214
5328
|
/** @public */
|
5215
5329
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5216
5330
|
|