14 lines
305 B
C#
14 lines
305 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Sandbox;
|
|
|
|
public static class ChatHistory
|
|
{
|
|
public static List<Chat.Entry> Entries { get; private set; } = new();
|
|
|
|
public static void Add(ulong steamid, string author, string message)
|
|
{
|
|
Entries.Add(new Chat.Entry(steamid, author, message, 0.0f));
|
|
}
|
|
}
|