/// <summary> /// Checks whether this NPC is of the given type /// </summary> public bool CheckCreatureType(CreatureMask mask) { return mask.HasFlag((CreatureMask)(1 << ((int)Entry.Type - 1))); }
public CritCreatureMaskHandler(CreatureMask mask) { Mask = mask; }
public CritCreatureMaskHandler(CreatureMask mask) { Mask = mask; }
/// <summary> /// Checks whether this NPC is of the given type /// </summary> public bool CheckCreatureType(CreatureMask mask) { return(mask.HasFlag((CreatureMask)(1 << ((int)Entry.Type - 1)))); }