| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | public string GetStoryInfo(uint cmpValue)
|
| | | //获取排名比较值字符串
|
| | | public string GetCmpValueStr(int rankType, uint cmpValue)
|
| | | {
|
| | | int value = (int)cmpValue;
|
| | | if (!MainLevelConfig.HasKey(value))
|
| | | return string.Empty;
|
| | | MainLevelConfig config = MainLevelConfig.Get(value);
|
| | | return Language.Get("Arena15", config.ChapterID, config.LevelNum);
|
| | | switch (rankType)
|
| | | {
|
| | | case 0:
|
| | | case 3:
|
| | | int value = (int)cmpValue;
|
| | | if (!MainLevelConfig.HasKey(value))
|
| | | return string.Empty;
|
| | | MainLevelConfig config = MainLevelConfig.Get(value);
|
| | | return Language.Get("Arena15", config.ChapterID, config.LevelNum);
|
| | | case 4:
|
| | | return cmpValue.ToString();
|
| | | }
|
| | | return string.Empty;
|
| | | }
|
| | |
|
| | | //获取排名标签
|
| | | public string GetCmpTabStr(int rankType)
|
| | | {
|
| | | switch (rankType)
|
| | | {
|
| | | case 0:
|
| | | case 3:
|
| | | return Language.Get("RankTypeName_1");
|
| | | case 4:
|
| | | return Language.Get("OSActivity5");
|
| | | }
|
| | | return string.Empty;
|
| | | }
|
| | | }
|
| | |
|