ElectroServer 5 Client: C#
Electrotank.Electroserver5.Core.ZoneManager Class Reference

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< ZoneZones [get]
 Gets the list of Zone objects being tracked. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

Electrotank.Electroserver5.Core.ZoneManager.ZoneManager ( )

Creates a new instance of the ZoneManager class.

Member Function Documentation

Zone Electrotank.Electroserver5.Core.ZoneManager.ZoneById ( int  zoneId)

Gets a zone by id.

Parameters
zoneIdId of the zone to find.
Zone Electrotank.Electroserver5.Core.ZoneManager.ZoneByName ( string  name)

Gets a zone by name.

Parameters
nameName of the zone to find.

Property Documentation

ICollection<Zone> Electrotank.Electroserver5.Core.ZoneManager.Zones
get

Gets the list of Zone objects being tracked.