public static bool IsAttachable(ConstructorInfo ctor) { return ctor.IsDefined(m_AttachableType, false); }
private static bool IsConstructable( ConstructorInfo ctor ) { return ctor.IsDefined( typeof( ConstructableAttribute ), false ); }
public static bool IsConstructable( ConstructorInfo ctor, AccessLevel level ) { if (!ctor.IsDefined(m_ConstructableType, false)) //Item/Mobile is not marked constructable return false; CAL cal = GetCAL(ctor); return (cal == null || level >= cal.ConstructLevel); }