コード例 #1
0
 public void AddChatUser(NetPlayer player)
 {
     if (!m_nameTags.ContainsKey(player.skinUserId))
     {
         m_nameTags.Add(player.skinUserId, player.overHeadNameTag);
         ChatUser chatUser = new ChatUser(player.skinUserId);
         chatUser.UpdateGamerTag(GetSteamNameTag(player));
         m_chatUsers.Add(chatUser);
         mNeedsRefresh = true;
         RefreshUserList();
     }
 }