From 6aaa9aee9abbbb923070283e9ba3212a4f6bb4f0 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期一, 03 九月 2018 21:34:27 +0800
Subject: [PATCH] 1804 修改系统提示玩家名称颜色
---
System/FriendSystem/New/FriendsModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/FriendSystem/New/FriendsModel.cs b/System/FriendSystem/New/FriendsModel.cs
index 62256fb..33dc85b 100644
--- a/System/FriendSystem/New/FriendsModel.cs
+++ b/System/FriendSystem/New/FriendsModel.cs
@@ -124,15 +124,15 @@
ChatCtrl.Inst.SelectRecentlyEvent += PrivateSomeone;
}
+ Color32 redColor = new Color32(255,1,1,255);
private void RefreshKillOtherPlayer(uint id, string name)
{
if (id == PlayerDatas.Instance.baseData.PlayerID || IsDungeon()) return;
-
ChatCtrl.Inst.PteChatID = (int)id;
ChatCtrl.Inst.PteChatName = name;
MapConfig mapConfig = Config.Instance.Get<MapConfig>(PlayerDatas.Instance.baseData.MapID);
- string msg = StringUtility.Contact(Language.Get("KillOthersDes", mapConfig.Name, UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName)),ChatCtrl.KILL_IDENTIFY);
+ string msg = StringUtility.Contact(Language.Get("KillOthersDes", mapConfig.Name,StringUtility.Contact("<color=#FF0101FF", UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName), "</color>")),ChatCtrl.KILL_IDENTIFY);
ChatCtrl.Inst.SendChatInfo(ChatInfoType.Friend,msg);
}
--
Gitblit v1.8.0