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

feat: add PLAYER_EVENT_ON_COMPLETE_QUEST #90

Merged
merged 3 commits into from
Feb 5, 2023

Conversation

veserine
Copy link

@veserine veserine commented Feb 2, 2023

Adds a new Player event:

PLAYER_EVENT_ON_COMPLETE_QUEST = 54, // (event, player, quest)
Example Lua snippet:

local PLAYER_EVENT_ON_COMPLETE_QUEST = 54

RegisterPlayerEvent(PLAYER_EVENT_ON_COMPLETE_QUEST, function(event, player, quest)
print("Player: " .. player:GetName())
print("QuestID: " .. quest:GetId())
end)

@55Honey
Copy link
Member

55Honey commented Feb 2, 2023

Thanks for the PR @veserine !

@r-o-b-o-t-o r-o-b-o-t-o merged commit 067f780 into azerothcore:master Feb 5, 2023
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

3 participants