pub fn module_slot_cockpit_index() -> Option<i32>
Returns the index of the cockpit index of the module slot on which this module is set. None if this script is not running for a module.