albumglobal.luac.lua

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

LUA
61
字号
-- Decompiled using luadec 0.6 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;;;;; 23067a09_manila.luac 

OnNavComplete = function()
   trace("[AG] nav complete\n")
   if gDataModule ~= nil then
      gDataModule:LaunchEngine()
   end
end

OnNavigateOut = function(l_2_0)
   gExitingGizmo = true
   trace("[AG] Disable update\n")
   if gDataModule ~= nil then
      gDataModule.OnDBUpdate:disconnect(DBUpdate)
      gDataModule:DeInit()
   end
   _request.NavigateOutTo:disconnect(OnNavigateOut)
   Transition(l_2_0, "Out")
end

OnNavigateIn = function(l_3_0)
   if _config_os == "windowsmobile" then
      SetNavCompleteCallback(OnNavComplete)
   end
   _request.NavigateInFrom:disconnect(OnNavigateIn)
   Transition(l_3_0, "In")
end

if _config_os == "windowsmobile" then
   _request.NavigateOutTo:connect(OnNavigateOut)
   _request.NavigateInFrom:connect(OnNavigateIn)
end
gbDebug = false
traceCount = 0
traceLog = {}
for i = 0, 9 do
   traceLog[i] = ""
end
gMyTrace = function(l_4_0)
   if gbDebug == false then
      return 
   end
   traceText.Opacity.value = 100
   traceLog[traceCount] = l_4_0
   traceCount = traceCount + 1
   if traceCount > 9 then
      traceCount = 0
   end
   -- WARNING: pending registers. Declaring locals.
   local l_4_1 = 0
   local l_4_2 = ""
   for i = 0, 9 do
      l_4_2 = l_4_2 .. traceLog[i]
   end
   traceText.String = l_4_2
   trace(l_4_0)
end


⌨️ 快捷键说明

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