📄 peopleimageloader.luac.lua
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 11;0;; 464e7aba_manila.luac
trace("PeopleImageLoader scripts")
require("class")
require("contacts_database_svc")
local l_0_0 = class()
PeopleImageLoader = l_0_0
l_0_0 = PeopleImageLoader
l_0_0.__init = function(l_1_0, l_1_1, l_1_2, l_1_3)
l_1_0.Loader = l_1_1
l_1_0.Element = l_1_2
l_1_0.Loader.OnComplete:connect(l_1_0.HandleLoadComplete, l_1_0)
l_1_0.Loader:BeginLoadPic(l_1_3)
end
l_0_0 = PeopleImageLoader
l_0_0.HandleLoadComplete = function(l_2_0, l_2_1)
l_2_0.Loader.OnComplete:disconnect(l_2_0.HandleLoadComplete, l_2_0)
if l_2_1:HasImage() then
l_2_0.Element.TextureCoords.value = l_2_1:GetUV()
l_2_0.Element:SetTexture(l_2_1:GetImage())
else
if not l_2_0.Element:IsTextureSet() then
l_2_0.Element:SetTextureRef("PeoplePlaceholderSmall")
l_2_0.Element.TextureCoords:set(0, 0, 0.92578125, 0.92578125)
end
end
if not l_2_0.Element._visible then
l_2_0.Element._visible = true
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -