37 lines
1016 B
C#
37 lines
1016 B
C#
|
using UnityEngine;
|
|||
|
using UnityEngine.UI;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Games.Item;
|
|||
|
using GCGame;
|
|||
|
using GCGame.Table;
|
|||
|
using Games.ChatHistory;
|
|||
|
|
|||
|
public class ChatLinkGuildTransport : ChatLinkName
|
|||
|
{
|
|||
|
private ulong _playerGuid;
|
|||
|
private int m_Index = 0;
|
|||
|
|
|||
|
private static Stack<ChatInfoLinkMask> _IdleLinkMasks = new Stack<ChatInfoLinkMask>();
|
|||
|
private List<ChatInfoLinkMask> _LinkMasks = new List<ChatInfoLinkMask>();
|
|||
|
|
|||
|
public override void SetLinkBySendStr(Text text, ChatHistoryItem chatHistory, string linkStr, string[] linkParams)
|
|||
|
{
|
|||
|
StrSend = linkStr;
|
|||
|
StrInput = linkStr;
|
|||
|
|
|||
|
if (linkParams.Length != 3)
|
|||
|
return;
|
|||
|
|
|||
|
_playerGuid = ulong.Parse(linkParams[1]);
|
|||
|
m_Index = int.Parse(linkParams[2]);
|
|||
|
StrShow = StrDictionary.GetClientDictionaryString("#{25114}");
|
|||
|
}
|
|||
|
|
|||
|
protected override void LinkClick(int linkindex)
|
|||
|
{
|
|||
|
GuildTransport.GuildTransportClick(null, _playerGuid,m_Index);
|
|||
|
}
|
|||
|
|
|||
|
}
|