Files
blitzkit/packages/core/src/blitz/constants.ts
T

41 lines
798 B
TypeScript
Raw Normal View History

2025-10-13 23:20:26 -05:00
import { TankClass, TankType } from "../protos";
import type { BlitzStats } from "../statistics";
2024-09-07 21:45:00 -05:00
2024-11-18 11:04:35 -06:00
export const TANK_TYPES = [
TankType.RESEARCHABLE,
TankType.PREMIUM,
TankType.COLLECTOR,
];
export const TANK_TYPE_COMMAND_NAMES = {
2025-10-13 23:20:26 -05:00
[TankType.RESEARCHABLE]: "researchable",
[TankType.PREMIUM]: "premium",
[TankType.COLLECTOR]: "collector",
2024-11-18 11:04:35 -06:00
};
2024-09-06 22:05:06 -05:00
export const TANK_CLASSES = [
2024-10-05 15:57:34 -05:00
TankClass.LIGHT,
TankClass.MEDIUM,
TankClass.HEAVY,
TankClass.TANK_DESTROYER,
2024-11-18 11:04:35 -06:00
];
2024-09-06 23:17:53 -05:00
export const emptyAllStats: BlitzStats = {
battles: 0,
capture_points: 0,
damage_dealt: 0,
damage_received: 0,
dropped_capture_points: 0,
frags: 0,
frags8p: 0,
hits: 0,
losses: 0,
max_frags: 0,
max_xp: 0,
shots: 0,
spotted: 0,
survived_battles: 0,
xp: 0,
win_and_survived: 0,
wins: 0,
};