| 16 | { } |
| 17 | |
| 18 | Dictionary::Ptr ZoneDbObject::GetConfigFields() const |
| 19 | { |
| 20 | Zone::Ptr zone = static_pointer_cast<Zone>(GetObject()); |
| 21 | |
| 22 | return new Dictionary({ |
| 23 | { "is_global", zone->IsGlobal() ? 1 : 0 }, |
| 24 | { "parent_zone_object_id", zone->GetParent() } |
| 25 | |
| 26 | }); |
| 27 | } |
| 28 | |
| 29 | Dictionary::Ptr ZoneDbObject::GetStatusFields() const |
| 30 | { |