PlayerInfoItem.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import Define from '../common/Define';
  2. export default class PlayerInfoItem
  3. {
  4. constructor(openId,WXUserInfo,wChairID,currentScore,lv)
  5. {
  6. //this.seatId = seatid;
  7. this.openId = openId;
  8. this.wChairID = wChairID;
  9. this.currentScore = currentScore;
  10. this.WXUserInfo = WXUserInfo;
  11. this.lv = lv;
  12. this.wFaceID = 0;
  13. this.cbGender = Define.GENDER_MANKIND;
  14. this.dwCustomID = 0
  15. this.dwUserID = 0
  16. this.dwGameID = 0
  17. this.dwExperience = 0
  18. this.dwLoveLiness = 0
  19. this.szAccount = ""
  20. this.szNickName = ""
  21. this.szDynamicPass = ""
  22. this.lUserScore = 0 //--用户金币
  23. this.lUserIngot = 0 //--用户元宝
  24. this.lUserInsure= 0 //--银行存款
  25. this.dUserBeans = 0.0 //--游戏豆
  26. this.cbInsureEnabled = 0
  27. this.nLargeTrumpetCount = 0 // --大喇叭数量
  28. this.bIsAngentAccount = false
  29. this.cbLockMachine = 0
  30. this.lRoomCard = 0
  31. this.dwLockServerID = 0
  32. this.dwLockKindID = 0
  33. this.cbMemberOrder = 0
  34. this.szQQNumber = ""
  35. this.szEmailAddress = ""
  36. this.szSeatPhone =""
  37. this.szMobilePhone = ""
  38. this.szTrueName = ""
  39. this.szAddress = ""
  40. this.szPassportID = ""
  41. this.szSpreaderAccount = ""
  42. this.szSign = "此人很懒,没有签名"
  43. this.szRoomPasswd = ""
  44. this.wTableID = Define.INVALID_TABLE
  45. this.cbUserStatus = 0
  46. this.lGrade = 0
  47. this.dwWinCount = 0 //胜利盘数
  48. this.dwLostCount = 0 //失败盘数
  49. this.dwDrawCount = 0 //和局盘数
  50. this.dwFleeCount = 0 //逃跑盘数
  51. this.dwExperience = 0 //用户经验
  52. //新加的字段
  53. this.bIsAndroid=false //机器标识
  54. this.lScore=0 //用户分数
  55. this.lIngot=0 //用户元宝
  56. this.lLoveLiness =0 //用户魅力
  57. this.lIntegralCount =0 //积分总数(当前房间)
  58. }
  59. }