public PWClient(Process process, DTO.Configuration.Cuenta config, DAL.CuentaConfig dbConfig) { this.Process = process; this.Config = config; this.dbConfig = dbConfig; this.dbConfig.OnHideWinChatChanged += (sender, e) => { this.Action.Global.ShowWin(!e, BLL.Mem.Basic.GUIObj.GUIs.WinChat); }; this.Manager = new YerbaSoft.Windows.API.ProcessManager(this.Process); this.Mem = new Mem.PWMem(this); this.Auto = new Auto.AutoManager(this); this.Action = new Actions.PWActions(this); this.Mem.OnConnect += (sender, e) => { if (!e) { this.Dispose(); } }; // solo se dispara cuando se logró conectar alguna vez y se desconecta this.Mem.Link.OnPlayerConnect += (sender, e) => { if (e) { new Thread(() => { Thread.Sleep(3000); this.Action.Global.ShowWin(!this.dbConfig.HideWinChat, BLL.Mem.Basic.GUIObj.GUIs.WinChat); }).Start(); } }; }
public ActionsGlobal(PWActions actions) { this.Actions = actions; }
public ActionsInteract(PWActions actions) { this.Actions = actions; }
public ActionsMove(PWActions actions) { this.Actions = actions; }
public ActionsParty(PWActions actions) { this.Actions = actions; }
public ActionsSkills(PWActions actions) { this.Actions = actions; }
public ActionsCamara(PWActions actions) { this.Actions = actions; }