Esempio n. 1
0
 /// <summary>
 /// Returns the <see cref="Location"/> that uses the given internal name.
 /// </summary>
 /// <param name="internalName"></param>
 /// <returns></returns>
 public static Location FromInternalName(string internalName)
 {
     return(InternalNames.FirstOrDefault(x => x.Value == internalName).Key);
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the <see cref="ProficiencyType"/> that uses the given internal name.
 /// </summary>
 /// <param name="internalName"></param>
 /// <returns></returns>
 public static ProficiencyType FromInternalName(string internalName)
 {
     return(InternalNames.FirstOrDefault(x => x.Value == internalName).Key);
 }
Esempio n. 3
0
 /// <summary>
 /// Returns a <see cref="CharacterClassType"/> from an internal name used by a save.
 /// </summary>
 /// <param name="internalName"></param>
 /// <returns></returns>
 public static CharacterClassType FromInternalName(string internalName)
 {
     return(InternalNames.FirstOrDefault(x => x.Value == internalName).Key);
 }