예제 #1
0
        public void Update(QuestStartedMessage message)
        {
            if (!_account.AccountConfig.CharacterCreation.CompleteTutorial)
            {
                return;
            }

            if (message.QuestId != TutorialHelper.QuestTutorialId || !_created)
            {
                return;
            }

            _account.Logger.LogInfo(LanguageManager.Translate("516"), LanguageManager.Translate("527"));
            _inTutorial = true;
            _account.Network.SendMessage(new QuestStepInfoRequestMessage(TutorialHelper.QuestTutorialId));
        }
예제 #2
0
 public static Task HandleQuestStartedMessage(Account account, QuestStartedMessage message)
 => Task.Run(() => account.Extensions.CharacterCreation.Update(message));