Ejemplo n.º 1
0
        private void Memory_OnCharacterIdChanged(object sender, string id)
        {
            hook.ClearLastPerformanceKeybinds();
            hotkeys.LoadKeybindDat(id);
            hotbar.LoadHotbarDat(id);
            addon.LoadAddonDat(id);

            Properties.Settings.Default.LastCharId = id;
            Properties.Settings.Default.Save();

            CurrentCharId = id;
        }
Ejemplo n.º 2
0
 public void SetMultiboxProcess(MultiboxProcess mp)
 {
     hook.Hook(mp.process, false);
     hotkeys.LoadKeybindDat(mp.characterId);
     hotbar.LoadHotbarDat(mp.characterId);
     //addon.LoadAddonDat(mp.characterId);
     CharacterName.Text = mp.characterName;
 }
        public BmpLocalPerformer(MultiboxProcess mp)
        {
            InitializeComponent();

            this.ChosenInstrument = this.chosenInstrument;

            if (mp != null)
            {
                hook.Hook(mp.process, false);
                hotkeys.LoadKeybindDat(mp.characterId);
                hotbar.LoadHotbarDat(mp.characterId);
                CharacterName.Text = mp.characterName;
            }

            Scroller.OnScroll += delegate(object o, int scroll) {
                this.sequencer.Seek(scroll);
            };
            Scroller.OnStatusClick += delegate(object o, EventArgs a) {
                Scroller.Text = this.sequencer.Position.ToString();
            };
        }