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

RoomCollection.Remove

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