| | |
| | | #
|
| | | # è¯¦ç»æè¿°: 读åPY表
|
| | | #
|
| | | # @note: æ¬èæ¬ç± \PySysDB\çæIpyGameDataPY çæ
|
| | | #
|
| | | #-------------------------------------------------------------------------------
|
| | | #"""Version = 2018-05-10 12:00"""
|
| | | #-------------------------------------------------------------------------------
|
| | |
| | |
|
| | | def __LoadFileData(self, tableName, onlyCheck=False):
|
| | | # @param onlyCheck: æ¯å¦ä»
æ£æ¥æ ¼å¼ï¼ä¸è¬å¯å¨æ¶ç¨
|
| | | curPath = "<%LoadStructPath%>" + "\\PySysDB\\tag" + tableName + ".txt"
|
| | | curPath = "<%LoadStructPath%>" + "\\PySysDB\\" + tableName + ".txt"
|
| | | if not os.path.isfile(curPath):
|
| | | ErrLog("can not find file = %s,%s" % (tableName, curPath))
|
| | | raise Exception("can not find file = %s,%s" % (tableName, curPath))
|
| | | curPath = "<%LoadStructPath%>" + "\\PySysDB\\tag" + tableName + ".txt"
|
| | | if not os.path.isfile(curPath):
|
| | | ErrLog("can not find file = %s,%s" % (tableName, curPath))
|
| | | raise Exception("can not find file = %s,%s" % (tableName, curPath))
|
| | |
|
| | | if not onlyCheck:
|
| | | if not hasattr(self, "ipy%sLen" % tableName):
|