@wayward/types 2.15.2-beta.dev.20251117.1 → 2.15.2-beta.dev.20251119.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.
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.
|
|
13
|
+
declare const _default: Action<[ActionArgument.String], ActionType.RemovePlayer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [string]>;
|
|
14
14
|
export default _default;
|
|
@@ -71,7 +71,8 @@ export default class PlayerManager extends EventEmitter.Host<IPlayerManagerEvent
|
|
|
71
71
|
* Removes and deletes a player.
|
|
72
72
|
* Use with caution!
|
|
73
73
|
*/
|
|
74
|
-
permanentlyDelete(player: Player): void;
|
|
74
|
+
permanentlyDelete(player: Player, delayForKick?: boolean): void;
|
|
75
|
+
private performPermanentDelete;
|
|
75
76
|
/**
|
|
76
77
|
* Moves to the player to the target array
|
|
77
78
|
* @param source Where they are coming from. It's okay if they aren't in this array
|
package/package.json
CHANGED