33 lines
815 B
C#
33 lines
815 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using GCGame.Table;
|
|
using Games.ChatHistory;
|
|
using System;
|
|
|
|
// 装备强化提示
|
|
public class ChatLinkEquipEhance : ChatLinkName {
|
|
|
|
private int level = -1;
|
|
|
|
public override void SetLinkBySendStr(Text text, ChatHistoryItem chatHistory, string linkStr, string[] linkParams)
|
|
{
|
|
StrSend = linkStr;
|
|
StrInput = linkStr;
|
|
|
|
if (linkParams.Length != 2 || string.IsNullOrEmpty(linkParams[1]))
|
|
{
|
|
return;
|
|
}
|
|
|
|
level = Convert.ToInt32(linkParams[1]);
|
|
StrShow = StrDictionary.GetClientDictionaryString("#{79340}", level);
|
|
}
|
|
|
|
protected override void LinkClick(int linkindex)
|
|
{
|
|
EquipQianghuaSuitTips.Show(level, 0, true);
|
|
}
|
|
}
|