25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
658 B

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