YaQuestListenerlistens to events related to the current entity.
void AddQuestCompletedEvent(function callback<YaEntity, YaQuestData>)¶
Fired when a completed quest is added.
callbackThe first parameter is the character that finished the quest. The second parameter contains information of the quest.
characterEntityThe character entity
questDataIncluding information about quest