@gamepark/react-client 6.38.5 → 7.0.0-beta.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/Actions/ActionFailed.d.ts +6 -6
- package/dist/Actions/ActionFailed.js +8 -8
- package/dist/Actions/ActionFailed.js.map +1 -1
- package/dist/Actions/ActionType.d.ts +3 -3
- package/dist/Actions/ActionType.js +7 -7
- package/dist/Actions/ActionType.js.map +1 -1
- package/dist/Actions/AnimationComplete.d.ts +6 -6
- package/dist/Actions/AnimationComplete.js +8 -8
- package/dist/Actions/AnimationComplete.js.map +1 -1
- package/dist/Actions/AnimationPaused.d.ts +6 -6
- package/dist/Actions/AnimationPaused.js +8 -8
- package/dist/Actions/AnimationPaused.js.map +1 -1
- package/dist/Actions/AnimationStart.d.ts +5 -5
- package/dist/Actions/AnimationStart.js +4 -4
- package/dist/Actions/ClearFailures.d.ts +5 -5
- package/dist/Actions/ClearFailures.js +8 -8
- package/dist/Actions/ClearFailures.js.map +1 -1
- package/dist/Actions/GameNotificationsReceived.d.ts +10 -10
- package/dist/Actions/GameNotificationsReceived.js +9 -9
- package/dist/Actions/GameNotificationsReceived.js.map +1 -1
- package/dist/Actions/GameOver.d.ts +16 -16
- package/dist/Actions/GameOver.js +8 -8
- package/dist/Actions/GameOver.js.map +1 -1
- package/dist/Actions/GameStateLoaded.d.ts +16 -16
- package/dist/Actions/GameStateLoaded.js +20 -20
- package/dist/Actions/GameStateLoaded.js.map +1 -1
- package/dist/Actions/MovePlayed.d.ts +11 -11
- package/dist/Actions/MovePlayed.js +4 -2
- package/dist/Actions/MovePlayed.js.map +1 -1
- package/dist/Actions/MoveUndone.d.ts +7 -7
- package/dist/Actions/MoveUndone.js +9 -9
- package/dist/Actions/MoveUndone.js.map +1 -1
- package/dist/Actions/PlayerQuit.d.ts +11 -11
- package/dist/Actions/PlayerQuit.js +19 -19
- package/dist/Actions/PlayerQuit.js.map +1 -1
- package/dist/Actions/SetAnimationsSpeed.d.ts +6 -6
- package/dist/Actions/SetAnimationsSpeed.js +8 -8
- package/dist/Actions/SetAnimationsSpeed.js.map +1 -1
- package/dist/Actions/index.d.ts +11 -12
- package/dist/Actions/index.js +27 -28
- package/dist/Actions/index.js.map +1 -1
- package/dist/Chat/ChatChannel.d.ts +5 -5
- package/dist/Chat/ChatChannel.js +2 -2
- package/dist/Chat/Message.d.ts +6 -6
- package/dist/Chat/Message.js +2 -2
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +18 -18
- package/dist/Deckbuilding/Deck.d.ts +5 -5
- package/dist/Deckbuilding/Deck.js +2 -2
- package/dist/Deckbuilding/index.d.ts +4 -4
- package/dist/Deckbuilding/index.js +24 -24
- package/dist/Deckbuilding/useDeleteDeck.d.ts +2 -2
- package/dist/Deckbuilding/useDeleteDeck.js +15 -15
- package/dist/Deckbuilding/useDeleteDeck.js.map +1 -1
- package/dist/Deckbuilding/useMyDecks.d.ts +2 -2
- package/dist/Deckbuilding/useMyDecks.js +14 -14
- package/dist/Deckbuilding/useMyDecks.js.map +1 -1
- package/dist/Deckbuilding/useSaveDeck.d.ts +2 -2
- package/dist/Deckbuilding/useSaveDeck.js +15 -15
- package/dist/Deckbuilding/useSaveDeck.js.map +1 -1
- package/dist/EjectPlayer/EjectPlayer.d.ts +6 -6
- package/dist/EjectPlayer/EjectPlayer.js +8 -8
- package/dist/EjectPlayer/EjectPlayer.js.map +1 -1
- package/dist/EjectPlayer/index.d.ts +1 -1
- package/dist/EjectPlayer/index.js +17 -17
- package/dist/Failure/Failure.d.ts +6 -6
- package/dist/Failure/Failure.js +9 -9
- package/dist/Failure/index.d.ts +1 -1
- package/dist/Failure/index.js +17 -17
- package/dist/GiveUp/GiveUp.d.ts +7 -7
- package/dist/GiveUp/GiveUp.js +5 -5
- package/dist/GiveUp/index.d.ts +1 -1
- package/dist/GiveUp/index.js +17 -17
- package/dist/Hooks/index.d.ts +5 -5
- package/dist/Hooks/index.js +21 -21
- package/dist/Hooks/useChatMessages.d.ts +12 -12
- package/dist/Hooks/useChatMessages.js +53 -51
- package/dist/Hooks/useChatMessages.js.map +1 -1
- package/dist/Hooks/useMessageAuthor.d.ts +4 -4
- package/dist/Hooks/useMessageAuthor.js +17 -18
- package/dist/Hooks/useMessageAuthor.js.map +1 -1
- package/dist/Hooks/useOptions.d.ts +2 -2
- package/dist/Hooks/useOptions.js +7 -8
- package/dist/Hooks/useOptions.js.map +1 -1
- package/dist/Hooks/useRematch.d.ts +7 -7
- package/dist/Hooks/useRematch.js +22 -19
- package/dist/Hooks/useRematch.js.map +1 -1
- package/dist/Hooks/useSendMessage.d.ts +1 -1
- package/dist/Hooks/useSendMessage.js +13 -14
- package/dist/Hooks/useSendMessage.js.map +1 -1
- package/dist/Log/StartLiveLog.d.ts +4 -4
- package/dist/Log/StartLiveLog.js +4 -4
- package/dist/Log/StopLiveLog.d.ts +5 -5
- package/dist/Log/StopLiveLog.js +8 -8
- package/dist/Log/StopLiveLog.js.map +1 -1
- package/dist/Log/index.d.ts +4 -4
- package/dist/Log/index.js +20 -20
- package/dist/Log/useLogControls.d.ts +7 -7
- package/dist/Log/useLogControls.js +21 -22
- package/dist/Log/useLogControls.js.map +1 -1
- package/dist/PlayerTime/PlayerTime.d.ts +11 -11
- package/dist/PlayerTime/PlayerTime.js +2 -2
- package/dist/PlayerTime/index.d.ts +1 -1
- package/dist/PlayerTime/index.js +17 -17
- package/dist/Rematch/RematchQueries.d.ts +19 -19
- package/dist/Rematch/RematchQueries.js +13 -13
- package/dist/Rematch/index.d.ts +1 -1
- package/dist/Rematch/index.js +17 -17
- package/dist/Sound/MuteSounds.d.ts +5 -5
- package/dist/Sound/MuteSounds.js +9 -9
- package/dist/Sound/MuteSounds.js.map +1 -1
- package/dist/Sound/UnmuteSounds.d.ts +4 -4
- package/dist/Sound/UnmuteSounds.js +4 -4
- package/dist/Sound/index.d.ts +3 -3
- package/dist/Sound/index.js +19 -19
- package/dist/Sound/useSoundControls.d.ts +7 -7
- package/dist/Sound/useSoundControls.js +21 -22
- package/dist/Sound/useSoundControls.js.map +1 -1
- package/dist/Store/DisplayedAction.d.ts +15 -15
- package/dist/Store/DisplayedAction.js +18 -19
- package/dist/Store/DisplayedAction.js.map +1 -1
- package/dist/Store/GamePageState.d.ts +28 -28
- package/dist/Store/GamePageState.js +2 -2
- package/dist/Store/PlayedMove.d.ts +5 -5
- package/dist/Store/PlayedMove.js +2 -2
- package/dist/Store/gameMiddleware.d.ts +4 -4
- package/dist/Store/gameMiddleware.js +45 -41
- package/dist/Store/gameMiddleware.js.map +1 -1
- package/dist/Store/gameReducer.d.ts +23 -20
- package/dist/Store/gameReducer.js +538 -525
- package/dist/Store/gameReducer.js.map +1 -1
- package/dist/Store/index.d.ts +3 -3
- package/dist/Store/index.js +19 -19
- package/dist/Store/localMovePreviewMiddleware.d.ts +4 -4
- package/dist/Store/localMovePreviewMiddleware.js +17 -18
- package/dist/Store/localMovePreviewMiddleware.js.map +1 -1
- package/dist/Tutorial/PlayTutorialMoves.d.ts +9 -9
- package/dist/Tutorial/PlayTutorialMoves.js +6 -6
- package/dist/Tutorial/Tutorial.d.ts +5 -5
- package/dist/Tutorial/Tutorial.js +2 -2
- package/dist/Tutorial/TutorialDescription.d.ts +7 -7
- package/dist/Tutorial/TutorialDescription.js +2 -2
- package/dist/Tutorial/index.d.ts +4 -4
- package/dist/Tutorial/index.js +20 -20
- package/dist/Tutorial/useTutorial.d.ts +2 -2
- package/dist/Tutorial/useTutorial.js +21 -22
- package/dist/Tutorial/useTutorial.js.map +1 -1
- package/dist/Types/GameAI.d.ts +1 -1
- package/dist/Types/GameAI.js +2 -2
- package/dist/Types/GameData.d.ts +18 -18
- package/dist/Types/GameData.js +2 -2
- package/dist/Types/GameMessage.d.ts +8 -8
- package/dist/Types/GameMessage.js +2 -2
- package/dist/Types/GameMode.d.ts +6 -6
- package/dist/Types/GameMode.js +10 -10
- package/dist/Types/GameMode.js.map +1 -1
- package/dist/Types/GameNotification.d.ts +6 -6
- package/dist/Types/GameNotification.js +2 -2
- package/dist/Types/GameOptions.d.ts +9 -9
- package/dist/Types/GameOptions.js +8 -8
- package/dist/Types/GameOptions.js.map +1 -1
- package/dist/Types/MovePlayedNotification.d.ts +9 -9
- package/dist/Types/MovePlayedNotification.js +11 -12
- package/dist/Types/MovePlayedNotification.js.map +1 -1
- package/dist/Types/MoveUndoneNotification.d.ts +8 -8
- package/dist/Types/MoveUndoneNotification.js +11 -12
- package/dist/Types/MoveUndoneNotification.js.map +1 -1
- package/dist/Types/Player.d.ts +13 -13
- package/dist/Types/Player.js +2 -2
- package/dist/Types/PlayerQuitReason.d.ts +4 -4
- package/dist/Types/PlayerQuitReason.js +8 -8
- package/dist/Types/PlayerQuitReason.js.map +1 -1
- package/dist/Types/ProxyGameData.d.ts +13 -13
- package/dist/Types/ProxyGameData.js +2 -2
- package/dist/Types/Tournament.d.ts +4 -4
- package/dist/Types/Tournament.js +2 -2
- package/dist/Types/index.d.ts +12 -12
- package/dist/Types/index.js +28 -28
- package/dist/User/User.d.ts +6 -6
- package/dist/User/User.js +2 -2
- package/dist/User/index.d.ts +2 -2
- package/dist/User/index.js +18 -18
- package/dist/User/useMe.d.ts +4 -4
- package/dist/User/useMe.js +20 -21
- package/dist/User/useMe.js.map +1 -1
- package/dist/animations/Animation.d.ts +6 -6
- package/dist/animations/Animation.js +2 -2
- package/dist/animations/AnimationContext.d.ts +8 -8
- package/dist/animations/AnimationContext.js +2 -2
- package/dist/animations/AnimationState.d.ts +6 -6
- package/dist/animations/AnimationState.js +2 -2
- package/dist/animations/AnimationStep.d.ts +6 -6
- package/dist/animations/AnimationStep.js +10 -10
- package/dist/animations/AnimationStep.js.map +1 -1
- package/dist/animations/Animations.d.ts +8 -8
- package/dist/animations/Animations.js +22 -22
- package/dist/animations/Animations.js.map +1 -1
- package/dist/animations/AnimationsListenerCreator.d.ts +5 -4
- package/dist/animations/AnimationsListenerCreator.js +46 -50
- package/dist/animations/AnimationsListenerCreator.js.map +1 -1
- package/dist/animations/index.d.ts +6 -6
- package/dist/animations/index.js +22 -22
- package/dist/api/Client/GameClientAPI.d.ts +25 -24
- package/dist/api/Client/GameClientAPI.js +166 -166
- package/dist/api/Client/GameClientAPI.js.map +1 -1
- package/dist/api/Client/GameNotificationsListener.d.ts +5 -5
- package/dist/api/Client/GameNotificationsListener.js +116 -114
- package/dist/api/Client/GameNotificationsListener.js.map +1 -1
- package/dist/api/Client/RemoteGameLoader.d.ts +4 -5
- package/dist/api/Client/RemoteGameLoader.js +61 -62
- package/dist/api/Client/RemoteGameLoader.js.map +1 -1
- package/dist/api/Client/RemoteGameProvider.d.ts +7 -7
- package/dist/api/Client/RemoteGameProvider.js +55 -70
- package/dist/api/Client/RemoteGameProvider.js.map +1 -1
- package/dist/api/Client/apollo-client.d.ts +2 -2
- package/dist/api/Client/apollo-client.js +57 -58
- package/dist/api/Client/apollo-client.js.map +1 -1
- package/dist/api/Client/index.d.ts +4 -3
- package/dist/api/Client/index.js +20 -19
- package/dist/api/Client/index.js.map +1 -1
- package/dist/api/Client/pusher.d.ts +2 -0
- package/dist/api/Client/pusher.js +16 -0
- package/dist/api/Client/pusher.js.map +1 -0
- package/dist/api/GameAPI.d.ts +11 -10
- package/dist/api/GameAPI.js +2 -2
- package/dist/api/Local/ConsoleTools.d.ts +26 -25
- package/dist/api/Local/ConsoleTools.js +85 -86
- package/dist/api/Local/ConsoleTools.js.map +1 -1
- package/dist/api/Local/GameLocalAPI.d.ts +45 -44
- package/dist/api/Local/GameLocalAPI.js +541 -540
- package/dist/api/Local/GameLocalAPI.js.map +1 -1
- package/dist/api/Local/LocalGameProvider.d.ts +15 -15
- package/dist/api/Local/LocalGameProvider.js +49 -58
- package/dist/api/Local/LocalGameProvider.js.map +1 -1
- package/dist/api/Local/index.d.ts +1 -1
- package/dist/api/Local/index.js +17 -17
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +36 -36
- package/dist/util/ArrayUtil.d.ts +2 -2
- package/dist/util/ArrayUtil.js +20 -21
- package/dist/util/ArrayUtil.js.map +1 -1
- package/package.json +19 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ACTION_FAILED = "ACTION_FAILED";
|
|
2
|
-
export interface ActionFailed {
|
|
3
|
-
type: typeof ACTION_FAILED;
|
|
4
|
-
reason: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function actionFailed(reason: string): ActionFailed;
|
|
1
|
+
export declare const ACTION_FAILED = "ACTION_FAILED";
|
|
2
|
+
export interface ActionFailed {
|
|
3
|
+
type: typeof ACTION_FAILED;
|
|
4
|
+
reason: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function actionFailed(reason: string): ActionFailed;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACTION_FAILED = void 0;
|
|
4
|
+
exports.actionFailed = actionFailed;
|
|
5
|
+
exports.ACTION_FAILED = 'ACTION_FAILED';
|
|
6
|
+
function actionFailed(reason) {
|
|
7
|
+
return { type: exports.ACTION_FAILED, reason: reason };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=ActionFailed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionFailed.js","sourceRoot":"","sources":["../../src/Actions/ActionFailed.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ActionFailed.js","sourceRoot":"","sources":["../../src/Actions/ActionFailed.ts"],"names":[],"mappings":";;;AAOA,oCAEC;AATY,QAAA,aAAa,GAAG,eAAe,CAAA;AAO5C,SAAgB,YAAY,CAAC,MAAc;IACzC,OAAO,EAAC,IAAI,EAAE,qBAAa,EAAE,MAAM,QAAA,EAAC,CAAA;AACtC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare enum ActionType {
|
|
2
|
-
MOVE_PLAYED = 0
|
|
3
|
-
}
|
|
1
|
+
export declare enum ActionType {
|
|
2
|
+
MOVE_PLAYED = 0
|
|
3
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActionType = void 0;
|
|
4
|
-
var ActionType;
|
|
5
|
-
(function (ActionType) {
|
|
6
|
-
ActionType[ActionType["MOVE_PLAYED"] = 0] = "MOVE_PLAYED";
|
|
7
|
-
})(ActionType
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionType = void 0;
|
|
4
|
+
var ActionType;
|
|
5
|
+
(function (ActionType) {
|
|
6
|
+
ActionType[ActionType["MOVE_PLAYED"] = 0] = "MOVE_PLAYED";
|
|
7
|
+
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
8
8
|
//# sourceMappingURL=ActionType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionType.js","sourceRoot":"","sources":["../../src/Actions/ActionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,yDAAW,CAAA;AACb,CAAC,EAFW,UAAU,
|
|
1
|
+
{"version":3,"file":"ActionType.js","sourceRoot":"","sources":["../../src/Actions/ActionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,yDAAW,CAAA;AACb,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ANIMATION_COMPLETE = "ANIMATION_COMPLETE";
|
|
2
|
-
export interface AnimationComplete {
|
|
3
|
-
type: typeof ANIMATION_COMPLETE;
|
|
4
|
-
animationId: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function animationComplete(animationId: number): AnimationComplete;
|
|
1
|
+
export declare const ANIMATION_COMPLETE = "ANIMATION_COMPLETE";
|
|
2
|
+
export interface AnimationComplete {
|
|
3
|
+
type: typeof ANIMATION_COMPLETE;
|
|
4
|
+
animationId: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function animationComplete(animationId: number): AnimationComplete;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ANIMATION_COMPLETE = void 0;
|
|
4
|
+
exports.animationComplete = animationComplete;
|
|
5
|
+
exports.ANIMATION_COMPLETE = 'ANIMATION_COMPLETE';
|
|
6
|
+
function animationComplete(animationId) {
|
|
7
|
+
return { type: exports.ANIMATION_COMPLETE, animationId: animationId };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=AnimationComplete.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationComplete.js","sourceRoot":"","sources":["../../src/Actions/AnimationComplete.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AnimationComplete.js","sourceRoot":"","sources":["../../src/Actions/AnimationComplete.ts"],"names":[],"mappings":";;;AAOA,8CAEC;AATY,QAAA,kBAAkB,GAAG,oBAAoB,CAAA;AAOtD,SAAgB,iBAAiB,CAAC,WAAmB;IACnD,OAAO,EAAE,IAAI,EAAE,0BAAkB,EAAE,WAAW,aAAA,EAAE,CAAA;AAClD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ANIMATION_PAUSED = "ANIMATION_PAUSED";
|
|
2
|
-
export interface AnimationPaused {
|
|
3
|
-
type: typeof ANIMATION_PAUSED;
|
|
4
|
-
pause: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function animationPaused(pause: boolean): AnimationPaused;
|
|
1
|
+
export declare const ANIMATION_PAUSED = "ANIMATION_PAUSED";
|
|
2
|
+
export interface AnimationPaused {
|
|
3
|
+
type: typeof ANIMATION_PAUSED;
|
|
4
|
+
pause: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function animationPaused(pause: boolean): AnimationPaused;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ANIMATION_PAUSED = void 0;
|
|
4
|
+
exports.animationPaused = animationPaused;
|
|
5
|
+
exports.ANIMATION_PAUSED = 'ANIMATION_PAUSED';
|
|
6
|
+
function animationPaused(pause) {
|
|
7
|
+
return { type: exports.ANIMATION_PAUSED, pause: pause };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=AnimationPaused.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationPaused.js","sourceRoot":"","sources":["../../src/Actions/AnimationPaused.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AnimationPaused.js","sourceRoot":"","sources":["../../src/Actions/AnimationPaused.ts"],"names":[],"mappings":";;;AAOA,0CAEC;AATY,QAAA,gBAAgB,GAAG,kBAAkB,CAAA;AAOlD,SAAgB,eAAe,CAAC,KAAc;IAC5C,OAAO,EAAC,IAAI,EAAE,wBAAgB,EAAE,KAAK,OAAA,EAAC,CAAA;AACxC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ANIMATION_START = "ANIMATION_START";
|
|
2
|
-
export interface AnimationStart {
|
|
3
|
-
type: typeof ANIMATION_START;
|
|
4
|
-
actionId: string;
|
|
5
|
-
}
|
|
1
|
+
export declare const ANIMATION_START = "ANIMATION_START";
|
|
2
|
+
export interface AnimationStart {
|
|
3
|
+
type: typeof ANIMATION_START;
|
|
4
|
+
actionId: string;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ANIMATION_START = void 0;
|
|
4
|
-
exports.ANIMATION_START = 'ANIMATION_START';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ANIMATION_START = void 0;
|
|
4
|
+
exports.ANIMATION_START = 'ANIMATION_START';
|
|
5
5
|
//# sourceMappingURL=AnimationStart.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const CLEAR_FAILURES = "CLEAR_FAILURES";
|
|
2
|
-
export interface ClearFailures {
|
|
3
|
-
type: typeof CLEAR_FAILURES;
|
|
4
|
-
}
|
|
5
|
-
export declare function clearFailures(): ClearFailures;
|
|
1
|
+
export declare const CLEAR_FAILURES = "CLEAR_FAILURES";
|
|
2
|
+
export interface ClearFailures {
|
|
3
|
+
type: typeof CLEAR_FAILURES;
|
|
4
|
+
}
|
|
5
|
+
export declare function clearFailures(): ClearFailures;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CLEAR_FAILURES = void 0;
|
|
4
|
+
exports.clearFailures = clearFailures;
|
|
5
|
+
exports.CLEAR_FAILURES = 'CLEAR_FAILURES';
|
|
6
|
+
function clearFailures() {
|
|
7
|
+
return { type: exports.CLEAR_FAILURES };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=ClearFailures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearFailures.js","sourceRoot":"","sources":["../../src/Actions/ClearFailures.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ClearFailures.js","sourceRoot":"","sources":["../../src/Actions/ClearFailures.ts"],"names":[],"mappings":";;;AAMA,sCAEC;AARY,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAM9C,SAAgB,aAAa;IAC3B,OAAO,EAAC,IAAI,EAAE,sBAAc,EAAC,CAAA;AAC/B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { GameNotification, Player } from '../Types';
|
|
2
|
-
export declare const GAME_NOTIFICATIONS_RECEIVED = "GAME_NOTIFICATIONS_RECEIVED";
|
|
3
|
-
export interface GameNotificationsReceived<PlayerId> {
|
|
4
|
-
type: typeof GAME_NOTIFICATIONS_RECEIVED;
|
|
5
|
-
notifications: GameNotification<PlayerId>[];
|
|
6
|
-
notificationsIndex: number;
|
|
7
|
-
players: Player<PlayerId>[];
|
|
8
|
-
serverTime?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare function gameNotificationsReceived<PlayerId>(notifications: GameNotification<PlayerId>[], notificationsIndex: number | undefined, players: Player<PlayerId>[], serverTime?: number): GameNotificationsReceived<PlayerId>;
|
|
1
|
+
import { GameNotification, Player } from '../Types';
|
|
2
|
+
export declare const GAME_NOTIFICATIONS_RECEIVED = "GAME_NOTIFICATIONS_RECEIVED";
|
|
3
|
+
export interface GameNotificationsReceived<PlayerId> {
|
|
4
|
+
type: typeof GAME_NOTIFICATIONS_RECEIVED;
|
|
5
|
+
notifications: GameNotification<PlayerId>[];
|
|
6
|
+
notificationsIndex: number;
|
|
7
|
+
players: Player<PlayerId>[];
|
|
8
|
+
serverTime?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function gameNotificationsReceived<PlayerId>(notifications: GameNotification<PlayerId>[], notificationsIndex: number | undefined, players: Player<PlayerId>[], serverTime?: number): GameNotificationsReceived<PlayerId>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GAME_NOTIFICATIONS_RECEIVED = void 0;
|
|
4
|
+
exports.gameNotificationsReceived = gameNotificationsReceived;
|
|
5
|
+
exports.GAME_NOTIFICATIONS_RECEIVED = 'GAME_NOTIFICATIONS_RECEIVED';
|
|
6
|
+
function gameNotificationsReceived(notifications, notificationsIndex, players, serverTime) {
|
|
7
|
+
if (notificationsIndex === void 0) { notificationsIndex = 0; }
|
|
8
|
+
return { type: exports.GAME_NOTIFICATIONS_RECEIVED, notifications: notifications, notificationsIndex: notificationsIndex, players: players, serverTime: serverTime };
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=GameNotificationsReceived.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameNotificationsReceived.js","sourceRoot":"","sources":["../../src/Actions/GameNotificationsReceived.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"GameNotificationsReceived.js","sourceRoot":"","sources":["../../src/Actions/GameNotificationsReceived.ts"],"names":[],"mappings":";;;AAYA,8DAEC;AAZY,QAAA,2BAA2B,GAAG,6BAA6B,CAAA;AAUxE,SAAgB,yBAAyB,CAAW,aAA2C,EAAE,kBAA8B,EAAE,OAA2B,EAAE,UAAmB;IAAhF,mCAAA,EAAA,sBAA8B;IAC7H,OAAO,EAAE,IAAI,EAAE,mCAA2B,EAAE,aAAa,eAAA,EAAE,kBAAkB,oBAAA,EAAE,OAAO,SAAA,EAAE,UAAU,YAAA,EAAE,CAAA;AACtG,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { PlayerTime } from '../PlayerTime';
|
|
2
|
-
export declare const GAME_OVER = "GAME_OVER";
|
|
3
|
-
export interface GameOver<PlayerId = any> {
|
|
4
|
-
type: typeof GAME_OVER;
|
|
5
|
-
players: {
|
|
6
|
-
id: PlayerId;
|
|
7
|
-
time?: PlayerTime;
|
|
8
|
-
gamePointsDelta?: number;
|
|
9
|
-
tournamentPoints?: number;
|
|
10
|
-
}[];
|
|
11
|
-
}
|
|
12
|
-
export declare function gameOver<PlayerId>(players: {
|
|
13
|
-
id: PlayerId;
|
|
14
|
-
gamePointsDelta?: number;
|
|
15
|
-
tournamentPoints?: number;
|
|
16
|
-
}[]): GameOver<PlayerId>;
|
|
1
|
+
import { PlayerTime } from '../PlayerTime';
|
|
2
|
+
export declare const GAME_OVER = "GAME_OVER";
|
|
3
|
+
export interface GameOver<PlayerId = any> {
|
|
4
|
+
type: typeof GAME_OVER;
|
|
5
|
+
players: {
|
|
6
|
+
id: PlayerId;
|
|
7
|
+
time?: PlayerTime;
|
|
8
|
+
gamePointsDelta?: number;
|
|
9
|
+
tournamentPoints?: number;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
export declare function gameOver<PlayerId>(players: {
|
|
13
|
+
id: PlayerId;
|
|
14
|
+
gamePointsDelta?: number;
|
|
15
|
+
tournamentPoints?: number;
|
|
16
|
+
}[]): GameOver<PlayerId>;
|
package/dist/Actions/GameOver.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GAME_OVER = void 0;
|
|
4
|
+
exports.gameOver = gameOver;
|
|
5
|
+
exports.GAME_OVER = 'GAME_OVER';
|
|
6
|
+
function gameOver(players) {
|
|
7
|
+
return { type: exports.GAME_OVER, players: players };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=GameOver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameOver.js","sourceRoot":"","sources":["../../src/Actions/GameOver.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"GameOver.js","sourceRoot":"","sources":["../../src/Actions/GameOver.ts"],"names":[],"mappings":";;;AAcA,4BAEC;AAdY,QAAA,SAAS,GAAG,WAAW,CAAA;AAYpC,SAAgB,QAAQ,CAAW,OAAgF;IACjH,OAAO,EAAE,IAAI,EAAE,iBAAS,EAAE,OAAO,SAAA,EAAE,CAAA;AACrC,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { GameData, GameMode, GameNotification, GameOptions, Player, Tournament } from '../Types';
|
|
2
|
-
export declare const GAME_STATE_LOADED = "GAME_STATE_LOADED";
|
|
3
|
-
export interface GameStateLoaded<Game, PlayerId> {
|
|
4
|
-
type: typeof GAME_STATE_LOADED;
|
|
5
|
-
players: Player<PlayerId>[];
|
|
6
|
-
options: GameOptions;
|
|
7
|
-
playerId?: PlayerId;
|
|
8
|
-
mode: GameMode;
|
|
9
|
-
state: Game;
|
|
10
|
-
setup: Game;
|
|
11
|
-
notifications: GameNotification[];
|
|
12
|
-
endDate?: Date;
|
|
13
|
-
serverTime?: number;
|
|
14
|
-
tournament?: Tournament;
|
|
15
|
-
}
|
|
16
|
-
export declare function gameStateLoaded<State, PlayerId>(data: GameData<State, PlayerId>, serverTime?: number): GameStateLoaded<State, PlayerId>;
|
|
1
|
+
import { GameData, GameMode, GameNotification, GameOptions, Player, Tournament } from '../Types';
|
|
2
|
+
export declare const GAME_STATE_LOADED = "GAME_STATE_LOADED";
|
|
3
|
+
export interface GameStateLoaded<Game, PlayerId> {
|
|
4
|
+
type: typeof GAME_STATE_LOADED;
|
|
5
|
+
players: Player<PlayerId>[];
|
|
6
|
+
options: GameOptions;
|
|
7
|
+
playerId?: PlayerId;
|
|
8
|
+
mode: GameMode;
|
|
9
|
+
state: Game;
|
|
10
|
+
setup: Game;
|
|
11
|
+
notifications: GameNotification[];
|
|
12
|
+
endDate?: Date;
|
|
13
|
+
serverTime?: number;
|
|
14
|
+
tournament?: Tournament;
|
|
15
|
+
}
|
|
16
|
+
export declare function gameStateLoaded<State, PlayerId>(data: GameData<State, PlayerId>, serverTime?: number): GameStateLoaded<State, PlayerId>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.GAME_STATE_LOADED = void 0;
|
|
15
|
+
exports.gameStateLoaded = gameStateLoaded;
|
|
16
|
+
exports.GAME_STATE_LOADED = 'GAME_STATE_LOADED';
|
|
17
|
+
function gameStateLoaded(data, serverTime) {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
return __assign(__assign({ type: exports.GAME_STATE_LOADED }, data), { playerId: data.myPlayerId !== null ? data.myPlayerId : undefined, serverTime: serverTime, endDate: (_a = data.endDate) !== null && _a !== void 0 ? _a : undefined, tournament: (_b = data.tournament) !== null && _b !== void 0 ? _b : undefined });
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=GameStateLoaded.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameStateLoaded.js","sourceRoot":"","sources":["../../src/Actions/GameStateLoaded.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"GameStateLoaded.js","sourceRoot":"","sources":["../../src/Actions/GameStateLoaded.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAkBA,0CAKC;AArBY,QAAA,iBAAiB,GAAG,mBAAmB,CAAA;AAgBpD,SAAgB,eAAe,CAAkB,IAA+B,EAAE,UAAmB;;IACnG,2BACE,IAAI,EAAE,yBAAiB,IAAK,IAAI,KAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAAE,UAAU,YAAA,EAAE,OAAO,EAAE,MAAA,IAAI,CAAC,OAAO,mCAAI,SAAS,EAClJ,UAAU,EAAE,MAAA,IAAI,CAAC,UAAU,mCAAI,SAAS,IACzC;AACH,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
export type PlayOptions = {
|
|
3
|
-
delayed?: boolean;
|
|
4
|
-
skipAnimation?: boolean;
|
|
5
|
-
local?: boolean;
|
|
6
|
-
transient?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type MovePlayed<M> = {
|
|
9
|
-
type: typeof
|
|
10
|
-
move: M;
|
|
11
|
-
} & PlayOptions;
|
|
1
|
+
export declare const MOVE_PLAYED = "MOVE_PLAYED";
|
|
2
|
+
export type PlayOptions = {
|
|
3
|
+
delayed?: boolean;
|
|
4
|
+
skipAnimation?: boolean;
|
|
5
|
+
local?: boolean;
|
|
6
|
+
transient?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type MovePlayed<M> = {
|
|
9
|
+
type: typeof MOVE_PLAYED;
|
|
10
|
+
move: M;
|
|
11
|
+
} & PlayOptions;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MOVE_PLAYED = void 0;
|
|
4
|
+
exports.MOVE_PLAYED = 'MOVE_PLAYED';
|
|
3
5
|
//# sourceMappingURL=MovePlayed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MovePlayed.js","sourceRoot":"","sources":["../../src/Actions/MovePlayed.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"MovePlayed.js","sourceRoot":"","sources":["../../src/Actions/MovePlayed.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,aAAa,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const MOVE_UNDONE = "MOVE_UNDONE";
|
|
2
|
-
export interface MoveUndone {
|
|
3
|
-
type: typeof MOVE_UNDONE;
|
|
4
|
-
actionId: string;
|
|
5
|
-
delayed: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function moveUndone(actionId: string, delayed?: boolean): MoveUndone;
|
|
1
|
+
export declare const MOVE_UNDONE = "MOVE_UNDONE";
|
|
2
|
+
export interface MoveUndone {
|
|
3
|
+
type: typeof MOVE_UNDONE;
|
|
4
|
+
actionId: string;
|
|
5
|
+
delayed: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function moveUndone(actionId: string, delayed?: boolean): MoveUndone;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MOVE_UNDONE = void 0;
|
|
4
|
+
exports.moveUndone = moveUndone;
|
|
5
|
+
exports.MOVE_UNDONE = 'MOVE_UNDONE';
|
|
6
|
+
function moveUndone(actionId, delayed) {
|
|
7
|
+
if (delayed === void 0) { delayed = false; }
|
|
8
|
+
return { type: exports.MOVE_UNDONE, actionId: actionId, delayed: delayed };
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=MoveUndone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoveUndone.js","sourceRoot":"","sources":["../../src/Actions/MoveUndone.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"MoveUndone.js","sourceRoot":"","sources":["../../src/Actions/MoveUndone.ts"],"names":[],"mappings":";;;AAQA,gCAEC;AAVY,QAAA,WAAW,GAAG,aAAa,CAAA;AAQxC,SAAgB,UAAU,CAAC,QAAgB,EAAE,OAAwB;IAAxB,wBAAA,EAAA,eAAwB;IACnE,OAAO,EAAC,IAAI,EAAE,mBAAW,EAAE,QAAQ,UAAA,EAAE,OAAO,SAAA,EAAC,CAAA;AAC/C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PlayerQuitReason } from '../Types';
|
|
2
|
-
export declare const PLAYER_QUIT = "PLAYER_QUIT";
|
|
3
|
-
export interface PlayerQuit<PlayerId = any> {
|
|
4
|
-
type: typeof PLAYER_QUIT;
|
|
5
|
-
playerId: PlayerId;
|
|
6
|
-
reason: PlayerQuitReason;
|
|
7
|
-
}
|
|
8
|
-
export declare function playerQuit<PlayerId>(data: {
|
|
9
|
-
playerId: PlayerId;
|
|
10
|
-
reason: PlayerQuitReason;
|
|
11
|
-
}): PlayerQuit<PlayerId>;
|
|
1
|
+
import { PlayerQuitReason } from '../Types';
|
|
2
|
+
export declare const PLAYER_QUIT = "PLAYER_QUIT";
|
|
3
|
+
export interface PlayerQuit<PlayerId = any> {
|
|
4
|
+
type: typeof PLAYER_QUIT;
|
|
5
|
+
playerId: PlayerId;
|
|
6
|
+
reason: PlayerQuitReason;
|
|
7
|
+
}
|
|
8
|
+
export declare function playerQuit<PlayerId>(data: {
|
|
9
|
+
playerId: PlayerId;
|
|
10
|
+
reason: PlayerQuitReason;
|
|
11
|
+
}): PlayerQuit<PlayerId>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.PLAYER_QUIT = void 0;
|
|
15
|
+
exports.playerQuit = playerQuit;
|
|
16
|
+
exports.PLAYER_QUIT = 'PLAYER_QUIT';
|
|
17
|
+
function playerQuit(data) {
|
|
18
|
+
return __assign({ type: exports.PLAYER_QUIT }, data);
|
|
19
|
+
}
|
|
20
20
|
//# sourceMappingURL=PlayerQuit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerQuit.js","sourceRoot":"","sources":["../../src/Actions/PlayerQuit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PlayerQuit.js","sourceRoot":"","sources":["../../src/Actions/PlayerQuit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA,gCAEC;AAVY,QAAA,WAAW,GAAG,aAAa,CAAA;AAQxC,SAAgB,UAAU,CAAW,IAAsD;IACzF,kBAAS,IAAI,EAAE,mBAAW,IAAK,IAAI,EAAE;AACvC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const SET_ANIMATIONS_SPEED = "SET_ANIMATIONS_SPEED";
|
|
2
|
-
export interface SetAnimationsSpeed {
|
|
3
|
-
type: typeof SET_ANIMATIONS_SPEED;
|
|
4
|
-
speed: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function setAnimationsSpeed(speed: number): SetAnimationsSpeed;
|
|
1
|
+
export declare const SET_ANIMATIONS_SPEED = "SET_ANIMATIONS_SPEED";
|
|
2
|
+
export interface SetAnimationsSpeed {
|
|
3
|
+
type: typeof SET_ANIMATIONS_SPEED;
|
|
4
|
+
speed: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function setAnimationsSpeed(speed: number): SetAnimationsSpeed;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SET_ANIMATIONS_SPEED = void 0;
|
|
4
|
+
exports.setAnimationsSpeed = setAnimationsSpeed;
|
|
5
|
+
exports.SET_ANIMATIONS_SPEED = 'SET_ANIMATIONS_SPEED';
|
|
6
|
+
function setAnimationsSpeed(speed) {
|
|
7
|
+
return { type: exports.SET_ANIMATIONS_SPEED, speed: speed };
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=SetAnimationsSpeed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetAnimationsSpeed.js","sourceRoot":"","sources":["../../src/Actions/SetAnimationsSpeed.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SetAnimationsSpeed.js","sourceRoot":"","sources":["../../src/Actions/SetAnimationsSpeed.ts"],"names":[],"mappings":";;;AAOA,gDAEC;AATY,QAAA,oBAAoB,GAAG,sBAAsB,CAAA;AAO1D,SAAgB,kBAAkB,CAAC,KAAa;IAC9C,OAAO,EAAC,IAAI,EAAE,4BAAoB,EAAE,KAAK,OAAA,EAAC,CAAA;AAC5C,CAAC"}
|
package/dist/Actions/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export * from './ActionFailed';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './SetAnimationsSpeed';
|
|
1
|
+
export * from './ActionFailed';
|
|
2
|
+
export * from './AnimationComplete';
|
|
3
|
+
export * from './AnimationPaused';
|
|
4
|
+
export * from './AnimationStart';
|
|
5
|
+
export * from './ClearFailures';
|
|
6
|
+
export * from './GameNotificationsReceived';
|
|
7
|
+
export * from './GameOver';
|
|
8
|
+
export * from './GameStateLoaded';
|
|
9
|
+
export * from './MovePlayed';
|
|
10
|
+
export * from './MoveUndone';
|
|
11
|
+
export * from './SetAnimationsSpeed';
|