Эх сурвалжийг харах

更新 src/module/globalfuns.h

1585346868 1 сар өмнө
parent
commit
97050d6dc6

+ 5 - 0
src/module/globalfuns.h

@@ -68,6 +68,11 @@ namespace module
 		/// </summary>
 		/// <returns></returns>
 		static int64 now_msec();
+		/// <summary>
+		/// 文件最后修改时间
+		/// </summary>
+		/// <returns></returns>
+		static std::string file_last_modify_time(const std::string& filepath);
 
 		static void regist(sol::state* lua);
 	};