예제 #1
0
 public static string GetAdmiralTraitText(AdmiralInfo.TraitType trait)
 {
     return(App.Localize(string.Format("@ADMIRALTRAITS_{0}", (object)trait.ToString().ToUpper())));
 }
예제 #2
0
 public static string GetTraitDescription(AdmiralInfo.TraitType t, int level)
 {
     return(string.Format(App.Localize(string.Format("@ADMIRALTRAITS_{0}_DESC", (object)t.ToString().ToUpper())), (object)level, (object)(10 * level)));
 }