@vankosoft/game-platform 1.2.1 → 1.2.2
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/CHANGELOG.md +11 -0
- package/VERSION +1 -1
- package/dist/cjs/Dto/Actions/dummyPlayCardActionDto.d.ts +11 -0
- package/dist/cjs/Enum/actionNames.d.ts +11 -10
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +11 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
1.1.0 | Release date: **26.08.2026**
|
|
2
|
+
============================================
|
|
3
|
+
* New Features:
|
|
4
|
+
- Create ContractBridgeBidDto Interface.
|
|
5
|
+
- Update NPM Package Version.
|
|
6
|
+
- Add a New Method into Announce Model.
|
|
7
|
+
- Add Card Images.
|
|
8
|
+
- Update Package Version.
|
|
9
|
+
- Face Up Dummy Player Cards.
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
1.0.0 | Release date: **16.08.2026**
|
|
2
13
|
============================================
|
|
3
14
|
* New Features:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1.0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActionDto } from './actionDto';
|
|
2
|
+
|
|
3
|
+
import { PlayerPosition } from '../../Enum/playerPosition';
|
|
4
|
+
import { CardDto } from '../CardGame/cardDto';
|
|
5
|
+
|
|
6
|
+
export interface DummyPlayCardActionDto extends ActionDto {
|
|
7
|
+
Card: CardDto;
|
|
8
|
+
Belote: boolean;
|
|
9
|
+
Player: PlayerPosition;
|
|
10
|
+
TrickNumber: number;
|
|
11
|
+
}
|
|
@@ -21,14 +21,15 @@ export declare enum ActionNames {
|
|
|
21
21
|
playCard = 19,
|
|
22
22
|
opponentPlayCard = 20,
|
|
23
23
|
dummyFaceup = 21,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
dummyPlayCard = 22,
|
|
25
|
+
trickEnded = 23,
|
|
26
|
+
roundEnded = 24,
|
|
27
|
+
startNewRound = 25,
|
|
28
|
+
announceMade = 26,
|
|
29
|
+
startNewGame = 27,
|
|
30
|
+
chessGameStarted = 28,
|
|
31
|
+
chessMoveMade = 29,
|
|
32
|
+
chessOpponentMove = 30,
|
|
33
|
+
chessInvalidMoveMade = 31,
|
|
34
|
+
serverWasTerminated = 32
|
|
34
35
|
}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export { PlayingStartedActionDto } from './Dto/Actions/playingStartedActionDto';
|
|
|
90
90
|
export { PlayCardActionDto } from './Dto/Actions/playCardActionDto';
|
|
91
91
|
export { OpponentPlayCardActionDto } from './Dto/Actions/opponentPlayCardActionDto';
|
|
92
92
|
export { DummyFaceupActionDto } from './Dto/Actions/dummyFaceupActionDto';
|
|
93
|
+
export { DummyPlayCardActionDto } from './Dto/Actions/dummyPlayCardActionDto';
|
|
93
94
|
export { TrickEndedActionDto } from './Dto/Actions/trickEndedActionDto';
|
|
94
95
|
export { RoundEndedActionDto } from './Dto/Actions/roundEndedActionDto';
|
|
95
96
|
export { StartNewRoundActionDto } from './Dto/Actions/startNewRoundActionDto';
|
package/dist/cjs/index.js
CHANGED
|
@@ -203,17 +203,18 @@ exports.ActionNames = void 0;
|
|
|
203
203
|
ActionNames[ActionNames["playCard"] = 19] = "playCard";
|
|
204
204
|
ActionNames[ActionNames["opponentPlayCard"] = 20] = "opponentPlayCard";
|
|
205
205
|
ActionNames[ActionNames["dummyFaceup"] = 21] = "dummyFaceup";
|
|
206
|
-
ActionNames[ActionNames["
|
|
207
|
-
ActionNames[ActionNames["
|
|
208
|
-
ActionNames[ActionNames["
|
|
209
|
-
ActionNames[ActionNames["
|
|
210
|
-
ActionNames[ActionNames["
|
|
206
|
+
ActionNames[ActionNames["dummyPlayCard"] = 22] = "dummyPlayCard";
|
|
207
|
+
ActionNames[ActionNames["trickEnded"] = 23] = "trickEnded";
|
|
208
|
+
ActionNames[ActionNames["roundEnded"] = 24] = "roundEnded";
|
|
209
|
+
ActionNames[ActionNames["startNewRound"] = 25] = "startNewRound";
|
|
210
|
+
ActionNames[ActionNames["announceMade"] = 26] = "announceMade";
|
|
211
|
+
ActionNames[ActionNames["startNewGame"] = 27] = "startNewGame";
|
|
211
212
|
// Chess Game Actions
|
|
212
|
-
ActionNames[ActionNames["chessGameStarted"] =
|
|
213
|
-
ActionNames[ActionNames["chessMoveMade"] =
|
|
214
|
-
ActionNames[ActionNames["chessOpponentMove"] =
|
|
215
|
-
ActionNames[ActionNames["chessInvalidMoveMade"] =
|
|
216
|
-
ActionNames[ActionNames["serverWasTerminated"] =
|
|
213
|
+
ActionNames[ActionNames["chessGameStarted"] = 28] = "chessGameStarted";
|
|
214
|
+
ActionNames[ActionNames["chessMoveMade"] = 29] = "chessMoveMade";
|
|
215
|
+
ActionNames[ActionNames["chessOpponentMove"] = 30] = "chessOpponentMove";
|
|
216
|
+
ActionNames[ActionNames["chessInvalidMoveMade"] = 31] = "chessInvalidMoveMade";
|
|
217
|
+
ActionNames[ActionNames["serverWasTerminated"] = 32] = "serverWasTerminated";
|
|
217
218
|
})(exports.ActionNames || (exports.ActionNames = {}));
|
|
218
219
|
|
|
219
220
|
/* Auto Generated */
|