示例#1
0
        private void Client_OnQuestDialogFinished(object sender, QuestDialogFinishedArgs e)
        {
            Connection client = (Connection)sender;

            if (e.NPC == _completionID)
            {
                // We are all done talking to this npc. Remove the handler
                client.OnQuestDialogFinished -= Client_OnQuestDialogFinished;

                // Finish
                FinishStep(client);
            }
        }
示例#2
0
        private void Client_OnQuestDialogFinished(object sender, QuestDialogFinishedArgs e)
        {
            Connection client = (Connection)sender;
            if (e.NPC == _completionID)
            {
                // We are all done talking to this npc. Remove the handler
                client.OnQuestDialogFinished -= Client_OnQuestDialogFinished;

                // Finish
                FinishStep(client);
            }
        }