Resonant inelastic X-ray scattering (RIXS) on magnetic EuCo2P2-based systems