enum 타입 작성중...

This commit is contained in:
pd0a6847 2025-11-18 17:01:34 +09:00
parent 6aaf5525cf
commit 992737ef33

View File

@ -24,3 +24,59 @@ export interface BettingInfo {
smallBet: number;
}
export const BetType = {
BIG: {
category: 'A',
typeDescriptionEng: 'Big / Small Bet',
typeDescriptionKr: '대/소 배팅',
tripeLose: true,
key: 'big',
keyName: 'Big Bet',
rslt: 'big_rslt',
rsltName: 'Big Result',
winConditionDescription: '주사위 총합 10~18',
maxAmount: 300000,
payout: 2,
},
SMALL: {
category: 'A',
typeDescriptionEng: 'Big / Small Bet',
typeDescriptionKr: '대/소 배팅',
tripeLose: true,
key: 'small',
keyName: 'Small Bet',
rslt: 'small_rslt',
rsltName: 'Small Result',
winConditionDescription: '주사위 총합 1~9',
maxAmount: 300000,
payout: 2,
},
EVEN: {
category: 'B',
typeDescriptionEng: 'Even / Odd Bet',
typeDescriptionKr: '홀/짝 배팅',
tripeLose: true,
key: 'even',
keyName: 'Even Bet',
rslt: 'even_rslt',
rsltName: 'Even Result',
winConditionDescription: '주사위 총합 짝수',
maxAmount: 300000,
payout: 2,
},
ODD: {
category: 'B',
typeDescriptionEng: 'Even / Odd Bet',
typeDescriptionKr: '홀/짝 배팅',
tripeLose: true,
key: 'odd',
keyName: 'Odd Bet',
rslt: 'odd_rslt',
rsltName: 'Odd Result',
winConditionDescription: '주사위 총합 홀수',
maxAmount: 300000,
payout: 2,
}
} as const;
export type BetTypeKey = keyof typeof BetType;