2
0
mirror of synced 2025-01-17 03:51:20 +00:00

23 lines
464 B
C#
Raw Normal View History

2024-07-26 09:14:46 +02:00
namespace CodexPlugin.OverwatchSupport
{
public class NameIdMap
{
private readonly Dictionary<string, string> map = new Dictionary<string, string>();
public void Add(string name, string peerId)
{
map.Add(name, peerId);
}
public string GetPeerId(string name)
{
return map[name];
}
public int Size
{
get { return map.Count; }
}
2024-07-26 09:14:46 +02:00
}
}