private Task HandleInteractiveUseEndedMessage(Account account, InteractiveUseEndedMessage message) => Task.Run(() => { _account.State = Enums.AccountStates.NONE; _account.Logger.LogDebug(LanguageManager.Translate("133"), LanguageManager.Translate("126")); OnGatherFinished(GatherResults.GATHERED); });
public void HandleInteractiveUseEndedMessage(Bot bot, InteractiveUseEndedMessage message) { var interactive = bot.Character.Map.GetInteractive(message.elemId); if (interactive != null) { interactive.NotifyInteractiveUseEnded(); } }
private void HandleMapComplementaryInformationsDataMessage(InteractiveUseEndedMessage message, ConnectedHost source) { ElementModel value; if (Interactives.TryGetValue((int)message.elemId, out value)) { value.Enabled = false; } OnUpdated(); }
public static void InteractiveUseEndedMessageTreatment(Message message, byte[] packetDatas, AccountUC account) { InteractiveUseEndedMessage msg = (InteractiveUseEndedMessage)message; using (BigEndianReader reader = new BigEndianReader(packetDatas)) { msg.Deserialize(reader); } if (account.Gather.Id == -1) { return; } account.SetStatus(Status.None); if (account.PerformGather() == false && account.Path != null) { account.Path.PerformActionsStack(); } }
public static void HandleInteractiveUseEndedMessage(WorldClient client, InteractiveUseEndedMessage message) { }
private void InteractiveUseEndedMessageHandler(DofusClient client, InteractiveUseEndedMessage message) { client.Account.Character.Status = CharacterStatus.None; }
private void InteractiveUseEndedMessageHandler(DofusClient Client, InteractiveUseEndedMessage Message) { // }
private void HandleInteractiveUseEndedMessage(IAccount arg1, InteractiveUseEndedMessage arg2) { Logger.Default.Log("HandleInteractiveUseEndedMessage", API.Utils.Enums.LogMessageType.Error); _account.PerformAction(Gather, 1000); }