Roles and their handling need to be refactored. Currently we have to reference them like role[100,18]. which is cumbersome and hard to read. The rework itself seems simple, but the issue is that there are abpi 1200 such references in the code, which will take a lot of time to resolve.
Proposed change
Rework role[100] into a human-readable enum or struct.
Description
Roles and their handling need to be refactored. Currently we have to reference them like
role[100,18]
. which is cumbersome and hard to read. The rework itself seems simple, but the issue is that there are abpi 1200 such references in the code, which will take a lot of time to resolve.Proposed change
role[100]
into a human-readable enum or struct.role[100]
.Additional information
Some extra info: https://github.com/ZAB909/ChapterMaster/pull/195#discussion_r1394993344 from @OH296