⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1.lua

📁 htc manila 2 sourcecode
💻 LUA
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;0;0;; 190f7f60_manila_ADC.luac 

pressLaunchCameraOnRelease = function(l_1_0, l_1_1)
   if gnViewType == 1 then
      gLaunchCamera()
      l_1_1 = true
   end
end

ConnectPortraitLaunchCamera = function(l_2_0)
   if l_2_0 == true then
      pressLauncgCameraText_P.onRelease:connect(pressLaunchCameraOnRelease)
      noImageSprit_P.onRelease:connect(pressLaunchCameraOnRelease)
   else
      pressLauncgCameraText_P.onRelease:disconnect(pressLaunchCameraOnRelease)
      noImageSprit_P.onRelease:disconnect(pressLaunchCameraOnRelease)
   end
end

ConnectLandscapeLaunchCamera = function(l_3_0)
   if l_3_0 == true then
      pressLauncgCameraText_L.onRelease:connect(pressLaunchCameraOnRelease)
      noImageSprit_L.onRelease:connect(pressLaunchCameraOnRelease)
   else
      pressLauncgCameraText_L.onRelease:disconnect(pressLaunchCameraOnRelease)
      noImageSprit_L.onRelease:disconnect(pressLaunchCameraOnRelease)
   end
end


if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" and
  _application.Orientation == ScreenOrientation_Landscape then
  ConnectLandscapeLaunchCamera(true)
else
  ConnectPortraitLaunchCamera(true)
end

⌨️ 快捷键说明

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