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:
1 parent
5d718bf4ea
commit
657a47c9ad
2 files changed
+46
-33
No files matched your search
@@ -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 '-';
|
||||
|
||||
Reference in new issue
Block a user