@dcl/protocol 1.0.0-13897190826.commit-195803d → 1.0.0-14033082444.commit-84b403d
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/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +312 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +22 -306
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +75 -1552
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +379 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +945 -2589
- package/package.json +2 -2
- package/proto/decentraland/sdk/components/ui_transform.proto +28 -1
- package/proto/decentraland/social_service/v2/social_service_v2.proto +9 -119
- package/proto/decentraland/sdk/components/light_source.proto +0 -35
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Color4 } from "../../common/colors.gen";
|
|
3
4
|
|
|
4
5
|
export const protobufPackage = "decentraland.sdk.components";
|
|
5
6
|
|
|
@@ -561,7 +562,54 @@ export interface PBUiTransform {
|
|
|
561
562
|
paddingBottomUnit: YGUnit;
|
|
562
563
|
paddingBottom: number;
|
|
563
564
|
/** default: PointerFilterMode.PFM_NONE */
|
|
564
|
-
pointerFilter?:
|
|
565
|
+
pointerFilter?:
|
|
566
|
+
| PointerFilterMode
|
|
567
|
+
| undefined;
|
|
568
|
+
/** Border Width */
|
|
569
|
+
borderLeftWidthUnit?: YGUnit | undefined;
|
|
570
|
+
borderLeftWidth?:
|
|
571
|
+
| number
|
|
572
|
+
| undefined;
|
|
573
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
574
|
+
borderTopWidthUnit?: YGUnit | undefined;
|
|
575
|
+
borderTopWidth?:
|
|
576
|
+
| number
|
|
577
|
+
| undefined;
|
|
578
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
579
|
+
borderRightWidthUnit?: YGUnit | undefined;
|
|
580
|
+
borderRightWidth?:
|
|
581
|
+
| number
|
|
582
|
+
| undefined;
|
|
583
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
584
|
+
borderBottomWidthUnit?: YGUnit | undefined;
|
|
585
|
+
borderBottomWidth?:
|
|
586
|
+
| number
|
|
587
|
+
| undefined;
|
|
588
|
+
/** Border Radius */
|
|
589
|
+
borderTopLeftRadiusUnit?: YGUnit | undefined;
|
|
590
|
+
borderTopLeftRadius?:
|
|
591
|
+
| number
|
|
592
|
+
| undefined;
|
|
593
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
594
|
+
borderTopRightRadiusUnit?: YGUnit | undefined;
|
|
595
|
+
borderTopRightRadius?:
|
|
596
|
+
| number
|
|
597
|
+
| undefined;
|
|
598
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
599
|
+
borderBottomLeftRadiusUnit?: YGUnit | undefined;
|
|
600
|
+
borderBottomLeftRadius?:
|
|
601
|
+
| number
|
|
602
|
+
| undefined;
|
|
603
|
+
/** YGUnit.YGU_UNDEFINED */
|
|
604
|
+
borderBottomRightRadiusUnit?: YGUnit | undefined;
|
|
605
|
+
borderBottomRightRadius?:
|
|
606
|
+
| number
|
|
607
|
+
| undefined;
|
|
608
|
+
/** Border Color */
|
|
609
|
+
borderTopColor?: Color4 | undefined;
|
|
610
|
+
borderBottomColor?: Color4 | undefined;
|
|
611
|
+
borderLeftColor?: Color4 | undefined;
|
|
612
|
+
borderRightColor?: Color4 | undefined;
|
|
565
613
|
}
|
|
566
614
|
|
|
567
615
|
function createBasePBUiTransform(): PBUiTransform {
|
|
@@ -618,6 +666,26 @@ function createBasePBUiTransform(): PBUiTransform {
|
|
|
618
666
|
paddingBottomUnit: 0,
|
|
619
667
|
paddingBottom: 0,
|
|
620
668
|
pointerFilter: undefined,
|
|
669
|
+
borderLeftWidthUnit: undefined,
|
|
670
|
+
borderLeftWidth: undefined,
|
|
671
|
+
borderTopWidthUnit: undefined,
|
|
672
|
+
borderTopWidth: undefined,
|
|
673
|
+
borderRightWidthUnit: undefined,
|
|
674
|
+
borderRightWidth: undefined,
|
|
675
|
+
borderBottomWidthUnit: undefined,
|
|
676
|
+
borderBottomWidth: undefined,
|
|
677
|
+
borderTopLeftRadiusUnit: undefined,
|
|
678
|
+
borderTopLeftRadius: undefined,
|
|
679
|
+
borderTopRightRadiusUnit: undefined,
|
|
680
|
+
borderTopRightRadius: undefined,
|
|
681
|
+
borderBottomLeftRadiusUnit: undefined,
|
|
682
|
+
borderBottomLeftRadius: undefined,
|
|
683
|
+
borderBottomRightRadiusUnit: undefined,
|
|
684
|
+
borderBottomRightRadius: undefined,
|
|
685
|
+
borderTopColor: undefined,
|
|
686
|
+
borderBottomColor: undefined,
|
|
687
|
+
borderLeftColor: undefined,
|
|
688
|
+
borderRightColor: undefined,
|
|
621
689
|
};
|
|
622
690
|
}
|
|
623
691
|
|
|
@@ -779,6 +847,66 @@ export namespace PBUiTransform {
|
|
|
779
847
|
if (message.pointerFilter !== undefined) {
|
|
780
848
|
writer.uint32(416).int32(message.pointerFilter);
|
|
781
849
|
}
|
|
850
|
+
if (message.borderLeftWidthUnit !== undefined) {
|
|
851
|
+
writer.uint32(424).int32(message.borderLeftWidthUnit);
|
|
852
|
+
}
|
|
853
|
+
if (message.borderLeftWidth !== undefined) {
|
|
854
|
+
writer.uint32(437).float(message.borderLeftWidth);
|
|
855
|
+
}
|
|
856
|
+
if (message.borderTopWidthUnit !== undefined) {
|
|
857
|
+
writer.uint32(440).int32(message.borderTopWidthUnit);
|
|
858
|
+
}
|
|
859
|
+
if (message.borderTopWidth !== undefined) {
|
|
860
|
+
writer.uint32(453).float(message.borderTopWidth);
|
|
861
|
+
}
|
|
862
|
+
if (message.borderRightWidthUnit !== undefined) {
|
|
863
|
+
writer.uint32(456).int32(message.borderRightWidthUnit);
|
|
864
|
+
}
|
|
865
|
+
if (message.borderRightWidth !== undefined) {
|
|
866
|
+
writer.uint32(469).float(message.borderRightWidth);
|
|
867
|
+
}
|
|
868
|
+
if (message.borderBottomWidthUnit !== undefined) {
|
|
869
|
+
writer.uint32(472).int32(message.borderBottomWidthUnit);
|
|
870
|
+
}
|
|
871
|
+
if (message.borderBottomWidth !== undefined) {
|
|
872
|
+
writer.uint32(485).float(message.borderBottomWidth);
|
|
873
|
+
}
|
|
874
|
+
if (message.borderTopLeftRadiusUnit !== undefined) {
|
|
875
|
+
writer.uint32(488).int32(message.borderTopLeftRadiusUnit);
|
|
876
|
+
}
|
|
877
|
+
if (message.borderTopLeftRadius !== undefined) {
|
|
878
|
+
writer.uint32(501).float(message.borderTopLeftRadius);
|
|
879
|
+
}
|
|
880
|
+
if (message.borderTopRightRadiusUnit !== undefined) {
|
|
881
|
+
writer.uint32(504).int32(message.borderTopRightRadiusUnit);
|
|
882
|
+
}
|
|
883
|
+
if (message.borderTopRightRadius !== undefined) {
|
|
884
|
+
writer.uint32(517).float(message.borderTopRightRadius);
|
|
885
|
+
}
|
|
886
|
+
if (message.borderBottomLeftRadiusUnit !== undefined) {
|
|
887
|
+
writer.uint32(520).int32(message.borderBottomLeftRadiusUnit);
|
|
888
|
+
}
|
|
889
|
+
if (message.borderBottomLeftRadius !== undefined) {
|
|
890
|
+
writer.uint32(533).float(message.borderBottomLeftRadius);
|
|
891
|
+
}
|
|
892
|
+
if (message.borderBottomRightRadiusUnit !== undefined) {
|
|
893
|
+
writer.uint32(536).int32(message.borderBottomRightRadiusUnit);
|
|
894
|
+
}
|
|
895
|
+
if (message.borderBottomRightRadius !== undefined) {
|
|
896
|
+
writer.uint32(549).float(message.borderBottomRightRadius);
|
|
897
|
+
}
|
|
898
|
+
if (message.borderTopColor !== undefined) {
|
|
899
|
+
Color4.encode(message.borderTopColor, writer.uint32(554).fork()).ldelim();
|
|
900
|
+
}
|
|
901
|
+
if (message.borderBottomColor !== undefined) {
|
|
902
|
+
Color4.encode(message.borderBottomColor, writer.uint32(562).fork()).ldelim();
|
|
903
|
+
}
|
|
904
|
+
if (message.borderLeftColor !== undefined) {
|
|
905
|
+
Color4.encode(message.borderLeftColor, writer.uint32(570).fork()).ldelim();
|
|
906
|
+
}
|
|
907
|
+
if (message.borderRightColor !== undefined) {
|
|
908
|
+
Color4.encode(message.borderRightColor, writer.uint32(578).fork()).ldelim();
|
|
909
|
+
}
|
|
782
910
|
return writer;
|
|
783
911
|
}
|
|
784
912
|
|
|
@@ -1153,6 +1281,146 @@ export namespace PBUiTransform {
|
|
|
1153
1281
|
|
|
1154
1282
|
message.pointerFilter = reader.int32() as any;
|
|
1155
1283
|
continue;
|
|
1284
|
+
case 53:
|
|
1285
|
+
if (tag !== 424) {
|
|
1286
|
+
break;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
message.borderLeftWidthUnit = reader.int32() as any;
|
|
1290
|
+
continue;
|
|
1291
|
+
case 54:
|
|
1292
|
+
if (tag !== 437) {
|
|
1293
|
+
break;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
message.borderLeftWidth = reader.float();
|
|
1297
|
+
continue;
|
|
1298
|
+
case 55:
|
|
1299
|
+
if (tag !== 440) {
|
|
1300
|
+
break;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
message.borderTopWidthUnit = reader.int32() as any;
|
|
1304
|
+
continue;
|
|
1305
|
+
case 56:
|
|
1306
|
+
if (tag !== 453) {
|
|
1307
|
+
break;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
message.borderTopWidth = reader.float();
|
|
1311
|
+
continue;
|
|
1312
|
+
case 57:
|
|
1313
|
+
if (tag !== 456) {
|
|
1314
|
+
break;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
message.borderRightWidthUnit = reader.int32() as any;
|
|
1318
|
+
continue;
|
|
1319
|
+
case 58:
|
|
1320
|
+
if (tag !== 469) {
|
|
1321
|
+
break;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
message.borderRightWidth = reader.float();
|
|
1325
|
+
continue;
|
|
1326
|
+
case 59:
|
|
1327
|
+
if (tag !== 472) {
|
|
1328
|
+
break;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
message.borderBottomWidthUnit = reader.int32() as any;
|
|
1332
|
+
continue;
|
|
1333
|
+
case 60:
|
|
1334
|
+
if (tag !== 485) {
|
|
1335
|
+
break;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
message.borderBottomWidth = reader.float();
|
|
1339
|
+
continue;
|
|
1340
|
+
case 61:
|
|
1341
|
+
if (tag !== 488) {
|
|
1342
|
+
break;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
message.borderTopLeftRadiusUnit = reader.int32() as any;
|
|
1346
|
+
continue;
|
|
1347
|
+
case 62:
|
|
1348
|
+
if (tag !== 501) {
|
|
1349
|
+
break;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
message.borderTopLeftRadius = reader.float();
|
|
1353
|
+
continue;
|
|
1354
|
+
case 63:
|
|
1355
|
+
if (tag !== 504) {
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
message.borderTopRightRadiusUnit = reader.int32() as any;
|
|
1360
|
+
continue;
|
|
1361
|
+
case 64:
|
|
1362
|
+
if (tag !== 517) {
|
|
1363
|
+
break;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
message.borderTopRightRadius = reader.float();
|
|
1367
|
+
continue;
|
|
1368
|
+
case 65:
|
|
1369
|
+
if (tag !== 520) {
|
|
1370
|
+
break;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
message.borderBottomLeftRadiusUnit = reader.int32() as any;
|
|
1374
|
+
continue;
|
|
1375
|
+
case 66:
|
|
1376
|
+
if (tag !== 533) {
|
|
1377
|
+
break;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
message.borderBottomLeftRadius = reader.float();
|
|
1381
|
+
continue;
|
|
1382
|
+
case 67:
|
|
1383
|
+
if (tag !== 536) {
|
|
1384
|
+
break;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
message.borderBottomRightRadiusUnit = reader.int32() as any;
|
|
1388
|
+
continue;
|
|
1389
|
+
case 68:
|
|
1390
|
+
if (tag !== 549) {
|
|
1391
|
+
break;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
message.borderBottomRightRadius = reader.float();
|
|
1395
|
+
continue;
|
|
1396
|
+
case 69:
|
|
1397
|
+
if (tag !== 554) {
|
|
1398
|
+
break;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
message.borderTopColor = Color4.decode(reader, reader.uint32());
|
|
1402
|
+
continue;
|
|
1403
|
+
case 70:
|
|
1404
|
+
if (tag !== 562) {
|
|
1405
|
+
break;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
message.borderBottomColor = Color4.decode(reader, reader.uint32());
|
|
1409
|
+
continue;
|
|
1410
|
+
case 71:
|
|
1411
|
+
if (tag !== 570) {
|
|
1412
|
+
break;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
message.borderLeftColor = Color4.decode(reader, reader.uint32());
|
|
1416
|
+
continue;
|
|
1417
|
+
case 72:
|
|
1418
|
+
if (tag !== 578) {
|
|
1419
|
+
break;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
message.borderRightColor = Color4.decode(reader, reader.uint32());
|
|
1423
|
+
continue;
|
|
1156
1424
|
}
|
|
1157
1425
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1158
1426
|
break;
|
|
@@ -1216,6 +1484,40 @@ export namespace PBUiTransform {
|
|
|
1216
1484
|
paddingBottomUnit: isSet(object.paddingBottomUnit) ? yGUnitFromJSON(object.paddingBottomUnit) : 0,
|
|
1217
1485
|
paddingBottom: isSet(object.paddingBottom) ? Number(object.paddingBottom) : 0,
|
|
1218
1486
|
pointerFilter: isSet(object.pointerFilter) ? pointerFilterModeFromJSON(object.pointerFilter) : undefined,
|
|
1487
|
+
borderLeftWidthUnit: isSet(object.borderLeftWidthUnit) ? yGUnitFromJSON(object.borderLeftWidthUnit) : undefined,
|
|
1488
|
+
borderLeftWidth: isSet(object.borderLeftWidth) ? Number(object.borderLeftWidth) : undefined,
|
|
1489
|
+
borderTopWidthUnit: isSet(object.borderTopWidthUnit) ? yGUnitFromJSON(object.borderTopWidthUnit) : undefined,
|
|
1490
|
+
borderTopWidth: isSet(object.borderTopWidth) ? Number(object.borderTopWidth) : undefined,
|
|
1491
|
+
borderRightWidthUnit: isSet(object.borderRightWidthUnit)
|
|
1492
|
+
? yGUnitFromJSON(object.borderRightWidthUnit)
|
|
1493
|
+
: undefined,
|
|
1494
|
+
borderRightWidth: isSet(object.borderRightWidth) ? Number(object.borderRightWidth) : undefined,
|
|
1495
|
+
borderBottomWidthUnit: isSet(object.borderBottomWidthUnit)
|
|
1496
|
+
? yGUnitFromJSON(object.borderBottomWidthUnit)
|
|
1497
|
+
: undefined,
|
|
1498
|
+
borderBottomWidth: isSet(object.borderBottomWidth) ? Number(object.borderBottomWidth) : undefined,
|
|
1499
|
+
borderTopLeftRadiusUnit: isSet(object.borderTopLeftRadiusUnit)
|
|
1500
|
+
? yGUnitFromJSON(object.borderTopLeftRadiusUnit)
|
|
1501
|
+
: undefined,
|
|
1502
|
+
borderTopLeftRadius: isSet(object.borderTopLeftRadius) ? Number(object.borderTopLeftRadius) : undefined,
|
|
1503
|
+
borderTopRightRadiusUnit: isSet(object.borderTopRightRadiusUnit)
|
|
1504
|
+
? yGUnitFromJSON(object.borderTopRightRadiusUnit)
|
|
1505
|
+
: undefined,
|
|
1506
|
+
borderTopRightRadius: isSet(object.borderTopRightRadius) ? Number(object.borderTopRightRadius) : undefined,
|
|
1507
|
+
borderBottomLeftRadiusUnit: isSet(object.borderBottomLeftRadiusUnit)
|
|
1508
|
+
? yGUnitFromJSON(object.borderBottomLeftRadiusUnit)
|
|
1509
|
+
: undefined,
|
|
1510
|
+
borderBottomLeftRadius: isSet(object.borderBottomLeftRadius) ? Number(object.borderBottomLeftRadius) : undefined,
|
|
1511
|
+
borderBottomRightRadiusUnit: isSet(object.borderBottomRightRadiusUnit)
|
|
1512
|
+
? yGUnitFromJSON(object.borderBottomRightRadiusUnit)
|
|
1513
|
+
: undefined,
|
|
1514
|
+
borderBottomRightRadius: isSet(object.borderBottomRightRadius)
|
|
1515
|
+
? Number(object.borderBottomRightRadius)
|
|
1516
|
+
: undefined,
|
|
1517
|
+
borderTopColor: isSet(object.borderTopColor) ? Color4.fromJSON(object.borderTopColor) : undefined,
|
|
1518
|
+
borderBottomColor: isSet(object.borderBottomColor) ? Color4.fromJSON(object.borderBottomColor) : undefined,
|
|
1519
|
+
borderLeftColor: isSet(object.borderLeftColor) ? Color4.fromJSON(object.borderLeftColor) : undefined,
|
|
1520
|
+
borderRightColor: isSet(object.borderRightColor) ? Color4.fromJSON(object.borderRightColor) : undefined,
|
|
1219
1521
|
};
|
|
1220
1522
|
}
|
|
1221
1523
|
|
|
@@ -1279,6 +1581,54 @@ export namespace PBUiTransform {
|
|
|
1279
1581
|
(obj.pointerFilter = message.pointerFilter !== undefined
|
|
1280
1582
|
? pointerFilterModeToJSON(message.pointerFilter)
|
|
1281
1583
|
: undefined);
|
|
1584
|
+
message.borderLeftWidthUnit !== undefined &&
|
|
1585
|
+
(obj.borderLeftWidthUnit = message.borderLeftWidthUnit !== undefined
|
|
1586
|
+
? yGUnitToJSON(message.borderLeftWidthUnit)
|
|
1587
|
+
: undefined);
|
|
1588
|
+
message.borderLeftWidth !== undefined && (obj.borderLeftWidth = message.borderLeftWidth);
|
|
1589
|
+
message.borderTopWidthUnit !== undefined &&
|
|
1590
|
+
(obj.borderTopWidthUnit = message.borderTopWidthUnit !== undefined
|
|
1591
|
+
? yGUnitToJSON(message.borderTopWidthUnit)
|
|
1592
|
+
: undefined);
|
|
1593
|
+
message.borderTopWidth !== undefined && (obj.borderTopWidth = message.borderTopWidth);
|
|
1594
|
+
message.borderRightWidthUnit !== undefined &&
|
|
1595
|
+
(obj.borderRightWidthUnit = message.borderRightWidthUnit !== undefined
|
|
1596
|
+
? yGUnitToJSON(message.borderRightWidthUnit)
|
|
1597
|
+
: undefined);
|
|
1598
|
+
message.borderRightWidth !== undefined && (obj.borderRightWidth = message.borderRightWidth);
|
|
1599
|
+
message.borderBottomWidthUnit !== undefined &&
|
|
1600
|
+
(obj.borderBottomWidthUnit = message.borderBottomWidthUnit !== undefined
|
|
1601
|
+
? yGUnitToJSON(message.borderBottomWidthUnit)
|
|
1602
|
+
: undefined);
|
|
1603
|
+
message.borderBottomWidth !== undefined && (obj.borderBottomWidth = message.borderBottomWidth);
|
|
1604
|
+
message.borderTopLeftRadiusUnit !== undefined &&
|
|
1605
|
+
(obj.borderTopLeftRadiusUnit = message.borderTopLeftRadiusUnit !== undefined
|
|
1606
|
+
? yGUnitToJSON(message.borderTopLeftRadiusUnit)
|
|
1607
|
+
: undefined);
|
|
1608
|
+
message.borderTopLeftRadius !== undefined && (obj.borderTopLeftRadius = message.borderTopLeftRadius);
|
|
1609
|
+
message.borderTopRightRadiusUnit !== undefined &&
|
|
1610
|
+
(obj.borderTopRightRadiusUnit = message.borderTopRightRadiusUnit !== undefined
|
|
1611
|
+
? yGUnitToJSON(message.borderTopRightRadiusUnit)
|
|
1612
|
+
: undefined);
|
|
1613
|
+
message.borderTopRightRadius !== undefined && (obj.borderTopRightRadius = message.borderTopRightRadius);
|
|
1614
|
+
message.borderBottomLeftRadiusUnit !== undefined &&
|
|
1615
|
+
(obj.borderBottomLeftRadiusUnit = message.borderBottomLeftRadiusUnit !== undefined
|
|
1616
|
+
? yGUnitToJSON(message.borderBottomLeftRadiusUnit)
|
|
1617
|
+
: undefined);
|
|
1618
|
+
message.borderBottomLeftRadius !== undefined && (obj.borderBottomLeftRadius = message.borderBottomLeftRadius);
|
|
1619
|
+
message.borderBottomRightRadiusUnit !== undefined &&
|
|
1620
|
+
(obj.borderBottomRightRadiusUnit = message.borderBottomRightRadiusUnit !== undefined
|
|
1621
|
+
? yGUnitToJSON(message.borderBottomRightRadiusUnit)
|
|
1622
|
+
: undefined);
|
|
1623
|
+
message.borderBottomRightRadius !== undefined && (obj.borderBottomRightRadius = message.borderBottomRightRadius);
|
|
1624
|
+
message.borderTopColor !== undefined &&
|
|
1625
|
+
(obj.borderTopColor = message.borderTopColor ? Color4.toJSON(message.borderTopColor) : undefined);
|
|
1626
|
+
message.borderBottomColor !== undefined &&
|
|
1627
|
+
(obj.borderBottomColor = message.borderBottomColor ? Color4.toJSON(message.borderBottomColor) : undefined);
|
|
1628
|
+
message.borderLeftColor !== undefined &&
|
|
1629
|
+
(obj.borderLeftColor = message.borderLeftColor ? Color4.toJSON(message.borderLeftColor) : undefined);
|
|
1630
|
+
message.borderRightColor !== undefined &&
|
|
1631
|
+
(obj.borderRightColor = message.borderRightColor ? Color4.toJSON(message.borderRightColor) : undefined);
|
|
1282
1632
|
return obj;
|
|
1283
1633
|
}
|
|
1284
1634
|
|
|
@@ -1340,6 +1690,34 @@ export namespace PBUiTransform {
|
|
|
1340
1690
|
message.paddingBottomUnit = object.paddingBottomUnit ?? 0;
|
|
1341
1691
|
message.paddingBottom = object.paddingBottom ?? 0;
|
|
1342
1692
|
message.pointerFilter = object.pointerFilter ?? undefined;
|
|
1693
|
+
message.borderLeftWidthUnit = object.borderLeftWidthUnit ?? undefined;
|
|
1694
|
+
message.borderLeftWidth = object.borderLeftWidth ?? undefined;
|
|
1695
|
+
message.borderTopWidthUnit = object.borderTopWidthUnit ?? undefined;
|
|
1696
|
+
message.borderTopWidth = object.borderTopWidth ?? undefined;
|
|
1697
|
+
message.borderRightWidthUnit = object.borderRightWidthUnit ?? undefined;
|
|
1698
|
+
message.borderRightWidth = object.borderRightWidth ?? undefined;
|
|
1699
|
+
message.borderBottomWidthUnit = object.borderBottomWidthUnit ?? undefined;
|
|
1700
|
+
message.borderBottomWidth = object.borderBottomWidth ?? undefined;
|
|
1701
|
+
message.borderTopLeftRadiusUnit = object.borderTopLeftRadiusUnit ?? undefined;
|
|
1702
|
+
message.borderTopLeftRadius = object.borderTopLeftRadius ?? undefined;
|
|
1703
|
+
message.borderTopRightRadiusUnit = object.borderTopRightRadiusUnit ?? undefined;
|
|
1704
|
+
message.borderTopRightRadius = object.borderTopRightRadius ?? undefined;
|
|
1705
|
+
message.borderBottomLeftRadiusUnit = object.borderBottomLeftRadiusUnit ?? undefined;
|
|
1706
|
+
message.borderBottomLeftRadius = object.borderBottomLeftRadius ?? undefined;
|
|
1707
|
+
message.borderBottomRightRadiusUnit = object.borderBottomRightRadiusUnit ?? undefined;
|
|
1708
|
+
message.borderBottomRightRadius = object.borderBottomRightRadius ?? undefined;
|
|
1709
|
+
message.borderTopColor = (object.borderTopColor !== undefined && object.borderTopColor !== null)
|
|
1710
|
+
? Color4.fromPartial(object.borderTopColor)
|
|
1711
|
+
: undefined;
|
|
1712
|
+
message.borderBottomColor = (object.borderBottomColor !== undefined && object.borderBottomColor !== null)
|
|
1713
|
+
? Color4.fromPartial(object.borderBottomColor)
|
|
1714
|
+
: undefined;
|
|
1715
|
+
message.borderLeftColor = (object.borderLeftColor !== undefined && object.borderLeftColor !== null)
|
|
1716
|
+
? Color4.fromPartial(object.borderLeftColor)
|
|
1717
|
+
: undefined;
|
|
1718
|
+
message.borderRightColor = (object.borderRightColor !== undefined && object.borderRightColor !== null)
|
|
1719
|
+
? Color4.fromPartial(object.borderRightColor)
|
|
1720
|
+
: undefined;
|
|
1343
1721
|
return message;
|
|
1344
1722
|
}
|
|
1345
1723
|
}
|