peopleindicatorloader.luac.lua

来自「htc manila 2 sourcecode」· LUA 代码 · 共 43 行

LUA
43
字号
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 11;0;0,0,8,44; 5bdfbed4_manila.luac 

trace("PeopleIndicatorLoader scripts")
require("class")
require("contacts_database_svc")
local l_0_0 = class()
PeopleIndicatorLoader = l_0_0
l_0_0 = PeopleIndicatorLoader
l_0_0.__init = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5)
   l_1_0.Loader = l_1_1
   l_1_0.Indi = l_1_2
   l_1_0.message = l_1_3
   l_1_0.name = l_1_4
   l_1_0.Loader.OnComplete:connect(l_1_0.HandleLoadComplete, l_1_0)
   l_1_0.Loader:BeginLoadInd(l_1_5)
end

l_0_0 = PeopleIndicatorLoader
l_0_0.HandleLoadComplete = function(l_2_0, l_2_1)
   l_2_0.Loader.OnComplete:disconnect(l_2_0.HandleLoadComplete, l_2_0)
   local l_2_2 = l_2_1:GetIndicator()
   if l_2_0.Indi ~= nil and l_2_2 then
      l_2_0.Indi.Position.x = 63
      l_2_0.Indi.Position.y = -24
      l_2_0.Indi.Position.z = 0
      l_2_0.Indi.Size.width = 32
      l_2_0.Indi.Size.height = 32
      l_2_0.Indi.TextureCoords:set(0.0625, 0, 0.59375, 0.53125)
      l_2_0.Indi:SetTextureRef("Icon_MissCall")
      l_2_0.Indi._visible = true
   end
   local l_2_3 = l_2_1:GetFBStatus()
   trace("FBStatus===" .. tostring(l_2_3))
   if l_2_0.message ~= nil and l_2_3 ~= nil and l_2_3:len() > 0 then
      l_2_0.name.Position.y = 0
      l_2_0.message.String = l_2_3
      l_2_0.message._visible = true
   end
end


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?