|
ElectroServer 5 Client: C#
|
This class manages the list of zones that you should know about based on the rooms that you are in. More...
Public Member Functions | |
| ZoneManager () | |
| Creates a new instance of the ZoneManager class. More... | |
| Zone | ZoneById (int zoneId) |
| Gets a zone by id. More... | |
| Zone | ZoneByName (string name) |
| Gets a zone by name. More... | |
Properties | |
| ICollection< Zone > | Zones [get] |
| Gets the list of Zone objects being tracked. More... | |
This class manages the list of zones that you should know about based on the rooms that you are in.
Convenient methods are available for looking up rooms. It is not intended that you would create a new instance of this class. It is instantiated and used by the ElectroServer class. You can access it through an ElectroServer class instance.
| Electrotank.Electroserver5.Core.ZoneManager.ZoneManager | ( | ) |
Creates a new instance of the ZoneManager class.
| Zone Electrotank.Electroserver5.Core.ZoneManager.ZoneById | ( | int | zoneId | ) |
Gets a zone by id.
| zoneId | Id of the zone to find. |
| Zone Electrotank.Electroserver5.Core.ZoneManager.ZoneByName | ( | string | name | ) |
Gets a zone by name.
| name | Name of the zone to find. |