Example #1
0
 public static bool IsAttachable(ConstructorInfo ctor)
 {
     return ctor.IsDefined(m_AttachableType, false);
 }
Example #2
0
		private static bool IsConstructable( ConstructorInfo ctor )
		{
			return ctor.IsDefined( typeof( ConstructableAttribute ), false );
		}
Example #3
0
		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);
		}