コード例 #1
0
        public static List <string> getProfessionDescription(int whichProfession)
        {
            List <string> expr_05 = new List <string>();

            LuckLevelUpMenu.addProfessionDescriptions(expr_05, LuckLevelUpMenu.getProfessionName(whichProfession));
            return(expr_05);
        }
コード例 #2
0
 public static string getProfessionTitleFromNumber(int whichProfession)
 {
     if (whichProfession == Mod.PROFESSION_DAILY_LUCK || whichProfession == Mod.PROFESSION_A1 || whichProfession == Mod.PROFESSION_A2 ||
         whichProfession == Mod.PROFESSION_MOREQUESTS || whichProfession == Mod.PROFESSION_NIGHTLY_EVENTS || whichProfession == Mod.PROFESSION_B2)
     {
         return(getProfessionName(whichProfession));
     }
     return(Game1.content.LoadString("Strings\\UI:LevelUp_ProfessionName_" + LuckLevelUpMenu.getProfessionName(whichProfession), new object[0]));
 }