Exemplo n.º 1
0
 public void AddEntry(string text, int font, ushort hue, string speakerName)
 {
     while (JournalEntries.Count > 99)
     {
         JournalEntries.RemoveAt(0);
     }
     JournalEntries.Add(new JournalEntry(text, font, hue, speakerName));
     OnJournalEntryAdded?.Invoke(JournalEntries[JournalEntries.Count - 1]);
 }
Exemplo n.º 2
0
 public void AddEntry(string text, int font, ushort hue, string speakerName, bool asUnicode)
 {
     while (m_JournalEntries.Count > 99)
     {
         m_JournalEntries.RemoveAt(0);
     }
     m_JournalEntries.Add(new JournalEntry(text, font, hue, speakerName, asUnicode));
     OnJournalEntryAdded?.Invoke(m_JournalEntries[m_JournalEntries.Count - 1]);
 }