@wayward/types 2.15.5-beta.dev.20260702.1 → 2.15.5-beta.dev.20260704.1

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.
@@ -47,6 +47,11 @@ export declare class FieldOfView extends EventEmitter.Host<IFieldOfViewEvents> {
47
47
  * vision-blocking tile between two points. Used only for multiplayer sync check reporting so
48
48
  * that light-block map divergences between server and client can be pinpointed when line of
49
49
  * sight forks. Must stay in sync with `FieldOfView::Bresenham` in the C++ source.
50
+ *
51
+ * As well as the first blocker, this cross-checks the cached C++ light-block map against the block
52
+ * state freshly derived from each tile's current terrain/doodad (`getTileUpdate`). A mismatch means
53
+ * the FOV blocker map is stale - i.e. it was not rebuilt when the tile changed - which is a common
54
+ * source of `CanASeeB` desyncs (e.g. a wall that blocks vision on one side but not the other).
50
55
  */
51
56
  private static findVisionBlocker;
52
57
  static getBounds(origin: IVector3, mapSize: number, radius: number): IBound3;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.15.5-beta.dev.20260702.1",
4
+ "version": "2.15.5-beta.dev.20260704.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",