Skip to content

Commit b48b843

Browse files
committed
更新代码
1 parent 6b8414a commit b48b843

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/beginner/generatecodeanddata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Luban不仅支持导出配置数据,也内置支持生成多种语言的代码
55

66
## 生成数据
77

8-
命令行参数 `-d {dataTarget}`用于指定生成的数据类型,参数`-x outputDataDir={dataOutputDir}`用于指定代码输出目录。假设我们要生成json数据,示例如下:
8+
命令行参数 `-d {dataTarget}`用于指定生成的数据类型,参数`-x outputDataDir={dataOutputDir}`用于指定数据输出目录。假设我们要生成json数据,示例如下:
99

1010
```bat
1111
set GEN_CLIENT={Luban.dll的路径}

docs/beginner/usecollection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|-|-|-|
1313
|array|数组类型,与list相似,但生成的代码对应原生数组类型,如C#语言中对应 `xxx[]`| `array,int``array,string``array,Color``array,Item`|
1414
|list|列表类型,与array相似,但生成的代码对应List容器类型,如C#语言中对应 `List<xx>`| `list,int``list,string``list,Color``list,Item`|
15-
|set|集合类型,要求元素值唯一,生成的代码对应Set容器类型,如C#语言中对应 `HashSet<xx>`| `list,int``list,string``list,Color`|
15+
|set|集合类型,要求元素值唯一,生成的代码对应Set容器类型,如C#语言中对应 `HashSet<xx>`| `set,int``set,string``set,Color`|
1616
|map|字典类型,要求键唯一,生成的代码对应Map类型,如C#语言中对应`Dictionary<xx,yy>`|`map,int,int``map,string,string`, `map,Color,int``map,int,Item`|
1717

1818
## 填写array、list、set数据

i18n/en/docusaurus-plugin-content-docs/current/beginner/generatecodeanddata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Even if the language you use is not in the default supported language list, it c
66

77
## Generate data
88

9-
The command line parameter `-d {dataTarget}` is used to specify the generated data type, and the parameter `-x outputDataDir={dataOutputDir}` is used to specify the code output directory. Suppose we want to generate json data, the example is as follows:
9+
The command line parameter `-d {dataTarget}` is used to specify the generated data type, and the parameter `-x outputDataDir={dataOutputDir}` is used to specify the data output directory. Suppose we want to generate json data, the example is as follows:
1010

1111
```bat
1212
set GEN_CLIENT={path to Luban.dll}

i18n/en/docusaurus-plugin-content-docs/current/beginner/usecollection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Currently supports 4 basic container types, see [Container Type](../manual/types
1212
|-|-|-|
1313
|array|Array type, similar to list, but the generated code corresponds to the native array type, such as `xxx[]` in C# language| `array,int`, `array,string`, `array,Color`, `array,Item`|
1414
|list|List type, similar to array, but the generated code corresponds to the List container type, such as `List<xx>` in C# language| `list,int`, `list,string`, `list,Color`, `list,Item`|
15-
|set|Set type, requires unique element values, the generated code corresponds to the Set container type, such as `HashSet<xx>` in C# language| `list,int``list,string``list,Color`|
16-
|map|Dictionary type, key is required to be unique, the generated code corresponds to Map type, such as `Dictionary<xx,yy>`|`map,int,int``map,string,string`, `map,Color,int``map,int,Item`| in C# language
15+
|set|Set type, requires unique element values, the generated code corresponds to the Set container type, such as `HashSet<xx>` in C# language| `set,int``set,string``set,Color`|
16+
|map|Dictionary type, key is required to be unique, the generated code corresponds to Map type, such as `Dictionary<xx,yy>` in C# language|`map,int,int``map,string,string`, `map,Color,int``map,int,Item`|
1717

1818
## Fill in array, list, set data
1919

0 commit comments

Comments
 (0)