Developer Documentation
Our new developer documentation is now available. Please check it out!

RoomCollection

public class RoomCollection : IReadOnlyCollection<Room>, IEqualityComparer<Room>

Intern room dictionary

Constructors

NameDescription
RoomCollection()Intern room dictionary

Properties

NameDescription
Item[String]Try to get room by name
Item[UInt64]Get room by Id
CountCount of rooms in the collection
IsRemoveOnlyIndicates whether elements can be removed from the collection

Public Methods

NameDescription
AddAdd a room to the collection
ClearFree and empty the collection
ContainsDetermines whether the room is in the collection
EqualsCompares two rooms by name
GetEnumeratorGet enumerator for iteration
GetHashCodeDefault GetHashCode
RemoveRemoves the room from this collection
CloseClose a room