黎川胡类型和胡提示

master
罗家炜 2025-04-10 11:19:20 +08:00
parent 8c9abac1d2
commit 870a35a385
485 changed files with 6342 additions and 336 deletions

View File

@ -13,7 +13,7 @@ function LoginController.new()
end end
local _LocalConfigAllGame = { local _LocalConfigAllGame = {
10, 10, 33,
66, 86, 87, 88, 89 66, 86, 87, 88, 89
} }

View File

@ -13,7 +13,7 @@ local _isInit = false
local function __new_config(data) local function __new_config(data)
local ec = reimport(data.bundle .. ".ExtendConfig") local ec = reimport(data.bundle .. ".ExtendConfig")
--print("初始化ExtendManager===>>>"..data.bundle) print("初始化ExtendManager===>>>" .. data.bundle)
--pt(data) --pt(data)
local config = ec.new() local config = ec.new()
ec.game_data = data ec.game_data = data
@ -22,8 +22,6 @@ local function __new_config(data)
end end
function ExtendManager.Init(game_list) function ExtendManager.Init(game_list)
print("==========================================================ExtendManager")
pt(game_list)
if _isInit then return end if _isInit then return end
for i = 1, #game_list do for i = 1, #game_list do
local game = game_list[i] local game = game_list[i]
@ -35,7 +33,6 @@ end
-- 更新扩展玩法到最新数据 -- 更新扩展玩法到最新数据
function ExtendManager.UpdateExtend(data) function ExtendManager.UpdateExtend(data)
print("==========================================xtendManager.UpdateExtend")
if not data then return end if not data then return end
local tem = _extendMap[data.game_id] local tem = _extendMap[data.game_id]
if tem and (not GameApplication.Instance.buildApp) then if tem and (not GameApplication.Instance.buildApp) then

View File

