Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marked UnlockableAPI as Obsolete #390

Merged
merged 1 commit into from Apr 22, 2022

Conversation

Nebby1999
Copy link
Contributor

The reason behind these changes is due to the game's 1.2.3 release, which allows us modders to properly use the RegisterAchievement attribute on top of BaseAchievement inheriting classes.

The attribute itself in the game takes care of the registering of AchievementDefs and tying said Achievements to UnlockableDefs, as such, UnlockableAPI has become overall obsolete as the game now provides all the necesary means of registering UnlockableDefs, AchievementDefs and tying Achievements to Unlockables.

Each surface level type of unlockableAPI has been marked obsolete with the following message:

The patch 1.2.3 for RoR2 has made UnlockableAPI's methods and implementations redundant
From now on use the Game's "RegisterAchievement" attribute on top of baseAchievement inheriting classes to register AchievementDefs and tying them to their respective UnlockableDefs
UnlockableAPI will be removed on the next major RoR2 release

The reason behind these changes is due to the game's 1.2.3 release, which allows us modders to properly use the RegisterAchievement attribute on top of BaseAchievement inheriting classes.

The attribute itself in the game takes care of the registering of AchievementDefs and tying said Achievements to UnlockableDefs, as such, UnlockableAPI has become overall obsolete as the game now provides all the necesary means of registering UnlockableDefs, AchievementDefs and tying Achievements to Unlockables.

Each surface level type of unlockableAPI has been marked obsolete with the following message: 

    The patch 1.2.3 for RoR2 has made UnlockableAPI's methods and implementations redundant
    From now on use the Game's "RegisterAchievement" attribute on top of baseAchievement inheriting classes to register AchievementDefs and tying them to their respective UnlockableDefs
    UnlockableAPI will be removed on the next major RoR2 release
@tristanmcpherson tristanmcpherson merged commit 752ee2e into risk-of-thunder:master Apr 22, 2022
@Nebby1999 Nebby1999 deleted the patch-2 branch June 11, 2022 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants