@wayward/types 2.11.3-beta.dev.20220119.1 → 2.11.3-beta.dev.20220122.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.
@@ -16,7 +16,7 @@ import { CreatureType } from "game/entity/creature/ICreature";
16
16
  import Human from "game/entity/Human";
17
17
  import { EntityType, IStatChangeInfo, StatusEffectChangeReason, StatusType } from "game/entity/IEntity";
18
18
  import type { ICheckUnderOptions, IRestData } from "game/entity/IHuman";
19
- import { EquipType, RestCancelReason, RestType, SkillType } from "game/entity/IHuman";
19
+ import { EquipType, RestCancelReason, SkillType } from "game/entity/IHuman";
20
20
  import type { IStat } from "game/entity/IStats";
21
21
  import { Stat } from "game/entity/IStats";
22
22
  import type { ILoadOnIslandOptions, IMovementIntent, IPlayerEvents, IWalkPath } from "game/entity/player/IPlayer";
@@ -102,7 +102,6 @@ export default class Player extends Human implements IUnserializedCallback {
102
102
  setStatus(status: StatusType, hasStatus: boolean, reason: StatusEffectChangeReason): void;
103
103
  startResting(restData: IRestData): void;
104
104
  cancelResting(reason: RestCancelReason): boolean;
105
- showRestInterrupt(restType: RestType): void;
106
105
  /**
107
106
  * Updates caused by status effects such as bleeding, poison, and burns.
108
107
  */
@@ -59,6 +59,10 @@ export default class FieldOfView extends EventEmitter.Host<IFieldOfViewEvents> {
59
59
  */
60
60
  static updateExplored(fieldOfView: FieldOfView | undefined, updateForGhosts?: boolean): void;
61
61
  private static processExploredMapBounds;
62
+ /**
63
+ * Gets the field of view radius based on either the field of view object, player, or the default value
64
+ */
65
+ private static getRadius;
62
66
  /**
63
67
  * Marks a set of tiles as exploreed
64
68
  */
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.11.3-beta.dev.20220119.1",
4
+ "version": "2.11.3-beta.dev.20220122.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",