888协议字符串改为数字
parent
4034adec8e
commit
0d39226ccb
|
|
@ -45,7 +45,7 @@ local __pre_delete_card = false
|
|||
-------------------------lingmeng---------------------------
|
||||
function M:SendNextCard(card)
|
||||
local _data = {}
|
||||
_data["card"] = card
|
||||
_data["card"] = tonumber(card)
|
||||
local _client = ControllerManager.GameNetClinet
|
||||
_client:send(TX_Protocol.GAME_NEXT_CARD, _data)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ function M:InitView(url)
|
|||
self._gps_style = 1
|
||||
self._full = true
|
||||
UIPackage.AddPackage("extend/majiang/lichuan/ui/Extend_MJ_LiChuan")
|
||||
MJMainView.InitView(self, "ui://Main_Majiang/Main_new_" .. room.room_config.people_num)
|
||||
MJMainView.InitView(self, string.format("ui://Main_Majiang/Main_new_%d_jiangxi", room.room_config.people_num))
|
||||
self._hu_tip = HuTipView.new(self)
|
||||
|
||||
self._view:GetChild('wanfa_text').text = room.room_config.people_num .. '人黎川麻将 ' .. room.score_times .. '倍'
|
||||
|
|
@ -40,11 +40,12 @@ function M:InitView(url)
|
|||
|
||||
--lingmeng
|
||||
---[[
|
||||
MJMainView.InitView(self, "ui://Main_Majiang/Main_new_" .. room.room_config.people_num)
|
||||
|
||||
--]]
|
||||
self.jing = self._view:GetChild('jing')
|
||||
|
||||
self._state.onChanged:Add(function()
|
||||
print("==============================UpdatePlayerInfoView1")
|
||||
self:UpdatePlayerInfoView()
|
||||
end)
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue