Beispiel #1
0
        private void updateXP()
        {
            currentUserDetail = pyApiUpdateXP.pyUpdateXP(currentUser.UserID, gainingXP);
            pyApiGenerateUserInfo pa = new pyApiGenerateUserInfo();

            calculateXPtoLevel();
            currentUserInfo   = pa.ApiGenerateUserInfo(currentUser);
            lblXPtoPoint.Text = currentUserDetail.UserXP.ToString();
            lblLevelName.Text = currentUserInfo.UserLevelInfo.LevelName;
            updateXPtoWidth();
        }
Beispiel #2
0
        private UserInfo findUserInfo(User myUser)
        {
            pyApiGenerateUserInfo pa = new pyApiGenerateUserInfo();

            return(pa.ApiGenerateUserInfo(myUser));
        }