@konoui/mjimage 0.1.0 → 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/dist/index.cjs +12 -12
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1079 -1036
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -216,8 +216,9 @@ export declare interface BoardContext {
|
|
|
216
216
|
finalWallWin?: boolean;
|
|
217
217
|
finalDiscardWin?: boolean;
|
|
218
218
|
oneShotWin?: boolean;
|
|
219
|
-
|
|
219
|
+
enableRoundUp8000?: boolean;
|
|
220
220
|
disableCountable32000?: boolean;
|
|
221
|
+
disableDouble32000?: boolean;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
declare type BoardRound = (typeof ROUND_MAP)[keyof typeof ROUND_MAP];
|
|
@@ -1038,8 +1039,9 @@ export declare class PointCalculator {
|
|
|
1038
1039
|
finalWallWin: boolean;
|
|
1039
1040
|
finalDiscardWin: boolean;
|
|
1040
1041
|
oneShotWin: boolean;
|
|
1041
|
-
|
|
1042
|
+
enableRoundUp8000: boolean;
|
|
1042
1043
|
disableCountable32000: boolean;
|
|
1044
|
+
disableDouble32000: boolean;
|
|
1043
1045
|
orig: BoardContext;
|
|
1044
1046
|
};
|
|
1045
1047
|
constructor(hand: Hand, params: BoardContext);
|
|
@@ -1517,10 +1519,11 @@ export declare interface WinResult {
|
|
|
1517
1519
|
deltas: {
|
|
1518
1520
|
readonly [w in Wind]: number;
|
|
1519
1521
|
};
|
|
1520
|
-
|
|
1522
|
+
han: number;
|
|
1521
1523
|
fu: number;
|
|
1522
1524
|
yakus: readonly Yaku[];
|
|
1523
1525
|
point: number;
|
|
1526
|
+
basePoint: number;
|
|
1524
1527
|
hand: Block[];
|
|
1525
1528
|
boardContext: BoardContext;
|
|
1526
1529
|
description: string;
|
|
@@ -1529,6 +1532,7 @@ export declare interface WinResult {
|
|
|
1529
1532
|
export declare interface Yaku {
|
|
1530
1533
|
name: string;
|
|
1531
1534
|
han: number;
|
|
1535
|
+
is32000?: boolean;
|
|
1532
1536
|
}
|
|
1533
1537
|
|
|
1534
1538
|
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -216,8 +216,9 @@ export declare interface BoardContext {
|
|
|
216
216
|
finalWallWin?: boolean;
|
|
217
217
|
finalDiscardWin?: boolean;
|
|
218
218
|
oneShotWin?: boolean;
|
|
219
|
-
|
|
219
|
+
enableRoundUp8000?: boolean;
|
|
220
220
|
disableCountable32000?: boolean;
|
|
221
|
+
disableDouble32000?: boolean;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
declare type BoardRound = (typeof ROUND_MAP)[keyof typeof ROUND_MAP];
|
|
@@ -1038,8 +1039,9 @@ export declare class PointCalculator {
|
|
|
1038
1039
|
finalWallWin: boolean;
|
|
1039
1040
|
finalDiscardWin: boolean;
|
|
1040
1041
|
oneShotWin: boolean;
|
|
1041
|
-
|
|
1042
|
+
enableRoundUp8000: boolean;
|
|
1042
1043
|
disableCountable32000: boolean;
|
|
1044
|
+
disableDouble32000: boolean;
|
|
1043
1045
|
orig: BoardContext;
|
|
1044
1046
|
};
|
|
1045
1047
|
constructor(hand: Hand, params: BoardContext);
|
|
@@ -1517,10 +1519,11 @@ export declare interface WinResult {
|
|
|
1517
1519
|
deltas: {
|
|
1518
1520
|
readonly [w in Wind]: number;
|
|
1519
1521
|
};
|
|
1520
|
-
|
|
1522
|
+
han: number;
|
|
1521
1523
|
fu: number;
|
|
1522
1524
|
yakus: readonly Yaku[];
|
|
1523
1525
|
point: number;
|
|
1526
|
+
basePoint: number;
|
|
1524
1527
|
hand: Block[];
|
|
1525
1528
|
boardContext: BoardContext;
|
|
1526
1529
|
description: string;
|
|
@@ -1529,6 +1532,7 @@ export declare interface WinResult {
|
|
|
1529
1532
|
export declare interface Yaku {
|
|
1530
1533
|
name: string;
|
|
1531
1534
|
han: number;
|
|
1535
|
+
is32000?: boolean;
|
|
1532
1536
|
}
|
|
1533
1537
|
|
|
1534
1538
|
export { }
|