Closed ryanabaker closed 2 years ago
Update current Struct definitions to use enums such as:
PacketLapData.cs public byte m_resultStatus; // Result status - 0 = invalid, 1 = inactive, 2 = active // 3 = finished, 4 = didnotfinish, 5 = disqualified
should become....
public Result m_resultStatus; // Result status - 0 = invalid, 1 = inactive, 2 = active // 3 = finished, 4 = didnotfinish, 5 = disqualified
public enum Result : byte { Invalid, Inactive, Active, Finished, DidNotFinish, Disqualified }
Update current Struct definitions to use enums such as:
PacketLapData.cs public byte m_resultStatus; // Result status - 0 = invalid, 1 = inactive, 2 = active // 3 = finished, 4 = didnotfinish, 5 = disqualified
should become....
public Result m_resultStatus; // Result status - 0 = invalid, 1 = inactive, 2 = active // 3 = finished, 4 = didnotfinish, 5 = disqualified
public enum Result : byte { Invalid, Inactive, Active, Finished, DidNotFinish, Disqualified }