File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ LuaDB.Dump()
5656
5757## Supported Data Types
5858
59+ - Key : must be a string
60+ - Value : can be a boolean, number, or string
61+
5962| Type | Storage Format | Notes |
6063| ---------| ------------------------| -------------------------|
6164| Boolean | 0/1 | 0 represents false |
@@ -77,7 +80,8 @@ LuaDB.SetG("ending_unlocked", "bad_ending")
7780LuaDB .Dump ()
7881```
7982## Build
80- - Build with Cmake and MSVC 2022
83+ - ` cmake -B build -G "Visual Studio 17 2022" -DSQLITECPP_RUN_CPPLINT=OFF `
84+ - ` cmake --build build --config Release `
8185
8286## Debugging
8387- Uses SQLite3 database named ` kcd2db.db ` in game root
@@ -147,6 +151,9 @@ LuaDB.Dump()
147151
148152## 数据类型支持
149153
154+ - Key : 必须是字符串
155+ - Value : 可以是布尔值、数字或字符串
156+
150157| 类型 | 存储格式 | 说明 |
151158| -----| -----------| -----------|
152159| 布尔值 | 0/1 | 0表示false |
@@ -169,7 +176,8 @@ LuaDB.Dump()
169176```
170177
171178## 构建
172- - 使用 Cmake 和 MSVC 2022 构建
179+ - ` cmake -B build -G "Visual Studio 17 2022" -DSQLITECPP_RUN_CPPLINT=OFF `
180+ - ` cmake --build build --config Release `
173181
174182## 调试
175183- 使用位于游戏根目录下名为 ` kcd2db.db ` 的 SQLite3 数据库
You can’t perform that action at this time.
0 commit comments