@serenityjs/protocol 0.7.0-beta-20241231050421 → 0.7.0-beta-20250101024648

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @serenityjs/protocol
2
2
 
3
- ## 0.7.0-beta-20241231050421
3
+ ## 0.7.0-beta-20250101024648
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,8 +9,8 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [[`b857e0a`](https://github.com/SerenityJS/serenity/commit/b857e0a36e4a9be1684ac4f13ce1688611dd363b)]:
12
- - @serenityjs/raknet@0.7.0-beta-20241231050421
13
- - @serenityjs/nbt@0.7.0-beta-20241231050421
12
+ - @serenityjs/raknet@0.7.0-beta-20250101024648
13
+ - @serenityjs/nbt@0.7.0-beta-20250101024648
14
14
 
15
15
  ## 0.6.4
16
16
 
package/dist/index.d.mts CHANGED
@@ -4393,7 +4393,7 @@ declare class DataItem<T = unknown> extends DataType {
4393
4393
  /**
4394
4394
  * The value of the data item.
4395
4395
  */
4396
- readonly value: T;
4396
+ value: T;
4397
4397
  /**
4398
4398
  * Creates a new data item.
4399
4399
  * @param identifier The identifier of the data item.
@@ -6185,23 +6185,19 @@ declare class SetActorDataPacket extends DataPacket {
6185
6185
  /**
6186
6186
  * The first set of flags of the actor.
6187
6187
  */
6188
- private flagKeyset1;
6189
- /**
6190
- * The second set of flags of the actor.
6191
- */
6192
- private flagKeyset2;
6188
+ private actorFlagSet;
6193
6189
  /**
6194
6190
  * Sets the flag of the actor.
6195
6191
  * @param flag The flag to set.
6196
6192
  * @param enabled Whether the flag should be enabled.
6197
6193
  */
6198
- setFlag(flag: ActorFlag, enabled: boolean): void;
6194
+ setActorFlag(flag: ActorFlag, enabled: boolean): void;
6199
6195
  /**
6200
6196
  * Gets the flag of the actor.
6201
6197
  * @param flag The flag to get.
6202
6198
  * @returns Whether the flag is enabled.
6203
6199
  */
6204
- getFlag(flag: ActorFlag): boolean;
6200
+ getActorFlag(flag: ActorFlag): boolean;
6205
6201
  }
6206
6202
 
6207
6203
  declare class SetLocalPlayerAsInitializedPacket extends DataPacket {
package/dist/index.d.ts CHANGED
@@ -4393,7 +4393,7 @@ declare class DataItem<T = unknown> extends DataType {
4393
4393
  /**
4394
4394
  * The value of the data item.
4395
4395
  */
4396
- readonly value: T;
4396
+ value: T;
4397
4397
  /**
4398
4398
  * Creates a new data item.
4399
4399
  * @param identifier The identifier of the data item.
@@ -6185,23 +6185,19 @@ declare class SetActorDataPacket extends DataPacket {
6185
6185
  /**
6186
6186
  * The first set of flags of the actor.
6187
6187
  */
6188
- private flagKeyset1;
6189
- /**
6190
- * The second set of flags of the actor.
6191
- */
6192
- private flagKeyset2;
6188
+ private actorFlagSet;
6193
6189
  /**
6194
6190
  * Sets the flag of the actor.
6195
6191
  * @param flag The flag to set.
6196
6192
  * @param enabled Whether the flag should be enabled.
6197
6193
  */
6198
- setFlag(flag: ActorFlag, enabled: boolean): void;
6194
+ setActorFlag(flag: ActorFlag, enabled: boolean): void;
6199
6195
  /**
6200
6196
  * Gets the flag of the actor.
6201
6197
  * @param flag The flag to get.
6202
6198
  * @returns Whether the flag is enabled.
6203
6199
  */
6204
- getFlag(flag: ActorFlag): boolean;
6200
+ getActorFlag(flag: ActorFlag): boolean;
6205
6201
  }
6206
6202
 
6207
6203
  declare class SetLocalPlayerAsInitializedPacket extends DataPacket {