[This is preliminary documentation and is subject to change.]

The ZoneCollection type exposes the following methods.

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Add(Zone)
Adds a new zone to the collection. The name of the zone cannot match existing names.
Check(Vector3I, Player)
Checks how zones affect the given player's ability to affect a block at given coordinates.
CheckDetailed(Vector3I, Player, array<Zone>[]()[][]%, array<Zone>[]()[][]%)
Checks how zones affect the given player's ability to affect a block at given coordinates, in detail.
Clear()()()()
Removes all zones from the collection.
Clone()()()()
Contains(String)
Checks whether any zone with a given name is in the collection.
Contains(Zone)
Checks whether a given zone is in the collection.
CopyTo(array<Zone>[]()[][], Int32)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Find(String)
Finds a zone by name, with autocompletion. Zone names are case-insensitive. Note that this method is a lot slower than FindExact.
FindDenied(Vector3I, Player)
Finds which zone denied player's ability to affect a block at given coordinates. Used in conjunction with CheckZones().
FindExact(String)
Finds a zone by name, without using autocompletion. Zone names are case-insensitive.
GetEnumerator()()()()
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Joins all items in a collection into one comma-separated string. If the items are not strings, .ToString() is called on them.
(Inherited from EnumerableUtil.)
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String)
Joins all items in a collection into one string separated with the given separator. If the items are not strings, .ToString() is called on them.
(Inherited from EnumerableUtil.)
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), Func<(Of <<'(T, String>)>>))
Joins all items in a collection into one string separated with the given separator. A specified string conversion function is called on each item before contactenation.
(Inherited from EnumerableUtil.)
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String, Func<(Of <<'(T, String>)>>))
Joins all items in a collection into one string separated with the given separator. A specified string conversion function is called on each item before contactenation.
(Inherited from EnumerableUtil.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(String)
Remove(Zone)
Rename(Zone, String)
Changes the name of a given zone.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

See Also