redraskal / r6-dissect

Match Replay API/CLI for Rainbow Six: Siege's Dissect (.rec) format.
MIT License
70 stars 11 forks source link

Operator Roles #29

Closed stnokott closed 1 year ago

stnokott commented 1 year ago

Note that I kept the alliance field discussed in https://github.com/redraskal/r6-dissect/issues/26#issuecomment-1465327214. I figured you weren't certain yet that it can be removed.

(Messed up a bit in 3153003, so there's a bit of an ugly amend in 221c7f7)

Fixes #28 .

stnokott commented 1 year ago

Maybe run go:generate once to see if it works on your end too

stnokott commented 1 year ago

Also, might be worth adding go:generate ./... to the build job

redraskal commented 1 year ago

Also, might be worth adding go:generate ./... to the build job

We really only need to run this when something is manually added/removed. Going to need some tests soon enough with example replay files.

Maybe we could have a test to check if all operators have a role?

stnokott commented 1 year ago

We really only need to run this when something is manually added/removed. Going to need some tests soon enough with example replay files.

We also need to run it when a new season drops, i.e. when a new operator is added.

Maybe we could have a test to check if all operators have a role?

I'll add one