pokerogue/src/system/session-history.ts

23 lines
477 B
TypeScript
Raw Normal View History

2024-03-14 20:26:57 +00:00
import { GameModes } from "../game-mode";
import PokemonData from "./pokemon-data";
import PersistentModifierData from "./modifier-data";
export enum SessionHistoryResult {
ACTIVE,
WIN,
LOSS
}
export interface SessionHistory {
seed: string;
playTime: integer;
result: SessionHistoryResult,
2024-03-14 20:26:57 +00:00
gameMode: GameModes;
party: PokemonData[];
modifiers: PersistentModifierData[];
money: integer;
waveIndex: integer;
gameVersion: string;
timestamp: integer;
}