|
@@ -73,7 +73,14 @@ namespace GFGGame
|
|
|
|
|
|
private void UpdateBase()
|
|
private void UpdateBase()
|
|
{
|
|
{
|
|
- _ui.m_comTipsBase.m_txtName.text = itemCfg.name;
|
|
|
|
|
|
+ if (LauncherConfig.netType == LauncherConfig.EnumNetType.LOCAL)
|
|
|
|
+ {
|
|
|
|
+ _ui.m_comTipsBase.m_txtName.text = string.Format("{0} _{1}", itemCfg.name, itemCfg.id);
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ _ui.m_comTipsBase.m_txtName.text = itemCfg.name;
|
|
|
|
+ }
|
|
_ui.m_comTipsBase.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_comTipsBase.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_comTipsBase.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_comTipsBase.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_comTipsBase.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|
|
_ui.m_comTipsBase.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|