Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 public bool Register(Author author)
 {
     return(RegisterProxy.Register(author));
 }
Ejemplo n.º 3
0
 public bool Register(Client client)
 {
     return(RegisterProxy.Register(client));
 }