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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user