|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.value.GameConfiguration
public class GameConfiguration
Object class that holds the configuration of a single game. This is normally initialized in the init method of a class that implements ExtensionLifeCycle.
ElectroServerApi.registerGameConfiguration,
ExtensionLifeCycle| Constructor Summary | |
|---|---|
GameConfiguration()
|
|
| Method Summary | |
|---|---|
EsObjectRO |
getInitialGameDetails()
Gets the initial game details. |
RoomConfiguration |
getRoomConfiguration()
Gets the room configuration for the game. |
boolean |
isReceivingRoomListUpdates()
Does this game receive room list updates? |
boolean |
isReceivingRoomVariableUpdates()
Does this game receive room variable updates? |
boolean |
isReceivingUserListUpdates()
Does this game receive user list updates? |
boolean |
isReceivingUserVariableUpdates()
Does this game receive user variable updates? |
boolean |
isReceivingVideoEvents()
Does this game receive video events? |
void |
setInitialGameDetails(EsObjectRO initialGameDetails)
Sets the initial game details. |
void |
setReceivingRoomListUpdates(boolean receivingRoomListUpdates)
Sets the game to receive room list updates, or not. |
void |
setReceivingRoomVariableUpdates(boolean receivingRoomVariableUpdates)
Sets the game to receive room variable updates. |
void |
setReceivingUserListUpdates(boolean receivingUserListUpdates)
Sets the game to receive user list updates. |
void |
setReceivingUserVariableUpdates(boolean receivingUserVariableUpdates)
Sets the game to receive user variable updates. |
void |
setReceivingVideoEvents(boolean receivingVideoEvents)
Sets the game to receive video events. |
void |
setRoomConfiguration(RoomConfiguration roomConfiguration)
Sets the room configuration for the game. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameConfiguration()
| Method Detail |
|---|
public boolean isReceivingRoomListUpdates()
public void setReceivingRoomListUpdates(boolean receivingRoomListUpdates)
receivingRoomListUpdates - true to start receiving room list updates,
false to stop.public boolean isReceivingUserListUpdates()
public void setReceivingUserListUpdates(boolean receivingUserListUpdates)
receivingUserListUpdates - true to start receiving user list updates,
false to stop.public boolean isReceivingRoomVariableUpdates()
public void setReceivingRoomVariableUpdates(boolean receivingRoomVariableUpdates)
receivingRoomVariableUpdates - true to start receiving room variable updates,
false to stop.public boolean isReceivingUserVariableUpdates()
public void setReceivingUserVariableUpdates(boolean receivingUserVariableUpdates)
receivingUserVariableUpdates - true to start receiving user variable updates,
false to stop.public boolean isReceivingVideoEvents()
public void setReceivingVideoEvents(boolean receivingVideoEvents)
receivingVideoEvents - true to start receiving video events,
false to stop.public RoomConfiguration getRoomConfiguration()
RoomConfigurationpublic void setRoomConfiguration(RoomConfiguration roomConfiguration)
roomConfiguration - new room configurationRoomConfigurationpublic EsObjectRO getInitialGameDetails()
public void setInitialGameDetails(EsObjectRO initialGameDetails)
initialGameDetails - initial game details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||