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); } }