e0549005e1
EN: 1.9.0.103 CN: 1.9.0.104 JP: 1.9.0.106 KR: 1.9.0.108
22 lines
962 B
Lua
22 lines
962 B
Lua
require("GameCore.GameCore")
|
||
local GameResourceLoader = require("Game.Common.Resource.GameResourceLoader")
|
||
local ResTypeAny = GameResourceLoader.ResType.Any
|
||
local typeof = typeof
|
||
local ClientManager = CS.ClientManager
|
||
local FrameworkMiscUtils = CS.FrameworkMiscUtils
|
||
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
|