@ -26,8 +26,6 @@ function M:init(url)
local view = self._view local view = self._view
local fgCtr = ControllerManager.GetController(NewGroupController) local fgCtr = ControllerManager.GetController(NewGroupController)
self.list_room = self._view:GetChild('list_room')
local createOrJoin = view:GetController('createOrJoin') local createOrJoin = view:GetController('createOrJoin')
self.familyType = view:GetController('familyType') self.familyType = view:GetController('familyType')
local btn_close = view:GetChild('btn_close') local btn_close = view:GetChild('btn_close')
@ -290,7 +288,7 @@ function M:ConnetFamilyRoom(fgCtr, id)
end end
function M:UpdateFamilyRoom(fgCtr, id) function M:UpdateFamilyRoom(fgCtr, id)
local list_room = self.list_room local list_room = self._view:GetChild('list_room')
list_room:SetVirtual() list_room:SetVirtual()
local list_gamePlay = self._view:GetChild('list_gamePlay') local list_gamePlay = self._view:GetChild('list_gamePlay')
list_gamePlay:SetVirtual() list_gamePlay:SetVirtual()
@ -308,26 +306,25 @@ function M:UpdateFamilyRoom(fgCtr, id)
print("=========================playList,rooms") print("=========================playList,rooms")
pt(playList) pt(playList)
pt(roomList) pt(roomList)
local roomCtr = ControllerManager.GetController(RoomController)
list_room.itemRenderer = function(index, obj) list_room.itemRenderer = function(index, obj)
if index < #roomList then if index < #roomList then
local newIndex = index + 1 local newIndex = index + 1
local config = ExtendManager.GetExtendConfig(playGameInfoTable[roomList[newIndex].pid].gameId) -- local config = ExtendManager.GetExtendConfig(playGameInfoTable[roomList[newIndex].pid].gameId)
local mode = config:GetGameInfo() -- local mode = config:GetGameInfo()
local gamePlay = mode:LoadConfigToDetail(playGameInfoTable[roomList[newIndex].pid].config) -- local gamePlay = mode:LoadConfigToDetail(playGameInfoTable[roomList[newIndex].pid].config)
obj:GetChild('Label_gameRule').title = gamePlay -- obj:GetChild('Label_gameRule').title = gamePlay
obj:GetChild('game_type').text = string.format("%s房间-%s", playGameInfoTable[roomList[newIndex].pid].name, obj:GetChild('game_type').text = string.format("%s房间-%s", playGameInfoTable[roomList[newIndex].pid].name,
roomList[newIndex].id) roomList[newIndex].id)
obj:GetChild('btn_joinGame'):GetController('type').selectedIndex = 1 obj:GetChild('btn_joinGame'):GetController('type').selectedIndex = 1
obj:GetChild('btn_joinGame').onClick:Set(function() obj:GetChild('btn_joinGame').onClick:Set(function()
ViewUtil.ShowModalWait(self._root_view, "匹配房间中", 'join_room')
local roomCtr = ControllerManager.GetController(RoomController)
roomCtr:PublicJoinRoom( roomCtr:PublicJoinRoom(
Protocol.WEB_FG_JOIN_ROOM, Protocol.WEB_FG_JOIN_ROOM,
roomList[newIndex].id, roomList[newIndex].id,
false, false,
function(response) function(response)
ViewUtil.CloseModalWait('join_room')
if (response.ReturnCode == -1) then if (response.ReturnCode == -1) then
ViewUtil.ErrorMsg(self._root_view, response.ReturnCode, 'response.ReturnCode == -1')
-- RestartGame() -- RestartGame()
return return
end end
@ -337,6 +334,8 @@ function M:UpdateFamilyRoom(fgCtr, id)
-- ViewManager.ChangeView(ViewManager.View_Lobby) -- ViewManager.ChangeView(ViewManager.View_Lobby)
return return
else else
ViewUtil.ErrorMsg(self._root_view, response.ReturnCode, '进入房间成功')
ViewManager.ChangeView(ViewManager.View_Main, playGameInfoTable[roomList[newIndex].pid] ViewManager.ChangeView(ViewManager.View_Main, playGameInfoTable[roomList[newIndex].pid]
.gameId) .gameId)
end end
@ -347,24 +346,20 @@ function M:UpdateFamilyRoom(fgCtr, id)
end) end)
else else
local newIndex = index - #roomList + 1 local newIndex = index - #roomList + 1
local config = ExtendManager.GetExtendConfig(playList[newIndex].gameId) -- local config = ExtendManager.GetExtendConfig(playList[newIndex].gameId)
print("=======================================layList[newIndex].gameId", playList[newIndex].gameId) -- local mode = config:GetGameInfo()
local mode = config:GetGameInfo() -- local gamePlay = mode:LoadConfigToDetail(playList[newIndex].config)
local gamePlay = mode:LoadConfigToDetail(playList[newIndex].config) -- obj:GetChild('Label_gameRule').title = gamePlay
obj:GetChild('Label_gameRule').title = gamePlay
obj:GetChild('game_type').text = playList[newIndex].name obj:GetChild('game_type').text = playList[newIndex].name
obj:GetChild('btn_joinGame'):GetController('type').selectedIndex = 0 obj:GetChild('btn_joinGame'):GetController('type').selectedIndex = 0
obj:GetChild('btn_joinGame').onClick:Set(function() obj:GetChild('btn_joinGame').onClick:Set(function()
ViewUtil.ShowModalWait(self._root_view, "匹配房间中", 'join_room')
local roomCtr = ControllerManager.GetController(RoomController)
fgCtr:FG_ChangeFag(id, DataManager.SelfUser.acc, 777777, function()
roomCtr:PublicJoinRoom( roomCtr:PublicJoinRoom(
Protocol.WEB_FG_MATCH_ROOM, Protocol.WEB_FG_MATCH_ROOM,
"", "",
true, true,
function(response) function(response)
ViewUtil.CloseModalWait('join_room')
if (response.ReturnCode == -1) then if (response.ReturnCode == -1) then
ViewUtil.ErrorMsg(self._root_view, response.ReturnCode, 'response.ReturnCode == -1')
-- RestartGame() -- RestartGame()
return return
end end
@ -381,7 +376,6 @@ function M:UpdateFamilyRoom(fgCtr, id)
playList[newIndex].id playList[newIndex].id
) )
end) end)
end)
end end
end end
list_gamePlay.itemRenderer = function(index, obj) list_gamePlay.itemRenderer = function(index, obj)
@ -410,8 +404,10 @@ function M:UpdateFamilyRoom(fgCtr, id)
end) end)
end) end)
end end
print("=======================why", list_room.numItems, #playList, #roomList) local all_num = #playList + #roomList
list_room.numItems = #playList + #roomList print("=================================================list_room", list_room, list_room.numItems, all_num)
pt(list_room)
list_room.numItems = all_num
list_gamePlay.numItems = #playList + 1 list_gamePlay.numItems = #playList + 1
end end
@ -537,6 +533,7 @@ function M:OnUpdate()
self._group.update_room = false self._group.update_room = false
self._fristRoom = true self._fristRoom = true
end end
print("====================================UpdateFamilyRoom", fgCtr, self._group.id)
self:UpdateFamilyRoom(fgCtr, self._group.id) self:UpdateFamilyRoom(fgCtr, self._group.id)
end end
end end

View File

@ -98,6 +98,24 @@ function M:InitView(url)
ViewManager.ChangeView(ViewManager.View_Family) ViewManager.ChangeView(ViewManager.View_Family)
end) end)
-- self.groupMainView = GroupMainView.new(self._view:GetChild("group"), self._root_view, self._view)
-- --self.groupMainView:Show()
-- local btn_more_group = self._view:GetChild("btn_family")
-- btn_more_group.onClick:Set(function()
-- --self.groupMainView._view.visible = true
-- ViewUtil.ShowModalWait(self._root_view, "请稍等,获取牌友圈中...")
-- local enterGroupCallBackFunc = function(code)
-- ViewUtil.CloseModalWait()
-- if code == 0 then
-- self.groupMainView._view.visible = true
-- else
-- ViewUtil.ErrorTip(10000000, "获取牌友圈失败,请检查网络设置!")
-- printlog("获取圈子数据失败=======>>>>")
-- end
-- end
-- self.groupMainView:Show(nil, enterGroupCallBackFunc)
-- end)
-- local btn_createRoom = self._view:GetChild("btn_createRoom") -- local btn_createRoom = self._view:GetChild("btn_createRoom")
-- btn_createRoom.onClick:Add(function() -- btn_createRoom.onClick:Add(function()
-- local createPlayView = CreatePlayView.new() -- local createPlayView = CreatePlayView.new()

View File

@ -30,7 +30,7 @@ local function __NetTip(txt_msg)
if _currenView.UnmarkSelfTuoguan then if _currenView.UnmarkSelfTuoguan then
_currenView:UnmarkSelfTuoguan() _currenView:UnmarkSelfTuoguan()
end end
_curren_msg = BaseWindow.new("ui://Common/Win_ConnectTip",_currenView._root_view) _curren_msg = BaseWindow.new("ui://Common/Win_ConnectTip", _currenView._root_view)
local view = _curren_msg._view local view = _curren_msg._view
view:GetChild("tex_message").text = txt_msg view:GetChild("tex_message").text = txt_msg
view:GetChild("btn_connect").onClick:Set(function() view:GetChild("btn_connect").onClick:Set(function()
@ -56,7 +56,7 @@ local function __OnGameConnectAction(state)
--print("state:"..state) --print("state:"..state)
NetResetConnectWindow.CloseNetReset() NetResetConnectWindow.CloseNetReset()
if state == SocketCode.Connect then if state == SocketCode.Connect then
ViewManager.ChangeView(ViewManager.View_Main,DataManager.CurrenRoom.game_id) ViewManager.ChangeView(ViewManager.View_Main, DataManager.CurrenRoom.game_id)
return return
elseif state == SocketCode.DisconnectByServer then elseif state == SocketCode.DisconnectByServer then
__NetTip("网络断开连接!") __NetTip("网络断开连接!")
@ -78,7 +78,7 @@ function ViewManager.Init()
ControllerManager.OnGameConnect = __OnGameConnectAction ControllerManager.OnGameConnect = __OnGameConnectAction
ControllerManager.WebClient.holdCallback = function( response ) ControllerManager.WebClient.holdCallback = function(response)
if response.ReturnCode == Table_Error_code.ERR_LOGOUT then if response.ReturnCode == Table_Error_code.ERR_LOGOUT then
PlayerPrefs.DeleteKey("session_id") PlayerPrefs.DeleteKey("session_id")
PlayerPrefs.Save() PlayerPrefs.Save()
@ -97,7 +97,7 @@ function ViewManager.GetCurrenView()
return _currenView return _currenView
end end
function ViewManager.ChangeViewByClass(dview_class,callback) function ViewManager.ChangeViewByClass(dview_class, callback)
if (_currenView ~= nil) then if (_currenView ~= nil) then
if _currenView._close_destroy then if _currenView._close_destroy then
_currenView:Destroy() _currenView:Destroy()
@ -110,11 +110,14 @@ function ViewManager.ChangeViewByClass(dview_class,callback)
end end
end end
local tem = _viewMap[dview_class] local tem = _viewMap[dview_class]
if not tem then if not tem then
tem = dview_class.new() tem = dview_class.new()
tem._s_callback = callback tem._s_callback = callback
_viewMap[dview_class] = tem _viewMap[dview_class] = tem
end end
tem.Id = id tem.Id = id
tem.dview_class = dview_class tem.dview_class = dview_class
tem:Show() tem:Show()
@ -123,12 +126,15 @@ function ViewManager.ChangeViewByClass(dview_class,callback)
end end
local last_game_id = 0 local last_game_id = 0
function ViewManager.ChangeView(id,game_id,callback) function ViewManager.ChangeView(id, game_id, callback)
-- if id==2 then -- if id==2 then
-- printlog("cccccccccccccccccccccccccccccccc") -- printlog("cccccccccccccccccccccccccccccccc")
-- printlog(debug.traceback()) -- printlog(debug.traceback())
--- end --- end
local dview_class = _viewClassMap[id] local dview_class = _viewClassMap[id]
if not dview_class then if not dview_class then
if last_game_id ~= 0 and last_game_id ~= game_id then if last_game_id ~= 0 and last_game_id ~= game_id then
ExtendManager.GetExtendConfig(last_game_id):UnAssets() ExtendManager.GetExtendConfig(last_game_id):UnAssets()
@ -140,7 +146,7 @@ function ViewManager.ChangeView(id,game_id,callback)
if not dview_class then if not dview_class then
return return
end end
return ViewManager.ChangeViewByClass(dview_class,callback) return ViewManager.ChangeViewByClass(dview_class, callback)
end end
function ViewManager.OnApplicationPause() function ViewManager.OnApplicationPause()

View File

@ -29,8 +29,8 @@ local M = {}
--- Create a new CS_MainView --- Create a new CS_MainView
function M.new() function M.new()
setmetatable(M, { __index = MJMainView }) setmetatable(M,{__index = MJMainView})
local self = setmetatable({}, { __index = M }) local self = setmetatable({}, {__index = M})
self.class = "CS_MainView" self.class = "CS_MainView"
self.asset_group = "ChangSha_MJ" self.asset_group = "ChangSha_MJ"
self:init() self:init()
@ -45,12 +45,9 @@ function M:InitView(url)
self._gps_style = 1 self._gps_style = 1
self._full = true self._full = true
-- self.Fix_Msg_Chat = Fix_Msg_Chat -- self.Fix_Msg_Chat = Fix_Msg_Chat
UIPackage.AddPackage("extend/majiang/changsha/ui/Extend_MJ_ChangSha") UIPackage.AddPackage("extend/majiang/changsha/ui/Extend_MJ_ChangSha")
if self._room.room_config.people_num == 2 then MJMainView.InitView(self,"ui://Main_Majiang/Main_"..room.room_config.people_num .. "_s2")
MJMainView.InitView(self, "ui://Main_Majiang/Main_new_" .. room.room_config.people_num)
else
MJMainView.InitView(self, "ui://Main_Majiang/Main_" .. room.room_config.people_num .. "_s2")
end
@ -114,9 +111,9 @@ function M:EventInit()
end end
end) end)
_gamectr:AddEventListener(CS_GameEvent.SendCards, function(...) _gamectr:AddEventListener(CS_GameEvent.SendCards,function( ... )
local arg = { ... } local arg = {...}
self._tex_LeftCard.text = string.format("剩余%d张牌", arg[1]) self._tex_LeftCard.text = arg[1]
local info = self._player_card_info[1] local info = self._player_card_info[1]
info._player.auto_out_card = false info._player.auto_out_card = false
self:UpdateRound() self:UpdateRound()
@ -126,7 +123,6 @@ function M:EventInit()
local p = list[i] local p = list[i]
local info = self._player_info[self:GetPos(p.seat)] local info = self._player_info[self:GetPos(p.seat)]
info:FillData(p) info:FillData(p)
info:SetStartType(_room.room_config.people_num, p.seat)
info:MarkBank(p.seat == _room.banker_seat) info:MarkBank(p.seat == _room.banker_seat)
info:Ready(false) info:Ready(false)
local card_info = self._player_card_info[self:GetPos(p.seat)] local card_info = self._player_card_info[self:GetPos(p.seat)]
@ -188,7 +184,7 @@ function M:EventInit()
local arg = { ... } local arg = { ... }
local seat = arg[1] local seat = arg[1]
local card = arg[2] local card = arg[2]
self._tex_LeftCard.text = string.format("剩余%d张牌", arg[3]) self._tex_LeftCard.text = arg[3]
-- self:UpdateRoomInfo() -- self:UpdateRoomInfo()
local info = self._player_card_info[self:GetPos(seat)] local info = self._player_card_info[self:GetPos(seat)]
info:UpdateHandCard(true) info:UpdateHandCard(true)
@ -348,7 +344,7 @@ function M:EventInit()
if _room:checkHpNonnegative() then if _room:checkHpNonnegative() then
p.cur_hp = data[i].hp_info.cur_hp p.cur_hp = data[i].hp_info.cur_hp
end end
-- info:UpdateScore() info:UpdateScore()
info._view:GetChild("zhanji").visible = true info._view:GetChild("zhanji").visible = true
local num = data[i].hp_info.total_hp local num = data[i].hp_info.total_hp
if num > 0 then if num > 0 then
@ -456,9 +452,9 @@ function M:EventInit()
_gamectr:AddEventListener(CS_GameEvent.EvnetPiaoTip, function() _gamectr:AddEventListener(CS_GameEvent.EvnetPiaoTip, function()
self:UpdateRound() self:UpdateRound()
self._tex_LeftCard.text = "剩余0张牌" self._tex_LeftCard.text = "0"
self._state.selectedIndex = 1 self._state.selectedIndex = 1
if oldGameVersion == 1 then if oldGameVersion==1 then
self:__PiaoNiaoTip() self:__PiaoNiaoTip()
else else
self:__PiaoNiaoTip1() self:__PiaoNiaoTip1()
@ -520,13 +516,8 @@ function M:EventInit()
end end
function M:UpdateRound() function M:UpdateRound()
if self._room.room_config.people_num == 2 then
self._view:GetChild("text_round").text = string.format("当前局数:%d/%d", self._room.curren_round,
self._room.room_config.round)
else
self._view:GetChild("tex_round1").text = self._room.curren_round self._view:GetChild("tex_round1").text = self._room.curren_round
self._view:GetChild("tex_round2").text = self._room.room_config.round self._view:GetChild("tex_round2").text = self._room.room_config.round
end
end end
function M:InitPlayerInfoView() function M:InitPlayerInfoView()
@ -1115,7 +1106,7 @@ function M:ReloadRoom(bskip)
if bskip == nil or bskip == false then if bskip == nil or bskip == false then
self:UpdateCardBox(self:GetPos(room.curren_outcard_seat)) self:UpdateCardBox(self:GetPos(room.curren_outcard_seat))
self._tex_LeftCard.text = string.format("剩余%d张牌", room.left_count) self._tex_LeftCard.text = room.left_count
self:UpdateRound() self:UpdateRound()
end end
local me = room.self_player local me = room.self_player

View File

@ -1,15 +1,10 @@
local PlayerInfoView_copy = require("Game.View.PlayerInfoView copy")
local PlayerInfoView = require("Game.View.PlayerInfoView") local PlayerInfoView = require("Game.View.PlayerInfoView")
local M = {} local M = {}
function M.new(view, mainView) function M.new(view, mainView)
if mainView._room.room_config.people_num == 2 then setmetatable(M, {__index = PlayerInfoView})
setmetatable(M, { __index = PlayerInfoView_copy }) local self = setmetatable({}, {__index = M})
else
setmetatable(M, { __index = PlayerInfoView })
end
local self = setmetatable({}, { __index = M })
self._view = view self._view = view
self._main_view = mainView self._main_view = mainView
self:init() self:init()
@ -17,14 +12,10 @@ function M.new(view, mainView)
end end
function M:init() function M:init()
if self._main_view._room.room_config.people_num ~= 2 then
PlayerInfoView.init(self) PlayerInfoView.init(self)
self._tex_score = self._view:GetChild("info"):GetChild("tex_score1") self._tex_score = self._view:GetChild("info"):GetChild("tex_score1")
self._tex_score2 = self._view:GetChild("info"):GetChild("tex_score2") self._tex_score2 = self._view:GetChild("info"):GetChild("tex_score2")
self._ct_score = self._view:GetChild("info"):GetController("score") self._ct_score = self._view:GetChild("info"):GetController("score")
else
PlayerInfoView_copy.init(self)
end
end end
function M:ShowInteraction(type, str) function M:ShowInteraction(type, str)
@ -57,11 +48,8 @@ function M:UpdateRemainCard(card_num, hide)
end end
function M:FillData(player) function M:FillData(player)
if self._main_view._room.room_config.people_num == 2 then
PlayerInfoView_copy.FillData(self, player)
else
PlayerInfoView.FillData(self, player) PlayerInfoView.FillData(self, player)
end
end end
return M return M

View File

@ -32,7 +32,6 @@ local function CardPos(obj, area, oder, loc, offset)
end end
function M:UpdateHandCard(getcard, mp, opcard) function M:UpdateHandCard(getcard, mp, opcard)
print("nandaodaozhelil", getcard, mp, opcard)
-- mp 是否明牌 -- mp 是否明牌
-- 如果不明牌,但是有 opcard 表示是起手胡 -- 如果不明牌,但是有 opcard 表示是起手胡
getcard = getcard or false getcard = getcard or false
@ -74,8 +73,7 @@ function M:UpdateHandCard(getcard, mp, opcard)
if opnum ~= -1 then if opnum ~= -1 then
loc = CardPos(obj, self._area_handcard_list, oder, loc, offset) loc = CardPos(obj, self._area_handcard_list, oder, loc, offset)
else else
print("=======zhihoudaizheli", oder) ViewUtil.CardPos(obj, self._area_handcard_list, oder, i, offset)
ViewUtil.CardPos(obj, self._area_handcard_list, oder, i, offset, nil, -12)
end end
--改变左右两边的手牌的x值 --改变左右两边的手牌的x值
if self._current_card_type == 2 and (oder == AreaOderType.down_up or oder == AreaOderType.up_down) then if self._current_card_type == 2 and (oder == AreaOderType.down_up or oder == AreaOderType.up_down) then

View File

@ -6,15 +6,15 @@ local M = {}
--- Create a new GameController --- Create a new GameController
function M.new() function M.new()
setmetatable(M,{__index = GameController}) setmetatable(M, { __index = GameController })
local self = setmetatable({}, {__index = M}) local self = setmetatable({}, { __index = M })
self:init("南城麻将") self:init("南城麻将")
self.class = "TX_GameController" self.class = "TX_GameController"
return self return self
end end
function M:init(name) function M:init(name)
GameController.init(self,name) GameController.init(self, name)
self._eventmap[TX_Protocol.GAME_EVT_PLAYER_DEAL] = self.OnEventSendCards self._eventmap[TX_Protocol.GAME_EVT_PLAYER_DEAL] = self.OnEventSendCards
self._eventmap[TX_Protocol.GAME_EVT_CHANGE_ACTIVE_PLAYER] = self.OnEventTurn self._eventmap[TX_Protocol.GAME_EVT_CHANGE_ACTIVE_PLAYER] = self.OnEventTurn
@ -36,7 +36,6 @@ function M:init(name)
self._eventmap[TX_Protocol.GAME_EVT_GANGZI] = self.OnEventGangCards self._eventmap[TX_Protocol.GAME_EVT_GANGZI] = self.OnEventGangCards
self._eventmap[TX_Protocol.GAME_EVT_BUGANG] = self.OnEventBuGang self._eventmap[TX_Protocol.GAME_EVT_BUGANG] = self.OnEventBuGang
end end
local __pre_delete_card = false local __pre_delete_card = false
@ -51,11 +50,11 @@ function M:SendOutCard(card, callback)
-- 进行预删牌处理 -- 进行预删牌处理
local p = _room.self_player local p = _room.self_player
_room.curren_outcard_seat = -1 _room.curren_outcard_seat = -1
list_remove(p.card_list,card) list_remove(p.card_list, card)
table.sort(p.card_list, ViewUtil.HandCardSort) table.sort(p.card_list, ViewUtil.HandCardSort)
p.hand_left_count = p.hand_left_count - 1 p.hand_left_count = p.hand_left_count - 1
if not p.outcard_list then p.outcard_list = {} end if not p.outcard_list then p.outcard_list = {} end
p.outcard_list[#p.outcard_list+1] = card p.outcard_list[#p.outcard_list + 1] = card
__pre_delete_card = true __pre_delete_card = true
callback() callback()
end end
@ -67,11 +66,11 @@ function M:SendGangCard(card)
_client:send(TX_Protocol.GAME_EVT_DOGANG, _data) _client:send(TX_Protocol.GAME_EVT_DOGANG, _data)
end end
function M:OnEventGangCards(evt_data) function M:OnEventGangCards(evt_data)
printlog("OnEventGangCards") printlog("OnEventGangCards")
pt(evt_data) pt(evt_data)
DispatchEvent(self._dispatcher,TX_GameEvent.SendGangZi,evt_data["gangzi1"],evt_data["gangzi2"],evt_data["gangnum"],true ) DispatchEvent(self._dispatcher, TX_GameEvent.SendGangZi, evt_data["gangzi1"], evt_data["gangzi2"],
evt_data["gangnum"], true)
end end
function M:OnEventBuGang(evt_data) function M:OnEventBuGang(evt_data)
@ -110,7 +109,7 @@ function M:OnEventSendCards(evt_data)
--printlog(evt_data.laiziCard2Before) --printlog(evt_data.laiziCard2Before)
DispatchEvent(self._dispatcher,TX_GameEvent.SendGangZi,102,103,0,true ) DispatchEvent(self._dispatcher, TX_GameEvent.SendGangZi, 102, 103, 0, true)
@ -118,17 +117,19 @@ function M:OnEventSendCards(evt_data)
local handcards = evt_data["card_list"] local handcards = evt_data["card_list"]
local p = _room.self_player local p = _room.self_player
local seat = evt_data["bank_seat"] local seat = evt_data["bank_seat"]
local jing = evt_data["jing"]
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
_room.banker_seat = seat _room.banker_seat = seat
for i=1,#_room.player_list do _room.jing = jing
for i = 1, #_room.player_list do
_room.player_list[i].hand_left_count = 13 _room.player_list[i].hand_left_count = 13
_room.player_list[i].fz_list = {} _room.player_list[i].fz_list = {}
_room.player_list[i].card_list = {} _room.player_list[i].card_list = {}
end end
p.card_list = handcards p.card_list = handcards
self._room.self_player.hand_left_count = #handcards self._room.self_player.hand_left_count = #handcards
table.sort( handcards, ViewUtil.HandCardSort ) table.sort(handcards, ViewUtil.HandCardSort)
DispatchEvent(self._dispatcher,TX_GameEvent.SendCards, p) DispatchEvent(self._dispatcher, TX_GameEvent.SendCards, p)
end) end)
end end
@ -149,13 +150,12 @@ function M:OnEventOutCard(evt_data)
end end
p.hand_left_count = p.hand_left_count - 1 p.hand_left_count = p.hand_left_count - 1
if not p.outcard_list then p.outcard_list = {} end if not p.outcard_list then p.outcard_list = {} end
p.outcard_list[#p.outcard_list+1] = card p.outcard_list[#p.outcard_list + 1] = card
DispatchEvent(self._dispatcher,TX_GameEvent.OutCard, p, card) DispatchEvent(self._dispatcher, TX_GameEvent.OutCard, p, card)
end end
end) end)
end end
function M:OnEventTakeCard(evt_data) function M:OnEventTakeCard(evt_data)
local _room = self._room local _room = self._room
local seat = evt_data["seat"] local seat = evt_data["seat"]
@ -163,19 +163,19 @@ function M:OnEventTakeCard(evt_data)
local left_count = evt_data["left_count"] local left_count = evt_data["left_count"]
local p = _room:GetPlayerBySeat(seat) local p = _room:GetPlayerBySeat(seat)
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
p.hand_left_count = p.hand_left_count +1 p.hand_left_count = p.hand_left_count + 1
if (seat == _room.self_player.seat) then if (seat == _room.self_player.seat) then
_room.self_player.card_list[#_room.self_player.card_list+1] = card _room.self_player.card_list[#_room.self_player.card_list + 1] = card
-- table.sort( _room.self_player.card_list, ViewUtil.HandCardSort ) -- table.sort( _room.self_player.card_list, ViewUtil.HandCardSort )
end end
DispatchEvent(self._dispatcher,TX_GameEvent.GetCard, seat, card, left_count) DispatchEvent(self._dispatcher, TX_GameEvent.GetCard, seat, card, left_count)
end) end)
end end
function M:OnEventOutHint(evt_data) function M:OnEventOutHint(evt_data)
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
self._room.curren_outcard_seat = self._room.self_player.seat self._room.curren_outcard_seat = self._room.self_player.seat
DispatchEvent(self._dispatcher,TX_GameEvent.OutHint) DispatchEvent(self._dispatcher, TX_GameEvent.OutHint)
end) end)
end end
@ -183,7 +183,7 @@ function M:OnEventTurn(evt_data)
local seat = evt_data["seat"] local seat = evt_data["seat"]
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
-- self._room.curren_outcard_seat = seat -- self._room.curren_outcard_seat = seat
DispatchEvent(self._dispatcher,TX_GameEvent.EventTurn, seat) DispatchEvent(self._dispatcher, TX_GameEvent.EventTurn, seat)
end) end)
end end
@ -192,7 +192,7 @@ function M:OnEventFzTips(evt_data)
local tiplist = FZTipList.new() local tiplist = FZTipList.new()
local list = evt_data["tip_list"] local list = evt_data["tip_list"]
local weight = evt_data["weight"] local weight = evt_data["weight"]
for i=1,#list do for i = 1, #list do
local dtip = list[i] local dtip = list[i]
local tip = {} local tip = {}
tip.id = dtip["id"] tip.id = dtip["id"]
@ -209,7 +209,7 @@ function M:OnEventFzTips(evt_data)
-- end -- end
tiplist:AddTip(tip) tiplist:AddTip(tip)
end end
DispatchEvent(self._dispatcher,TX_GameEvent.FZTips, tiplist, weight) DispatchEvent(self._dispatcher, TX_GameEvent.FZTips, tiplist, weight)
end) end)
end end
@ -229,12 +229,12 @@ function M:OnEventFzAction(evt_data)
local index = -1 local index = -1
local ftype = type local ftype = type
if (ftype == FZType.Gang_Peng) then if (ftype == FZType.Gang_Peng) then
for i=1,#p.fz_list do for i = 1, #p.fz_list do
if (p.fz_list[i].card == card) then if (p.fz_list[i].card == card) then
p.fz_list[i].card = card p.fz_list[i].card = card
fz = p.fz_list[i] fz = p.fz_list[i]
fz.type = type fz.type = type
index = i -1 index = i - 1
break break
end end
end end
@ -245,20 +245,20 @@ function M:OnEventFzAction(evt_data)
fz.active_card = actice_card fz.active_card = actice_card
if (index == -1) then if (index == -1) then
if (ftype == FZType.Chi) then if (ftype == FZType.Chi) then
local data ={} local data = {}
data[1] = opcard[1] data[1] = opcard[1]
data[2] = card data[2] = card
data[3] = opcard[2] data[3] = opcard[2]
fz.opcard =data fz.opcard = data
end end
p.fz_list[#p.fz_list+1] = fz p.fz_list[#p.fz_list + 1] = fz
end end
fz.from_seat = from_seat fz.from_seat = from_seat
local remove_num = #opcard local remove_num = #opcard
if (p == _room.self_player) then if (p == _room.self_player) then
for i=1,remove_num do for i = 1, remove_num do
list_remove(p.card_list,opcard[i]) list_remove(p.card_list, opcard[i])
end end
end end
@ -266,10 +266,10 @@ function M:OnEventFzAction(evt_data)
if from_seat ~= p.seat then if from_seat ~= p.seat then
-- if (fz.Type == FZType.Chi) then card = actice_card end -- if (fz.Type == FZType.Chi) then card = actice_card end
local fp = _room:GetPlayerBySeat(from_seat) local fp = _room:GetPlayerBySeat(from_seat)
table.remove(fp.outcard_list,#fp.outcard_list) table.remove(fp.outcard_list, #fp.outcard_list)
end end
DispatchEvent(self._dispatcher,TX_GameEvent.FangziAction, fz, p, index) DispatchEvent(self._dispatcher, TX_GameEvent.FangziAction, fz, p, index)
end) end)
end end
@ -282,8 +282,9 @@ function M:OnEventHu(evt_data)
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
win_p.card_list = cards win_p.card_list = cards
table.sort( win_p.card_list, ViewUtil.HandCardSort) table.sort(win_p.card_list, ViewUtil.HandCardSort)
DispatchEvent(self._dispatcher,TX_GameEvent.ZPHuCard, evt_data["seat"], evt_data["from_seat"], win_card, cards, win_list) DispatchEvent(self._dispatcher, TX_GameEvent.ZPHuCard, evt_data["seat"], evt_data["from_seat"], win_card, cards,
win_list)
end) end)
end end
@ -302,15 +303,15 @@ function M:OneventResult1(evt_data)
p.hand_left_count = 0 p.hand_left_count = 0
p.outcard_list = {} p.outcard_list = {}
end end
DispatchEvent(self._dispatcher,TX_GameEvent.ZPResult1, result); DispatchEvent(self._dispatcher, TX_GameEvent.ZPResult1, result);
end) end)
elseif 1 == over or 2 == over then elseif 1 == over or 2 == over then
DataManager.CurrenRoom.Over = true DataManager.CurrenRoom.Over = true
ControllerManager.SetGameNetClient(nil,true) ControllerManager.SetGameNetClient(nil, true)
local total_result = evt_data.total_result local total_result = evt_data.total_result
local result = evt_data.result local result = evt_data.result
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
DispatchEvent(self._dispatcher,TX_GameEvent.ZPResult2, result, total_result, over); DispatchEvent(self._dispatcher, TX_GameEvent.ZPResult2, result, total_result, over);
end) end)
end end
end end
@ -318,13 +319,13 @@ end
-- function M:OnEventResult2(evt_data) -- function M:OnEventResult2(evt_data)
-- DataManager.CurrenRoom.Over = true -- DataManager.CurrenRoom.Over = true
-- ControllerManager.SetGameNetClient(nil,true) -- ControllerManager.SetGameNetClient(nil,true)
-- local info_list = evt_data["info_list"] -- local info_list = evt_data["info_list"]
-- if self._result ~= nil then -- if self._result ~= nil then
-- self._cacheEvent:Enqueue(function() -- self._cacheEvent:Enqueue(function()
-- self:OneventResult1(self._result) -- self:OneventResult1(self._result)
-- self._result = nil -- self._result = nil
-- end) -- end)
-- end -- end
-- self._cacheEvent:Enqueue(function() -- self._cacheEvent:Enqueue(function()
-- DispatchEvent(self._dispatcher,TX_GameEvent.ZPResult2, info_list) -- DispatchEvent(self._dispatcher,TX_GameEvent.ZPResult2, info_list)
-- ControllerManager.ChangeController(LoddyController) -- ControllerManager.ChangeController(LoddyController)
@ -335,7 +336,7 @@ function M:OnEventNiao(evt_data)
local list = evt_data["niao"] local list = evt_data["niao"]
local start_seat = evt_data["start_seat"] local start_seat = evt_data["start_seat"]
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
DispatchEvent(self._dispatcher,TX_GameEvent.EventNiao, list, start_seat) DispatchEvent(self._dispatcher, TX_GameEvent.EventNiao, list, start_seat)
end) end)
end end
@ -350,18 +351,18 @@ function M:OnEventPiaoTip()
self._room.curren_round = self._room.curren_round + 1 self._room.curren_round = self._room.curren_round + 1
end end
self._room.playing = true self._room.playing = true
DispatchEvent(self._dispatcher,TX_GameEvent.EvnetPiaoTip, evt_data) DispatchEvent(self._dispatcher, TX_GameEvent.EvnetPiaoTip, evt_data)
end) end)
end end
function M:OnEventPiao(evt_data) function M:OnEventPiao(evt_data)
self._cacheEvent:Enqueue(function() self._cacheEvent:Enqueue(function()
DispatchEvent(self._dispatcher,TX_GameEvent.EvnetPiao, evt_data.seat, evt_data.num) DispatchEvent(self._dispatcher, TX_GameEvent.EvnetPiao, evt_data.seat, evt_data.num)
end) end)
end end
function M:GetPosString( seat ) function M:GetPosString(seat)
if DataManager.CurrenRoom.room_config.people_num ~= 4 then return"" end if DataManager.CurrenRoom.room_config.people_num ~= 4 then return "" end
if seat == 1 then if seat == 1 then
return "" return ""
elseif seat == 2 then elseif seat == 2 then

