Master Data Reference of GS2-Dictionary
Reference of the format of master data and various models to be imported
Master Data Format
{
"version": "2020-04-30",
"entryModels": [
{
"name": "[string]Entry Model Name",
"metadata": "[string?]Metadata"
}
]
}| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| version | string | ✓ | 2020-04-30 | Format version of master data | ||
| entryModels | List<EntryModel> | ~ 10000 items | Entry Model The Entry Model is the entity to be recorded in the index. This section defines what kind of entities can be recorded in the index. |
Model
EntryModel
Entry Model
The Entry Model is the entity to be recorded in the index. This section defines what kind of entities can be recorded in the index.
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| entryModelId | string | ✓* | ~ 1024 chars | Entry Model GRN * Automatically configured on the server | ||
| name | string | ✓ | ~ 128 chars | Entry Model Name | ||
| metadata | string | ~ 2048 chars | Metadata Arbitrary values can be set in the metadata. Since they do not affect GS2’s behavior, they can be used to store information used in the game. |