using UnityEngine; using UnityEngine.UI; using System.Collections; using Games.Item; using GCGame.Table; using Games.ChatHistory; using GCGame; using Games.GlobeDefine; public class CommunityPlayerBaseItem : UIItemBase { public NetImage _Icon; public Text _Name; public Text _Level; protected ulong _GUID; protected int _LevelValue; protected int _Profession; public override void Show(Hashtable hash) { base.Show(hash); } public void OnClickIcon() { PlayerTooltipsLogic.ShowPlayerTooltip(_GUID, _Name.text, Utils.GetProfessionSpriteName(_Profession), _LevelValue, -1, 0, Vector3.zero); } }