@dcl/playground-assets 7.5.6 → 7.5.7-9891810625.commit-d9f5cf2
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 +165 -1
- package/dist/beta.d.ts +165 -1
- package/dist/index.bundled.d.ts +165 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +165 -1
- package/etc/playground-assets.api.json +2474 -554
- package/etc/playground-assets.api.md +123 -0
- package/package.json +4 -4
@@ -136,6 +136,13 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
136
136
|
// @public (undocumented)
|
137
137
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
138
138
|
|
139
|
+
// @public (undocumented)
|
140
|
+
export const enum AvatarControlType {
|
141
|
+
CCT_NONE = 0,
|
142
|
+
CCT_RELATIVE = 1,
|
143
|
+
CCT_TANK = 2
|
144
|
+
}
|
145
|
+
|
139
146
|
// @public (undocumented)
|
140
147
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
141
148
|
|
@@ -151,6 +158,28 @@ export const enum AvatarModifierType {
|
|
151
158
|
AMT_HIDE_AVATARS = 0
|
152
159
|
}
|
153
160
|
|
161
|
+
// @public (undocumented)
|
162
|
+
export interface AvatarMovementSettings {
|
163
|
+
allowWeightedMovement?: boolean | undefined;
|
164
|
+
// (undocumented)
|
165
|
+
controlMode?: AvatarControlType | undefined;
|
166
|
+
friction?: number | undefined;
|
167
|
+
gravity?: number | undefined;
|
168
|
+
jumpHeight?: number | undefined;
|
169
|
+
maxFallSpeed?: number | undefined;
|
170
|
+
runSpeed?: number | undefined;
|
171
|
+
turnSpeed?: number | undefined;
|
172
|
+
walkSpeed?: number | undefined;
|
173
|
+
}
|
174
|
+
|
175
|
+
// @public (undocumented)
|
176
|
+
export namespace AvatarMovementSettings {
|
177
|
+
// (undocumented)
|
178
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
179
|
+
// (undocumented)
|
180
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
181
|
+
}
|
182
|
+
|
154
183
|
// @public (undocumented)
|
155
184
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
156
185
|
|
@@ -367,6 +396,29 @@ export const enum CameraType {
|
|
367
396
|
// @public (undocumented)
|
368
397
|
export type Children = ReactEcs.JSX.ReactNode;
|
369
398
|
|
399
|
+
// @public (undocumented)
|
400
|
+
export interface CinematicSettings {
|
401
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
402
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
403
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
404
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
405
|
+
allowManualRotation?: boolean | undefined;
|
406
|
+
cameraEntity: number;
|
407
|
+
pitchRange?: number | undefined;
|
408
|
+
rollRange?: number | undefined;
|
409
|
+
yawRange?: number | undefined;
|
410
|
+
zoomMax?: number | undefined;
|
411
|
+
zoomMin?: number | undefined;
|
412
|
+
}
|
413
|
+
|
414
|
+
// @public (undocumented)
|
415
|
+
export namespace CinematicSettings {
|
416
|
+
// (undocumented)
|
417
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
418
|
+
// (undocumented)
|
419
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
420
|
+
}
|
421
|
+
|
370
422
|
// @public (undocumented)
|
371
423
|
export const enum ColliderLayer {
|
372
424
|
// (undocumented)
|
@@ -619,6 +671,7 @@ export const componentDefinitionByName: {
|
|
619
671
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
620
672
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
621
673
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
674
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
622
675
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
623
676
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
624
677
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -2148,6 +2201,9 @@ export interface PBAvatarModifierArea {
|
|
2148
2201
|
area: PBVector3 | undefined;
|
2149
2202
|
excludeIds: string[];
|
2150
2203
|
modifiers: AvatarModifierType[];
|
2204
|
+
// (undocumented)
|
2205
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2206
|
+
useColliderRange?: boolean | undefined;
|
2151
2207
|
}
|
2152
2208
|
|
2153
2209
|
// @public (undocumented)
|
@@ -2210,7 +2266,10 @@ export namespace PBCameraMode {
|
|
2210
2266
|
// @public (undocumented)
|
2211
2267
|
export interface PBCameraModeArea {
|
2212
2268
|
area: PBVector3 | undefined;
|
2269
|
+
// (undocumented)
|
2270
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2213
2271
|
mode: CameraType;
|
2272
|
+
useColliderRange?: boolean | undefined;
|
2214
2273
|
}
|
2215
2274
|
|
2216
2275
|
// @public (undocumented)
|
@@ -2942,11 +3001,27 @@ export namespace PBUiInputResult {
|
|
2942
3001
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
2943
3002
|
}
|
2944
3003
|
|
3004
|
+
// @public (undocumented)
|
3005
|
+
export interface PBUiScrollResult {
|
3006
|
+
// (undocumented)
|
3007
|
+
value: PBVector2 | undefined;
|
3008
|
+
}
|
3009
|
+
|
3010
|
+
// @public (undocumented)
|
3011
|
+
export namespace PBUiScrollResult {
|
3012
|
+
// (undocumented)
|
3013
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3014
|
+
// (undocumented)
|
3015
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3016
|
+
}
|
3017
|
+
|
2945
3018
|
// @public (undocumented)
|
2946
3019
|
export interface PBUiText {
|
2947
3020
|
color?: PBColor4 | undefined;
|
2948
3021
|
font?: Font | undefined;
|
2949
3022
|
fontSize?: number | undefined;
|
3023
|
+
outlineColor?: PBColor4 | undefined;
|
3024
|
+
outlineWidth?: number | undefined;
|
2950
3025
|
textAlign?: TextAlignMode | undefined;
|
2951
3026
|
textWrap?: TextWrap | undefined;
|
2952
3027
|
value: string;
|
@@ -2966,6 +3041,7 @@ export interface PBUiTransform {
|
|
2966
3041
|
alignItems?: YGAlign | undefined;
|
2967
3042
|
alignSelf: YGAlign;
|
2968
3043
|
display: YGDisplay;
|
3044
|
+
elementId?: string | undefined;
|
2969
3045
|
// (undocumented)
|
2970
3046
|
flexBasis: number;
|
2971
3047
|
flexBasisUnit: YGUnit;
|
@@ -3002,6 +3078,7 @@ export interface PBUiTransform {
|
|
3002
3078
|
// (undocumented)
|
3003
3079
|
minWidth: number;
|
3004
3080
|
minWidthUnit: YGUnit;
|
3081
|
+
opacity?: number | undefined;
|
3005
3082
|
overflow: YGOverflow;
|
3006
3083
|
// (undocumented)
|
3007
3084
|
paddingBottom: number;
|
@@ -3033,6 +3110,8 @@ export interface PBUiTransform {
|
|
3033
3110
|
positionType: YGPositionType;
|
3034
3111
|
// (undocumented)
|
3035
3112
|
rightOf: number;
|
3113
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3114
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3036
3115
|
// (undocumented)
|
3037
3116
|
width: number;
|
3038
3117
|
widthUnit: YGUnit;
|
@@ -3699,6 +3778,41 @@ export namespace Schemas {
|
|
3699
3778
|
}) => void;
|
3700
3779
|
}
|
3701
3780
|
|
3781
|
+
// @public (undocumented)
|
3782
|
+
export interface ScrollPositionValue {
|
3783
|
+
// (undocumented)
|
3784
|
+
value?: {
|
3785
|
+
$case: "position";
|
3786
|
+
position: PBVector2;
|
3787
|
+
} | {
|
3788
|
+
$case: "reference";
|
3789
|
+
reference: string;
|
3790
|
+
} | undefined;
|
3791
|
+
}
|
3792
|
+
|
3793
|
+
// @public (undocumented)
|
3794
|
+
export namespace ScrollPositionValue {
|
3795
|
+
// (undocumented)
|
3796
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
3797
|
+
// (undocumented)
|
3798
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
3799
|
+
}
|
3800
|
+
|
3801
|
+
// @public
|
3802
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
3803
|
+
|
3804
|
+
// @public (undocumented)
|
3805
|
+
export const enum ShowScrollBar {
|
3806
|
+
// (undocumented)
|
3807
|
+
SSB_BOTH = 0,
|
3808
|
+
// (undocumented)
|
3809
|
+
SSB_HIDDEN = 3,
|
3810
|
+
// (undocumented)
|
3811
|
+
SSB_ONLY_HORIZONTAL = 2,
|
3812
|
+
// (undocumented)
|
3813
|
+
SSB_ONLY_VERTICAL = 1
|
3814
|
+
}
|
3815
|
+
|
3702
3816
|
// @public (undocumented)
|
3703
3817
|
export interface Spec {
|
3704
3818
|
// (undocumented)
|
@@ -4057,6 +4171,8 @@ export interface UiLabelProps {
|
|
4057
4171
|
color?: PBColor4 | undefined;
|
4058
4172
|
font?: UiFontType | undefined;
|
4059
4173
|
fontSize?: ScaleUnit | undefined;
|
4174
|
+
outlineColor?: PBColor4 | undefined;
|
4175
|
+
outlineWidth?: number | undefined;
|
4060
4176
|
textAlign?: TextAlignType | undefined;
|
4061
4177
|
textWrap?: UiTextWrapType | undefined;
|
4062
4178
|
value: string;
|
@@ -4065,6 +4181,9 @@ export interface UiLabelProps {
|
|
4065
4181
|
// @public
|
4066
4182
|
export type uint32 = number;
|
4067
4183
|
|
4184
|
+
// @public (undocumented)
|
4185
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4186
|
+
|
4068
4187
|
// @public (undocumented)
|
4069
4188
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4070
4189
|
|
@@ -4087,6 +4206,7 @@ export interface UiTransformProps {
|
|
4087
4206
|
alignItems?: AlignType;
|
4088
4207
|
alignSelf?: AlignType;
|
4089
4208
|
display?: DisplayType;
|
4209
|
+
elementId?: string;
|
4090
4210
|
flex?: number;
|
4091
4211
|
flexBasis?: number;
|
4092
4212
|
flexDirection?: FlexDirectionType;
|
@@ -4100,11 +4220,14 @@ export interface UiTransformProps {
|
|
4100
4220
|
maxWidth?: PositionUnit;
|
4101
4221
|
minHeight?: PositionUnit;
|
4102
4222
|
minWidth?: PositionUnit;
|
4223
|
+
opacity?: number;
|
4103
4224
|
overflow?: OverflowType;
|
4104
4225
|
padding?: Partial<Position> | PositionShorthand;
|
4105
4226
|
pointerFilter?: PointerFilterType;
|
4106
4227
|
position?: Partial<Position> | PositionShorthand;
|
4107
4228
|
positionType?: PositionType;
|
4229
|
+
scrollPosition?: PBVector2 | string;
|
4230
|
+
scrollVisible?: ScrollVisibleType;
|
4108
4231
|
width?: PositionUnit | 'auto';
|
4109
4232
|
}
|
4110
4233
|
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.5.
|
4
|
+
"version": "7.5.7-9891810625.commit-d9f5cf2",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.5.
|
8
|
-
"@dcl/sdk": "7.5.
|
7
|
+
"@dcl/js-runtime": "7.5.7-9891810625.commit-d9f5cf2",
|
8
|
+
"@dcl/sdk": "7.5.7-9891810625.commit-d9f5cf2"
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
},
|
33
33
|
"types": "./dist/index.d.ts",
|
34
34
|
"typings": "./dist/index.d.ts",
|
35
|
-
"commit": "
|
35
|
+
"commit": "d9f5cf295888b87c72efd42fa6874b8754f97eb7"
|
36
36
|
}
|