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:
@@ -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