2
0
mirror of synced 2025-01-16 19:44:17 +00:00
2024-07-26 09:14:46 +02:00

18 lines
381 B
C#

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];
}
}
}