예제 #1
0
        private void HandleCharacterNameSuggestionSuccessMessage(IAccount account,
                                                                 CharacterNameSuggestionSuccessMessage message)
        {
            Logger.Default.Log($"Pseudo Suggérer: {message.Suggestion}");
            account.Character.Name = message.Suggestion;

            var test = new CharacterCanBeCreatedRequestMessage();

            account.Network.SendToServer(test);
        }
예제 #2
0
 public void Update(CharacterNameSuggestionSuccessMessage message)
 {
     _nameTcs.SetResult(message.Suggestion);
 }
예제 #3
0
        private void CharacterNameSuggestionSuccessMessageHandler(DofusClient client, CharacterNameSuggestionSuccessMessage message)
        {
            client.Logger.Log($"Pseudo Suggérer: {message.Suggestion}");
            client.Account.Character.Name = message.Suggestion;

            var test = new CharacterCanBeCreatedRequestMessage();

            client.Send(test);
        }
예제 #4
0
 public static Task HandleCharacterNameSuggestionSuccessMessage(Account account, CharacterNameSuggestionSuccessMessage message)
 => Task.Run(() => account.Extensions.CharacterCreation.Update(message));