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

RoomCollection.Remove

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 bool Remove(string key)
public bool Remove(Room item)

Removes the room from this collection

Info

does NOT leave or free the room

Parameters

NameTypeDescription
keyStringRoom name
itemRoomroom

Returns

TypeDescription
Booleanis removed

Variants

Remove(key)

public bool Remove(string key)

Removes the room from this collection

Warning

does NOT leave or free the room

Parameters

NameTypeDescription
keyStringRoom name

Returns

TypeDescription
Booleanis removed

Remove(item)

public bool Remove(Room item)

Removes the room from this collection

Warning

does NOT leave or free the room

Parameters

NameTypeDescription
itemRoomroom

Returns

TypeDescription
Booleanis removed