Пример #1
0
 public bool TryAddNewBinding(IEmote emote, IRole role)
 {
     if (!EmoteToRoleBindings.ContainsKey(emote))
     {
         EmoteToRoleBindings.Add(emote, role);
         return(true);
     }
     else
     {
         return(false);
     }
 }