Master Data Reference of GS2-MegaField
{
"version": "2022-08-28",
"areaModels": [
{
"name": "[string]Area Model Name",
"metadata": "[string?]metadata",
"layerModels": [
{
"layerModelId": "[string]Layer Model GRN",
"name": "[string]Layer Model Name",
"metadata": "[string?]metadata"
}
]
}
]
}
| Type | Condition | Require | Default | Limitation | Description |
---|
version | | | ✓ | 2022-08-28 | | Format version of master data |
areaModels | List<AreaModel> | | | | ~ 50 items | Area divides space, and different areas can be treated as different spaces even if they have the same coordinates. |
AreaModel
Area divides space, and different areas can be treated as different spaces even if they have the same coordinates.
| Type | Condition | Require | Default | Limitation | Description |
---|
areaModelId | string | | ✓ | | ~ 1024 chars | Area Model GRN |
name | string | | ✓ | | ~ 128 chars | Area Model Name |
metadata | string | | | | ~ 2048 chars | metadata |
layerModels | List<LayerModel> | | | | ~ 1000 items | List of layer models |
LayerModel
Layers allow for multiple logical hierarchies within a single space.
For example, it solves the problem of an Enemy being invisible in a space with a large number of characters.
Characters are placed on Layer 1. If Enemies are placed on Layer 2, there is no need to worry about them becoming invisible, since each layer can specify the quantity to be acquired within a specified distance.
| Type | Condition | Require | Default | Limitation | Description |
---|
layerModelId | string | | ✓ | | ~ 1024 chars | Layer Model GRN |
name | string | | ✓ | | ~ 128 chars | Layer Model Name |
metadata | string | | | | ~ 2048 chars | metadata |
Position
Position
| Type | Condition | Require | Default | Limitation | Description |
---|
x | float | | ✓ | | ~ 1048574 | X position |
y | float | | ✓ | | ~ 1048574 | Y position |
z | float | | ✓ | | ~ 1048574 | Z position |
MyPosition
My Location
| Type | Condition | Require | Default | Limitation | Description |
---|
position | Position | | ✓ | | | Position |
vector | Vector | | ✓ | | | Vector |
r | float | | ✓ | 1 | ~ 10000 | Radius |
Scope
Surroundings to be acquired
| Type | Condition | Require | Default | Limitation | Description |
---|
layerName | string | | ✓ | | ~ 128 chars | Layer Model Name |
r | float | | ✓ | | 1 ~ 16777214 | Radius |
limit | int | | ✓ | | 1 ~ 100 | Maximum number of result |
Vector
Position
| Type | Condition | Require | Default | Limitation | Description |
---|
x | float | | ✓ | | ~ 1048574 | X position |
y | float | | ✓ | | ~ 1048574 | Y position |
z | float | | ✓ | | ~ 1048574 | Z position |