亲友圈全部页面,登录动图
|
|
@ -6,8 +6,8 @@ local M = {}
|
||||||
|
|
||||||
--- Create a new LoginView
|
--- Create a new LoginView
|
||||||
function LoginView.new()
|
function LoginView.new()
|
||||||
setmetatable(M, {__index = BaseView})
|
setmetatable(M, { __index = BaseView })
|
||||||
local self = setmetatable({}, {__index = M})
|
local self = setmetatable({}, { __index = M })
|
||||||
self.class = "LoginView"
|
self.class = "LoginView"
|
||||||
self._full = true
|
self._full = true
|
||||||
self:init()
|
self:init()
|
||||||
|
|
@ -18,54 +18,53 @@ end
|
||||||
--@function [parent=#LoginView] init
|
--@function [parent=#LoginView] init
|
||||||
--@param self
|
--@param self
|
||||||
function M:init()
|
function M:init()
|
||||||
UIPackage.AddPackage("base/login/ui/Login")
|
UIPackage.AddPackage("base/login/ui/Login")
|
||||||
|
|
||||||
--UIPackage.AddPackage("UI/Card")
|
--UIPackage.AddPackage("UI/Card")
|
||||||
ViewUtil.PlaySoundBg()
|
ViewUtil.PlaySoundBg()
|
||||||
self:InitView("ui://Login/Main")
|
self:InitView("ui://Login/Main")
|
||||||
|
|
||||||
local view = self._view
|
local view = self._view
|
||||||
view:GetChild("tex_version").text = "Version:" .. GetGameInfoPlatform("version")
|
view:GetChild("tex_version").text = "Version:" .. GetGameInfoPlatform("version")
|
||||||
-- print(GameApplication.Instance.accountTest and 1 or 0)
|
-- print(GameApplication.Instance.accountTest and 1 or 0)
|
||||||
view:GetController("test").selectedIndex = GameApplication.Instance.accountTest and 1 or 0
|
view:GetController("test").selectedIndex = GameApplication.Instance.accountTest and 1 or 0
|
||||||
|
|
||||||
-- Utils.LoadBg("loginbg", view)
|
-- Utils.LoadBg("loginbg", view)
|
||||||
if GameApplication.Instance.accountTest then
|
if GameApplication.Instance.accountTest then
|
||||||
local json_data = Utils.LoadLocalFile("userId")
|
local json_data = Utils.LoadLocalFile("userId")
|
||||||
if json_data then
|
if json_data then
|
||||||
local _data = json.decode(json_data)
|
local _data = json.decode(json_data)
|
||||||
view:GetChild("tex_unionid").text = _data.userId
|
view:GetChild("tex_unionid").text = _data.userId
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
local _btn_login = view:GetChild("btn_wx")
|
local _btn_login = view:GetChild("btn_wx")
|
||||||
|
|
||||||
_btn_login.onClick:Add(function()
|
_btn_login.onClick:Add(function()
|
||||||
ViewUtil.ShowModalWait(self._root_view,"正在登录游戏...")
|
ViewUtil.ShowModalWait(self._root_view, "正在登录游戏...")
|
||||||
coroutine.start(function()
|
coroutine.start(function()
|
||||||
coroutine.wait(8)
|
coroutine.wait(8)
|
||||||
if self.isWXCallBackMark then
|
if self.isWXCallBackMark then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
ViewUtil.CloseModalWait()
|
ViewUtil.CloseModalWait()
|
||||||
ViewUtil.ErrorTip(10000,"微信登录失败!")
|
ViewUtil.ErrorTip(10000, "微信登录失败!")
|
||||||
|
end)
|
||||||
end)
|
|
||||||
if (not GameApplication.Instance.accountTest) then
|
if (not GameApplication.Instance.accountTest) then
|
||||||
GameApplication.Instance:WXLogin(handler(self,self.LoginCallBack))
|
GameApplication.Instance:WXLogin(handler(self, self.LoginCallBack))
|
||||||
else
|
else
|
||||||
--local ctr_user = view:GetController("user")
|
--local ctr_user = view:GetController("user")
|
||||||
|
|
||||||
local _tex_unionid = view:GetChild("tex_unionid")
|
local _tex_unionid = view:GetChild("tex_unionid")
|
||||||
|
|
||||||
local utez = _tex_unionid.text --.. (ctr_user.selectedIndex + 1)
|
local utez = _tex_unionid.text --.. (ctr_user.selectedIndex + 1)
|
||||||
|
|
||||||
local _data = {}
|
local _data = {}
|
||||||
_data["userId"] = utez
|
_data["userId"] = utez
|
||||||
local key = "userId"
|
local key = "userId"
|
||||||
local s,e = pcall(function()
|
local s, e = pcall(function()
|
||||||
Utils.SaveLocalFile(key,json.encode(_data))
|
Utils.SaveLocalFile(key, json.encode(_data))
|
||||||
end)
|
end)
|
||||||
if not s then
|
if not s then
|
||||||
print("Error:" .. e)
|
print("Error:" .. e)
|
||||||
end
|
end
|
||||||
|
|
@ -82,6 +81,8 @@ function M:init()
|
||||||
btn_phone.onClick:Set(function()
|
btn_phone.onClick:Set(function()
|
||||||
self:PhoneLogin()
|
self:PhoneLogin()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
self:InitClip()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:Destroy()
|
function M:Destroy()
|
||||||
|
|
@ -89,21 +90,23 @@ function M:Destroy()
|
||||||
self._agreement:Destroy()
|
self._agreement:Destroy()
|
||||||
end
|
end
|
||||||
BaseView.Destroy(self)
|
BaseView.Destroy(self)
|
||||||
|
coroutine.stop(self.donhua)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:Show()
|
function M:Show()
|
||||||
BaseView.Show(self)
|
BaseView.Show(self)
|
||||||
self:QuickLogin()
|
self:QuickLogin()
|
||||||
|
self:InitClip()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function __goto_lobby(response)
|
local function __goto_lobby(response)
|
||||||
if response.Data then
|
if response.Data then
|
||||||
local notices = response.Data.notice_list
|
local notices = response.Data.notice_list
|
||||||
if notices and #notices > 0 then
|
if notices and #notices > 0 then
|
||||||
local tem = {}
|
local tem = {}
|
||||||
tem.data = notices
|
tem.data = notices
|
||||||
tem.auto_show = true
|
tem.auto_show = true
|
||||||
DataManager.SelfUser.notices = tem
|
DataManager.SelfUser.notices = tem
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
ControllerManager.ChangeController(LoddyController)
|
ControllerManager.ChangeController(LoddyController)
|
||||||
|
|
@ -112,21 +115,21 @@ end
|
||||||
|
|
||||||
local function __join_room(roomid, res)
|
local function __join_room(roomid, res)
|
||||||
local loddyctr = ControllerManager.GetController(LoddyController)
|
local loddyctr = ControllerManager.GetController(LoddyController)
|
||||||
loddyctr:JoinRoom(roomid, function (res1)
|
loddyctr:JoinRoom(roomid, function(res1)
|
||||||
ViewUtil.CloseModalWait()
|
ViewUtil.CloseModalWait()
|
||||||
if res1.ReturnCode == -2 then
|
if res1.ReturnCode == -2 then
|
||||||
__join_room(roomid, res)
|
__join_room(roomid, res)
|
||||||
elseif res1.ReturnCode == 0 then
|
elseif res1.ReturnCode == 0 then
|
||||||
ViewManager.ChangeView(ViewManager.View_Main,DataManager.CurrenRoom.game_id)
|
ViewManager.ChangeView(ViewManager.View_Main, DataManager.CurrenRoom.game_id)
|
||||||
elseif res1.ReturnCode == 101 or res1.ReturnCode == 6 then
|
elseif res1.ReturnCode == 101 or res1.ReturnCode == 6 then
|
||||||
__goto_lobby(res)
|
__goto_lobby(res)
|
||||||
else
|
else
|
||||||
ViewUtil.ErrorTip(res1.ReturnCode,"登录失败!")
|
ViewUtil.ErrorTip(res1.ReturnCode, "登录失败!")
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function __login_response(self,response)
|
local function __login_response(self, response)
|
||||||
ViewUtil.CloseModalWait()
|
ViewUtil.CloseModalWait()
|
||||||
local skey = "session_id"
|
local skey = "session_id"
|
||||||
if (response.ReturnCode == 0) then
|
if (response.ReturnCode == 0) then
|
||||||
|
|
@ -134,89 +137,85 @@ local function __login_response(self,response)
|
||||||
-- if (user.guild) then
|
-- if (user.guild) then
|
||||||
ExtendManager.Destroy()
|
ExtendManager.Destroy()
|
||||||
|
|
||||||
local function f_enterLobby( ... )
|
local function f_enterLobby(...)
|
||||||
-- body
|
-- body
|
||||||
local _client = ControllerManager.WebClient
|
local _client = ControllerManager.WebClient
|
||||||
|
|
||||||
PlayerPrefs.SetString(skey,_client:getSession())
|
|
||||||
PlayerPrefs.Save()
|
|
||||||
|
|
||||||
ExtendManager.Init(user.games)
|
PlayerPrefs.SetString(skey, _client:getSession())
|
||||||
|
PlayerPrefs.Save()
|
||||||
local roomid = user.room_id
|
|
||||||
if (string.len(roomid) > 1) then
|
ExtendManager.Init(user.games)
|
||||||
if user.group_id == 0 then
|
|
||||||
ViewUtil.ShowModalWait(self._root_view,"正在加入房间...")
|
local roomid = user.room_id
|
||||||
__join_room(roomid, response)
|
if (string.len(roomid) > 1) then
|
||||||
return
|
if user.group_id == 0 then
|
||||||
end
|
ViewUtil.ShowModalWait(self._root_view, "正在加入房间...")
|
||||||
end
|
__join_room(roomid, response)
|
||||||
__goto_lobby(response)
|
return
|
||||||
|
end
|
||||||
|
end
|
||||||
|
__goto_lobby(response)
|
||||||
end
|
end
|
||||||
|
|
||||||
if user.update ~= 0 then
|
if user.update ~= 0 then
|
||||||
|
ExtendHotupdate.UpdateGameList(user.games, f_enterLobby)
|
||||||
ExtendHotupdate.UpdateGameList(user.games,f_enterLobby)
|
|
||||||
else
|
else
|
||||||
f_enterLobby()
|
f_enterLobby()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if(response.ReturnCode == Table_Error_code.ERR_SERVER or response.ReturnCode == Table_Error_code.ERR_LOGOUT) then
|
if (response.ReturnCode == Table_Error_code.ERR_SERVER or response.ReturnCode == Table_Error_code.ERR_LOGOUT) then
|
||||||
PlayerPrefs.DeleteKey(skey)
|
PlayerPrefs.DeleteKey(skey)
|
||||||
PlayerPrefs.Save()
|
PlayerPrefs.Save()
|
||||||
end
|
end
|
||||||
ViewUtil.ErrorTip(response.ReturnCode,"登录失败!")
|
ViewUtil.ErrorTip(response.ReturnCode, "登录失败!")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:PhoneLogin()
|
function M:PhoneLogin()
|
||||||
local _phoneView=nil
|
local _phoneView = nil
|
||||||
_phoneView = PhoneLoginView.new(function(res)
|
_phoneView = PhoneLoginView.new(function(res)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
_phoneView:Destroy()
|
_phoneView:Destroy()
|
||||||
end
|
end
|
||||||
__login_response(self,res)
|
__login_response(self, res)
|
||||||
end)
|
end)
|
||||||
_phoneView:Show()
|
_phoneView:Show()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function M:IDLogin()
|
function M:IDLogin()
|
||||||
local _idView=nil
|
local _idView = nil
|
||||||
_idView = IDLoginView.new(function(res)
|
_idView = IDLoginView.new(function(res)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
_idView:Destroy()
|
_idView:Destroy()
|
||||||
end
|
end
|
||||||
__login_response(self,res)
|
__login_response(self, res)
|
||||||
end)
|
end)
|
||||||
_idView:Show()
|
_idView:Show()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function M:QuickLogin()
|
function M:QuickLogin()
|
||||||
if (not GameApplication.Instance.accountTest) then
|
if (not GameApplication.Instance.accountTest) then
|
||||||
local session_id = PlayerPrefs.GetString("session_id")
|
local session_id = PlayerPrefs.GetString("session_id")
|
||||||
print("session_id:"..session_id)
|
print("session_id:" .. session_id)
|
||||||
if session_id and string.len(session_id) > 3 then
|
if session_id and string.len(session_id) > 3 then
|
||||||
ViewUtil.ShowModalWait(self._root_view,"正在登录游戏...")
|
ViewUtil.ShowModalWait(self._root_view, "正在登录游戏...")
|
||||||
local loginCtr = ControllerManager.GetController(LoginController)
|
local loginCtr = ControllerManager.GetController(LoginController)
|
||||||
loginCtr:QuickLogin(session_id,function(response)
|
loginCtr:QuickLogin(session_id, function(response)
|
||||||
__login_response(self,response)
|
__login_response(self, response)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M:LoginCallBack(result, data)
|
||||||
function M:LoginCallBack(result,data)
|
self.isWXCallBackMark = true
|
||||||
self.isWXCallBackMark=true
|
--print("微信登录返回================================================================")
|
||||||
--print("微信登录返回================================================================")
|
--print("result===>"..result)
|
||||||
--print("result===>"..result)
|
--pt(data)
|
||||||
--pt(data)
|
if (not result) or result ~= 0 then
|
||||||
if (not result) or result ~= 0 then
|
|
||||||
if result == 10 then
|
if result == 10 then
|
||||||
ViewUtil.ShowModalWait(self._root_view)
|
ViewUtil.ShowModalWait(self._root_view)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
ViewUtil.CloseModalWait()
|
ViewUtil.CloseModalWait()
|
||||||
return
|
return
|
||||||
|
|
@ -224,7 +223,7 @@ function M:LoginCallBack(result,data)
|
||||||
|
|
||||||
if data then
|
if data then
|
||||||
local jd = json.decode(data)
|
local jd = json.decode(data)
|
||||||
pt(jd)
|
pt(jd)
|
||||||
local headurl = jd["headimgurl"]
|
local headurl = jd["headimgurl"]
|
||||||
local unionid = jd["unionid"]
|
local unionid = jd["unionid"]
|
||||||
local sex = jd["sex"]
|
local sex = jd["sex"]
|
||||||
|
|
@ -235,17 +234,17 @@ function M:LoginCallBack(result,data)
|
||||||
DataManager.SelfUser.nick_name = nickname
|
DataManager.SelfUser.nick_name = nickname
|
||||||
DataManager.SelfUser.sex = sex
|
DataManager.SelfUser.sex = sex
|
||||||
DataManager.SelfUser.head_url = headurl
|
DataManager.SelfUser.head_url = headurl
|
||||||
if not DataManager.SelfUser.acc or string.len(DataManager.SelfUser.acc)<1 then
|
if not DataManager.SelfUser.acc or string.len(DataManager.SelfUser.acc) < 1 then
|
||||||
ViewUtil.CloseModalWait()
|
ViewUtil.CloseModalWait()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local loginCtr = ControllerManager.GetController(LoginController)
|
local loginCtr = ControllerManager.GetController(LoginController)
|
||||||
loginCtr:Login(function(response)
|
loginCtr:Login(function(response)
|
||||||
__login_response(self,response)
|
__login_response(self, response)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -254,4 +253,34 @@ function M:Destroy()
|
||||||
-- UIPackage.RemovePackage("base/embed/ui/Hotupdate")
|
-- UIPackage.RemovePackage("base/embed/ui/Hotupdate")
|
||||||
UIPackage.RemovePackage("base/login/ui/Login")
|
UIPackage.RemovePackage("base/login/ui/Login")
|
||||||
-- ResourcesManager.UnLoad("base/ui/Login.bytes")
|
-- ResourcesManager.UnLoad("base/ui/Login.bytes")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M:InitClip()
|
||||||
|
local yunqueEnd = 120
|
||||||
|
local yunqueName = "ui://Login/yunque_00"
|
||||||
|
local yunque = self._view:GetChild('clip_yueque')
|
||||||
|
local yunqueIndex = 0
|
||||||
|
|
||||||
|
local xuehuaEnd = 120
|
||||||
|
local xuehuaName = "ui://Login/xuehua_00"
|
||||||
|
local xuehua = self._view:GetChild('clip_xuehua')
|
||||||
|
local xuehuaIndex = 0
|
||||||
|
|
||||||
|
self.donhua = coroutine.start(
|
||||||
|
function()
|
||||||
|
while true do
|
||||||
|
yunqueIndex = self:ReplaceClip1(yunqueEnd, yunque, yunqueIndex, yunqueName)
|
||||||
|
xuehuaIndex = self:ReplaceClip1(xuehuaEnd, xuehua, xuehuaIndex, xuehuaName)
|
||||||
|
coroutine.wait(0.080)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
function M:ReplaceClip1(e, t, i, n)
|
||||||
|
if i > e then
|
||||||
|
i = 0
|
||||||
|
end
|
||||||
|
t.url = string.format("%s%03d", n, i)
|
||||||
|
return i + 2
|
||||||
|
end
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ function M:init(url, btn_type)
|
||||||
local item = lst_index:AddItemFromPool()
|
local item = lst_index:AddItemFromPool()
|
||||||
local title = page.title
|
local title = page.title
|
||||||
item:GetChild("title").text = title
|
item:GetChild("title").text = title
|
||||||
|
item:GetChild("title2").text = title
|
||||||
if i == 1 then
|
if i == 1 then
|
||||||
item.selected = true
|
item.selected = true
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,12 @@ MngPageConfig.Config = {
|
||||||
{
|
{
|
||||||
-- 盟主
|
-- 盟主
|
||||||
--{19, 16, 7, 3, 8, 9, 13, 17},
|
--{19, 16, 7, 3, 8, 9, 13, 17},
|
||||||
{ 19, 16, 7, 3, 8, 13, 17, 9, 22 },
|
{ 9, 17, 16, 7 },
|
||||||
-- 管理员
|
-- 管理员
|
||||||
--{19, 16, 7, 3, 8, 9, 13, 17},
|
--{19, 16, 7, 3, 8, 9, 13, 17},
|
||||||
{ 19, 16, 7, 3, 8, 13, 17, 9, 22 },
|
{ 9, 17, 16, 7 },
|
||||||
-- 合伙人
|
-- 合伙人
|
||||||
{ 19, 9, 7, 17 },
|
{ 17, 16, 7 },
|
||||||
--{19,16,7, 8,17,22},
|
--{19,16,7, 8,17,22},
|
||||||
-- 普通玩家
|
-- 普通玩家
|
||||||
--{9, 17},
|
--{9, 17},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ local TimeSettingPanel = {}
|
||||||
local M = TimeSettingPanel
|
local M = TimeSettingPanel
|
||||||
|
|
||||||
function TimeSettingPanel.new(parent, btn_date1, btn_date2, posX, posY, callback, flag)
|
function TimeSettingPanel.new(parent, btn_date1, btn_date2, posX, posY, callback, flag)
|
||||||
local self = setmetatable({}, {__index = M})
|
local self = setmetatable({}, { __index = M })
|
||||||
self.class = "TimeSettingPanel"
|
self.class = "TimeSettingPanel"
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.btn1 = btn_date1
|
self.btn1 = btn_date1
|
||||||
|
|
@ -12,7 +12,7 @@ function TimeSettingPanel.new(parent, btn_date1, btn_date2, posX, posY, callback
|
||||||
self.posX = posX or 0
|
self.posX = posX or 0
|
||||||
self.posY = posY or 0
|
self.posY = posY or 0
|
||||||
self.callback = callback
|
self.callback = callback
|
||||||
self.show_day = flag and 3 or 3
|
self.show_day = flag and 7 or 7
|
||||||
self:initView()
|
self:initView()
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
@ -26,10 +26,10 @@ local function initButton(self, btn_date, today)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:initView()
|
function M:initView()
|
||||||
local now_time = os.date("*t",now)
|
local now_time = os.date("*t", now)
|
||||||
local today = os.time({year=now_time.year, month=now_time.month, day=now_time.day, hour=0,min=0,sec=0})
|
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
|
||||||
initButton(self, self.btn1, today)
|
initButton(self, self.btn1, today)
|
||||||
initButton(self, self.btn2, today)
|
initButton(self, self.btn2, today)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:GetDate()
|
function M:GetDate()
|
||||||
|
|
@ -41,8 +41,8 @@ function M:GetDate()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:SetTenDay()
|
function M:SetTenDay()
|
||||||
local now_time = os.date("*t",now)
|
local now_time = os.date("*t", now)
|
||||||
local today = os.time({year=now_time.year, month=now_time.month, day=now_time.day, hour=0,min=0,sec=0})
|
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
|
||||||
local nine_day_ago = today - 86400 * 9
|
local nine_day_ago = today - 86400 * 9
|
||||||
self.btn1.data = nine_day_ago
|
self.btn1.data = nine_day_ago
|
||||||
self.btn1.title = os.date("%Y年%m月%d日", nine_day_ago)
|
self.btn1.title = os.date("%Y年%m月%d日", nine_day_ago)
|
||||||
|
|
@ -76,8 +76,8 @@ end
|
||||||
-- 显示日期
|
-- 显示日期
|
||||||
-- +/-2的原因是列表中需要两个看不见的组件
|
-- +/-2的原因是列表中需要两个看不见的组件
|
||||||
local function initList(lst, date, show_day)
|
local function initList(lst, date, show_day)
|
||||||
local now_time = os.date("*t",now)
|
local now_time = os.date("*t", now)
|
||||||
local today = os.time({year=now_time.year, month=now_time.month, day=now_time.day, hour=0,min=0,sec=0})
|
local today = os.time({ year = now_time.year, month = now_time.month, day = now_time.day, hour = 0, min = 0, sec = 0 })
|
||||||
lst:RemoveChildrenToPool()
|
lst:RemoveChildrenToPool()
|
||||||
local index = -1
|
local index = -1
|
||||||
local num = show_day - 1
|
local num = show_day - 1
|
||||||
|
|
@ -120,4 +120,4 @@ function M:ShowSetDatePanel(btn)
|
||||||
-- com_set_date.y = GRoot.inst.height - com_set_date.height - (GRoot.inst.height - self.parent.height) * 0.5 + self.posY
|
-- com_set_date.y = GRoot.inst.height - com_set_date.height - (GRoot.inst.height - self.parent.height) * 0.5 + self.posY
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ local RunFast_GameController = {}
|
||||||
local M = RunFast_GameController
|
local M = RunFast_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 = "RunFast_GameController"
|
self.class = "RunFast_GameController"
|
||||||
return self
|
return self
|
||||||
|
|
@ -47,13 +47,14 @@ function M:RegisterEvt()
|
||||||
--self._eventmap[RunFast_Protocol.RunFast_Oener] = self.Oener
|
--self._eventmap[RunFast_Protocol.RunFast_Oener] = self.Oener
|
||||||
-- self._eventmap[Protocol.GAME_EVT_PLAYER_JOIN] = self.OnEventPlayerEnter
|
-- self._eventmap[Protocol.GAME_EVT_PLAYER_JOIN] = self.OnEventPlayerEnter
|
||||||
self._eventmap[RunFast_Protocol.PT_GAMETUOGUAN] = self.Game_TuoGuan
|
self._eventmap[RunFast_Protocol.PT_GAMETUOGUAN] = self.Game_TuoGuan
|
||||||
|
|
||||||
self._eventmap[RunFast_Protocol.GAME_EVENT_XIPAI] = self.OnEventXiPai
|
self._eventmap[RunFast_Protocol.GAME_EVENT_XIPAI] = self.OnEventXiPai
|
||||||
self._eventmap[RunFast_Protocol.GAME_EVENT_NOTIFY_XIPAI] = self.OnEventXiPaiAnim
|
self._eventmap[RunFast_Protocol.GAME_EVENT_NOTIFY_XIPAI] = self.OnEventXiPaiAnim
|
||||||
|
|
||||||
self._eventmap[RunFast_Protocol.GAME_EVT_CARDINHAND] = self.OnPlaySuccCheckHandCard
|
self._eventmap[RunFast_Protocol.GAME_EVT_CARDINHAND] = self.OnPlaySuccCheckHandCard
|
||||||
|
self._eventmap[RunFast_Protocol.GAME_EVT_DANIAO_TIP] = self.OnDaNiao
|
||||||
end
|
end
|
||||||
|
|
||||||
-- function M:Oener(evt_data)
|
-- function M:Oener(evt_data)
|
||||||
-- local seat = evt_data["owner"]
|
-- local seat = evt_data["owner"]
|
||||||
-- self._cacheEvent:Enqueue(function()
|
-- self._cacheEvent:Enqueue(function()
|
||||||
|
|
@ -79,7 +80,7 @@ end
|
||||||
-- p.total_score=evt_data["score"]
|
-- p.total_score=evt_data["score"]
|
||||||
-- p.hp_info = evt_data["hp_info"]
|
-- p.hp_info = evt_data["hp_info"]
|
||||||
-- -- p.total_score=self._room.room_config.energyTab==0 and evt_data["score"] or evt_data["score"]/10
|
-- -- p.total_score=self._room.room_config.energyTab==0 and evt_data["score"] or evt_data["score"]/10
|
||||||
|
|
||||||
-- DataManager.CurrenRoom:AddPlayer(p)
|
-- DataManager.CurrenRoom:AddPlayer(p)
|
||||||
-- DispatchEvent(self._dispatcher,GameEvent.PlayerEnter, p)
|
-- DispatchEvent(self._dispatcher,GameEvent.PlayerEnter, p)
|
||||||
-- end
|
-- end
|
||||||
|
|
@ -87,51 +88,54 @@ end
|
||||||
|
|
||||||
function M:SendXiPaiAction(callBack)
|
function M:SendXiPaiAction(callBack)
|
||||||
local _data = {}
|
local _data = {}
|
||||||
local _client = ControllerManager.GameNetClinet
|
local _client = ControllerManager.GameNetClinet
|
||||||
_client:send(RunFast_Protocol.GAME_XIPAI, _data)
|
_client:send(RunFast_Protocol.GAME_XIPAI, _data)
|
||||||
self.XiPaiCallBack=callBack
|
self.XiPaiCallBack = callBack
|
||||||
|
end
|
||||||
|
|
||||||
|
function M:SendDaNiaoAction(flag)
|
||||||
|
local _data = {}
|
||||||
|
_data["niaoflag"] = flag
|
||||||
|
local _client = ControllerManager.GameNetClinet
|
||||||
|
_client:send(RunFast_Protocol.GAME_DANIAO, _data)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnEventXiPai(evt_data)
|
function M:OnEventXiPai(evt_data)
|
||||||
if evt_data["result"]==0 then
|
if evt_data["result"] == 0 then
|
||||||
if self.XiPaiCallBack then
|
if self.XiPaiCallBack then
|
||||||
self.XiPaiCallBack()
|
self.XiPaiCallBack()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
ViewUtil.ErrorTip(1000000,"申请洗牌失败")
|
ViewUtil.ErrorTip(1000000, "申请洗牌失败")
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function M:OnEventXiPaiAnim(evt_data)
|
function M:OnEventXiPaiAnim(evt_data)
|
||||||
printlog("洗牌动画===》》》》")
|
printlog("洗牌动画===》》》》")
|
||||||
pt(evt_data)
|
pt(evt_data)
|
||||||
local playeridList = evt_data["list"]
|
local playeridList = evt_data["list"]
|
||||||
local my_isXiPai=false
|
local my_isXiPai = false
|
||||||
local other_isXiPai=false
|
local other_isXiPai = false
|
||||||
if playeridList and #playeridList>0 then
|
if playeridList and #playeridList > 0 then
|
||||||
for i=1,#playeridList do
|
for i = 1, #playeridList do
|
||||||
local p = self._room:GetPlayerById(playeridList[i])
|
local p = self._room:GetPlayerById(playeridList[i])
|
||||||
if p== self._room.self_player then
|
if p == self._room.self_player then
|
||||||
my_isXiPai=true
|
my_isXiPai = true
|
||||||
else
|
else
|
||||||
other_isXiPai=true
|
other_isXiPai = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self._cacheEvent:Enqueue(function()
|
self._cacheEvent:Enqueue(function()
|
||||||
DispatchEvent(self._dispatcher,RunFast_GameEvent.EventXiPai,my_isXiPai,other_isXiPai)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.EventXiPai, my_isXiPai, other_isXiPai)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M:SendCard(cards, currentCard)
|
||||||
function M:SendCard(cards,currentCard)
|
|
||||||
local _data = {}
|
local _data = {}
|
||||||
_data["card"] = cards
|
_data["card"] = cards
|
||||||
_data["all_card"] = currentCard
|
_data["all_card"] = currentCard
|
||||||
local _client = ControllerManager.GameNetClinet
|
local _client = ControllerManager.GameNetClinet
|
||||||
_client:send(RunFast_Protocol.RunFast_Send_Card, _data)
|
_client:send(RunFast_Protocol.RunFast_Send_Card, _data)
|
||||||
end
|
end
|
||||||
|
|
@ -210,16 +214,16 @@ end
|
||||||
|
|
||||||
function M:OnPlaySucc(evt_data)
|
function M:OnPlaySucc(evt_data)
|
||||||
if pcall(
|
if pcall(
|
||||||
self.OnPlaySuccCheck,self,evt_data
|
self.OnPlaySuccCheck, self, evt_data
|
||||||
) then
|
) then
|
||||||
|
|
||||||
else
|
else
|
||||||
printlog("数据异常OnPlaySucc==>>>")
|
printlog("数据异常OnPlaySucc==>>>")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnPlaySuccCheck(evt_data)
|
function M:OnPlaySuccCheck(evt_data)
|
||||||
local seat = evt_data["player"]
|
local seat = evt_data["player"]
|
||||||
local card_obj = evt_data["card_obj"]
|
local card_obj = evt_data["card_obj"]
|
||||||
local cards = card_obj["card_list"]
|
local cards = card_obj["card_list"]
|
||||||
local remain = evt_data["remain"] -- 报单
|
local remain = evt_data["remain"] -- 报单
|
||||||
|
|
@ -231,31 +235,37 @@ function M:OnPlaySuccCheck(evt_data)
|
||||||
player.hand_count = remain
|
player.hand_count = remain
|
||||||
local card_type, number, length, plan_three_count = self:GetCardListInfo(out_card_list)
|
local card_type, number, length, plan_three_count = self:GetCardListInfo(out_card_list)
|
||||||
player.out_card_list = self:GetSortOutCardList(out_card_list, card_type, number, plan_three_count)
|
player.out_card_list = self:GetSortOutCardList(out_card_list, card_type, number, plan_three_count)
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPlaySucc, player, remain, card_type, number, otherList,length)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPlaySucc, player, remain, card_type, number, otherList,
|
||||||
|
length)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnPlaySuccCheckHandCard(evt_data)
|
function M:OnPlaySuccCheckHandCard(evt_data)
|
||||||
local seat = evt_data["player"]
|
local seat = evt_data["player"]
|
||||||
local cards = evt_data["handCards"]
|
local cards = evt_data["handCards"]
|
||||||
self._cacheEvent:Enqueue(
|
self._cacheEvent:Enqueue(
|
||||||
function()
|
function()
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPassSuccCheckCard,seat,cards)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPassSuccCheckCard, seat, cards)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M:OnDaNiao(evt_data)
|
||||||
|
self._cacheEvent:Enqueue(
|
||||||
|
function()
|
||||||
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnDaNiao)
|
||||||
|
ControllerManager.IsSendCard = true
|
||||||
|
end
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
function M:OnPassSucc(evt_data)
|
function M:OnPassSucc(evt_data)
|
||||||
local seat = evt_data["seat"]
|
local seat = evt_data["seat"]
|
||||||
self._cacheEvent:Enqueue(
|
self._cacheEvent:Enqueue(
|
||||||
function()
|
function()
|
||||||
local p = self._room:GetPlayerBySeat(seat)
|
local p = self._room:GetPlayerBySeat(seat)
|
||||||
p.out_card_list = {0}
|
p.out_card_list = { 0 }
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPassSucc, p)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPassSucc, p)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
@ -270,6 +280,7 @@ function M:OnPutError(evt_data)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:TuoGuan(isTuo)
|
function M:TuoGuan(isTuo)
|
||||||
local _data = {}
|
local _data = {}
|
||||||
_data["tuoguan"] = isTuo
|
_data["tuoguan"] = isTuo
|
||||||
|
|
@ -284,6 +295,7 @@ function M:Game_TuoGuan(evt_data)
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.Game_TuoGuan, tuoguan, seat)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.Game_TuoGuan, tuoguan, seat)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnIndexMove(evt_data)
|
function M:OnIndexMove(evt_data)
|
||||||
local seat = evt_data["index"]
|
local seat = evt_data["index"]
|
||||||
self._cacheEvent:Enqueue(
|
self._cacheEvent:Enqueue(
|
||||||
|
|
@ -303,7 +315,7 @@ function M:OnOptions(evt_data)
|
||||||
function()
|
function()
|
||||||
local lastCardList = self:GetLastCardList(self._room.self_player.seat)
|
local lastCardList = self:GetLastCardList(self._room.self_player.seat)
|
||||||
local cardType, cardNum, cardLength = self:GetCardListInfo(lastCardList)
|
local cardType, cardNum, cardLength = self:GetCardListInfo(lastCardList)
|
||||||
|
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnOptions, play, cardType, cardNum, cardLength, pass)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnOptions, play, cardType, cardNum, cardLength, pass)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
@ -319,8 +331,7 @@ function M:OnPiaoTip(evt_data)
|
||||||
local reload = evt_data["reload"]
|
local reload = evt_data["reload"]
|
||||||
self._cacheEvent:Enqueue(
|
self._cacheEvent:Enqueue(
|
||||||
function()
|
function()
|
||||||
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPiaoTips, piao, reload)
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPiaoTips, piao,reload)
|
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
@ -331,19 +342,18 @@ function M:OnPiaoAction(evt_data)
|
||||||
|
|
||||||
self._cacheEvent:Enqueue(
|
self._cacheEvent:Enqueue(
|
||||||
function()
|
function()
|
||||||
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPiaoAction, seat, piao)
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPiaoAction, seat,piao)
|
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnResult(evt_data)
|
function M:OnResult(evt_data)
|
||||||
local result_type = evt_data["type"]
|
local result_type = evt_data["type"]
|
||||||
|
|
||||||
local info = evt_data["info"]
|
local info = evt_data["info"]
|
||||||
local winseat = evt_data["winseat"]
|
local winseat = evt_data["winseat"]
|
||||||
local remaincards = evt_data["remaincards"]
|
local remaincards = evt_data["remaincards"]
|
||||||
DataManager.CurrenRoom.xipaiScore=evt_data["xipai_score"]
|
DataManager.CurrenRoom.xipaiScore = evt_data["xipai_score"]
|
||||||
--printlog("wwwwwwwwwwwwwwwwwwwww1111111 ",result_type)
|
--printlog("wwwwwwwwwwwwwwwwwwwww1111111 ",result_type)
|
||||||
--pt(evt_data)
|
--pt(evt_data)
|
||||||
if result_type == 1 then
|
if result_type == 1 then
|
||||||
|
|
@ -356,7 +366,7 @@ function M:OnResult(evt_data)
|
||||||
p.total_score = info[i]["score"]
|
p.total_score = info[i]["score"]
|
||||||
info[i]["self_user"] = p.self_user
|
info[i]["self_user"] = p.self_user
|
||||||
end
|
end
|
||||||
|
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnResult, over, info, winseat, remaincards)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnResult, over, info, winseat, remaincards)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
@ -393,6 +403,7 @@ function M:OnConfrimToNextGameSucc(evt_data)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:Game_TuoGuan(evt_data)
|
function M:Game_TuoGuan(evt_data)
|
||||||
local tuoguan = evt_data["tuoguan"]
|
local tuoguan = evt_data["tuoguan"]
|
||||||
local seat = evt_data["seat"]
|
local seat = evt_data["seat"]
|
||||||
|
|
@ -400,6 +411,7 @@ function M:Game_TuoGuan(evt_data)
|
||||||
DispatchEvent(self._dispatcher, RunFast_GameEvent.Game_TuoGuan, tuoguan, seat)
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.Game_TuoGuan, tuoguan, seat)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:ChangeCodeByFrom(cardList, isSort)
|
function M:ChangeCodeByFrom(cardList, isSort)
|
||||||
isSort = isSort or false
|
isSort = isSort or false
|
||||||
local new_card_list = {}
|
local new_card_list = {}
|
||||||
|
|
@ -520,14 +532,13 @@ end
|
||||||
--Bomb = 11
|
--Bomb = 11
|
||||||
-- 牌型,大小, 长度
|
-- 牌型,大小, 长度
|
||||||
function M:GetCardListInfo(cardlist)
|
function M:GetCardListInfo(cardlist)
|
||||||
|
|
||||||
if #cardlist == 0 then
|
if #cardlist == 0 then
|
||||||
return 0, 0, 0, 0
|
return 0, 0, 0, 0
|
||||||
end
|
end
|
||||||
-- 检测牌型
|
-- 检测牌型
|
||||||
local card_type, card_num, card_length, plan_three_count = RunFast_CardType.None, 0, #cardlist, 0
|
local card_type, card_num, card_length, plan_three_count = RunFast_CardType.None, 0, #cardlist, 0
|
||||||
local card_map = self:GetCardMapByList(cardlist)
|
local card_map = self:GetCardMapByList(cardlist)
|
||||||
|
|
||||||
if #cardlist == 1 then
|
if #cardlist == 1 then
|
||||||
card_type = RunFast_CardType.OneCard
|
card_type = RunFast_CardType.OneCard
|
||||||
card_num = math.floor(cardlist[1] / 10)
|
card_num = math.floor(cardlist[1] / 10)
|
||||||
|
|
@ -536,14 +547,12 @@ function M:GetCardListInfo(cardlist)
|
||||||
card_num = math.floor(cardlist[1] / 10)
|
card_num = math.floor(cardlist[1] / 10)
|
||||||
elseif #cardlist == 3 then
|
elseif #cardlist == 3 then
|
||||||
card_num = math.floor(cardlist[1] / 10)
|
card_num = math.floor(cardlist[1] / 10)
|
||||||
if card_num==14 and DataManager.CurrenRoom.room_config.threeA==1 then
|
if card_num == 14 and DataManager.CurrenRoom.room_config.threeA == 1 then
|
||||||
-- body
|
-- body
|
||||||
card_type = RunFast_CardType.Bomb
|
card_type = RunFast_CardType.Bomb
|
||||||
else
|
else
|
||||||
card_type = RunFast_CardType.Three
|
card_type = RunFast_CardType.Three
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif #cardlist == 4 then
|
elseif #cardlist == 4 then
|
||||||
local max_key = 0
|
local max_key = 0
|
||||||
for k, v in pairs(card_map) do
|
for k, v in pairs(card_map) do
|
||||||
|
|
@ -598,11 +607,9 @@ function M:GetCardListInfo(cardlist)
|
||||||
else
|
else
|
||||||
local one_count, two_count, three_count = 0, 0, 0
|
local one_count, two_count, three_count = 0, 0, 0
|
||||||
local max_one_key, max_two_key, max_three_key = 0, 0, 0
|
local max_one_key, max_two_key, max_three_key = 0, 0, 0
|
||||||
|
|
||||||
for k, v in pairs(card_map) do
|
for k, v in pairs(card_map) do
|
||||||
|
|
||||||
if #v == 2 then
|
if #v == 2 then
|
||||||
|
|
||||||
if k > max_two_key then
|
if k > max_two_key then
|
||||||
max_two_key = k
|
max_two_key = k
|
||||||
end
|
end
|
||||||
|
|
@ -612,7 +619,6 @@ function M:GetCardListInfo(cardlist)
|
||||||
card_num = max_two_key
|
card_num = max_two_key
|
||||||
end
|
end
|
||||||
elseif #v == 1 then
|
elseif #v == 1 then
|
||||||
|
|
||||||
if k > max_one_key then
|
if k > max_one_key then
|
||||||
max_one_key = k
|
max_one_key = k
|
||||||
end
|
end
|
||||||
|
|
@ -622,7 +628,6 @@ function M:GetCardListInfo(cardlist)
|
||||||
card_num = max_one_key
|
card_num = max_one_key
|
||||||
end
|
end
|
||||||
elseif #v == 3 then
|
elseif #v == 3 then
|
||||||
|
|
||||||
if max_three_key == 0 then
|
if max_three_key == 0 then
|
||||||
max_three_key = k
|
max_three_key = k
|
||||||
three_count = three_count + 1
|
three_count = three_count + 1
|
||||||
|
|
@ -632,10 +637,10 @@ function M:GetCardListInfo(cardlist)
|
||||||
elseif k < max_three_key and k == max_three_key - 1 then
|
elseif k < max_three_key and k == max_three_key - 1 then
|
||||||
max_three_key = k
|
max_three_key = k
|
||||||
three_count = three_count + 1
|
three_count = three_count + 1
|
||||||
-- else
|
-- else
|
||||||
-- max_three_key = k
|
-- max_three_key = k
|
||||||
end
|
end
|
||||||
|
|
||||||
--three_count = three_count + 1
|
--three_count = three_count + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -651,25 +656,17 @@ function M:GetCardListInfo(cardlist)
|
||||||
-- card_num = max_three_key
|
-- card_num = max_three_key
|
||||||
-- end
|
-- end
|
||||||
plan_three_count = three_count
|
plan_three_count = three_count
|
||||||
|
|
||||||
if three_count * 3 == #cardlist then
|
if three_count * 3 == #cardlist then
|
||||||
card_type = RunFast_CardType.Plane
|
card_type = RunFast_CardType.Plane
|
||||||
card_num = max_three_key
|
card_num = max_three_key
|
||||||
|
elseif three_count * 4 >= #cardlist and #cardlist % 4 == 0 then
|
||||||
elseif three_count * 4 >= #cardlist and #cardlist%4==0 then
|
|
||||||
card_type = RunFast_CardType.PlaneAndOne
|
card_type = RunFast_CardType.PlaneAndOne
|
||||||
card_num = max_three_key
|
card_num = max_three_key
|
||||||
|
elseif three_count * 5 >= #cardlist and #cardlist % 5 == 0 then
|
||||||
|
|
||||||
elseif three_count * 5 >= #cardlist and #cardlist%5==0 then
|
|
||||||
card_type = RunFast_CardType.PlaneAndTwo
|
card_type = RunFast_CardType.PlaneAndTwo
|
||||||
card_num = max_three_key
|
card_num = max_three_key
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return card_type, card_num, card_length, plan_three_count
|
return card_type, card_num, card_length, plan_three_count
|
||||||
|
|
@ -681,7 +678,7 @@ function M:GetCardMapByList(cardlist)
|
||||||
local card = cardlist[i]
|
local card = cardlist[i]
|
||||||
local card_num = math.floor(cardlist[i] / 10)
|
local card_num = math.floor(cardlist[i] / 10)
|
||||||
if card_map[card_num] == nil then
|
if card_map[card_num] == nil then
|
||||||
card_map[card_num] = {card}
|
card_map[card_num] = { card }
|
||||||
else
|
else
|
||||||
card_map[card_num][#card_map[card_num] + 1] = card
|
card_map[card_num][#card_map[card_num] + 1] = card
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,9 @@ local RunFast_GameEvent = {
|
||||||
OnResult = "OnResult",
|
OnResult = "OnResult",
|
||||||
OnResultByDissolve = "OnResultByDissolve",
|
OnResultByDissolve = "OnResultByDissolve",
|
||||||
OnConfrimToNextGameSucc = "OnConfrimToNextGameSucc",
|
OnConfrimToNextGameSucc = "OnConfrimToNextGameSucc",
|
||||||
Game_TuoGuan="Game_TuoGuan",
|
Game_TuoGuan = "Game_TuoGuan",
|
||||||
EventXiPai="EventXiPai",
|
EventXiPai = "EventXiPai",
|
||||||
OnPassSuccCheckCard="OnPassSuccCheckCard",
|
OnPassSuccCheckCard = "OnPassSuccCheckCard",
|
||||||
|
OnDaNiao = "OnDaNiao",
|
||||||
}
|
}
|
||||||
return RunFast_GameEvent
|
return RunFast_GameEvent
|
||||||
|
|
|
||||||
|
|
@ -3,41 +3,45 @@
|
||||||
--- DateTime: 2017/12/13 10:51
|
--- DateTime: 2017/12/13 10:51
|
||||||
---
|
---
|
||||||
local RunFast_Protocol = {
|
local RunFast_Protocol = {
|
||||||
RunFast_ConfirmToNextGame = "1003",
|
RunFast_ConfirmToNextGame = "1003",
|
||||||
|
|
||||||
RunFast_Send_Card = "1013",
|
RunFast_Send_Card = "1013",
|
||||||
|
|
||||||
RunFast_Send_Guo = "1014",
|
RunFast_Send_Guo = "1014",
|
||||||
|
|
||||||
RunFast_Send_Piao = "1015",
|
RunFast_Send_Piao = "1015",
|
||||||
|
|
||||||
RunFast_Ming_Card = "2117",
|
RunFast_Ming_Card = "2117",
|
||||||
|
|
||||||
RunFast_Init_Card = "2011",
|
RunFast_Init_Card = "2011",
|
||||||
|
|
||||||
RunFast_Options = "2004",
|
RunFast_Options = "2004",
|
||||||
|
|
||||||
RunFast_Index_Move = "2016",
|
RunFast_Index_Move = "2016",
|
||||||
|
|
||||||
RunFast_Play_Succ = "2021",
|
RunFast_Play_Succ = "2021",
|
||||||
|
|
||||||
RunFast_Pass_Succ = "2030",
|
RunFast_Pass_Succ = "2030",
|
||||||
|
|
||||||
RunFast_Put_Error = "2111",
|
RunFast_Put_Error = "2111",
|
||||||
|
|
||||||
RunFast_Bomb_Score = "2118",
|
RunFast_Bomb_Score = "2118",
|
||||||
|
|
||||||
RunFast_Result = "2007",
|
RunFast_Result = "2007",
|
||||||
RunFast_Piao_Tip = "2031",
|
RunFast_Piao_Tip = "2031",
|
||||||
RunFast_Piao_Action = "2032",
|
RunFast_Piao_Action = "2032",
|
||||||
|
|
||||||
RunFast_ConfirmToNextGameSucc = "2010",
|
RunFast_ConfirmToNextGameSucc = "2010",
|
||||||
PT_GAMETUOGUAN = "2029",--托管
|
PT_GAMETUOGUAN = "2029", --托管
|
||||||
SEND_TUOGUAN = "1018",--托管
|
SEND_TUOGUAN = "1018", --托管
|
||||||
GAME_XIPAI = "20836",
|
GAME_XIPAI = "20836",
|
||||||
GAME_EVENT_XIPAI = "20837",
|
GAME_EVENT_XIPAI = "20837",
|
||||||
GAME_EVENT_NOTIFY_XIPAI = "20838",
|
GAME_EVENT_NOTIFY_XIPAI = "20838",
|
||||||
GAME_EVT_CARDINHAND = "202022",
|
GAME_EVT_CARDINHAND = "202022",
|
||||||
|
|
||||||
|
--打鸟
|
||||||
|
GAME_EVT_DANIAO_TIP = "832",
|
||||||
|
GAME_DANIAO = "831"
|
||||||
}
|
}
|
||||||
|
|
||||||
return RunFast_Protocol
|
return RunFast_Protocol
|
||||||
|
|
|
||||||
|
|
@ -53,3 +53,4 @@ ui://4skil1l6vmtu1kv
|
||||||
ui://4skil1l6vmtu1l8
|
ui://4skil1l6vmtu1l8
|
||||||
ui://4skil1l6piv91ln
|
ui://4skil1l6piv91ln
|
||||||
ui://4skil1l6jsw9117
|
ui://4skil1l6jsw9117
|
||||||
|
ui://m7iejg46eany7iev
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,16 @@
|
||||||
{
|
{
|
||||||
"objectStatus": {
|
"objectStatus": {
|
||||||
|
"n28_thxk": {
|
||||||
|
"hidden": true
|
||||||
|
},
|
||||||
"n24_xn94": {
|
"n24_xn94": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
"n18_nld2": {
|
"n18_nld2": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
|
},
|
||||||
|
"n20_nld2": {
|
||||||
|
"hidden": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"adaptiveTest": true,
|
"adaptiveTest": true,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"objectStatus": {
|
"objectStatus": {
|
||||||
"n7": {
|
"n1": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
"n20_qpk6": {
|
"n20_qpk6": {
|
||||||
|
|
@ -8,6 +8,12 @@
|
||||||
},
|
},
|
||||||
"n15_qpk6": {
|
"n15_qpk6": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
|
},
|
||||||
|
"n7": {
|
||||||
|
"hidden": true
|
||||||
|
},
|
||||||
|
"n21_n6fs": {
|
||||||
|
"hidden": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
{
|
{
|
||||||
"objectStatus": {
|
"objectStatus": {
|
||||||
"n13": {
|
|
||||||
"collapsed": true
|
|
||||||
},
|
|
||||||
"n93_eclw": {
|
"n93_eclw": {
|
||||||
"collapsed": true
|
"collapsed": true
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@
|
||||||
"n214_ovii": {
|
"n214_ovii": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
|
"n74_i7lq": {
|
||||||
|
"locked": true
|
||||||
|
},
|
||||||
"n229_csp4": {
|
"n229_csp4": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1 +1,7 @@
|
||||||
{}
|
{
|
||||||
|
"objectStatus": {
|
||||||
|
"n44_ugxq": {
|
||||||
|
"hidden": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"objectStatus": {
|
"objectStatus": {
|
||||||
"n2_l0gd": {
|
"n16_hp03": {
|
||||||
"locked": true
|
"hidden": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,5 @@
|
||||||
{
|
{
|
||||||
"objectStatus": {
|
"objectStatus": {
|
||||||
"n121_l679": {
|
|
||||||
"collapsed": true
|
|
||||||
},
|
|
||||||
"n112_kwi0": {
|
|
||||||
"collapsed": true
|
|
||||||
},
|
|
||||||
"n122_j120": {
|
"n122_j120": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
"n68_joap": {
|
"n68_joap": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
"n28_r8m8": {
|
"n51_r0qx": {
|
||||||
"collapsed": true
|
"hidden": true
|
||||||
},
|
},
|
||||||
"n67_joap": {
|
"n67_joap": {
|
||||||
"hidden": true
|
"hidden": true
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"libview.firstColumnWidth": 297,
|
"libview.firstColumnWidth": 522,
|
||||||
"expanded_nodes": [
|
"expanded_nodes": [
|
||||||
"27vd145b",
|
"27vd145b",
|
||||||
"/",
|
"/",
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="390,136" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n3_thxk" name="n3" src="thxkcir" fileName="component/Result/Group 645.png" xy="0,0">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<Button/>
|
||||||
|
</component>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="390,136" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n3_thxk" name="n3" src="thxkciq" fileName="component/Result/Group 644.png" xy="0,0">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<Button/>
|
||||||
|
</component>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="390,136" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n3_thxk" name="n3" src="thxkciw" fileName="component/Result/Group 643.png" xy="0,0">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<Button/>
|
||||||
|
</component>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="390,136" extention="Button">
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n3_thxk" name="n3" src="thxkcix" fileName="component/Result/Group 646.png" xy="0,0">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
</displayList>
|
||||||
|
<Button/>
|
||||||
|
</component>
|
||||||
|
|
@ -4,19 +4,19 @@
|
||||||
<controller name="log" pages="0,,1," selected="0"/>
|
<controller name="log" pages="0,,1," selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n15_qpk6" name="n15" src="prgzeu" fileName="images/sd.png" xy="-8,0" size="674,110" visible="false"/>
|
<image id="n15_qpk6" name="n15" src="prgzeu" fileName="images/sd.png" xy="-8,0" size="674,110" visible="false"/>
|
||||||
<image id="n21_n6fs" name="n21" src="m9jah8" fileName="images/dks02.png" xy="470,0" size="396,36"/>
|
<image id="n21_n6fs" name="n21" src="m9jah8" fileName="images/dks02.png" xy="470,0" size="396,36" visible="false"/>
|
||||||
<component id="n20_qpk6" name="btn_log" src="prgzdg" fileName="component/phone_info/Btn_log.xml" xy="556,14" visible="false" touchable="false"/>
|
<component id="n20_qpk6" name="btn_log" src="prgzdg" fileName="component/phone_info/Btn_log.xml" xy="556,14" visible="false" touchable="false"/>
|
||||||
<component id="n1" name="btn_setting" src="prgzdi" fileName="component/phone_info/Btn_setting.xml" xy="11,12" size="55,74"/>
|
<component id="n1" name="btn_setting" src="prgzdi" fileName="component/phone_info/Btn_setting.xml" xy="11,12" size="55,74" visible="false"/>
|
||||||
<component id="n5" name="pb_batteryLevel" src="prgzdk" fileName="component/phone_info/ProgressBar2.xml" xy="635,9" touchable="false">
|
<component id="n5" name="pb_batteryLevel" src="prgzdk" fileName="component/phone_info/ProgressBar2.xml" xy="5,2" size="57,28" touchable="false">
|
||||||
<ProgressBar value="62" max="100"/>
|
<ProgressBar value="62" max="100"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n6" name="gcm_xinhao" src="prgzdl" fileName="component/phone_info/Component3(1).xml" xy="511,6" size="82,22" touchable="false">
|
<component id="n6" name="gcm_xinhao" src="prgzdl" fileName="component/phone_info/Component3(1).xml" xy="21,42" touchable="false">
|
||||||
<gearDisplay controller="xinhao" pages="0"/>
|
<gearDisplay controller="xinhao" pages="0"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n9" name="gcm_wifi" src="prgzdm" fileName="component/phone_info/Component3.xml" xy="473,5" aspect="true" touchable="false">
|
<component id="n9" name="gcm_wifi" src="prgzdm" fileName="component/phone_info/Component3.xml" xy="473,5" aspect="true" touchable="false">
|
||||||
<gearDisplay controller="xinhao" pages="1"/>
|
<gearDisplay controller="xinhao" pages="1"/>
|
||||||
</component>
|
</component>
|
||||||
<text id="n7" name="tex_data" xy="314,50" size="121,34" visible="false" fontSize="22" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="2017-07-09"/>
|
<text id="n7" name="tex_data" xy="314,50" size="121,34" visible="false" fontSize="22" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="2017-07-09"/>
|
||||||
<text id="n12_yyhx" name="tex_time" xy="675,0" size="73,39" fontSize="28" color="#ffffff" vAlign="middle" text="13:00"/>
|
<text id="n12_yyhx" name="tex_time" xy="69,0" size="76,39" fontSize="28" color="#ffffff" vAlign="middle" text="13:00"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -2,10 +2,11 @@
|
||||||
<component size="1334,750" designImageAlpha="100" designImageLayer="1">
|
<component size="1334,750" designImageAlpha="100" designImageLayer="1">
|
||||||
<controller name="state" pages="0,准备状态,1,游戏状态,2,,3,回放" selected="0"/>
|
<controller name="state" pages="0,准备状态,1,游戏状态,2,,3,回放" selected="0"/>
|
||||||
<controller name="sdk" pages="0,,1," selected="0"/>
|
<controller name="sdk" pages="0,,1," selected="0"/>
|
||||||
<controller name="action" pages="2,空,0,准备,1,开始" selected="0"/>
|
<controller name="action" pages="2,空,0,准备,1,开始,3,打鸟" selected="2"/>
|
||||||
<controller name="time" pages="0,,1,,2,,3," selected="0"/>
|
<controller name="time" pages="0,,1,,2,,3," selected="0"/>
|
||||||
<controller name="card_eff" pages="0,,1," selected="0"/>
|
<controller name="card_eff" pages="0,,1," selected="0"/>
|
||||||
<controller name="zidongtishi" pages="0,,1," selected="0"/>
|
<controller name="zidongtishi" pages="0,,1," selected="0"/>
|
||||||
|
<controller name="showBtn" pages="0,,1," selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<component id="n76_rqeb" name="mask" src="prgzeq" fileName="component/mask.xml" xy="-208,2" alpha="0">
|
<component id="n76_rqeb" name="mask" src="prgzeq" fileName="component/mask.xml" xy="-208,2" alpha="0">
|
||||||
<gearDisplay controller="state" pages="1"/>
|
<gearDisplay controller="state" pages="1"/>
|
||||||
|
|
@ -32,12 +33,12 @@
|
||||||
<gearDisplay controller="state" pages="0,1,2"/>
|
<gearDisplay controller="state" pages="0,1,2"/>
|
||||||
<relation target="" sidePair="center-center"/>
|
<relation target="" sidePair="center-center"/>
|
||||||
</group>
|
</group>
|
||||||
<component id="n18" name="player_info2" src="prgzam" fileName="component/head/PlayerHead_2.xml" xy="1162,107">
|
<component id="n18" name="player_info2" src="prgzam" fileName="component/head/PlayerHead_2.xml" xy="1105,106">
|
||||||
<gearXY controller="state" pages="0,1,2,3" values="1162,107|1182,90|1157,250|1174,84"/>
|
<gearXY controller="state" pages="0,1,2,3" values="1105,106|1112,111|1157,250|1174,84"/>
|
||||||
<relation target="" sidePair="right-right,middle-middle"/>
|
<relation target="" sidePair="right-right%,top-top%"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n7" name="player_info1" src="prgzab" fileName="component/head/PlayerHead_1.xml" xy="25,469" size="150,154">
|
<component id="n7" name="player_info1" src="prgzab" fileName="component/head/PlayerHead_1.xml" xy="1,295" size="150,154">
|
||||||
<gearXY controller="state" pages="0,1,2,3" values="25,469|1,295|37,355|9,334"/>
|
<gearXY controller="state" pages="0,1,2,3" values="1,295|1,295|37,355|9,334"/>
|
||||||
<relation target="" sidePair="left-left,bottom-bottom"/>
|
<relation target="" sidePair="left-left,bottom-bottom"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n69_sdax" name="player_card_info_1" src="prgz88" fileName="component/card_info/Player_card_info_1.xml" xy="142,517" size="1050,220">
|
<component id="n69_sdax" name="player_card_info_1" src="prgz88" fileName="component/card_info/Player_card_info_1.xml" xy="142,517" size="1050,220">
|
||||||
|
|
@ -45,7 +46,7 @@
|
||||||
<gearLook controller="state" pages="3" values="1,0,0,1" default="1,0,0,1"/>
|
<gearLook controller="state" pages="3" values="1,0,0,1" default="1,0,0,1"/>
|
||||||
<relation target="" sidePair="bottom-bottom"/>
|
<relation target="" sidePair="bottom-bottom"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n71_sdax" name="player_card_info_2" src="prgz8d" fileName="component/card_info/Player_card_info_2.xml" xy="771,118" touchable="false">
|
<component id="n71_sdax" name="player_card_info_2" src="prgz8d" fileName="component/card_info/Player_card_info_2.xml" xy="815,117" touchable="false">
|
||||||
<gearDisplay controller="state" pages="1,3"/>
|
<gearDisplay controller="state" pages="1,3"/>
|
||||||
<relation target="n18" sidePair="right-left,middle-middle"/>
|
<relation target="n18" sidePair="right-left,middle-middle"/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -53,22 +54,28 @@
|
||||||
<gearDisplay controller="time" pages="1,2,3"/>
|
<gearDisplay controller="time" pages="1,2,3"/>
|
||||||
<gearXY controller="time" pages="1,2" values="287,376|1199,8" default="625,198"/>
|
<gearXY controller="time" pages="1,2" values="287,376|1199,8" default="625,198"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n34_k3io" name="btn_ready" src="m9jaha" fileName="component/Btn_Yellow.xml" xy="724,655" size="227,73" group="n36_k3io">
|
<component id="n34_k3io" name="btn_ready" src="thxkciu" fileName="component/Result/btn_ready.xml" xy="373,366" size="270,96" group="n36_k3io">
|
||||||
<gearDisplay controller="action" pages="0,1"/>
|
<gearDisplay controller="action" pages="0,1"/>
|
||||||
<gearXY controller="action" pages="2,0,1" values="724,655|492,655|389,656"/>
|
<gearXY controller="action" pages="2,0,1,3" values="678,643|557,450|373,366|657,264"/>
|
||||||
<Button icon="ui://9n9stu2ehnkrcgt"/>
|
<Button icon="ui://9n9stu2ehnkrcgt"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n35_k3io" name="btn_start" src="ycze3m" fileName="buttons/Btn_Yellow.xml" pkg="27vd145b" xy="425,640" group="n36_k3io" visible="false">
|
<component id="n35_k3io" name="btn_start" src="ycze3m" fileName="buttons/Btn_Yellow.xml" pkg="27vd145b" xy="422,-49" group="n36_k3io" visible="false">
|
||||||
<gearDisplay controller="action" pages="1"/>
|
<gearDisplay controller="action" pages="1"/>
|
||||||
<Button icon="ui://27vd145bk3io3t"/>
|
<Button icon="ui://27vd145bk3io3t"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n118_mncc" name="btn_xipai" src="ycze3m" fileName="buttons/Btn_Yellow.xml" pkg="27vd145b" xy="648,654" group="n36_k3io" scale="1,0.9">
|
<component id="n118_mncc" name="btn_xipai" src="thxkciv" fileName="component/Result/btn_xipai.xml" xy="700,366" size="270,96" group="n36_k3io">
|
||||||
<gearDisplay controller="action" pages="1"/>
|
<gearDisplay controller="action" pages="1"/>
|
||||||
<Button icon="ui://27vd145bf40a7i6a"/>
|
<Button icon="ui://27vd145bf40a7i6a"/>
|
||||||
</component>
|
</component>
|
||||||
<group id="n36_k3io" name="n36" xy="425,640" size="526,99" advanced="true">
|
<component id="n129_thxk" name="btn_daNiao" src="thxkcis" fileName="component/Result/btn_daNiao.xml" xy="364,366" size="270,96" group="n36_k3io">
|
||||||
|
<gearDisplay controller="action" pages="3"/>
|
||||||
|
</component>
|
||||||
|
<component id="n130_thxk" name="btn_buDaNiao" src="thxkcit" fileName="component/Result/btn_buDaNiao.xml" xy="700,366" size="270,96" group="n36_k3io">
|
||||||
|
<gearDisplay controller="action" pages="3"/>
|
||||||
|
</component>
|
||||||
|
<group id="n36_k3io" name="n36" xy="364,-49" size="606,511" advanced="true">
|
||||||
<gearDisplay controller="state" pages="0"/>
|
<gearDisplay controller="state" pages="0"/>
|
||||||
<relation target="" sidePair="bottom-bottom,center-center"/>
|
<relation target="" sidePair="center-center%,bottom-bottom"/>
|
||||||
</group>
|
</group>
|
||||||
<component id="n68_pwv4" name="panel_record" src="rayb5j" fileName="component/record/Record.xml" pkg="27vd145b" xy="379,240">
|
<component id="n68_pwv4" name="panel_record" src="rayb5j" fileName="component/record/Record.xml" pkg="27vd145b" xy="379,240">
|
||||||
<gearDisplay controller="state" pages="3"/>
|
<gearDisplay controller="state" pages="3"/>
|
||||||
|
|
@ -77,24 +84,18 @@
|
||||||
<gearDisplay controller="state" pages="0,1,2"/>
|
<gearDisplay controller="state" pages="0,1,2"/>
|
||||||
</text>
|
</text>
|
||||||
<component id="n77_ij2y" name="gcm_chat" src="h1uu2p" fileName="Gcm_chat.xml" pkg="l0ds4ys6" xy="1237,355" visible="false"/>
|
<component id="n77_ij2y" name="gcm_chat" src="h1uu2p" fileName="Gcm_chat.xml" pkg="l0ds4ys6" xy="1237,355" visible="false"/>
|
||||||
<component id="n79_roef" name="btn_distance" src="kxwjhyc" fileName="component/gps/btn_distance_new.xml" pkg="27vd145b" xy="531,10" visible="false" touchable="false">
|
<component id="n79_roef" name="btn_distance" src="kxwjhyc" fileName="component/gps/btn_distance_new.xml" pkg="27vd145b" xy="537,10" visible="false" touchable="false">
|
||||||
<gearDisplay controller="state" pages="0,1,2"/>
|
<gearDisplay controller="state" pages="0,1,2"/>
|
||||||
<relation target="n86_q50p" sidePair="right-right"/>
|
<relation target="n86_q50p" sidePair="right-right"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n82_q50p" name="right_panel" src="prgzet" fileName="component/RightPanel.xml" xy="0,0" size="1334,108" group="n86_q50p">
|
<component id="n82_q50p" name="right_panel" src="prgzet" fileName="component/RightPanel.xml" xy="6,8" size="1334,108" group="n86_q50p">
|
||||||
<gearDisplay controller="state" pages="0,1,2,3"/>
|
<gearDisplay controller="state" pages="0,1,2,3"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n83_q50p" name="roominfo_panel1" src="prgzev" fileName="component/RoomInfoPanel1.xml" xy="492,36" size="274,41" group="n86_q50p" touchable="false"/>
|
<component id="n83_q50p" name="roominfo_panel1" src="prgzev" fileName="component/RoomInfoPanel1.xml" xy="839,-1" size="274,41" group="n86_q50p" touchable="false"/>
|
||||||
<component id="n84_q50p" name="btn_back_lobby" src="prgzds" fileName="component/poker/Btn_back_lobby.xml" xy="306,12" size="58,75" group="n86_q50p">
|
|
||||||
<gearDisplay controller="state" pages="0,3"/>
|
|
||||||
</component>
|
|
||||||
<component id="n85_q50p" name="btn_rule" src="prgzdu" fileName="component/poker/Btn_log.xml" xy="140,12" group="n86_q50p"/>
|
<component id="n85_q50p" name="btn_rule" src="prgzdu" fileName="component/poker/Btn_log.xml" xy="140,12" group="n86_q50p"/>
|
||||||
<component id="n87_q50p" name="roominfo_panel" src="prgzev" fileName="component/RoomInfoPanel1.xml" xy="270,-122" size="150,77" group="n86_q50p" touchable="false"/>
|
<component id="n87_q50p" name="roominfo_panel" src="prgzev" fileName="component/RoomInfoPanel1.xml" xy="270,-122" size="150,77" group="n86_q50p" touchable="false"/>
|
||||||
<component id="n120_r1z9" name="btn_leave_lobby" src="vijocih" fileName="component/poker/Btn_leave_lobby.xml" xy="414,11" group="n86_q50p">
|
<group id="n86_q50p" name="n86" xy="6,-122" size="1334,238" advanced="true">
|
||||||
<gearDisplay controller="state" pages="0,3"/>
|
<relation target="" sidePair="width-width,center-center"/>
|
||||||
</component>
|
|
||||||
<group id="n86_q50p" name="n86" xy="0,-122" size="1334,230" advanced="true">
|
|
||||||
<relation target="" sidePair="center-center"/>
|
|
||||||
</group>
|
</group>
|
||||||
<component id="n75_jmab" name="poker_eff" src="prgz9k" fileName="component/effect/poker/poker_eff.xml" xy="618,10" touchable="false">
|
<component id="n75_jmab" name="poker_eff" src="prgz9k" fileName="component/effect/poker/poker_eff.xml" xy="618,10" touchable="false">
|
||||||
<gearDisplay controller="card_eff" pages="1"/>
|
<gearDisplay controller="card_eff" pages="1"/>
|
||||||
|
|
@ -126,14 +127,34 @@
|
||||||
<item url="ui://9n9stu2eprgzdn"/>
|
<item url="ui://9n9stu2eprgzdn"/>
|
||||||
<item url="ui://9n9stu2eprgzdn"/>
|
<item url="ui://9n9stu2eprgzdn"/>
|
||||||
</list>
|
</list>
|
||||||
<text id="n74_bzpj" name="round" xy="576,200" size="101,39" fontSize="28" color="#ffffff" align="center" vAlign="middle" autoSize="none" text=" 1/10局">
|
<text id="n74_bzpj" name="round" xy="934,42" size="101,39" fontSize="28" color="#ffffff" align="center" vAlign="middle" autoSize="none" text=" 1/10局">
|
||||||
<gearDisplay controller="state" pages="1,3"/>
|
<gearDisplay controller="state" pages="1,3"/>
|
||||||
</text>
|
</text>
|
||||||
<component id="n100_n6fs" name="btn_back_jiesan" src="prgzdw" fileName="component/poker/Btn_back_jiesan.xml" xy="320,12" size="110,75">
|
|
||||||
<gearDisplay controller="state" pages="1"/>
|
|
||||||
</component>
|
|
||||||
<graph id="n102_t2e2" name="n109" xy="-184,-46" size="1670,834" visible="false" type="rect" lineSize="0" fillColor="#80000000"/>
|
<graph id="n102_t2e2" name="n109" xy="-184,-46" size="1670,834" visible="false" type="rect" lineSize="0" fillColor="#80000000"/>
|
||||||
<component id="n101_t2e2" name="tuoguanzhong" src="prgzew" fileName="component/tuoguanzhong.xml" xy="304,564" visible="false"/>
|
<component id="n101_t2e2" name="tuoguanzhong" src="prgzew" fileName="component/tuoguanzhong.xml" xy="304,564" visible="false"/>
|
||||||
|
<component id="n121_thxk" name="btn_moreBtn" src="thxkcio" fileName="component/poker/btn_moreBtn.xml" xy="1255,18">
|
||||||
|
<Button controller="showBtn" page="1"/>
|
||||||
|
</component>
|
||||||
|
<image id="n122_thxk" name="n122" src="thxkcim" fileName="images/Rectangle 397.png" xy="1239,64" size="80,258" group="n123_thxk">
|
||||||
|
<gearSize controller="state" pages="1" values="80,169,1,1" default="80,258,1,1"/>
|
||||||
|
</image>
|
||||||
|
<component id="n84_q50p" name="btn_back_lobby" src="prgzds" fileName="component/poker/Btn_back_lobby.xml" xy="1258,160" size="44,65" group="n123_thxk">
|
||||||
|
<gearDisplay controller="state" pages="0,3"/>
|
||||||
|
</component>
|
||||||
|
<component id="n120_r1z9" name="btn_leave_lobby" src="vijocih" fileName="component/poker/Btn_leave_lobby.xml" xy="1258,250" group="n123_thxk">
|
||||||
|
<gearDisplay controller="state" pages="0,3"/>
|
||||||
|
</component>
|
||||||
|
<image id="n124_thxk" name="n124" src="thxkcip" fileName="images/Line 23.png" xy="1251,147" group="n123_thxk"/>
|
||||||
|
<image id="n125_thxk" name="n125" src="thxkcip" fileName="images/Line 23.png" xy="1250,236" group="n123_thxk">
|
||||||
|
<gearDisplay controller="state" pages="0"/>
|
||||||
|
</image>
|
||||||
|
<component id="n126_thxk" name="Btn_setting" src="prgzdi" fileName="component/phone_info/Btn_setting.xml" xy="1258,72" group="n123_thxk"/>
|
||||||
|
<component id="n100_n6fs" name="btn_back_jiesan" src="prgzdw" fileName="component/poker/Btn_back_jiesan.xml" xy="1258,159" group="n123_thxk">
|
||||||
|
<gearDisplay controller="state" pages="1"/>
|
||||||
|
</component>
|
||||||
|
<group id="n123_thxk" name="ShowMore" xy="1239,64" size="80,258" advanced="true">
|
||||||
|
<gearDisplay controller="showBtn" pages="1"/>
|
||||||
|
</group>
|
||||||
</displayList>
|
</displayList>
|
||||||
<transition name="t1">
|
<transition name="t1">
|
||||||
<item time="0" type="Alpha" target="n75_jmab" tween="true" startValue="1" endValue="1" duration="18"/>
|
<item time="0" type="Alpha" target="n75_jmab" tween="true" startValue="1" endValue="1" duration="18"/>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="129,191">
|
<component size="129,191">
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n1_fwfg" name="n0" src="prgzai" fileName="component/newcard/素材/bg.png" xy="-5,0">
|
<image id="n1_fwfg" name="n0" src="prgzai" fileName="component/newcard/素材/bg.png" xy="0,0" size="129,191">
|
||||||
<relation target="" sidePair="width-width,height-height"/>
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
</image>
|
</image>
|
||||||
</displayList>
|
</displayList>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 24 KiB |
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="52,77" extention="Button">
|
<component size="44,65" extention="Button">
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n1" name="n1" src="prgzdj" fileName="images/sz.png" xy="0,0" pivot="0.5,0.5" aspect="true"/>
|
<image id="n1" name="n1" src="prgzdj" fileName="images/sz.png" xy="0,0" pivot="0.5,0.5" aspect="true"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="92,26">
|
<component size="104,26">
|
||||||
<controller name="c1" pages="0,,1,,2," selected="0"/>
|
<controller name="c1" pages="0,,1,,2," selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n4_h1uu" name="n4" src="prgzaw" fileName="component/images/phone_info/4g01.png" xy="17,0">
|
<image id="n4_h1uu" name="n4" src="prgzaw" fileName="component/images/phone_info/4g01.png" xy="25,-2" size="39,28">
|
||||||
<gearColor controller="c1" pages="0,1,2" values="#ffffff|#666666|#666666"/>
|
<gearColor controller="c1" pages="0,1,2" values="#ffffff|#666666|#666666"/>
|
||||||
</image>
|
</image>
|
||||||
<image id="n5_h1uu" name="n5" src="prgzax" fileName="component/images/phone_info/4g02.png" xy="0,0">
|
<image id="n5_h1uu" name="n5" src="prgzax" fileName="component/images/phone_info/4g02.png" xy="-1,-2" size="39,28">
|
||||||
<gearColor controller="c1" pages="0,1" values="#ffffff|#ffff00" default="#666666"/>
|
<gearColor controller="c1" pages="0,1" values="#ffffff|#ffff00" default="#666666"/>
|
||||||
</image>
|
</image>
|
||||||
<image id="n6_h1uu" name="n6" src="prgzay" fileName="component/images/phone_info/4g03.png" xy="-17,0">
|
<image id="n6_h1uu" name="n6" src="prgzay" fileName="component/images/phone_info/4g03.png" xy="-27,-2" size="39,28">
|
||||||
<gearColor controller="c1" pages="0,1,2" values="#ffffff|#ffff00|#ff0000"/>
|
<gearColor controller="c1" pages="0,1,2" values="#ffffff|#ffff00|#ff0000"/>
|
||||||
</image>
|
</image>
|
||||||
<text id="n7_7paf" name="n7" xy="30,-1" size="62,26" fontSize="20" color="#00ff00" text="100 ms">
|
<text id="n7_7paf" name="n7" xy="42,3" size="70,29" fontSize="20" color="#00ff00" text="100 ms">
|
||||||
<gearColor controller="c1" pages="0,1,2" values="#00ff00,#000000|#ffff00,#000000|#ff0000,#000000"/>
|
<gearColor controller="c1" pages="0,1,2" values="#00ff00,#000000|#ffff00,#000000|#ff0000,#000000"/>
|
||||||
<relation target="n5_h1uu" sidePair="middle-middle"/>
|
<relation target="n5_h1uu" sidePair="middle-middle"/>
|
||||||
</text>
|
</text>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="34,16" extention="ProgressBar">
|
<component size="34,16" extention="ProgressBar">
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n5_h1uu" name="n5" src="prgzau" xy="0,0"/>
|
<image id="n5_h1uu" name="n5" src="prgzau" fileName="component/images/phone_info/dianchi02.png" xy="0,0">
|
||||||
<image id="n4" name="bar" src="prgzav" xy="0,0" fillMethod="hz"/>
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
|
<image id="n4" name="bar" src="prgzav" fileName="component/images/phone_info/dianchi01.png" xy="0,0" fillMethod="hz">
|
||||||
|
<relation target="" sidePair="width-width,height-height"/>
|
||||||
|
</image>
|
||||||
</displayList>
|
</displayList>
|
||||||
<ProgressBar/>
|
<ProgressBar/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="92,77" extention="Button" initName="btn_back_lobby">
|
<component size="44,65" extention="Button" initName="btn_back_lobby">
|
||||||
<controller name="button" pages="0,up,1,down" selected="0"/>
|
<controller name="button" pages="0,up,1,down" selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n3_hp0b" name="n3" src="prgzdx" fileName="images/js.png" xy="0,0" pivot="0.5,0.5" size="92,77"/>
|
<image id="n3_hp0b" name="n3" src="prgzdx" fileName="images/js.png" xy="0,0" pivot="0.5,0.5"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
<Button downEffect="dark" downEffectValue=".8"/>
|
<Button downEffect="dark" downEffectValue=".8"/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="57,77" extention="Button" initName="btn_back_lobby">
|
<component size="44,65" extention="Button" initName="btn_back_lobby">
|
||||||
<controller name="button" pages="0,up,1,down" selected="0"/>
|
<controller name="button" pages="0,up,1,down" selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n3_hp0b" name="n3" src="prgzdt" fileName="images/lk.png" xy="0,0" pivot="0.5,0.5" aspect="true" visible="false"/>
|
<image id="n3_hp0b" name="n3" src="prgzdt" fileName="images/lk.png" xy="-3,-4" pivot="0.5,0.5" aspect="true" visible="false"/>
|
||||||
<image id="n4_qf80" name="n4" src="qf80che" fileName="images/fh_img.png" xy="0,0" size="57,76"/>
|
<image id="n4_qf80" name="n4" src="qf80che" fileName="images/fh_img.png" xy="0,0"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
<Button downEffect="dark" downEffectValue=".8"/>
|
<Button downEffect="dark" downEffectValue=".8"/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="57,77" extention="Button" initName="btn_back_lobby">
|
<component size="44,62" extention="Button" initName="btn_back_lobby">
|
||||||
<controller name="button" pages="0,up,1,down" selected="0"/>
|
<controller name="button" pages="0,up,1,down" selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n3_hp0b" name="n3" src="prgzdt" fileName="images/lk.png" xy="0,0" pivot="0.5,0.5" aspect="true"/>
|
<image id="n3_hp0b" name="n3" src="prgzdt" fileName="images/lk.png" xy="0,0" pivot="0.5,0.5" aspect="true"/>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component size="48,40" extention="Button" initName="btn_moreBtn">
|
||||||
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
|
<displayList>
|
||||||
|
<image id="n3_thxk" name="n3" src="thxkcin" fileName="images/Vector.png" xy="0,0"/>
|
||||||
|
</displayList>
|
||||||
|
<Button/>
|
||||||
|
</component>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 984 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.6 KiB |
|
|
@ -424,6 +424,19 @@
|
||||||
<component id="hxjccif" name="btn_invite(1).xml" path="/component/clearing/room/" exported="true"/>
|
<component id="hxjccif" name="btn_invite(1).xml" path="/component/clearing/room/" exported="true"/>
|
||||||
<image id="hxjccig" name="chat_button_blue.png" path="/component/clearing/clearing1/"/>
|
<image id="hxjccig" name="chat_button_blue.png" path="/component/clearing/clearing1/"/>
|
||||||
<component id="vijocih" name="Btn_leave_lobby.xml" path="/component/poker/"/>
|
<component id="vijocih" name="Btn_leave_lobby.xml" path="/component/poker/"/>
|
||||||
|
<image id="thxkcii" name="Group 648.png" path="/images/"/>
|
||||||
|
<image id="thxkcim" name="Rectangle 397.png" path="/images/" scale="9grid" scale9grid="16,22,49,217"/>
|
||||||
|
<image id="thxkcin" name="Vector.png" path="/images/"/>
|
||||||
|
<component id="thxkcio" name="btn_moreBtn.xml" path="/component/poker/"/>
|
||||||
|
<image id="thxkcip" name="Line 23.png" path="/images/"/>
|
||||||
|
<image id="thxkciq" name="Group 644.png" path="/component/Result/"/>
|
||||||
|
<image id="thxkcir" name="Group 645.png" path="/component/Result/"/>
|
||||||
|
<component id="thxkcis" name="btn_daNiao.xml" path="/component/Result/"/>
|
||||||
|
<component id="thxkcit" name="btn_buDaNiao.xml" path="/component/Result/"/>
|
||||||
|
<component id="thxkciu" name="btn_ready.xml" path="/component/Result/"/>
|
||||||
|
<component id="thxkciv" name="btn_xipai.xml" path="/component/Result/"/>
|
||||||
|
<image id="thxkciw" name="Group 643.png" path="/component/Result/"/>
|
||||||
|
<image id="thxkcix" name="Group 646.png" path="/component/Result/"/>
|
||||||
</resources>
|
</resources>
|
||||||
<publish name="Extend_Poker_RunFastNew" path="..\wb_unity_pro\Assets\ART\extend\poker\runfast\ui" packageCount="2"/>
|
<publish name="Extend_Poker_RunFastNew" path="..\wb_unity_pro\Assets\ART\extend\poker\runfast\ui" packageCount="2"/>
|
||||||
</packageDescription>
|
</packageDescription>
|
||||||
|
|
@ -11,14 +11,15 @@
|
||||||
<graph id="n18_nld2" name="n18" xy="-215,655" size="1772,100" visible="false" alpha="0.5" type="rect" lineSize="0" fillColor="#ff000000">
|
<graph id="n18_nld2" name="n18" xy="-215,655" size="1772,100" visible="false" alpha="0.5" type="rect" lineSize="0" fillColor="#ff000000">
|
||||||
<relation target="" sidePair="center-center,bottom-bottom"/>
|
<relation target="" sidePair="center-center,bottom-bottom"/>
|
||||||
</graph>
|
</graph>
|
||||||
<text id="n2" name="tex_info" xy="261,622" size="906,54" group="n8_rtsl" font="ui://27vd145bilon7ia1" fontSize="40" color="#ffffff" align="center" autoSize="shrink" bold="true" text="检查更新"/>
|
<text id="n2" name="tex_info" xy="214,600" size="906,54" group="n8_rtsl" font="ui://27vd145bilon7ia1" fontSize="40" color="#ffffff" align="center" autoSize="shrink" bold="true" text="正在更新资源包。"/>
|
||||||
<component id="n20_nld2" name="pb_progress" src="pcy012" fileName="commpoent/Slider1.xml" xy="513,208" group="n8_rtsl">
|
<component id="n20_nld2" name="pb_progress" src="pcy012" fileName="commpoent/Slider1.xml" xy="563,298" size="208,208" group="n8_rtsl" aspect="true" visible="false">
|
||||||
<Slider max="100"/>
|
<Slider max="100"/>
|
||||||
</component>
|
</component>
|
||||||
<text id="n28_thxk" name="tex_value" xy="624,344" size="140,89" group="n8_rtsl" font="ui://27vd145bilon7ia1" fontSize="68" color="#ffffff" align="center" bold="true" text="80%">
|
<text id="n28_thxk" name="tex_value" xy="618,371" size="97,62" group="n8_rtsl" visible="false" font="ui://27vd145bilon7ia1" fontSize="46" color="#ffffff" align="center" bold="true" text="80%">
|
||||||
<relation target="" sidePair="center-center,middle-middle"/>
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
</text>
|
</text>
|
||||||
<group id="n8_rtsl" name="n8" xy="261,208" size="906,468" advanced="true">
|
<image id="n29_thxk" name="n29" src="thxk7i4y" fileName="images/Group 534.png" xy="365,96" group="n8_rtsl"/>
|
||||||
|
<group id="n8_rtsl" name="n8" xy="214,96" size="906,558" advanced="true">
|
||||||
<gearDisplay controller="state" pages="0"/>
|
<gearDisplay controller="state" pages="0"/>
|
||||||
<relation target="" sidePair="bottom-bottom,center-center"/>
|
<relation target="" sidePair="bottom-bottom,center-center"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 200 KiB |
|
|
@ -23,6 +23,7 @@
|
||||||
<image id="99we7i4v" name="denglu_bg_01_bak.png" path="/"/>
|
<image id="99we7i4v" name="denglu_bg_01_bak.png" path="/"/>
|
||||||
<image id="thxk7i4w" name="Ellipse 91.png" path="/images/"/>
|
<image id="thxk7i4w" name="Ellipse 91.png" path="/images/"/>
|
||||||
<image id="thxk7i4x" name="Union.png" path="/images/"/>
|
<image id="thxk7i4x" name="Union.png" path="/images/"/>
|
||||||
|
<image id="thxk7i4y" name="Group 534.png" path="/images/"/>
|
||||||
</resources>
|
</resources>
|
||||||
<publish name="Hotupdate" path="..\wb_unity_pro\Assets\Resources\base\embed\ui" packageCount="2">
|
<publish name="Hotupdate" path="..\wb_unity_pro\Assets\Resources\base\embed\ui" packageCount="2">
|
||||||
<atlas name="默认" index="0"/>
|
<atlas name="默认" index="0"/>
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
<action type="play_transition" fromPage="0" toPage="1" transition="t0"/>
|
<action type="play_transition" fromPage="0" toPage="1" transition="t0"/>
|
||||||
</controller>
|
</controller>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n141_ht5v" name="n141" src="ht5v7cnr" fileName="mainbg.png" xy="-145,0">
|
<image id="n141_ht5v" name="n141" src="ht5v7cnr" fileName="mainbg.png" xy="-145,0" aspect="true">
|
||||||
<relation target="" sidePair="height-height,center-center,middle-middle"/>
|
<relation target="" sidePair="height-height%,center-center,middle-middle"/>
|
||||||
</image>
|
</image>
|
||||||
<loader id="n145_h5le" name="clip_bg" xy="-145,0" size="1633,972" url="ui://2d9xdj6zy1us7d3u">
|
<loader id="n145_h5le" name="clip_bg" xy="-145,0" size="1633,972" url="ui://2d9xdj6zy1us7d3u">
|
||||||
<relation target="" sidePair="center-center,middle-middle"/>
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
|
@ -19,21 +19,21 @@
|
||||||
<image id="n140_csp4" name="n140" src="csp47cn2" fileName="component/index/images/renwu.png" xy="109,137" size="492,614" visible="false">
|
<image id="n140_csp4" name="n140" src="csp47cn2" fileName="component/index/images/renwu.png" xy="109,137" size="492,614" visible="false">
|
||||||
<relation target="" sidePair="center-center,middle-middle"/>
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
</image>
|
</image>
|
||||||
<image id="n149_thxk" name="n149" src="thxk7dqu" fileName="images/index/Group 641.png" xy="88,31" size="272,95" group="n28">
|
<image id="n149_thxk" name="n149" src="thxk7dqu" fileName="images/index/Group 641.png" xy="88,21" size="272,95" group="n28">
|
||||||
<relation target="" sidePair="left-left,top-top"/>
|
<relation target="" sidePair="left-left,top-top"/>
|
||||||
</image>
|
</image>
|
||||||
<component id="n29" name="btn_head" src="zktq7d3s" fileName="component/button/Head.xml" xy="12,11" size="127,127" group="n28" aspect="true">
|
<component id="n29" name="btn_head" src="zktq7d3s" fileName="component/button/Head.xml" xy="12,11" size="114,114" group="n28" aspect="true">
|
||||||
<relation target="" sidePair="width-width%,height-height%,left-left,top-top"/>
|
<relation target="" sidePair="width-width%,height-height%,left-left,top-top"/>
|
||||||
</component>
|
</component>
|
||||||
<text id="n26" name="tex_name" xy="139,35" size="202,44" group="n28" font="ui://27vd145bilon7ia1" fontSize="32" color="#ffffff" vAlign="middle" autoSize="none" bold="true" text="老司机带带我">
|
<text id="n26" name="tex_name" xy="126,24" size="202,44" group="n28" font="ui://27vd145bilon7ia1" fontSize="32" color="#ffffff" vAlign="middle" autoSize="none" bold="true" text="老司机带带我">
|
||||||
<relation target="" sidePair="top-top%"/>
|
<relation target="" sidePair="top-top%"/>
|
||||||
<relation target="n29" sidePair="left-right"/>
|
<relation target="n29" sidePair="left-right"/>
|
||||||
</text>
|
</text>
|
||||||
<text id="n84_mv8k" name="tex_id" xy="140,80" size="143,42" group="n28" font="ui://27vd145bilon7ia1" fontSize="30" color="#ffffff" bold="true" text="ID:123456">
|
<text id="n84_mv8k" name="tex_id" xy="127,69" size="143,42" group="n28" font="ui://27vd145bilon7ia1" fontSize="30" color="#ffffff" bold="true" text="ID:123456">
|
||||||
<relation target="" sidePair="top-top%"/>
|
<relation target="" sidePair="top-top%"/>
|
||||||
<relation target="n29" sidePair="left-right"/>
|
<relation target="n29" sidePair="left-right"/>
|
||||||
</text>
|
</text>
|
||||||
<group id="n28" name="player_info_panel" xy="12,11" size="348,127" advanced="true">
|
<group id="n28" name="player_info_panel" xy="12,11" size="348,114" advanced="true">
|
||||||
<relation target="" sidePair="left-left,top-top"/>
|
<relation target="" sidePair="left-left,top-top"/>
|
||||||
</group>
|
</group>
|
||||||
<image id="n82_m0ei" name="n82" src="thxk7dou" fileName="images/index/Rectangle 23.png" xy="42,645" size="1261,106" group="n7">
|
<image id="n82_m0ei" name="n82" src="thxk7dou" fileName="images/index/Rectangle 23.png" xy="42,645" size="1261,106" group="n7">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<component size="178,51" extention="Button">
|
<component size="178,51" extention="Button">
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n9_ovii" name="n9" src="thxk7dog" fileName="images/index/Rectangle 29.png" xy="13,3" size="240,47"/>
|
<image id="n9_ovii" name="n9" src="thxk7dog" fileName="images/index/Rectangle 29.png" xy="13,3" size="240,47"/>
|
||||||
<text id="n1_lwcl" name="title" xy="42,6" size="193,44" font="ui://27vd145bilon7ia1" fontSize="32" color="#ffffff" align="center" vAlign="middle" bold="true" text="0999999999"/>
|
<text id="n1_lwcl" name="title" xy="42,6" size="193,44" font="ui://27vd145bilon7ia1" fontSize="32" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" text="0999999999"/>
|
||||||
<image id="n7_ovii" name="n7" src="thxk7doc" fileName="images/index/Group 634.png" xy="0,0"/>
|
<image id="n7_ovii" name="n7" src="thxk7doc" fileName="images/index/Group 634.png" xy="0,0"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
<Button/>
|
<Button/>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 18 KiB |
|
|
@ -5,18 +5,22 @@
|
||||||
<image id="n31_lwcl" name="n31" src="lwclq" fileName="denglu_bg_01.png" pkg="0khx14ar" xy="-216,0" size="1751,750">
|
<image id="n31_lwcl" name="n31" src="lwclq" fileName="denglu_bg_01.png" pkg="0khx14ar" xy="-216,0" size="1751,750">
|
||||||
<relation target="" sidePair="center-center,middle-middle"/>
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
</image>
|
</image>
|
||||||
|
<loader id="n79_thxk" name="clip_xuehua" xy="0,0" size="1334,750" url="ui://2zlli80mthxk7cja" align="center" vAlign="middle"/>
|
||||||
|
<loader id="n80_thxk" name="clip_yueque" xy="366,162" size="602,425" url="ui://2zlli80mthxk7cms" align="center" vAlign="middle">
|
||||||
|
<relation target="" sidePair="center-center,middle-middle"/>
|
||||||
|
</loader>
|
||||||
<image id="n74_xn94" name="n74" src="xn9417" fileName="hall_girl_bg@2x.png" pkg="0khx14ar" xy="355,106" visible="false">
|
<image id="n74_xn94" name="n74" src="xn9417" fileName="hall_girl_bg@2x.png" pkg="0khx14ar" xy="355,106" visible="false">
|
||||||
<relation target="" sidePair="center-center"/>
|
<relation target="" sidePair="center-center"/>
|
||||||
</image>
|
</image>
|
||||||
<component id="n77_9q7v" name="btn_phone" src="9q7vcir" fileName="commpoent/Btn_phone.xml" xy="891,561" group="n27"/>
|
<component id="n77_9q7v" name="btn_phone" src="9q7vcir" fileName="commpoent/Btn_phone.xml" xy="326,524" group="n27"/>
|
||||||
<component id="n78_9q7v" name="btn_wx" src="9q7vciq" fileName="commpoent/Btn_wx.xml" xy="194,561" group="n27"/>
|
<component id="n78_9q7v" name="btn_wx" src="9q7vciq" fileName="commpoent/Btn_wx.xml" xy="702,524" group="n27"/>
|
||||||
<group id="n27" name="n27" xy="194,561" size="1019,122" advanced="true">
|
<group id="n27" name="n27" xy="326,524" size="682,96" advanced="true">
|
||||||
<relation target="" sidePair="bottom-bottom,center-center"/>
|
<relation target="" sidePair="bottom-bottom,center-center"/>
|
||||||
</group>
|
</group>
|
||||||
<graph id="n5" name="n5" xy="887,406" size="487,206" group="n26" type="rect" lineSize="0" fillColor="#66000000"/>
|
<graph id="n5" name="n5" xy="887,406" size="487,206" group="n26" type="rect" lineSize="0" fillColor="#66000000"/>
|
||||||
<graph id="n6" name="n6" xy="1060,469" size="242,38" group="n9" type="rect" lineColor="#ff333333" fillColor="#ff666666"/>
|
<graph id="n6" name="n6" xy="1060,469" size="242,38" group="n9" type="rect" lineColor="#ff333333" fillColor="#ff666666"/>
|
||||||
<text id="n7" name="tex_unionid" xy="1064,472" size="231,35" group="n9" fontSize="25" color="#ffffff" autoSize="height" text="test" input="true" prompt="输入账号" maxLength="30" keyboardType="1"/>
|
<text id="n7" name="tex_unionid" xy="1064,472" size="231,35" group="n9" fontSize="25" color="#ffffff" autoSize="height" text="test" input="true" prompt="输入账号" maxLength="30" keyboardType="1"/>
|
||||||
<text id="n8" name="n8" xy="956,472" size="103,35" group="n9" fontSize="25" color="#ffffff" text="测试账号"/>
|
<text id="n8" name="n8" xy="956,472" size="104,35" group="n9" fontSize="25" color="#ffffff" text="测试账号"/>
|
||||||
<group id="n9" name="n9" xy="956,469" size="346,38" group="n26"/>
|
<group id="n9" name="n9" xy="956,469" size="346,38" group="n26"/>
|
||||||
<group id="n26" name="n26" xy="887,406" size="487,206" advanced="true">
|
<group id="n26" name="n26" xy="887,406" size="487,206" advanced="true">
|
||||||
<gearDisplay controller="test" pages="1"/>
|
<gearDisplay controller="test" pages="1"/>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="322,122" extention="Button">
|
<component size="306,96" extention="Button">
|
||||||
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n4_csp4" name="n4" src="r6cy18" fileName="images/btn_phone.png" xy="0,0"/>
|
<image id="n4_csp4" name="n4" src="thxk7cj6" fileName="images/Group 21.png" xy="0,0"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
<Button downEffect="dark" downEffectValue=".8"/>
|
<Button downEffect="dark" downEffectValue=".8"/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="322,122" extention="Button">
|
<component size="306,96" extention="Button">
|
||||||
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||||
<displayList>
|
<displayList>
|
||||||
<image id="n4_csp4" name="n4" src="lwclk" fileName="images/button_wx.png" xy="0,0"/>
|
<image id="n4_csp4" name="n4" src="thxk7cj8" fileName="images/Group 22.png" xy="0,0"/>
|
||||||
</displayList>
|
</displayList>
|
||||||
<Button downEffect="dark" downEffectValue=".8"/>
|
<Button downEffect="dark" downEffectValue=".8"/>
|
||||||
</component>
|
</component>
|
||||||
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 145 KiB |