示例#1
0
 public static int ToWorldsEndTypeCode(WorldsEndType worldsEndType)
 {
     return(PairConverter.Convert(worldsEndTypePairs, worldsEndType, WORLDS_END_TYPE_INVALID_CODE, p => p.WorldsEndType, p => p.Code));
 }
示例#2
0
 public WorldsEndTypePair(WorldsEndType worldsEndType, string text, int code)
 {
     WorldsEndType = worldsEndType;
     Text          = text;
     Code          = code;
 }