名字提交

dev_chengFeng
jiaoyangna 2021-04-20 16:42:59 +08:00
parent 8590617839
commit 45b9c8d81b
2 changed files with 6 additions and 5 deletions

View File

@ -739,7 +739,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func)
--LogGreen("发送好友信息")
for i = 1, #msg.Friends do
if msg.Friends[i].id ~= PlayerManager.uid then
LogBlue("msg.Friends[i] "..msg.Friends[i].userSkin.." "..msg.Friends[i].userTitle.." "..msg.Friends[i].userMount.." "..msg.Friends[i].sex)
LogBlue("msg.Friends[i] "..msg.Friends[i].userSkin.." "..msg.Friends[i].userTitle.." "..msg.Friends[i].userMount.." "..msg.Friends[i].sex.." "..msg.Friends[i].userName)
table.insert(friendNPCList1,msg.Friends[i])
end
end
@ -755,7 +755,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func)
local MyGuildMemList = MyGuildManager.GetMyGuildMemList()
for i = 1, #MyGuildMemList do
if MyGuildMemList[i].roleUid ~= PlayerManager.uid then
LogBlue("MyGuildMemList[i] "..MyGuildMemList[i].userSkin.." "..MyGuildMemList[i].userTitle.." "..MyGuildMemList[i].userMount.." "..MyGuildMemList[i].sex)
LogBlue("MyGuildMemList[i] "..MyGuildMemList[i].userSkin.." "..MyGuildMemList[i].userTitle.." "..MyGuildMemList[i].userMount.." "..MyGuildMemList[i].sex.." "..MyGuildMemList[i].userName)
table.insert(GuildNPCList1,MyGuildMemList[i])
end
end
@ -774,7 +774,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func)
local rankAllList = RankingManager.GetRankingInfo()
for i = 1, math.max(20,#rankAllList) do
if rankAllList[i] and rankAllList[i].uid ~= PlayerManager.uid then
LogBlue("rankAllList[i] "..rankAllList[i].userSkin.." "..rankAllList[i].userTitle.." "..rankAllList[i].userMount.." "..rankAllList[i].sex)
LogBlue("rankAllList[i] "..rankAllList[i].userSkin.." "..rankAllList[i].userTitle.." "..rankAllList[i].userMount.." "..rankAllList[i].sex.." "..rankAllList[i].userName)
table.insert(rankNPCList1,rankAllList[i])
end
end

View File

@ -9,7 +9,7 @@ local m_roleTextPos = {
local namePos = {
[1] = {pos = Vector3.New(-1.86, 185.3, 0)}, -- 角色朝左,气泡在左
[2] = {pos = Vector3.New(154, 273.5, 0)} -- 反之
[2] = {pos = Vector3.New(-1.86, 273.5, 0)} -- 反之
}
-- 老头对话气泡位置
local m_oldManTextPos = {
@ -171,7 +171,8 @@ function SingleFightPlayerView:SetData(u,v,isSelf,data)
else
self.nameDi.transform.localPosition = namePos[2].pos
end
self.name.text = data.userName
LogGreen(data.userName.." data.userName ")
self.name.text = data.userName
self.nameDi.gameObject:SetActive(true)
end
self.playerLiveView:OnOpen(GetPlayerRoleSingleConFig().Scale2)