您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
720 B

  1. local xuyongFunctions=ZPFramework.ZPFrameworkClassImprot("zp_base.luaScript.ZPFunctions")
  2. --获取小家是否可以看牌
  3. function xuyongFunctions.getLittleIsCanLookCard()
  4. local roomInfo = app.room.roomInfo;
  5. local jsonInfo = json.decode(roomInfo.strGameInfo)
  6. if jsonInfo then
  7. if getNumBand(jsonInfo.specialRule,0x0020) > 0 then
  8. return true
  9. end
  10. end
  11. return false
  12. end
  13. --获取是否有圈牌 固定返回true
  14. function xuyongFunctions.getIsHaveQuanCard()
  15. local roomInfo = app.room.roomInfo;
  16. local jsonInfo = json.decode(roomInfo.strGameInfo)
  17. if jsonInfo and jsonInfo.specialRule then
  18. if getNumBand(jsonInfo.specialRule,0x0400) > 0 then
  19. return true
  20. end
  21. end
  22. return true
  23. end
  24. return xuyongFunctions