Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.entities | |
com.smartfoxserver.v2.entities.variables | |
com.smartfoxserver.v2.mmo |
Modifier and Type | Method and Description |
---|---|
void |
SFSApi.setUserVariables(User owner,
java.util.List<UserVariable> variables)
Set User Variables.
|
void |
ISFSApi.setUserVariables(User owner,
java.util.List<UserVariable> variables)
Set User Variables.
|
void |
SFSApi.setUserVariables(User owner,
java.util.List<UserVariable> variables,
boolean fireClientEvent,
boolean fireServerEvent)
Set User Variables.
|
void |
ISFSApi.setUserVariables(User owner,
java.util.List<UserVariable> variables,
boolean fireClientEvent,
boolean fireServerEvent)
Set User Variables.
|
Modifier and Type | Method and Description |
---|---|
UserVariable |
User.getVariable(java.lang.String key)
Return a UserVariable.
|
UserVariable |
SFSUser.getVariable(java.lang.String varName) |
Modifier and Type | Method and Description |
---|---|
java.util.List<UserVariable> |
User.getVariables()
Obtain the full list of UserVariables
|
java.util.List<UserVariable> |
SFSUser.getVariables() |
Modifier and Type | Method and Description |
---|---|
void |
User.setVariable(UserVariable userVariable) |
void |
SFSUser.setVariable(UserVariable var) |
Modifier and Type | Method and Description |
---|---|
void |
User.setVariables(java.util.List<UserVariable> userVariables) |
void |
SFSUser.setVariables(java.util.List<UserVariable> userVariables) |
Modifier and Type | Interface and Description |
---|---|
interface |
RoomVariable |
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.
|
class |
SFSUserVariable
UserVariables are custom values attached to each User object that get automatically updated between client and server
on every change.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMMOItemVariable |
Modifier and Type | Class and Description |
---|---|
class |
MMOItemVariable
MMOItem Variables allow to attach custom properties to MMOItems inside an MMORoom.
|