| | |
| | | } |
| | | |
| | | |
| | | //功能品质文字颜色,哪些功能由美术决定,目前用于古宝 |
| | | public static Color GetFuncQualityColor(int quality) |
| | | { |
| | | |
| | | switch (quality) |
| | | { |
| | | case 1: |
| | | // bbd5ff |
| | | return new Color32(187, 213, 255, 255); |
| | | case 2: |
| | | // e4bbfe |
| | | return new Color32(228, 187, 254, 255); |
| | | case 3: |
| | | // f7eba4 |
| | | return new Color32(247, 235, 164, 255); |
| | | case 4: |
| | | // ffc096 |
| | | return new Color32(255, 192, 150, 255); |
| | | case 5: |
| | | // fe9896 |
| | | return new Color32(254, 152, 150, 255); |
| | | } |
| | | return Color.white; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //needName 指官职0是否需要名称 |
| | | public static string GetRealmName(int realmLv, bool bright = true, bool needName = false) |