private void HandleInputData(Dictionary <string, byte[]> data, Trainer trainer) { trainer.HANDLE_DIFFERENT_AREAS(data["ally_area"]); trainer.WRITE_POS_ALLY(data["write_pos_ally"]); trainer.WRITE_HP_ALLY(data["write_hp_ally"]); if (data.ContainsKey("write_pos_enemy_pointer")) { trainer.MAP_ENEMY_POINTER(data["write_pos_enemy_pointer"], data["write_pos_enemy_value"]); } trainer.WRITE_ENEMY_POSITIONS_CLIENT(Utils.Deserialize <Dictionary <byte[], byte[]> >(data["pos_enemy_data"])); trainer.WRITE_ENEMY_HP_CLIENT(Utils.Deserialize <Dictionary <byte[], byte[]> >(data["hp_enemy_data"])); trainer.WRITE_GIGANTE_HP(data["hp_gigante"]); trainer.WRITE_GIGANTE_POS(data["pos_gigante"]); }