Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.entities | |
com.smartfoxserver.v2.entities.variables |
Modifier and Type | Method and Description |
---|---|
java.util.List<RoomVariable> |
CreateRoomSettings.getRoomVariables()
Get the list of Room Variables for the new Room
|
Modifier and Type | Method and Description |
---|---|
void |
CreateRoomSettings.setRoomVariables(java.util.List<RoomVariable> roomVariables)
Set one or more Room Variables in the new Room
|
void |
SFSApi.setRoomVariables(User user,
Room targetRoom,
java.util.List<RoomVariable> variables)
Set Room Variables.
|
void |
ISFSApi.setRoomVariables(User user,
Room targetRoom,
java.util.List<RoomVariable> variables)
Set Room Variables.
|
void |
SFSApi.setRoomVariables(User user,
Room targetRoom,
java.util.List<RoomVariable> variables,
boolean fireClientEvent,
boolean fireServerEvent,
boolean overrideOwnership)
Set Room Variables.
|
void |
ISFSApi.setRoomVariables(User user,
Room targetRoom,
java.util.List<RoomVariable> variables,
boolean fireClientEvent,
boolean fireServerEvent,
boolean overrideOwnership)
Set Room Variables.
|
Modifier and Type | Method and Description |
---|---|
RoomVariable |
SFSRoom.getVariable(java.lang.String varName)
Get a Room Variable
|
RoomVariable |
Room.getVariable(java.lang.String varName)
Get a Room Variable
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RoomVariable> |
SFSRoom.getVariables()
Get the full list of Room Variables in the Room
|
java.util.List<RoomVariable> |
Room.getVariables()
Get the full list of Room Variables in the Room
|
java.util.List<RoomVariable> |
SFSRoom.getVariablesCreatedByUser(User user)
Get a list of Room Variables created by a specific User
|
java.util.List<RoomVariable> |
Room.getVariablesCreatedByUser(User user)
Get a list of Room Variables created by a specific User
|
java.util.List<RoomVariable> |
SFSRoom.removeVariablesCreatedByUser(User user) |
java.util.List<RoomVariable> |
Room.removeVariablesCreatedByUser(User user) |
java.util.List<RoomVariable> |
SFSRoom.removeVariablesCreatedByUser(User user,
boolean isLeaveRoom) |
java.util.List<RoomVariable> |
Room.removeVariablesCreatedByUser(User user,
boolean isLeaveRoom) |
Modifier and Type | Method and Description |
---|---|
void |
SFSRoom.setVariable(RoomVariable roomVariable) |
void |
Room.setVariable(RoomVariable roomVariable) |
void |
SFSRoom.setVariable(RoomVariable roomVariable,
boolean overrideOwnership) |
void |
Room.setVariable(RoomVariable roomVariable,
boolean overridOwnership) |
Modifier and Type | Method and Description |
---|---|
void |
SFSRoom.setVariables(java.util.List<RoomVariable> variables) |
void |
Room.setVariables(java.util.List<RoomVariable> variables) |
void |
SFSRoom.setVariables(java.util.List<RoomVariable> variables,
boolean overrideOwnership) |
void |
Room.setVariables(java.util.List<RoomVariable> variables,
boolean overridOwnership) |
Modifier and Type | Class and Description |
---|---|
class |
SFSRoomVariable
RoomVariables are custom values attached to each Room object that get automatically updated between client and server
on every change.
|