예제 #1
0
        public static JoinMember upWage(JoinMember member)
        {
            JoinMember updatedMember = new JoinMember();

            updatedMember.Name       = member.Name;
            updatedMember.Username   = member.Username;
            updatedMember.BetWage    = member.BetWage + Constants.UP_WAGE;
            updatedMember.wageUpVote = false;
            return(updatedMember);
        }
예제 #2
0
        public static JoinMember save()
        {
            JoinMember member = new JoinMember();

            member.Name       = AuthUser.Instance.Name;
            member.Username   = AuthUser.Instance.Username;
            member.BetWage    = AuthUser.Instance.BetWage;
            member.wageUpVote = AuthUser.Instance.wageUpVote;
            return(member);
        }