RoomCollection
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public class RoomCollection : IReadOnlyCollection<Room>, IEqualityComparer<Room>
Intern room dictionary
Properties
Name | Type | Description |
---|---|---|
Item[String] | Room | Try to get room by name |
Count | Int32 | Count of rooms in the collection |
IsRemoveOnly | Boolean | Indicates whether elements can be removed from the collection |
Public Methods
Name | Description |
---|---|
Add | Add a room to the collection |
Clear | Free and empty the collection |
Contains | Determines whether the room by name/token is in the collection |
CopyTo | Copies rooms of the collection to an array |
Equals | Compares two rooms by name |
GetEnumerator | Get enumerator for iteration |
GetHashCode | Default GetHashCode |
Remove | Removes the room from this collection |
Leave | Get the room and leave |