Participants can now join during the warning period as well.

Added RaceDataSourceToXML.
RaceServer now create an XMLMessage when the race's RaceDataSource changes.
#story[1188]
This commit is contained in:
fjc40
2017-09-02 00:27:44 +12:00
parent 9156bde8af
commit ec58f0c847
18 changed files with 289 additions and 32 deletions
@@ -71,6 +71,8 @@ public enum RaceTypeEnum {
}
/**
* Stores a mapping between Byte values and RaceStatusEnum values.
*/
@@ -107,4 +109,14 @@ public enum RaceTypeEnum {
}
@Override
public String toString() {
if (fromByte(value) == FLEET_RACE) {
return "fleet";
} else if (fromByte(value) == MATCH_RACE) {
return "match";
} else {
return super.toString();
}
}
}