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

Ease the use of CommandHelper #71

Merged
merged 5 commits into from
Oct 22, 2019
Merged

Ease the use of CommandHelper #71

merged 5 commits into from
Oct 22, 2019

Conversation

harbingerofme
Copy link
Collaborator

Call R2Api.CommandHelper.AddToConsoleWhenReady() in your mod at any point to have your convars and concommands added to the console.

Keeps backwards compatibility with mods that used the old method, while politely warning them the method is obsolete.

Added XML docs to the only public methods.

Class is now a submodule and may need renaming or be moved out of utils. I'll leave that to maintainers' decision.

Call `R2Api.CommandHelper.AddToConsoleWhenReady()` in your mod at any point to have your convars and concommands added to the console.
@tristanmcpherson tristanmcpherson merged commit 2c82592 into risk-of-thunder:master Oct 22, 2019
@tristanmcpherson
Copy link
Member

Nice work!

@destinyw7
Copy link

i still get this error

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.

3 participants