private void all(final NetworkEntity networkEntity) { this.sendCommandIdToServer(networkEntity); PropertiesProvider.getInstance() .firePropertyValueChanged( WakfuGameEntity.getInstance().getLocalPlayer(), WakfuGameEntity.getInstance().getLocalPlayer().getFields()); }
@Override public void execute() { final NetworkEntity networkEntity = WakfuGameEntity.getInstance().getNetworkEntity(); if (networkEntity == null) { ConsoleManager.getInstance() .err("Pour acc\u00e9der \u00e0 ces commandes il faut \u00eatre connect\u00e9 !"); return; } try { switch (this.m_commandId) { case 0: { help(); break; } case 1: { this.all(networkEntity); break; } default: { this.sendCommandIdToServer(networkEntity); break; } } } catch (Exception e) { ConsoleManager.getInstance() .err("Probl\u00e8me lors de l'execution d'une commande de place de march\u00e9 " + e); } }