public async Task Update(QuestStepInfoMessage message) { if (!_inTutorial) { return; } if (_currentStep != null && _currentStep.StepId == ((QuestActiveDetailedInformations)message.Infos).StepId) { return; } _currentStep = message.Infos as QuestActiveDetailedInformations; _currentStepNumber++; await Task.Delay(2000); ProcessTutorialSteps(); }
public static Task HandleQuestStepInfoMessage(Account account, QuestStepInfoMessage message) => Task.Run(async() => await account.Extensions.CharacterCreation.Update(message));