Skip to content

Commit

Permalink
Update gamecore.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRainy authored Aug 3, 2023
1 parent 581c25c commit 1dd8940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/minecraftlaunch/utils/gamecore.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GameCoreUtil(DirectoryInfo root);

:::tip
我们为 `GameCoreUtil` 类型的参数提供了隐式转换器,在需要使用 `GameCoreUtil` 类型的参数时,可以传入 `string` 类型, `DirectoryInfo` 类型, `GameCore` 类型的参数,其将会被装箱为`GameCoreUtil`类型,例如:
`GameCoreInstaller installer = new("minecraft", "1.12.2");`
`GameCoreInstaller installer = new(".minecraft", "1.12.2");`
:::

## 基本信息
Expand Down Expand Up @@ -93,4 +93,4 @@ GameCoreUtil(DirectoryInfo root);
+ 代码示例
```C#
await GameCoreUtil.CreateLaunchScriptAsync(GameCore core, LaunchConfig config, string stringPath);
```
```

2 comments on commit 1dd8940

@vercel
Copy link

@vercel vercel bot commented on 1dd8940 Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 1dd8940 Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.