|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.value.RoomValue
public class RoomValue
Object to store information about a particular room. A room is a collection of users. Rooms are most commonly used for chatting and playing games, but can be used in any situation where multiple users need to interact.
ElectroServerApi.getRoomsInZone,
ElectroServerApi.getRoomsInZoneByName| Constructor Summary | |
|---|---|
RoomValue()
|
|
| Method Summary | |
|---|---|
int |
getCapacity()
Gets the capacity of the room. |
String |
getDescription()
Gets the optional text description of a room. |
int |
getRoomId()
Gets the roomId of the room. |
String |
getRoomName()
Gets the name of the room. |
int |
getZoneId()
Gets the zoneId of the zone in which to this room resides. |
boolean |
isPersistent()
Is this room persistent? Persistent rooms are created using the web-based administrator and always exist. |
void |
setCapacity(int capacity)
Sets the capacity of the room. |
void |
setDescription(String description)
Sets the optional text description of the room. |
void |
setPersistent(boolean persistent)
Sets the room to be persistent or not. |
void |
setRoomId(int roomId)
Sets the roomId of the room. |
void |
setRoomName(String roomName)
Sets the name of the room. |
void |
setZoneId(int zoneId)
Sets the zoneId of the zone in which this room resides. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoomValue()
| Method Detail |
|---|
public int getCapacity()
public void setCapacity(int capacity)
capacity - total number of users allowed; -1 for no limitpublic String getDescription()
public void setDescription(String description)
description - optional text description of the roompublic boolean isPersistent()
public void setPersistent(boolean persistent)
persistent - true if the room will be persistentisPersistentpublic int getRoomId()
public void setRoomId(int roomId)
roomId - roomIdpublic String getRoomName()
public void setRoomName(String roomName)
roomName - name of the roompublic int getZoneId()
public void setZoneId(int zoneId)
zoneId - zoneId of this room
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||