Commit d4fe205d authored by mercury233's avatar mercury233

format

parent 53eaabb4
...@@ -14,31 +14,31 @@ A C# bot for ygopro, compatible with the ygosharp and srvpro server. ...@@ -14,31 +14,31 @@ A C# bot for ygopro, compatible with the ygosharp and srvpro server.
### Supported commandlines ### Supported commandlines
`Name` `Name`
The nickname for the bot. The nickname for the bot.
`Deck` `Deck`
The deck to be used by the bot. Available decks are listed below. Keep empty to use random deck. The deck to be used by the bot. Available decks are listed below. Keep empty to use random deck.
`Dialog` `Dialog`
The dialog texts to be used by the bot. See Dialogs folder for list. The dialog texts to be used by the bot. See Dialogs folder for list.
`Host` `Host`
The IP of the host to be connected to. The IP of the host to be connected to.
`Port` `Port`
The port of the host to be connected to. The port of the host to be connected to.
`HostInfo` `HostInfo`
The host info (password) to be used. The host info (password) to be used.
`Version` `Version`
The version of YGOPro. The version of YGOPro.
`Hand` `Hand`
If you are testing deck, you may want to make sure the bot go first or second. `Hand=1` will make the bot always show Scissors, 2 for Rock, 3 for Paper. If you are testing deck, you may want to make sure the bot go first or second. `Hand=1` will make the bot always show Scissors, 2 for Rock, 3 for Paper.
`ServerMode` and `ServerPort` `ServerMode` and `ServerPort`
Windbot can run as a "server", provide a http interface to create bot. Windbot can run as a "server", provide a http interface to create bot.
### Available decks ### Available decks
...@@ -78,5 +78,7 @@ Windbot can run as a "server", provide a http interface to create bot. ...@@ -78,5 +78,7 @@ Windbot can run as a "server", provide a http interface to create bot.
### Server mode ### Server mode
Windbot can run as a "server", provide a http interface to create bot. Windbot can run as a "server", provide a http interface to create bot.
eg. `http://127.0.0.1:2399/?name=%E2%91%A8&deck=Blue-Eyes&host=127.0.0.1&port=7911&dialog=cirno.zh-CN&version=4928` eg. `http://127.0.0.1:2399/?name=%E2%91%A8&deck=Blue-Eyes&host=127.0.0.1&port=7911&dialog=cirno.zh-CN&version=4928`
In this situation, it will be multi-threaded. This can be useful for servers, since it don't use large amount memory. In this situation, it will be multi-threaded. This can be useful for servers, since it don't use large amount memory.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment