Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.entities | |
com.smartfoxserver.v2.mmo |
Modifier and Type | Method and Description |
---|---|
void |
ISFSMMOApi.removeMMOItem(BaseMMOItem item)
Remove an MMOItem from an MMORoom.
|
void |
SFSMMOApi.removeMMOItem(BaseMMOItem item)
Remove an MMOItem from an MMORoom.
|
void |
ISFSMMOApi.setMMOItemPosition(BaseMMOItem item,
Vec3D pos,
Room targetRoom)
Set or update an MMOItem inside an MMORoom
|
void |
SFSMMOApi.setMMOItemPosition(BaseMMOItem item,
Vec3D pos,
Room targetRoom)
Set or update an MMOItem inside an MMORoom
|
void |
ISFSMMOApi.setMMOItemVariables(BaseMMOItem item,
java.util.List<IMMOItemVariable> variables)
Set MMOItemVariables.
|
void |
SFSMMOApi.setMMOItemVariables(BaseMMOItem item,
java.util.List<IMMOItemVariable> variables)
Set MMOItemVariables.
|
void |
ISFSMMOApi.setMMOItemVariables(BaseMMOItem item,
java.util.List<IMMOItemVariable> variables,
boolean fireClientEvent)
Set MMOItemVariables.
|
void |
SFSMMOApi.setMMOItemVariables(BaseMMOItem item,
java.util.List<IMMOItemVariable> variables,
boolean fireClientEvent)
Set MMOItemVariables.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BaseMMOItem> |
User.getLastMMOItemsList() |
java.util.List<BaseMMOItem> |
SFSUser.getLastMMOItemsList() |
Modifier and Type | Method and Description |
---|---|
void |
User.setLastMMOItemsList(java.util.List<BaseMMOItem> mmoItemsList) |
void |
SFSUser.setLastMMOItemsList(java.util.List<BaseMMOItem> mmoItemsList) |
Modifier and Type | Class and Description |
---|---|
class |
MMOItem
An MMOItem represents a non-player entity inside an MMORoom.
|
Modifier and Type | Method and Description |
---|---|
BaseMMOItem |
MMORoom.getMMOItemById(int itemId)
Obtain an MMOItem managed by this Room via its id
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BaseMMOItem> |
MMORoom.getAllMMOItems()
Obtain a list of all MMOItems managed by this Room
|
java.util.List<BaseMMOItem> |
MMORoom.getProximityItems(User target)
Get the list of MMOItems falling within the User's AoI
|
java.util.List<BaseMMOItem> |
MMORoom.getProximityItems(User target,
Vec3D aoi)
Get the list of MMOItems falling within a custom AoI
|
java.util.List<BaseMMOItem> |
MMORoom.getProximityItems(Vec3D pos)
Get the list of MMOItems falling within the MMORoom's AoI at a specific location
|
java.util.List<BaseMMOItem> |
MMORoom.getProximityItems(Vec3D pos,
Vec3D aoi)
Get the list of MMOItems at a specific location, falling within a custom AoI
|
Modifier and Type | Method and Description |
---|---|
boolean |
MMORoom.containsMMOItem(BaseMMOItem item)
Check if the provided MMOItem is managed by this Room
|
com.smartfoxserver.v2.mmo.P3D |
MMORoom.findItemLocation(BaseMMOItem item)
private
|
void |
MMORoom.removeMMOItem(BaseMMOItem item)
private
|
void |
MMORoom.updateItem(BaseMMOItem item,
Vec3D pos) |