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

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

NameTypeDescription
Item[String]RoomTry to get room by name
CountInt32Count of rooms in the collection
IsRemoveOnlyBooleanIndicates 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 by name/token is in the collection
CopyToCopies rooms of the collection to an array
EqualsCompares two rooms by name
GetEnumeratorGet enumerator for iteration
GetHashCodeDefault GetHashCode
RemoveRemoves the room from this collection
LeaveGet the room and leave