tournament (#214)

베팅창 QoL 개선

Reviewed-on: https://storage.hided.net/gitea/devsam/core/pulls/214
Co-authored-by: sars <sarsntony@gmail.com>
Co-committed-by: sars <sarsntony@gmail.com>
This commit is contained in:
2022-04-10 17:46:28 +09:00
committed by Hide_D
parent 5d718bf4ea
commit 657a47c9ad
2 changed files with 46 additions and 33 deletions
+9
View File
@@ -64,6 +64,15 @@ function getNationLevel(int $level) {
][$level];
}
function convertTournamentType(string $type){
return[
'전력전'=>0,
'통솔전'=>1,
'일기토'=>2,
'설전'=>3,
][$type]??-1;
}
function getGenChar(?string $type) {
if($type === null){
return '-';