The character costumes looks more like it was set Tang Dynasty, but with the introduction of Flintlock in one chapter, there is a theory that this was a fictional Tang dynasty that never collapsed like in real history and continued to 17-18th century.
You can read comments in this thread to...