@dcl/playground-assets 7.1.2-4408174335.commit-e673686 → 7.1.2-4409365701.commit-a58c7a5

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 CHANGED
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
@@ -1885,6 +1885,7 @@ export declare type IncludeUndefined<T> = {
1885
1885
  }}
1886
1886
  uiBackground={{ color: Color4.Red() }}
1887
1887
  uiTransform={{ width: 200, height: 36 }}
1888
+ value={textValue}
1888
1889
  />
1889
1890
  *
1890
1891
  * @category Component
@@ -3608,6 +3609,7 @@ export declare interface PBUiInput {
3608
3609
  font?: Font | undefined;
3609
3610
  /** default=10 */
3610
3611
  fontSize?: number | undefined;
3612
+ value?: string | undefined;
3611
3613
  }
3612
3614
 
3613
3615
  /**
package/dist/beta.d.ts CHANGED
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
@@ -1881,6 +1881,7 @@ export declare type IncludeUndefined<T> = {
1881
1881
  }}
1882
1882
  uiBackground={{ color: Color4.Red() }}
1883
1883
  uiTransform={{ width: 200, height: 36 }}
1884
+ value={textValue}
1884
1885
  />
1885
1886
  *
1886
1887
  * @category Component
@@ -3604,6 +3605,7 @@ export declare interface PBUiInput {
3604
3605
  font?: Font | undefined;
3605
3606
  /** default=10 */
3606
3607
  fontSize?: number | undefined;
3608
+ value?: string | undefined;
3607
3609
  }
3608
3610
 
3609
3611
  /**
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
@@ -1881,6 +1881,7 @@ export declare type IncludeUndefined<T> = {
1881
1881
  }}
1882
1882
  uiBackground={{ color: Color4.Red() }}
1883
1883
  uiTransform={{ width: 200, height: 36 }}
1884
+ value={textValue}
1884
1885
  />
1885
1886
  *
1886
1887
  * @category Component
@@ -3604,6 +3605,7 @@ export declare interface PBUiInput {
3604
3605
  font?: Font | undefined;
3605
3606
  /** default=10 */
3606
3607
  fontSize?: number | undefined;
3608
+ value?: string | undefined;
3607
3609
  }
3608
3610
 
3609
3611
  /**
package/dist/index.js CHANGED
@@ -11992,6 +11992,7 @@
11992
11992
  textAlign: undefined,
11993
11993
  font: undefined,
11994
11994
  fontSize: undefined,
11995
+ value: undefined,
11995
11996
  };
11996
11997
  }
11997
11998
  /**
@@ -12023,6 +12024,9 @@
12023
12024
  if (message.fontSize !== undefined) {
12024
12025
  writer.uint32(96).int32(message.fontSize);
12025
12026
  }
12027
+ if (message.value !== undefined) {
12028
+ writer.uint32(106).string(message.value);
12029
+ }
12026
12030
  return writer;
12027
12031
  },
12028
12032
  decode(input, length) {
@@ -12053,6 +12057,9 @@
12053
12057
  case 12:
12054
12058
  message.fontSize = reader.int32();
12055
12059
  break;
12060
+ case 13:
12061
+ message.value = reader.string();
12062
+ break;
12056
12063
  default:
12057
12064
  reader.skipType(tag & 7);
12058
12065
  break;
@@ -15261,7 +15268,7 @@
15261
15268
  },
15262
15269
  getCrdtUpdates: createGetCrdtMessagesForLww(componentId, timestamps, dirtyIterator, schema, data),
15263
15270
  updateFromCrdt: createUpdateLwwFromCrdt(componentId, timestamps, schema, data),
15264
- dumpCrdtState: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
15271
+ dumpCrdtStateToBuffer: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
15265
15272
  };
15266
15273
  }
15267
15274
 
@@ -15435,7 +15442,7 @@
15435
15442
  }
15436
15443
  return [null, undefined];
15437
15444
  },
15438
- dumpCrdtState: function (buffer) {
15445
+ dumpCrdtStateToBuffer: function (buffer) {
15439
15446
  for (const [entity, { raw }] of data) {
15440
15447
  for (const it of raw) {
15441
15448
  const buf = new ReadWriteByteBuffer();
@@ -41879,6 +41886,7 @@
41879
41886
  }}
41880
41887
  uiBackground={{ color: Color4.Red() }}
41881
41888
  uiTransform={{ width: 200, height: 36 }}
41889
+ value={textValue}
41882
41890
  />
41883
41891
  *
41884
41892
  * @category Component