Package | Description |
---|---|
com.smartfoxserver.v2.entities.variables | |
com.smartfoxserver.v2.mmo |
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.
|
Modifier and Type | Method and Description |
---|---|
static SFSUserVariable |
SFSUserVariable.newFromSFSArray(ISFSArray array)
SFSArray is expected to be formatted as follows
0: (str) -> name
1: (byte) -> type id
2: (Object) -> value
3: (bool) -> isPrivate
|
static SFSUserVariable |
SFSUserVariable.newFromStringLiteral(java.lang.String name,
java.lang.String type,
java.lang.String literal) |
static SFSUserVariable |
SFSUserVariable.newInstance(java.lang.String name,
java.lang.Object value) |
static SFSUserVariable |
SFSUserVariable.newPrivateVariable(java.lang.String name,
java.lang.Object value) |
Modifier and Type | Class and Description |
---|---|
class |
MMOItemVariable
MMOItem Variables allow to attach custom properties to MMOItems inside an MMORoom.
|