Exemplo n.º 1
0
 public void Assign(GameType type, TargetLala target, Enums.KeybindAction act, object data, GameState state, int kbWaitInMs)
 {
     this.Type            = type;
     this.Target          = target;
     this.Action          = act;
     this.Data            = data;
     this.State           = state;
     this.KeybindWaitInMs = kbWaitInMs;
 }
Exemplo n.º 2
0
 private void MakeTheLalasDoTheThing(Enums.KeybindAction act1, Enums.KeybindAction act2, Enums.KeybindAction act3)
 {
     if (act1 == act2 && act1 == act3)
     {
         this.cbox_LalaAll_SelectEmote.SelectedValue = act1;
     }
     else
     {
         this.cbox_LalaOne_SelectEmote.SelectedValue   = act1;
         this.cbox_LalaTwo_SelectEmote.SelectedValue   = act2;
         this.cbox_LalaThree_SelectEmote.SelectedValue = act3;
     }
 }
Exemplo n.º 3
0
 public static void PerformActionThroughKeybind(LalaSlot lala, Enums.KeybindAction action, int kbWaitInMs)
 {
     if (action == Enums.KeybindAction.DiagLeft)
     {
         SendTwoKeysSync(lala.Window, Keys.W, Keys.Q, kbWaitInMs);
     }
     else if (action == Enums.KeybindAction.DiagRight)
     {
         SendTwoKeysSync(lala.Window, Keys.W, Keys.E, kbWaitInMs);
     }
     else
     {
         Keys k = Enums.GetKeyFromKeybindAction(action);
         SendSyncKey(lala.Window, k, kbWaitInMs);
     }
 }
Exemplo n.º 4
0
 abstract public void Update(TargetLala target, Enums.KeybindAction action, int kbWaitInMs);
Exemplo n.º 5
0
 public Animation(Enums.KeybindAction a, double animTs, int kbTs)
 {
     this.Action = a;
     this.AnimationWaitInSeconds = animTs;
     this.KeybindWaitInMillisecs = kbTs;
 }
Exemplo n.º 6
0
 public void PerformAction(Enums.KeybindAction action)
 {
     Task.Run(() => FFXIVMemory.PerformActionThroughKeybind(this, action));
 }
Exemplo n.º 7
0
        public static void PerformActionThroughKeybind(LalaSlot lala, Enums.KeybindAction action)
        {
            Keys k = Enums.GetKeyFromKeybindAction(action);

            SendSyncKey(lala.Window, k);
        }
Exemplo n.º 8
0
 public void PerformAction(Enums.KeybindAction action, int kbWaitInMs)
 {
     Task.Run(() => FFXIVMemory.PerformActionThroughKeybind(this, action, kbWaitInMs));
 }
Exemplo n.º 9
0
 private void LalaAnimationsEnded(TargetLala target, Enums.KeybindAction act)
 {
     this.UpdateSleep(target, act);
 }