| | |
| | | |
| | | #endregion |
| | | |
| | | #region 文字色值 |
| | | #region 文字色值 Bright 和 Dark指背景色系是明还是暗,暗底亮字,亮底暗字的规则 |
| | | public static readonly Color s_BrightPinkColor = new Color32(246, 64, 141, 255); |
| | | public static readonly Color s_BrightRedColor = new Color32(255, 3, 3, 255); |
| | | public static readonly Color s_BrightPurpleColor = new Color32(218, 72, 213, 255); |
| | | public static readonly Color s_BrightBlueColor = new Color32(0, 107, 227, 255); //006BE3FF |
| | | public static readonly Color s_BrightOrangeColor = new Color32(255, 103, 1, 255); //FF6701FF |
| | | public static readonly Color s_BrightWhiteColor = new Color32(104, 104, 104, 255); //686868 |
| | | public static readonly Color s_BrightGreenColor = new Color32(16, 157, 6, 255); //109d06 |
| | | public static readonly Color s_BrightGreenColor = new Color32(36, 139, 18, 255); //248b12 |
| | | |
| | | public static readonly Color s_DarkPinkColor = new Color32(255, 124, 124, 255); |
| | | public static readonly Color s_DarkRedColor = new Color32(250, 1, 1, 255); |
| | |
| | | public static readonly Color s_DarkBlueColor = new Color32(49, 206, 251, 255);//31cefb |
| | | public static readonly Color s_DarkOrangeColor = new Color32(248, 152, 59, 255); |
| | | public static readonly Color s_DarkWhiteColor = new Color32(247, 247, 247, 255); |
| | | public static readonly Color s_DarkGreenColor = new Color32(53, 225, 34, 255); //35e122 |
| | | public static readonly Color s_DarkGreenColor = new Color32(42, 227, 55, 255);//2ae337 |
| | | |
| | | public static readonly Color s_NavyBrown = new Color32(64, 28, 6, 255);//401c06 |
| | | public static readonly Color s_NavyBrown = new Color32(110, 76, 49, 255);//6e4c31 |
| | | public static readonly Color s_Black = new Color32(0, 0, 0, 255); |
| | | public static readonly Color s_NavyYellow = new Color32(255, 239, 71, 255); |
| | | public static readonly Color s_LightGreen = new Color32(141, 220, 17, 255);//8ddc11 |
| | | public static readonly Color s_LightYellow = new Color32(255, 244, 205, 255); //fff4cd |
| | | public static readonly Color s_LightGreen = new Color32(42, 227, 55, 255);//2ae337 |
| | | public static readonly Color s_LightYellow = new Color32(245, 246, 230, 255); //f5f6e6 |
| | | public static readonly Color s_Gray = new Color32(204, 204, 204, 255); |
| | | public static readonly Color s_Gold = new Color32(255, 239, 71, 255);//ffef47 |
| | | public static readonly Color s_EarthYellow = new Color32(248, 152, 59, 255);//f8983b |
| | |
| | | |
| | | public static Color GetUIColor(TextColType type, bool bright = false) |
| | | { |
| | | //Bright 和 Dark指背景色系是明还是暗,暗底亮字,亮底暗字的规则 |
| | | switch (type) |
| | | { |
| | | case TextColType.None: |
| | |
| | | case TextColType.Green: |
| | | return StringUtility.Contact("<color=#", bright ? "109d06" : "35e122", ">", msg, "</color>"); |
| | | case TextColType.NavyBrown: |
| | | return StringUtility.Contact("<color=#", "401c06", ">", msg, "</color>"); |
| | | return StringUtility.Contact("<color=#", "6e4c31", ">", msg, "</color>"); |
| | | case TextColType.DarkGreen: |
| | | return StringUtility.Contact("<color=#", "109d06", ">", msg, "</color>"); |
| | | case TextColType.Black: |
| | | return StringUtility.Contact("<color=#", "000000", ">", msg, "</color>"); |
| | | case TextColType.LightYellow: |
| | | return StringUtility.Contact("<color=#", "fff4cd", ">", msg, "</color>"); |
| | | return StringUtility.Contact("<color=#", "f5f646", ">", msg, "</color>"); |
| | | case TextColType.LightGreen: |
| | | return StringUtility.Contact("<color=#", "8ddc11", ">", msg, "</color>"); |
| | | case TextColType.Gray: |
| | |
| | | } |
| | | case 41: |
| | | { |
| | | //符印精华 |
| | | return PlayerDatas.Instance.GetPlayerDataByType(PlayerDataType.RuneSplinters); |
| | | //战锤 |
| | | return PlayerDatas.Instance.GetPlayerDataByType(PlayerDataType.default26); |
| | | } |
| | | case 42: |
| | | { |
| | | //结晶 |
| | | return PlayerDatas.Instance.GetPlayerDataByType(PlayerDataType.default33); |
| | | } |
| | | case 43: |
| | | { |