房间刷新修复
|
|
@ -663,7 +663,14 @@ function M:UpdateFamilyRoom(fgCtr, id)
|
|||
roomName = string.format("(%s)%s", playList[newIndex].game_name, roomName)
|
||||
obj:GetChild('game_type').text = roomName
|
||||
obj:GetChild('btn_joinGame'):GetController('type').selectedIndex = 0
|
||||
obj:GetController('type').selectedIndex = 0
|
||||
obj:GetController('num').selectedIndex = playList[newIndex].maxPlayers - 2
|
||||
obj:GetChild('Label_joinPlayers').text = ""
|
||||
for i = 1, 4 do
|
||||
local btn = obj:GetChild(string.format("player%d", i))
|
||||
btn:GetChild("icon").url = "ui://Family/btn_mainGameNumberHead"
|
||||
--ImageLoad.Load("ui://Family/btn_mainGameNumberHead", obj:GetChild(string.format("player%d", i))._iconObject)
|
||||
end
|
||||
obj:GetChild('btn_joinGame').onClick:Set(function()
|
||||
roomCtr:PublicJoinRoom(
|
||||
Protocol.WEB_FG_MATCH_ROOM,
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
<image id="jrro7cy5" name="btn_mainListStart.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cy6" name="btn_mainListOn.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cy7" name="btn_mainListJoin.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cy8" name="btn_mainGameNumberHead.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cy8" name="btn_mainGameNumberHead.png" path="/Main/Image/" exported="true"/>
|
||||
<image id="jrro7cy9" name="btn_hideRoom.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cya" name="btn_familyName_on.png" path="/Main/Image/"/>
|
||||
<image id="jrro7cyb" name="btn_familyName_off.png" path="/Main/Image/"/>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 4.8 MiB After Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 716 KiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 484 KiB |
|
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 1.4 MiB |