Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.entities.match | |
com.smartfoxserver.v2.game |
Modifier and Type | Method and Description |
---|---|
java.util.List<Room> |
SFSApi.findRooms(java.util.Collection<Room> roomList,
MatchExpression expression,
int limit)
Find one or more Room(s) in the specified collection of Users.
|
java.util.List<Room> |
ISFSApi.findRooms(java.util.Collection<Room> roomList,
MatchExpression expression,
int limit)
Find one or more Room(s) in the specified collection of Users.
|
java.util.List<User> |
SFSApi.findUsers(java.util.Collection<User> userList,
MatchExpression expression,
int limit)
Find one or more User(s) in the specified collection of Users.
|
java.util.List<User> |
ISFSApi.findUsers(java.util.Collection<User> userList,
MatchExpression expression,
int limit)
Find one or more User(s) in the specified collection of Users.
|
Room |
ISFSGameApi.quickJoinGame(User player,
MatchExpression expression,
java.util.Collection<Room> searchableRooms,
Room roomToLeave)
Quick join a User in an SFSGame.
|
Room |
SFSGameApi.quickJoinGame(User player,
MatchExpression expression,
java.util.Collection<Room> searchableRooms,
Room roomToLeave)
Quick join a User in an SFSGame.
|
Room |
ISFSGameApi.quickJoinGame(User player,
MatchExpression expression,
Zone zone,
java.lang.String groupId)
Quick join a User in an SFSGame.
|
Room |
SFSGameApi.quickJoinGame(User player,
MatchExpression expression,
Zone zone,
java.lang.String groupId)
Quick join a User in an SFSGame.
|
Room |
ISFSGameApi.quickJoinGame(User player,
MatchExpression expression,
Zone zone,
java.lang.String groupId,
Room roomToLeave)
Quick join a User in an SFSGame.
|
Room |
SFSGameApi.quickJoinGame(User player,
MatchExpression expression,
Zone zone,
java.lang.String groupId,
Room roomToLeave)
Quick join a User in an SFSGame.
|
Modifier and Type | Method and Description |
---|---|
MatchExpression |
MatchExpression.and(java.lang.String varName,
com.smartfoxserver.v2.entities.match.IMatcher condition,
java.lang.Object value)
Concatenates two expressions with the logical AND operator.
|
static MatchExpression |
MatchExpression.fromSFSArray(ISFSArray sfsa) |
MatchExpression |
MatchExpression.next()
Get the next expression chained to the current one.
|
MatchExpression |
MatchExpression.or(java.lang.String varName,
com.smartfoxserver.v2.entities.match.IMatcher condition,
java.lang.Object value)
Concatenates two expressions with the logical OR operator.
|
MatchExpression |
MatchExpression.rewind()
Rewinds the cursor to the first expression in the chain and return the MatchExpression at the top of the chain of expressions
|
Modifier and Type | Method and Description |
---|---|
boolean |
MatchingUtils.matchRoom(Room room,
MatchExpression conditions) |
java.util.List<Room> |
MatchingUtils.matchRooms(java.util.Collection<Room> roomList,
MatchExpression conditions) |
java.util.List<Room> |
MatchingUtils.matchRooms(java.util.Collection<Room> roomList,
MatchExpression conditions,
int limit) |
boolean |
MatchingUtils.matchUser(User user,
MatchExpression conditions) |
java.util.List<User> |
MatchingUtils.matchUsers(java.util.Collection<User> userList,
MatchExpression conditions) |
java.util.List<User> |
MatchingUtils.matchUsers(java.util.Collection<User> userList,
MatchExpression conditions,
int limit) |
Modifier and Type | Method and Description |
---|---|
MatchExpression |
SFSGame.getPlayerMatchExpression()
Get the MatchExpression that is going to be checked against any Player joining this Room.
|
MatchExpression |
CreateSFSGameSettings.getPlayerMatchExpression()
A match expression to filter Players willing to join the Game.
|
MatchExpression |
SFSGame.getSpectatorMatchExpression()
Get the MatchExpression that is going to be checked against any Spectator joining this Room.
|
MatchExpression |
CreateSFSGameSettings.getSpectatorMatchExpression()
A match expression to filter Spectators willing to join the Game.
|
Modifier and Type | Method and Description |
---|---|
void |
SFSGame.setPlayerMatchExpression(MatchExpression exp)
This is not modifiable at runtime.
|
void |
CreateSFSGameSettings.setPlayerMatchExpression(MatchExpression playerMatchExpression)
A match expression to filter Players willing to join the Game.
|
void |
SFSGame.setSpectatorMatchExpression(MatchExpression spectatorMatchExpression)
This is not modifiable at runtime.
|
void |
CreateSFSGameSettings.setSpectatorMatchExpression(MatchExpression spectatorMatchExpression)
A match expression to filter Spectators willing to join the Game.
|