-- 未使用 XNewRoleShowManager = XNewRoleShowManager or {} -- --local TABLE_NEWROLE_PATH = "Client/Story/StoryRole.tab" --local RoleTemplate = {} -- function XNewRoleShowManager.Init() -- RoleTemplate = XTableManager.ReadByIntKey(TABLE_NEWROLE_PATH, XTable.XTableStoryRole, "RoleId") end -- --function XNewRoleShowManager.GetNewRoleShowTemplate(roleid) -- if not roleid then -- XLog.Error("XNewRoleShowManager.GetNewRoleShowTemplate 函数错误: 参数roleid不能为空") -- return -- end -- local result = RoleTemplate[roleid] -- if not result then -- XLog.ErrorTableDataNotFound("XNewRoleShowManager.GetNewRoleShowTemplate", "result", TABLE_NEWROLE_PATH, "roleid", tostring(roleid)) -- return -- end -- return result --end