You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
519 B

  1. local Mahjong3DGroupChi = MJFramework.MJFrameworkClassImprot("mj.luaScript.Common.3d.Mahjong3DGroupChi")
  2. local GroupChi3D = class("GroupChi3D", Mahjong3DGroupChi)
  3. function GroupChi3D:ctor(...)
  4. GroupChi3D.super.ctor(self, ...)
  5. end
  6. function GroupChi3D:customRefresh(groupData)
  7. GroupChi3D.super.customRefresh(self, groupData)
  8. local mjCards = self:getCards();
  9. if mjCards and mjCards[4] then
  10. self:refreshCardNum(mjCards[4], groupData.cardNum or 0);
  11. return;
  12. end
  13. end
  14. return GroupChi3D