Files
StellaSora_DataLua/lua/main.lua
T
SL1900 35fe1f046d Hotfix - 1.8.0.98
EN: 1.8.0.98
CN: 1.8.0.99
JP: 1.8.0.101
KR: 1.8.0.103
2026-04-07 13:00:00 +09:00

21 lines
958 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
require("GameCore.GameCore")
local GameResourceLoader = require("Game.Common.Resource.GameResourceLoader")
local ResTypeAny = GameResourceLoader.ResType.Any
local typeof = typeof
NovaAPI.EnterModule("LoginModuleScene", true)
if NovaAPI.IsEditorPlatform() then
local forEachLine_Story = function(mapLineData)
if mapLineData.AvgLuaName ~= "" then
local nLanIdx = GetLanguageIndex(Settings.sCurrentTxtLanguage)
local sRequireRootPath = GetAvgLuaRequireRoot(nLanIdx) .. "Config/"
local sAvgCfgPath = NovaAPI.ApplicationDataPath .. "/../Lua/" .. sRequireRootPath .. mapLineData.AvgLuaName .. ".lua"
local isFileExists = CS.System.IO.File.Exists(sAvgCfgPath)
if not isFileExists then
printError("Story表中有不存在的Avg文件,请检查Story表,AvgName" .. sAvgCfgPath)
end
end
end
ForEachTableLine(DataTable.Story, forEachLine_Story)
end
CS.GameCameraStackManager.Instance.autoVerticalToHorizontalFieldOfViewAspect = 1.53