PGRData/Script/matrix/xconfig/XAssistConfig.lua

12 lines
352 B
Lua
Raw Normal View History

XAssistConfig = XAssistConfig or {}
local AssistRuleTemplate = {}
local TABLE_ASSISTRULE = "Share/Fuben/Assist/AssistRule.tab";
function XAssistConfig.Init()
AssistRuleTemplate = XTableManager.ReadByIntKey(TABLE_ASSISTRULE, XTable.XTableAssistRule, "Id")
end
function XAssistConfig.GetAssistRuleTemplate(id)
return AssistRuleTemplate[id]
end