mons-rust 0.1.133 → 0.2.0

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/mons-rust.d.ts CHANGED
@@ -10,12 +10,34 @@
10
10
  export function winner(fen_w: string, fen_b: string, flat_moves_string_w: string, flat_moves_string_b: string): string;
11
11
  /**
12
12
  */
13
- export enum MonKind {
14
- Demon = 0,
15
- Drainer = 1,
16
- Angel = 2,
17
- Spirit = 3,
18
- Mystic = 4,
13
+ export enum EventModelKind {
14
+ MonMove = 0,
15
+ ManaMove = 1,
16
+ ManaScored = 2,
17
+ MysticAction = 3,
18
+ DemonAction = 4,
19
+ DemonAdditionalStep = 5,
20
+ SpiritTargetMove = 6,
21
+ PickupBomb = 7,
22
+ PickupPotion = 8,
23
+ PickupMana = 9,
24
+ MonFainted = 10,
25
+ ManaDropped = 11,
26
+ SupermanaBackToBase = 12,
27
+ BombAttack = 13,
28
+ MonAwake = 14,
29
+ BombExplosion = 15,
30
+ NextTurn = 16,
31
+ GameOver = 17,
32
+ Takeback = 18,
33
+ UsePotion = 19,
34
+ }
35
+ /**
36
+ */
37
+ export enum Consumable {
38
+ Potion = 0,
39
+ Bomb = 1,
40
+ BombOrPotion = 2,
19
41
  }
20
42
  /**
21
43
  */
@@ -29,10 +51,16 @@ export enum SquareModelKind {
29
51
  }
30
52
  /**
31
53
  */
32
- export enum Modifier {
33
- SelectPotion = 0,
34
- SelectBomb = 1,
35
- Cancel = 2,
54
+ export enum NextInputKind {
55
+ MonMove = 0,
56
+ ManaMove = 1,
57
+ MysticAction = 2,
58
+ DemonAction = 3,
59
+ DemonAdditionalStep = 4,
60
+ SpiritTargetCapture = 5,
61
+ SpiritTargetMove = 6,
62
+ SelectConsumable = 7,
63
+ BombAttack = 8,
36
64
  }
37
65
  /**
38
66
  */
@@ -44,6 +72,29 @@ export enum OutputModelKind {
44
72
  }
45
73
  /**
46
74
  */
75
+ export enum ManaKind {
76
+ Regular = 0,
77
+ Supermana = 1,
78
+ }
79
+ /**
80
+ */
81
+ export enum AvailableMoveKind {
82
+ MonMove = 0,
83
+ ManaMove = 1,
84
+ Action = 2,
85
+ Potion = 3,
86
+ }
87
+ /**
88
+ */
89
+ export enum MonKind {
90
+ Demon = 0,
91
+ Drainer = 1,
92
+ Angel = 2,
93
+ Spirit = 3,
94
+ Mystic = 4,
95
+ }
96
+ /**
97
+ */
47
98
  export enum GameVariant {
48
99
  Classic = 0,
49
100
  SwappedManaRows = 1,
@@ -60,26 +111,6 @@ export enum GameVariant {
60
111
  }
61
112
  /**
62
113
  */
63
- export enum Consumable {
64
- Potion = 0,
65
- Bomb = 1,
66
- BombOrPotion = 2,
67
- }
68
- /**
69
- */
70
- export enum NextInputKind {
71
- MonMove = 0,
72
- ManaMove = 1,
73
- MysticAction = 2,
74
- DemonAction = 3,
75
- DemonAdditionalStep = 4,
76
- SpiritTargetCapture = 5,
77
- SpiritTargetMove = 6,
78
- SelectConsumable = 7,
79
- BombAttack = 8,
80
- }
81
- /**
82
- */
83
114
  export enum ItemModelKind {
84
115
  Mon = 0,
85
116
  Mana = 1,
@@ -89,41 +120,10 @@ export enum ItemModelKind {
89
120
  }
90
121
  /**
91
122
  */
92
- export enum ManaKind {
93
- Regular = 0,
94
- Supermana = 1,
95
- }
96
- /**
97
- */
98
- export enum EventModelKind {
99
- MonMove = 0,
100
- ManaMove = 1,
101
- ManaScored = 2,
102
- MysticAction = 3,
103
- DemonAction = 4,
104
- DemonAdditionalStep = 5,
105
- SpiritTargetMove = 6,
106
- PickupBomb = 7,
107
- PickupPotion = 8,
108
- PickupMana = 9,
109
- MonFainted = 10,
110
- ManaDropped = 11,
111
- SupermanaBackToBase = 12,
112
- BombAttack = 13,
113
- MonAwake = 14,
114
- BombExplosion = 15,
115
- NextTurn = 16,
116
- GameOver = 17,
117
- Takeback = 18,
118
- UsePotion = 19,
119
- }
120
- /**
121
- */
122
- export enum AvailableMoveKind {
123
- MonMove = 0,
124
- ManaMove = 1,
125
- Action = 2,
126
- Potion = 3,
123
+ export enum Modifier {
124
+ SelectPotion = 0,
125
+ SelectBomb = 1,
126
+ Cancel = 2,
127
127
  }
128
128
  /**
129
129
  */