|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsfs2x.client.requests.RoomEvents
public class RoomEvents
The RoomEvents class contains a specific subset of the RoomSettings required to create a Room. It defines which events related to the Room will be fired by the SmartFox client.
RoomSettings.getEvents(),
CreateRoomRequest| Constructor Summary | |
|---|---|
RoomEvents()
Creates a new RoomEvents instance. |
|
| Method Summary | |
|---|---|
boolean |
getAllowUserCountChange()
Indicates whether or not the userCountChange event should be dispatched whenever the users (or players+spectators) count changes in the Room. |
boolean |
getAllowUserEnter()
Indicates whether the userEnterRoom event should be dispatched whenever a user joins the Room or not. |
boolean |
getAllowUserExit()
Indicates whether the userExitRoom event should be dispatched whenever a user leaves the Room or not. |
boolean |
getAllowUserVariablesUpdate()
Indicates whether or not the userVariablesUpdate event should be dispatched whenever a user in the Room updates his User Variables. |
void |
setAllowUserCountChange(boolean allowUserCountChange)
*Private* |
void |
setAllowUserEnter(boolean allowUserEnter)
*Private* |
void |
setAllowUserExit(boolean allowUserExit)
*Private* |
void |
setAllowUserVariablesUpdate(boolean allowUserVariablesUpdate)
*Private* |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoomEvents()
RoomSettings.getEvents()| Method Detail |
|---|
public boolean getAllowUserEnter()
SFSEvent.USER_ENTER_ROOMpublic void setAllowUserEnter(boolean allowUserEnter)
public boolean getAllowUserExit()
SFSEvent.USER_EXIT_ROOMpublic void setAllowUserExit(boolean allowUserExit)
public boolean getAllowUserCountChange()
SFSEvent.USER_COUNT_CHANGEpublic void setAllowUserCountChange(boolean allowUserCountChange)
public boolean getAllowUserVariablesUpdate()
SFSEvent.USER_VARIABLES_UPDATEpublic void setAllowUserVariablesUpdate(boolean allowUserVariablesUpdate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||