25.4.1.7
parent
9c80480996
commit
1e7356d57b
|
|
@ -100,7 +100,7 @@ function M:init(url)
|
||||||
fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res)
|
fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
self.familyType.selectedIndex = 1
|
self.familyType.selectedIndex = 1
|
||||||
self:ConnetFamily(1, groups, true)
|
self:ConnetFamily(1, DataManager.groups.groupList, true)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
@ -110,7 +110,7 @@ function M:init(url)
|
||||||
fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res)
|
fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
self.familyType.selectedIndex = 1
|
self.familyType.selectedIndex = 1
|
||||||
self:ConnetFamily(1, groups, true)
|
self:ConnetFamily(1, DataManager.groups.groupList, true)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
@ -283,8 +283,8 @@ function M:ChangeNumber(fgCtr, group_id, limit, num, minus_only, sort_type)
|
||||||
list_familyNumber.itemRenderer = function(index, obj)
|
list_familyNumber.itemRenderer = function(index, obj)
|
||||||
obj:GetChild('text_name').text = members[index + 1].nick
|
obj:GetChild('text_name').text = members[index + 1].nick
|
||||||
if self._lev ~= 3 then
|
if self._lev ~= 3 then
|
||||||
if members[index + 1].hp < 777777 then
|
if members[index + 1].hp < 777777000 then
|
||||||
fgCtr:FG_ChangeFag(group_id, members[index + 1].uid, members[index + 1].hp + 777777,
|
fgCtr:FG_ChangeFag(group_id, members[index + 1].uid, members[index + 1].hp + 777777000,
|
||||||
function(res)
|
function(res)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,10 @@ function M:FillData()
|
||||||
self._roundChoice = 3 -- 回合选项数
|
self._roundChoice = 3 -- 回合选项数
|
||||||
self._config = UIPackage.CreateObjectFromURL("ui://Info_MJ_NanCheng/Label_Detail_83")
|
self._config = UIPackage.CreateObjectFromURL("ui://Info_MJ_NanCheng/Label_Detail_83")
|
||||||
|
|
||||||
|
local jiangmaSlider = self._config:GetChild("n92")
|
||||||
|
jiangmaSlider.onChanged:Set(function()
|
||||||
|
self._config:GetChild("n93").text = string.format("奖%s马", Mathf.Round(jiangmaSlider.value))
|
||||||
|
end)
|
||||||
-- if oldGameVersion == 2 then
|
-- if oldGameVersion == 2 then
|
||||||
-- self._config:GetController("xipai").selectedIndex = 0
|
-- self._config:GetController("xipai").selectedIndex = 0
|
||||||
|
|
||||||
|
|
@ -110,8 +114,7 @@ function M:SelectedConfigData()
|
||||||
local zhuanwan = _config:GetController("ZhuanWan").selectedIndex
|
local zhuanwan = _config:GetController("ZhuanWan").selectedIndex
|
||||||
local jiahu = _config:GetController("JiaHu").selectedIndex
|
local jiahu = _config:GetController("JiaHu").selectedIndex
|
||||||
|
|
||||||
|
local jiangma = Mathf.Round(_config:GetChild("n92").value)
|
||||||
local jiangma = _config:GetChild("n92").value
|
|
||||||
|
|
||||||
local xi_pai = false
|
local xi_pai = false
|
||||||
local xi_paifen = 0
|
local xi_paifen = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue