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

Add GetReactState to CreatureMethods and GetKnownTaxiNodes, SetKnownTaxiNodes to PlayerMethods #260

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Aldori15
Copy link

@Aldori15 Aldori15 commented Feb 14, 2025

We have the ability to SetReactState, but we don't have to ability to GetReactState.

@Aldori15
Copy link
Author

Also added GetKnownTaxiNodes and SetKnownTaxiNodes to PlayerMethods.

All 3 functions have been tested by me and are currently in use in a couple of scripts utilizing Eluna.

@Aldori15 Aldori15 changed the title Add GetReactState to CreatureMethods Add GetReactState to CreatureMethods and GetKnownTaxiNodes, SetKnownTaxiNodes to PlayerMethods Feb 17, 2025
@@ -556,6 +556,8 @@ ElunaRegister<Player> PlayerMethods[] =
{ "SetLifetimeKills", &LuaPlayer::SetLifetimeKills },
{ "SetGameMaster", &LuaPlayer::SetGameMaster },
{ "SetGMChat", &LuaPlayer::SetGMChat },
{ "GetKnownTaxiNodes", &LuaPlayer::GetKnownTaxiNodes },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep getters in their own section.
Same for GetReactState

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep getters in their own section. Same for GetReactState

Fixed. Thanks for the response :)

@Aldori15 Aldori15 requested a review from 55Honey February 17, 2025 17:17
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.

2 participants