Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.buddylist | |
com.smartfoxserver.v2.buddylist.storage |
Modifier and Type | Method and Description |
---|---|
void |
ISFSBuddyApi.setBuddyVariables(User owner,
java.util.List<BuddyVariable> buddyVariables,
boolean fireClientEvent,
boolean fireServerEvent)
Set any number of BuddyVariables for the specified owner
|
void |
SFSBuddyApi.setBuddyVariables(User owner,
java.util.List<BuddyVariable> buddyVariables,
boolean fireClientEvent,
boolean fireServerEvent)
Set any number of BuddyVariables for the specified owner
|
Modifier and Type | Class and Description |
---|---|
class |
SFSBuddyVariable
BuddyVariables are custom values attached to any Buddy in a BuddyList.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,BuddyVariable> |
SFSBuddyProperties.variables |
Modifier and Type | Method and Description |
---|---|
static BuddyVariable |
BuddyUtils.findVariable(java.util.List<BuddyVariable> vars,
java.lang.String varName) |
BuddyVariable |
SFSBuddyListManager.getOfflineBuddyVariable(java.lang.String ownerName,
java.lang.String varName) |
BuddyVariable |
BuddyListManager.getOfflineBuddyVariable(java.lang.String ownerName,
java.lang.String varName) |
BuddyVariable |
SFSBuddyProperties.getVariable(java.lang.String varName) |
BuddyVariable |
SFSBuddy.getVariable(java.lang.String varName) |
BuddyVariable |
BuddyProperties.getVariable(java.lang.String varName) |
BuddyVariable |
Buddy.getVariable(java.lang.String varName)
Get a Buddy Variable from its name
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BuddyVariable> |
SFSBuddyListManager.getOfflineBuddyVariables(java.lang.String ownerName) |
java.util.List<BuddyVariable> |
BuddyListManager.getOfflineBuddyVariables(java.lang.String ownerName) |
java.util.List<BuddyVariable> |
SFSBuddyListManager.getOfflineBuddyVariables(java.lang.String ownerName,
boolean bypassCache) |
java.util.List<BuddyVariable> |
BuddyListManager.getOfflineBuddyVariables(java.lang.String ownerName,
boolean bypassCache) |
java.util.List<BuddyVariable> |
SFSBuddyProperties.getPersistentVariables() |
java.util.List<BuddyVariable> |
BuddyProperties.getPersistentVariables() |
java.util.List<BuddyVariable> |
SFSBuddyProperties.getVariables() |
java.util.List<BuddyVariable> |
SFSBuddy.getVariables() |
java.util.List<BuddyVariable> |
BuddyProperties.getVariables() |
java.util.List<BuddyVariable> |
Buddy.getVariables()
Get all BuddyVariables
|
Modifier and Type | Method and Description |
---|---|
void |
SFSBuddyProperties.setVariable(BuddyVariable buddyVariable) |
void |
SFSBuddy.setVariable(BuddyVariable buddyVariable) |
void |
BuddyProperties.setVariable(BuddyVariable buddyVariable) |
void |
Buddy.setVariable(BuddyVariable buddyVariable)
Set / modify a BuddyVariable.
|
Modifier and Type | Method and Description |
---|---|
static ISFSArray |
BuddyUtils.encodeBuddyVariables(java.util.List<BuddyVariable> buddyVariables) |
static BuddyVariable |
BuddyUtils.findVariable(java.util.List<BuddyVariable> vars,
java.lang.String varName) |
void |
SFSBuddyProperties.setVariables(java.util.List<BuddyVariable> buddyVariables) |
void |
SFSBuddy.setVariables(java.util.List<BuddyVariable> buddyVariables) |
void |
BuddyProperties.setVariables(java.util.List<BuddyVariable> buddyVariables) |
void |
Buddy.setVariables(java.util.List<BuddyVariable> buddyVariables)
Sets a number of variables at once.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BuddyVariable> |
FSBuddyStorage.getOfflineVariables(java.lang.String buddyName) |
java.util.List<BuddyVariable> |
BuddyStorage.getOfflineVariables(java.lang.String buddyName)
Load the off-line persistent variables for a specific User.
|