30 lines
601 B
C#
30 lines
601 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using System.Collections;
|
|
using Games.Item;
|
|
using GCGame.Table;
|
|
using Games.ChatHistory;
|
|
using GCGame;
|
|
using Games.GlobeDefine;
|
|
using Module.Log;
|
|
|
|
public class ChatHelperHotItem : UIItemBase
|
|
{
|
|
public Text _HotDesc;
|
|
|
|
public override void Show(Hashtable hash)
|
|
{
|
|
base.Show();
|
|
|
|
int recordID = (int)hash["InitObj"];
|
|
|
|
ShowHotItem(recordID);
|
|
}
|
|
|
|
public void ShowHotItem(int recordID)
|
|
{
|
|
var hotRecord = TableManager.GetChatHelperHotByID(recordID, 0);
|
|
_HotDesc.text = hotRecord.HotText;
|
|
}
|
|
}
|