默认头像修改
parent
ef70664094
commit
8c17716e1c
|
|
@ -1365,7 +1365,7 @@ end
|
||||||
|
|
||||||
--- 获取玩家头像框资源
|
--- 获取玩家头像框资源
|
||||||
function GetPlayerHeadFrameSprite(frameId)
|
function GetPlayerHeadFrameSprite(frameId)
|
||||||
if frameId == 0 then frameId = 80001 end
|
if frameId == 0 then frameId = 80000 end
|
||||||
local frame = ConfigManager.GetConfigData(ConfigName.ItemConfig, frameId)
|
local frame = ConfigManager.GetConfigData(ConfigName.ItemConfig, frameId)
|
||||||
return Util.LoadSprite(GetResourcePath(frame.ResourceID))
|
return Util.LoadSprite(GetResourcePath(frame.ResourceID))
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue