コード例 #1
0
    public override void Execute(INotification noti)
    {
        Debug.Log("LoginCommand->Execute,处理'E_LOGIN'消息");

        switch (noti.Name)
        {
        case NotiConst.E_LOGIN:
            LoginProxy proxy = (LoginProxy)Facade.RetrieveProxy(LoginProxy.NAME);
            UserOV     obj   = (UserOV)noti.Body;
            proxy.SendLoginMsg(obj);
            break;

        default:
            break;
        }
    }