public static bool CanRun(int typeId, ENpcControlType type) { Item item = Get(typeId); if (item == null) { return(false); } return(item.CanRun(type)); }
public bool CanRun(ENpcControlType type) { return(mControlInfo[(int)type] != 0); }