예제 #1
0
        private void LalaAnimationsEnded(TargetLala target, Enums.KeybindAction act, Enums.KeybindAction fit)
        {
            this.UpdateSleep(target, Enums.KeybindAction.EmoteSurp);
            this.UpdateSleep(target, fit);
            this.UpdateSleep(target, act);

            if (this.Data.LalaOneFinalNumber == this.Data.LalaTwoFinalNumber &&
                this.Data.LalaOneFinalNumber == this.Data.LalaThreeFinalNumber)
            {
                // all three match!
                this.UpdateSleep(target, Enums.KeybindAction.EmoteCheer);
            }
            else if (this.Data.LalaOneFinalNumber == this.Data.LalaTwoFinalNumber ||
                     this.Data.LalaOneFinalNumber == this.Data.LalaThreeFinalNumber ||
                     this.Data.LalaTwoFinalNumber == this.Data.LalaThreeFinalNumber)
            {
                // at least two match
                this.UpdateSleep(target, Enums.KeybindAction.EmoteThumbs);
            }
            else
            {
                // none of the numbers match. unlucky.
                this.UpdateSleep(target, Enums.KeybindAction.EmoteFume);
            }
        }
예제 #2
0
        public override void Update(TargetLala target, Enums.KeybindAction act, int kbWaitInMs = 50)
        {
            GameUpdate newUpdate = new GameUpdate();

            newUpdate.Assign(this.Type, target, act, this.Data, this.State, kbWaitInMs);
            base.UpdateSystem(newUpdate);
        }
예제 #3
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;
 }
예제 #4
0
 private void UpdateSleep(TargetLala target, Enums.KeybindAction act)
 {
     this.Update(target, act);
     Thread.Sleep(1500);
 }
예제 #5
0
 abstract public void Update(TargetLala target, Enums.KeybindAction action, int kbWaitInMs);
예제 #6
0
 public FullLalaDataObject(TargetLala target)
 {
     this.Target = target;
     this.Worker = new BackgroundWorker();
 }
예제 #7
0
 private void LalaAnimationsEnded(TargetLala target, Enums.KeybindAction act)
 {
     this.UpdateSleep(target, act);
 }