- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 245:
Line 245:
− return table.concat(self._rows, "\n") +
Line 253:
Line 253:
+
+
+
+
Line 270:
Line 274:
− return self:join_rows() +
+
+
Add post processing hook
function BaseTable:join_rows()
function BaseTable:join_rows()
self._result = table.concat(self._rows, "\n")
end
end
function BaseTable:create_items_post()
function BaseTable:create_items_post()
return
end
function BaseTable:post_process()
return
return
end
end
self:build_rows()
self:build_rows()
self:finish_rows()
self:finish_rows()
self:join_rows()
self:post_process()
return self._result
end
end
return BaseTable
return BaseTable