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); }
public void Update(CharacterNameSuggestionSuccessMessage message) { _nameTcs.SetResult(message.Suggestion); }
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); }
public static Task HandleCharacterNameSuggestionSuccessMessage(Account account, CharacterNameSuggestionSuccessMessage message) => Task.Run(() => account.Extensions.CharacterCreation.Update(message));