예제 #1
0
        internal Fight GetFight(string name)
        {
            Fight result = null;

            if (!string.IsNullOrEmpty(name))
            {
                if (!ActiveFights.TryGetValue(name, out result))
                {
                    ActiveFights.TryGetValue(TextFormatUtils.FlipCase(name), out result);
                }
            }
            return(result);
        }
예제 #2
0
 internal bool IsLifetimeNpc(string name) => LifetimeFights.ContainsKey(name) || LifetimeFights.ContainsKey(TextFormatUtils.FlipCase(name));