@modlock/modlock 0.1.74 → 0.1.75
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/host.gen.d.ts +3 -1
- package/index.js +3 -1
- package/package.json +6 -6
package/host.gen.d.ts
CHANGED
|
@@ -1399,7 +1399,9 @@ export declare class Player {
|
|
|
1399
1399
|
/**
|
|
1400
1400
|
* selectHero gives the player a hero on a team, 2 or 3, and returns the
|
|
1401
1401
|
* hero's identifier as Pawn.hero reports it. The hero appears on a later
|
|
1402
|
-
* frame.
|
|
1402
|
+
* frame. A hero the player picked through the game's Change Hero wins: the
|
|
1403
|
+
* game removes the old hero before it spawns the pick, and a call in that
|
|
1404
|
+
* gap, up to 5 seconds, fails and leaves the pick to land.
|
|
1403
1405
|
*/
|
|
1404
1406
|
selectHero(hero: string | number, team: number): number | undefined;
|
|
1405
1407
|
/**
|
package/index.js
CHANGED
|
@@ -12863,7 +12863,9 @@ var Player = class _Player {
|
|
|
12863
12863
|
/**
|
|
12864
12864
|
* selectHero gives the player a hero on a team, 2 or 3, and returns the
|
|
12865
12865
|
* hero's identifier as Pawn.hero reports it. The hero appears on a later
|
|
12866
|
-
* frame.
|
|
12866
|
+
* frame. A hero the player picked through the game's Change Hero wins: the
|
|
12867
|
+
* game removes the old hero before it spawns the pick, and a call in that
|
|
12868
|
+
* gap, up to 5 seconds, fails and leaves the pick to land.
|
|
12867
12869
|
*/
|
|
12868
12870
|
selectHero(hero, team) {
|
|
12869
12871
|
const reply2 = call("SelectHero", SelectHeroRequest.toBinary({ player: this.slot, hero: typeof hero === "string" ? { case: "heroName", value: hero } : typeof hero === "number" ? { case: "heroId", value: hero } : void 0, team: int32(team) }));
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"name": "@modlock/modlock",
|
|
9
9
|
"optionalDependencies": {
|
|
10
|
-
"@modlock/darwin-arm64": "0.1.
|
|
11
|
-
"@modlock/darwin-x64": "0.1.
|
|
12
|
-
"@modlock/linux-arm64": "0.1.
|
|
13
|
-
"@modlock/linux-x64": "0.1.
|
|
14
|
-
"@modlock/win32-x64": "0.1.
|
|
10
|
+
"@modlock/darwin-arm64": "0.1.75",
|
|
11
|
+
"@modlock/darwin-x64": "0.1.75",
|
|
12
|
+
"@modlock/linux-arm64": "0.1.75",
|
|
13
|
+
"@modlock/linux-x64": "0.1.75",
|
|
14
|
+
"@modlock/win32-x64": "0.1.75"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"type": "module",
|
|
22
22
|
"types": "index.d.ts",
|
|
23
|
-
"version": "0.1.
|
|
23
|
+
"version": "0.1.75"
|
|
24
24
|
}
|