Cleans up information about CFX products such as FiveM, RedM, LibertyM and FXServer into its own header file in shared. Allowing for it to be used across the entire project. Also refactors Social Club Version information into ROSSuffix.h with other ROS information.
How is this PR achieving the goal
By creating CfxProductInfo.h and placing information about each of CFX product such as PRODUCT_NAME(_LOWER) and CONTENT_NAME. Along with refactoring several files to make use of these. Also defining UPDATE_NAME for FiveM as it uses 'fivereborn' when checking for updates.
This PR applies to the following area(s)
FiveM, RedM, Server
Successfully tested on
Platforms: Windows
Checklist
[x] Code compiles and has been tested successfully.
[x] Code explains itself well and/or is documented.
[x] My commit message explains what the changes do and what they are for.
[x] No extra compilation warnings are added by these changes.
Goal of this PR
Cleans up information about CFX products such as FiveM, RedM, LibertyM and FXServer into its own header file in shared. Allowing for it to be used across the entire project. Also refactors Social Club Version information into ROSSuffix.h with other ROS information.
How is this PR achieving the goal
By creating CfxProductInfo.h and placing information about each of CFX product such as PRODUCT_NAME(_LOWER) and CONTENT_NAME. Along with refactoring several files to make use of these. Also defining UPDATE_NAME for FiveM as it uses 'fivereborn' when checking for updates.
This PR applies to the following area(s)
FiveM, RedM, Server
Successfully tested on
Platforms: Windows
Checklist