Exemple #1
0
        public static bool CanRun(int typeId, ENpcControlType type)
        {
            Item item = Get(typeId);

            if (item == null)
            {
                return(false);
            }

            return(item.CanRun(type));
        }
Exemple #2
0
 public bool CanRun(ENpcControlType type)
 {
     return(mControlInfo[(int)type] != 0);
 }