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 An Entry Model is master data that defines what can be recorded in the Dictionary within GS2-Dictionary. Each Entry Model represents a type of entity recorded in the Dictionary, such as monsters, items, or avatar parts. The possession state of an entry is managed as a binary state—recorded or not recorded—and there is no concept of quantity or stacking for a single Entry Model. |
Model
EntryModel
Entry Model
An Entry Model is master data that defines what can be recorded in the Dictionary within GS2-Dictionary. Each Entry Model represents a type of entity recorded in the Dictionary, such as monsters, items, or avatar parts.
The possession state of an entry is managed as a binary state—recorded or not recorded—and there is no concept of quantity or stacking for a single Entry Model.
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| entryModelId | string | ✓* | ~ 1024 chars | Entry Model GRN * Required (system-assigned) | ||
| 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. |