View File

@ -42,6 +42,11 @@ function M:InitView(url)
self.Laizi2Btn.visible = true self.Laizi2Btn.visible = true
self.bugangnum = self._view:GetChild("bugangnum") self.bugangnum = self._view:GetChild("bugangnum")
if room.jing then
self.jing = self._view:GetChild('jing')
self.jing.visible = true
end
self:PlayerChangeLineState() self:PlayerChangeLineState()
if room.playing or room.curren_round > 0 then if room.playing or room.curren_round > 0 then

View File

@ -1,5 +1,5 @@
local PlayerInfoView = require("Game.View.PlayerInfoView") local PlayerInfoView = require("Game.View.PlayerInfoView")
local PlayerInfoView_copy = require("Game.View.PlayerInfoView copy") local PlayerInfoView_copy = require("Game.View.PlayerInfoView_copy")
local M = {} local M = {}

View File

@ -1,40 +1,15 @@
local CS_Win_Type = { local CS_Win_Type = {
"点炮", "点炮",
"自摸",
"十三烂",
"七星十三烂",
"碰碰胡",
"七小对",
"天胡",
"地胡",
"平胡", "平胡",
"小七对", "德国",
"一般高",
"七星",
"龙夹背",
"清大对",
"七星一般高",
"双龙夹背",
"三龙夹背",
"十老头",
"塘子十三ㄠ",
"塘子小七对",
"大对子",
"烂牌",
"一条龙",
"落地龙",
"混一色",
"庄家",
"清一色",
"字一色",
"抢杠胡", "抢杠胡",
"杠上开花", "杠上花",
"杠上炮",
"双杠花",
"双杠上炮",
"三杠花",
"三杠上炮",
"四杠花",
"四杠上炮",
"塘子七星",
"塘子一般高",
"塘子七星一般高",
"塘子烂牌",
"闲家",
"塘子胡",
} }
return CS_Win_Type return CS_Win_Type

