This PR does two things: Firstly it makes a change to the Rescue object.
Due to API v2.1 requirements, all system names must be transmitted in upper case, but mecha as it stands on the develop branch does not cast system names to upper case therefore can cause 422 errors.
The first change is the Rescue.System() field now uses a SystemNameProperty object to store the system name in memory. This class simply casts the input string to uppercase, ensuring Mecha complies with API v2.1 requirements.
Second change: The RATSIGNAL phrase has been added to: it will now include platform-specific strings at the end of the message.
The added phrases are
PC_SIGNAL
PS_SIGNAL
XB_SIGNAL
These will allow rats to set platform-specific pings while preserving the ratsignal.
This PR does two things: Firstly it makes a change to the
Rescue
object.Due to API v2.1 requirements, all system names must be transmitted in upper case, but mecha as it stands on the
develop
branch does not cast system names to upper case therefore can cause 422 errors.The first change is the
Rescue.System()
field now uses aSystemNameProperty
object to store the system name in memory. This class simply casts the input string to uppercase, ensuring Mecha complies with API v2.1 requirements.Second change: The
RATSIGNAL
phrase has been added to: it will now include platform-specific strings at the end of the message. The added phrases areThese will allow rats to set platform-specific pings while preserving the
ratsignal
.