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

A collection of zones within a map.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public sealed class ZoneCollection : ICollection<Zone>, 
	IEnumerable<Zone>, ICollection, IEnumerable, ICloneable, 
	INotifiesOnChange

Members

               
 All Members  Constructors   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
ZoneCollection()()()()
Initializes a new instance of the ZoneCollection class
ZoneCollection(ZoneCollection)
Initializes a new instance of the ZoneCollection class
Add(Zone)
Adds a new zone to the collection. The name of the zone cannot match existing names.
Cache
Changed
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)
Count
Returns the total number of zones in this collection.
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.)
IsReadOnly
IsSynchronized
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)
Removes a zone from the collection, by name.
Remove(Zone)
Removes a zone from the collection.
Rename(Zone, String)
Changes the name of a given zone.
SyncRoot
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  fCraft..::..ZoneCollection

See Also