Get Trading Post
Information about the Central HUB, or as it was originally called the Trading Post.
Response Body
| Name | Type | Description |
|---|---|---|
ID |
String |
Unique ID of the Factory Building. |
Name |
String |
Name of the Factory Building. |
ClassName |
String |
ClassName of the Factory Building. |
location |
Object |
Location details of the HUB. |
x |
Float |
X Location in the World. |
y |
Float |
Y Location in the World. |
z |
Float |
Z Location in the World. |
rotation |
Float |
Rotation of the Actor (0 - 359, 0 = North, 90 = East, 180 = South, 270 = West). |
ColorSlot |
Object |
Color/Decoration information about the Actor. |
PrimaryColor |
String |
Hex Code of Primary Color |
SecondaryColor |
String |
Hex Code of Secondary Color |
BoundingBox |
Object |
Bounding Box information about the Actor. |
min |
Object |
The minimum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
max |
Object |
The maximum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
HUBLevel |
Integer |
HUB Level, not milestone level, from the Tier 0 Tutorial Section |
features |
Object |
An object with actor coordinates and name information. |
properties |
Object |
Name information about the actor. |
name |
String |
Display Name of the Actor. |
type |
String |
Type of the Object. |
geometry |
Object |
Geometry information about the Actor. |
coordinates |
Object |
The Actor coordinates. |
x |
Float |
X Location of the Actor. |
y |
Float |
Y Location of the Actor. |
z |
Float |
Z Location of the Actor. |
type |
String |
It’s always "Point". == Example Response [source,json] ----------------- [ { "ID": "Build_TradingPost_C_2146408329", "Name": "The HUB", "ClassName": "Build_TradingPost_C", "location": { "x": -259600, "y": -46500, "z": -399.988555908203, "rotation": 270 }, "BoundingBox": { "min": { "x": -260400, "y": -47780, "z": -399.988555908203 }, "max": { "x": -259000, "y": -45180, "z": 1150.0114440918 } }, "ColorSlot": { "PrimaryColor": "FA954900", "SecondaryColor": "5F668C00" }, "HUBLevel": 6, "features": { "properties": { "name": "The HUB", "type": "The HUB" }, "geometry": { "coordinates": { "x": -259600, "y": -46500, "z": -399.988555908203 }, "type": "Point" } } } ] ----------------- |