import Define from '../common/Define';

export default class PlayerInfoItem
{
    constructor(openId,WXUserInfo,wChairID,currentScore,lv)
    {
        //this.seatId = seatid;
        this.openId = openId;
        this.wChairID = wChairID;
        this.currentScore = currentScore;
        this.WXUserInfo = WXUserInfo;
        this.lv = lv;
        this.wFaceID = 0;
        this.cbGender = Define.GENDER_MANKIND;
        this.dwCustomID = 0
        this.dwUserID = 0
        this.dwGameID = 0
        this.dwExperience = 0
        this.dwLoveLiness = 0
        this.szAccount = ""
        this.szNickName = ""
        this.szDynamicPass = ""
        this.lUserScore = 0 //--用户金币
        this.lUserIngot = 0 //--用户元宝
        this.lUserInsure= 0 //--银行存款
        this.dUserBeans = 0.0 //--游戏豆
      
        this.cbInsureEnabled	= 0	
        this.nLargeTrumpetCount	 = 0 //	--大喇叭数量	
        this.bIsAngentAccount = false
        this.cbLockMachine = 0
        this.lRoomCard = 0
        this.dwLockServerID = 0
        this.dwLockKindID = 0
        this.cbMemberOrder = 0
        this.szQQNumber =  ""
        this.szEmailAddress = ""
        this.szSeatPhone =""
        this.szMobilePhone = ""
        this.szTrueName = ""
        this.szAddress = ""
        this.szPassportID = ""
        this.szSpreaderAccount = ""
        this.szSign = "此人很懒，没有签名"
        this.szRoomPasswd = ""

        this.wTableID		= Define.INVALID_TABLE
        this.cbUserStatus 	= 0
    
        this.lGrade			= 0
    
        this.dwWinCount		= 0   //胜利盘数
        this.dwLostCount	= 0   //失败盘数
        this.dwDrawCount	= 0   //和局盘数
        this.dwFleeCount	= 0   //逃跑盘数
        this.dwExperience	= 0   //用户经验

        //新加的字段
        this.bIsAndroid=false     //机器标识
        this.lScore=0             //用户分数
        this.lIngot=0             //用户元宝
        this.lLoveLiness    =0    //用户魅力
        this.lIntegralCount =0    //积分总数(当前房间)


    }
}
