public override void Execute(INotification notification) { string data = notification.Body as string; MachineCodeProxy codeProxy = (MachineCodeProxy)LoginFade.GetInstance().RetrieveProxy(MachineCodeProxy.NAME); codeProxy.CodeSubmit(data); }
public override void Execute(INotification notification) { Dictionary <string, string> dic = notification.Body as Dictionary <string, string>; string userName = dic["username"].ToString(); string password = dic["password"].ToString(); LoginProxy levelProxy = (LoginProxy)LoginFade.GetInstance().RetrieveProxy(LoginProxy.NAME); levelProxy.ToLogin(userName, password); }
public override void Execute(INotification notification) { Dictionary <string, string> dic = notification.Body as Dictionary <string, string>; string telephone = dic["telephone"].ToString(); string password = dic["password"].ToString(); string name = dic["nickName"].ToString(); string icon = dic["icon"].ToString(); string checkCode = dic["checkCode"].ToString(); string userType = dic["userType"].ToString(); // NGUIDebug.Log(LoginFade.GetInstance().RetrieveProxy(RegisterProxy.NAME)); RegisterProxy registerProxy = (RegisterProxy)LoginFade.GetInstance().RetrieveProxy(RegisterProxy.NAME); registerProxy.Register(telephone, password, name, icon, checkCode, userType); }
private void Start() { LoginFade.GetInstance().StartUp(gameObject); LoginerrorMessage.text = ""; }