feat(lootboxes): add lootbox opening feature and images
This commit is contained in:
parent
b58ceeeaab
commit
8e27c9c7c3
15 changed files with 536 additions and 327 deletions
12
frontend/src/app/model/LootBox.ts
Normal file
12
frontend/src/app/model/LootBox.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
export interface Reward {
|
||||
id: number;
|
||||
value: number;
|
||||
probability: number;
|
||||
}
|
||||
|
||||
export interface LootBox {
|
||||
id: number;
|
||||
name: string;
|
||||
price: number;
|
||||
rewards: Reward[];
|
||||
}
|
Reference in a new issue