rotationtemplate.luac.lua

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

LUA
30
字号
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 5;0;0;; 036fd06b_manila.luac 

require("class")
local l_0_0 = class()
RotationTemplate = l_0_0
l_0_0 = RotationTemplate
l_0_0.__init = function(l_1_0)
   trace("+++++++[RotationTemplate] : __init")
   l_1_0._application = _application
   l_1_0._request = _request
   l_1_0._application.OnOrientationChanged:connect(l_1_0.OnScreenRotation, l_1_0)
   l_1_0:OnScreenRotation()
   l_1_0._request.NavigateOutTo:connect(l_1_0.Destory, l_1_0)
end

l_0_0 = RotationTemplate
l_0_0.OnScreenRotation = function(l_2_0)
   trace("+++++++++[RotationTemplate] : OnScreenRotation")
end

l_0_0 = RotationTemplate
l_0_0.Destory = function(l_3_0)
   trace("+++++++++[RotationTemplate] : Destory")
   l_3_0._application.OnOrientationChanged:disconnect(l_3_0.OnScreenRotation, l_3_0)
   l_3_0._request.NavigateOutTo:disconnect(l_3_0.Destory, l_3_0)
end


⌨️ 快捷键说明

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