예제 #1
0
    public void Show(IUInfoModel uinfoModel, MSG_GP_USER_GetUserInfoBack userbaseInfo)
    {
        gameObject.SetActive(true);

        UserNameLabel.text = uinfoModel.GetUserName();     //用户账号

        UIDLabel.text = uinfoModel.GetUserID().ToString(); //用户ID

        QQLabel.text = userbaseInfo.GetQQNum();            //用户QQ

        UpperQQLabel.text = userbaseInfo.GetAgencyQQNum(); //上线QQ

        double d = uinfoModel.GetMoney() * 1.0 / 100;

        CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d);        //彩票余额

        d = uinfoModel.GetGold() * 1.0 / 100;
        QiPaiYuELabel.text = String.Format("¥{0:0.00}", d);                          //棋牌余额

        CaiPiaoFanDianLabel.text = String.Format("{0:0.00}%", uinfoModel.GetCpFd()); //彩票返点

        d = uinfoModel.GetQpFd() * 3 * 1.0 / 100;
        QiPaiFanDianLabel.text = String.Format("{0:0.00}%", d);    //棋牌返点

        lastLoginIpLabel.text = uinfoModel.GetLastLoginIp();       //上次登录ips

        lastLoginTimeLabel.text = uinfoModel.GetLastLoginTime();   //上次登录时间

        currLoginIpLabel.text = uinfoModel.GetCurrLoginIp();       //本次登录ip

        currLoginTimeLabel.text = uinfoModel.GetCurrLoginTime();   //本次登录时间
    }
예제 #2
0
    public void refresh(IUInfoModel umodel)
    {
        double d = umodel.GetMoney() * 1.0 / 100;

        CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d);        //彩票余额
        d = umodel.GetGold() * 1.0 / 100;
        YouXiYuELable.text = String.Format("¥{0:0.00}", d);
    }
예제 #3
0
파일: TiXianPanel.cs 프로젝트: blue0830/18k
    public void Show(MSG_GP_USER_GetUserInfoBack userbaseInfo, IUInfoModel uinfoModel)
    {
        gameObject.SetActive(true);

        BankNameLabel.text = userbaseInfo.GetBackName();        //您的银行

        BankCodeLabel.text = userbaseInfo.GetBackAccount();     //您的卡号

        BankAccountLabel.text = userbaseInfo.GetTrueName();     //您的姓名

        double d = uinfoModel.GetMoney() * 1.0 / 100;

        YuELabel.text = String.Format("¥{0:0.00}", d);         //账户余额
    }
예제 #4
0
파일: UserView.cs 프로젝트: blue0830/18k
    public void FillContent(IUInfoModel uinfoModel)
    {
        panelScript.UnameLabel.text = uinfoModel.GetUserName();
        panelScript.IdLabel.text    = uinfoModel.GetUserID().ToString();


        double d = uinfoModel.GetMoney() * 1.0 / 100;

        panelScript.MoneyLabel.text = String.Format("¥{0:0.00}", d);//彩票余额

        d = uinfoModel.GetGold() * 1.0 / 100;
        panelScript.GoldLabel.text = String.Format("¥{0:0.00}", d);//棋牌余额

        panelScript.uinfoModel = uinfoModel;
    }
예제 #5
0
    public void show(IUInfoModel umodel, int type)
    {
        gameObject.SetActive(true);

        double d = umodel.GetMoney() * 1.0 / 100;

        CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d);        //彩票余额

        d = umodel.GetGold() * 1.0 / 100;
        YouXiYuELable.text = String.Format("¥{0:0.00}", d);

        if (type == 1)
        {
            DuiHuanLeiXing.value = "兑换棋牌金额";
        }
        else
        {
            DuiHuanLeiXing.value = "兑换彩票金额";
        }
    }