New translation update from Crowdin (#2318)

This commit is contained in:
BruceChen 2022-11-04 09:46:21 +08:00 committed by GitHub
parent 4341304c05
commit 524dbea8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
284 changed files with 158096 additions and 720 deletions

View file

@ -91,8 +91,7 @@ Chat Bot (Script) structure is the following:
<chat bot class>
```
**Script Metadata** is a section with a custom format that mixes in C# with our format using comments.
Every single Chat Bot (Script) must have this section at the beginning in order to work.
**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. Every single Chat Bot (Script) must have this section at the beginning in order to work.
### Script Metadata Format
@ -154,8 +153,7 @@ After the end of the **Script Metadata** section, you basically can define any n
There are no required methods, everything is optional.
When the Chat Bot (Script) has been initialized for the first time the `Initialize` method will be called.
In it you can initialize variables, eg. Dictionaries, etc..
When the Chat Bot (Script) has been initialized for the first time the `Initialize` method will be called. In it you can initialize variables, eg. Dictionaries, etc.. In it you can initialize variables, eg. Dictionaries, etc..
> ** NOTE: For allocating resources like a database connection, we recommend allocating them in `AfterGameJoined` and freeing them in `OnDisconnect`**.