private static void InitializeKeyActions(KeyActions keyActions, params KeyAction[] listKeyAction) { var list = listKeyAction.ToList(); keyActions.Sequence.ForEach(a => { list.ForEach(l => { if (a.Name == l.Name) { a.Key = l.Key; } }); }); }
private static void InitializeKeyActions(KeyActions keyActions, params KeyAction[] listKeyAction) { var list = listKeyAction.ToList(); keyActions.Sequence.ForEach(a => { list.ForEach(l => { if (a.Name == l.Name) { a.Key = l.Key; a.DelayAfterCast = l.DelayAfterCast; a.WaitForGCD = l.WaitForGCD; a.PressDuration = l.PressDuration; a.Cooldown = l.Cooldown; } }); }); }