Skip to content

Commit

Permalink
update enums for 127581
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientromp committed Dec 8, 2021
1 parent d3d018d commit b0b8c38
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firestone-hs/reference-data",
"version": "0.1.179",
"version": "0.1.180",
"description": "",
"scripts": {
"lint": "eslint --color --fix --ext .ts .",
Expand Down
18 changes: 18 additions & 0 deletions ref/enums/127581.locale.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export enum Locale {
UNKNOWN = -1,
enUS = 0,
enGB = 1,
frFR = 2,
deDE = 3,
koKR = 4,
esES = 5,
esMX = 6,
ruRU = 7,
zhTW = 8,
zhCN = 9,
itIT = 10,
ptBR = 11,
plPL = 12,
jaJP = 14,
thTH = 15,
}
18 changes: 18 additions & 0 deletions src/enums/locale.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export enum Locale {
UNKNOWN = -1,
enUS = 0,
enGB = 1,
frFR = 2,
deDE = 3,
koKR = 4,
esES = 5,
esMX = 6,
ruRU = 7,
zhTW = 8,
zhCN = 9,
itIT = 10,
ptBR = 11,
plPL = 12,
jaJP = 14,
thTH = 15,
}
7 changes: 7 additions & 0 deletions src/models/reference-cards/reference-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ export interface ReferenceCard {
readonly mercenaryEquipment: boolean;
readonly mercenaryTreasure: boolean;
readonly mercenaryAbilityCooldown: number;

readonly locales?: readonly CardLocale[];
}

export interface CardLocale {
readonly locale: string;
readonly name: string;
}

0 comments on commit b0b8c38

Please sign in to comment.