Exemplo n.º 1
0
 public void AddCharacter(CharacterId character)
 {
     if (!characterRepo.ContainsKey(character))
     {
         characterRepo.Add(character, new CharacterSheet()
         {
             Handle = character.Key
         });
     }
 }
Exemplo n.º 2
0
 public CharacterSheet?Get(CharacterId character)
 {
     return(characterRepo.TryGetValue(character, out var value) ? value : null);
 }