Ejemplo n.º 1
0
 /// <summary>
 /// Send ticker text to the given user.
 /// </summary>
 /// This is usually called via the Events code.
 /// <param name="userId"></param>
 /// <param name="text"></param>
 public void SendTickerText(UUID userId, string text)
 {
     lock (m_localIdToHud)
     {
         // The player might not actually be wearing the hud
         if (m_playerIdToHud.ContainsKey(userId))
         {
             // This logic should arguably be in the view itself
             HudView hud = m_playerIdToHud[userId];
             hud.AddTextToTick(text);
         }
     }
 }