SimHub icon indicating copy to clipboard operation
SimHub copied to clipboard

[Feature request] Additional properties added to the Opponent object.

Open derrickmoeller opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. It would be great if we could uniquely identify both teams and car classes across all sims / race combinations, online, offline, team, etc.

Describe the solution you'd like Add additional properties to the Opponent object.

  • CarClassIndex (for each opponent set the CarClassIndex 1 to N, fastest class = 1, slowest class = N).
  • TeamIndex (for each opponent set the TeamIndex 1 to N, order doesn't matter but idea is to be able to uniquely identify each opponent, the integer should be unique and unchanging).
    • e.g. var team = StatusDatabase.Opponents.SingleOrDefault(x => x.TeamIndex == i);

derrickmoeller avatar Aug 12 '24 01:08 derrickmoeller