Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

28 lignes
674 B

  1. local gulinFunctions=ZPFramework.ZPFrameworkClassImprot("zp_base.luaScript.ZPFunctions")
  2. --获取小家是否可以看牌
  3. function gulinFunctions.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. --获取是否有圈牌
  14. function gulinFunctions.getIsHaveQuanCard()
  15. local roomInfo = app.room.roomInfo;
  16. local jsonInfo = json.decode(roomInfo.strGameInfo)
  17. if jsonInfo then
  18. if getNumBand(jsonInfo.specialRule,0x0400) > 0 then
  19. return true
  20. end
  21. end
  22. return false
  23. end
  24. return gulinFunctions