internal static EngineDef GetEngineDef(this MechComponentDef @this) { if (@this == null || [email protected]()) { return(null); } return(new EngineDef(@this)); }