public void AddTopic(string body) { CurrentArchiveItems.Add( new Topic(DateTime.Now.ToUnixTimestamp(), body) ); SaveCurrentArchiveFile(); }
private void AddPresence(bool connect) { CurrentArchiveItems.Add( new Presence(connect, DateTime.Now.ToUnixTimestamp()) ); SaveCurrentArchiveFile(); }
public void AddMessage(bool incoming, string body) { CurrentArchiveItems.Add( new Message(incoming, DateTime.Now.ToUnixTimestamp(), body) ); MessageCount += 1; SaveCurrentArchiveFile(); }