update 个人名片

This commit is contained in:
2022-11-07 17:39:52 +08:00
parent ab953b4785
commit 40532a0972
4 changed files with 61 additions and 7 deletions

View File

@@ -22,4 +22,16 @@ public class NobleUtil {
}
return -1;
}
public static String nobleIdToStringName(int id){
switch (id){
case 1:return "男爵";
case 2:return "子爵";
case 3:return "侯爵";
case 4:return "公爵";
case 5:return "国王";
case 6:return "皇帝";
case 7:return "超皇";
}
return "";
}
}