Class RoomCollection
Intern room dictionary
Assembly: cs.temp.dll.dll
Declaration
Implements:
Odin.IEqualityComparer<OdinNative.Wrapper.Room.Room>
Properties
this[string]
Try to get room by name
Declaration
this[ulong]
Get room by Id
Declaration
Count
Count of rooms in the collection
Declaration
IsRemoveOnly
Indicates whether elements can be removed from the collection
Declaration
Methods
Add(Room)
Add a room to the collection
Declaration
Returns
System.Boolean: true on success or false
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Wrapper.Room.Room | item | room to add |
Clear()
Free and empty the collection
Declaration
Contains(Room)
Determines whether the room is in the collection
Declaration
Returns
System.Boolean: true on success or false
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Wrapper.Room.Room | item | room |
Equals(Room, Room)
Compares two rooms by name
Declaration
Returns
System.Boolean: is equal
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Wrapper.Room.Room | x | room |
| OdinNative.Wrapper.Room.Room | y | room |