View File

@ -38,6 +38,11 @@ function M:InitView(url)
self.Laizi2Btn.visible = true self.Laizi2Btn.visible = true
self.bugangnum = self._view:GetChild("bugangnum") self.bugangnum = self._view:GetChild("bugangnum")
if room.jing then
self.jing = self._view:GetChild('jing')
self.jing.visible = true
end
self:PlayerChangeLineState() self:PlayerChangeLineState()
if room.playing or room.curren_round > 0 then if room.playing or room.curren_round > 0 then

View File

@ -1,5 +1,5 @@
local PlayerInfoView = require("Game.View.PlayerInfoView") local PlayerInfoView = require("Game.View.PlayerInfoView")
local PlayerInfoView_copy = require("Game.View.PlayerInfoView copy") local PlayerInfoView_copy = require("Game.View.PlayerInfoView_copy")
local M = {} local M = {}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 09e5f1f2046e1f1488844d5aedf3e016
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View File

@ -0,0 +1,140 @@
fileFormatVersion: 2
guid: 200630aff1b5f2444a1bdc6d82042cdd
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName: base/lobby/bfa2f8e8a7a45399d8fd309acd4f9606
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ba5d6ab72bb05904e9397b846fc8b1f3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: fb4eec48dd4c2794cbc69296b5e20fe3
folderAsset: yes
timeCreated: 1550048807
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,98 @@
fileFormatVersion: 2
guid: 77102410aabdeef448ff19a968dd3db6
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: -3
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 2
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 2048
textureFormat: -1
textureCompression: 2
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 2048
textureFormat: 4
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
- buildTarget: Android
maxTextureSize: 2048
textureFormat: -1
textureCompression: 2
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Windows Store Apps
maxTextureSize: 2048
textureFormat: -1
textureCompression: 2
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ecf117c1ab207bc4eb52216ee3ce537e
timeCreated: 1550048927
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 95a8032caa2d0da4ab727b507078cb19
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 4091776cc8b9c6248a48a1fc459b82c6
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/ebd4405ddb092f2cd9ddbc23b268a3a7
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e2039d625a5029742b5fd243afff8783
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/bbc0156ea1265e7d4f602c7e1f53b1fc
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e8380c4d973d820419a2baa1f45c6a4d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/a81a87da9eced118ad5c279edec7a65d
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: c09ad59577535d440a45f395cdeb813f
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/41b7bc8deb264f5c7340db25beb0a420
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: b5e3f32008794d34fb7643b48134c8ff
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/a9fec591caaeb368d16854e43a689615
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 12810792e1bf14844a92d69d3fbb1566
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/dc8c9d8e4838cde53ce6a9a9e71aee37
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: d4cc134bef0f5d74090bd291f6c39260
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/bb7fe008fb12cf4054cd524df9dd96ec
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: f3db1d60ef1722e42ba7f3c9cef9869c
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/f0da863240c4e3e9f8a6a6fabc5fa310
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e01c760b3ddfbb9449eb4a0e1f793367
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/f0c5046cf008d25055114d0678aa7615
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: fb4f2d20e5b81744d9f4c0efa10a44e4
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/6a77a803a9818b69cffbacad12a002c9
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 6d27de53f91f74e449bb9b0e752704ee
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/0d78344975c7f61bb533a220ca9cefd6
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: ad0725f1318f99744af90e3f69e26038
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/577d3a9dbc42d1f52b1e585b64543bee
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: d2ad35655a9c60a4a97b3d501bde0275
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/cf21143a80ac896d123a1ddbab9bb612
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 546580dde56f3ab4394590096222a10c
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/aca9fb5eb1a440e47ea2acd316ae6c9f
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3abcc2831b9a37246ae62478406720ac
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/0066d22a5d972513c84f0c7a58b2bf39
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: dd7e1613c0a926547b4c1aa8306504fe
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/c999be89170b4391b90b913dae150088
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 844e1e15cd8ca5b4fbe4794e52fc6b84
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/7d3d86f2f120c859036adc4bf8eb819a
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 446d9ce48b6bea943998a4f0812c0d48
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/b02c1c0206ca1c2c28f5f2772445377d
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: de97feda2db6e5a44804513269adad2d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/bf7840729cde947d5c6cde98fea98652
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 9d43e14f6cafe55468ef38e444bef1c3
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/7dcf50c9911f2a362c7e7b3159b2893b
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 9af802128c30cff4a9d2270f5da23899
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/7ffa68b97a3fcda86cb5f85b912558aa
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3e8b8df635dc0eb4583f9313daaa7a2d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/5b5c61eefc2e75d9b55db6232e982d63
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: ccec79694b55c624d9af3d7b5a726abc
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/4496058b3bff9f56e631860a48dfdd73
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: f5da9aa53f09a9241a2cf8d369f99a1a
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/4797a7fcb16b7abb95c4527f44ed4207
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e5d1dec14307e0249ab83806f26f9692
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/5cb89f9fd2f2b922fda4fbeaf5834509
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3d2fa35a2d47dd343a7873f2027c0078
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/f5294baf7604a36441edf1b56f498f97
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3a40deede85c0d342b3640afdc5c72fd
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/39f25c9d160274ed4f71088824e20d43
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: aaa2ec7272a22d74aa714f1b3c8d1c95
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/cde05fbfd0539833668be846d66cc83a
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 05b795a55d8a716418a5cba0561179ee
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/4ffd180333440e19d7678f68b9ea721e
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: c9ff72865a1aa544e9c0d449f492b7f0
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/ebfa5c62aaf2e351604109b139466639
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 426590fc92efc4941a0f67e050316a48
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/0fe29e1c8680fcb4f63192e8ae06eebd
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: a8e5919aa47460a419178031ec12c63d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/3290bce82c9657d6d271b7d2faf665bf
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e6741cf447258de4bb63e783715ff7a0
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/a5f96cfa8b5759a7a78382181a3ce3b3
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 80333f4c2b85ee34381d7b72a38a268d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/8265a94ca0a64bb63edd07cdbc691c84
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: d290249d66edfcd4f89721401849d467
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/c53fd1198b5f09b76e43d57965ce8aee
assetBundleVariant:

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 7abcb2e170268e845aa269622f0de51b
folderAsset: yes
timeCreated: 1504147675
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: cfb6556c223410f4d882e42f27ee4fc4
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName: base/main_majiang/cfd1130710d794d8215918f51ec7c56e
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More