Exemple #1
0
        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"]);

            trainer.WRITE_GIGANTE_HP(data["hp_gigante"]);

            if (data.ContainsKey("hp_enemy_data"))
            {
                trainer.WRITE_ENEMY_HP_SERVER(Utils.Deserialize <Dictionary <byte[], byte[]> >(data["hp_enemy_data"]));
            }
        }