예제 #1
0
        public void SetOnlinePlayerList(List <OnlineEntry> onlineList)
        {
            m_onlineList.Clear();
            m_onlineList =
                onlineList.Select(_oe => new ClientOnlineEntry(_oe.Name, _oe.Title, _oe.Guild, _oe.ClassID, _oe.Icon))
                .ToList();
// ReSharper disable once StringCompareToIsCultureSpecific
            m_onlineList.Sort((x, y) => x.Name.CompareTo(y.Name));
            m_totalNumPlayers.Text = onlineList.Count.ToString(CultureInfo.CurrentCulture);
            m_scrollBar.UpdateDimensions(onlineList.Count);
            m_friendList = InteractList.LoadAllFriend();
        }
예제 #2
0
 private void _eventAddIgnore(object arg1, EventArgs arg2)
 {
     EOGame.Instance.Hud.SetStatusLabel(DATCONST2.STATUS_LABEL_TYPE_ACTION, m_rend.Character.Name, DATCONST2.STATUS_LABEL_WILL_BE_IGNORED);
     InteractList.WriteNewIgnore(m_rend.Character.Name);
 }
예제 #3
0
 private void _eventAddFriend(object arg1, EventArgs arg2)
 {
     EOGame.Instance.Hud.SetStatusLabel(DATCONST2.STATUS_LABEL_TYPE_ACTION, m_rend.Character.Name, DATCONST2.STATUS_LABEL_WILL_BE_YOUR_FRIEND);
     InteractList.WriteNewFriend(m_rend.Character.Name);
 }