Package | Description |
---|---|
com.smartfoxserver.v2.api | |
com.smartfoxserver.v2.mmo |
Modifier and Type | Method and Description |
---|---|
void |
ISFSMMOApi.sendObjectMessage(Room targetRoom,
User sender,
ISFSObject message,
Vec3D aoi)
Send an Object message based on a custom SFSObject that can contain any data.
|
void |
SFSMMOApi.sendObjectMessage(Room targetRoom,
User sender,
ISFSObject message,
Vec3D aoi)
Send an Object message based on a custom SFSObject that can contain any data.
|
void |
ISFSMMOApi.sendPublicMessage(Room targetRoom,
User sender,
java.lang.String message,
ISFSObject params,
Vec3D aoi)
Sends a public chat message.
|
void |
SFSMMOApi.sendPublicMessage(Room targetRoom,
User sender,
java.lang.String message,
ISFSObject params,
Vec3D aoi)
Sends a public chat message.
|
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.setUserPosition(User user,
Vec3D pos,
Room targetRoom)
Set the new User position inside an MMORoom
|
void |
SFSMMOApi.setUserPosition(User user,
Vec3D pos,
Room targetRoom)
Set the new User position inside an MMORoom
|
Modifier and Type | Method and Description |
---|---|
static Vec3D |
Vec3D.fromFloatArray(java.util.List<java.lang.Float> array)
private
|
static Vec3D |
Vec3D.fromIntArray(java.util.List<java.lang.Integer> array)
private
|
Vec3D |
MMORoom.getDefaultAOI()
Obtain the default Area Of Interest (AOI) of this room.
|
Vec3D |
CreateMMORoomSettings.getDefaultAOI() |
Vec3D |
CreateMMORoomSettings.MapLimits.getHigherLimit()
Obtain the higher coordinate limit
|
Vec3D |
CreateMMORoomSettings.MapLimits.getLowerLimit()
Obtain the lower coordinate limit
|
Vec3D |
MMORoom.getMapHigherLimit()
Get the map higher limit
|
Vec3D |
MMORoom.getMapLowerLimit()
Get the map lower limit
|
Vec3D |
MMORoom.getSectorSize()
private
|
Modifier and Type | Method and Description |
---|---|
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
|
java.util.List<User> |
MMORoom.getProximityList(User target,
Vec3D aoi)
Returns the List of Users falling within the a custom AOI around the target
|
java.util.List<User> |
MMORoom.getProximityList(Vec3D position)
Returns the List of Users falling within the AOI of the target position
|
java.util.List<User> |
MMORoom.getProximityList(Vec3D position,
Vec3D aoi)
Returns the List of Users falling within the custom AOI around the target position
|
void |
CreateMMORoomSettings.setDefaultAOI(Vec3D defaultAOI)
The Area Of Interest (AOI) represents the area within which Users will affect each other, for example when sending public
messages, updating User Variables etc...
|
void |
MMORoom.setMapLimits(Vec3D lowLimit,
Vec3D highLimit)
Private setter.
|
void |
MMORoom.updateItem(BaseMMOItem item,
Vec3D pos) |
Constructor and Description |
---|
MapLimits(Vec3D low,
Vec3D high) |
MMORoom(java.lang.String name,
Vec3D aoi,
int updateMillis)
Private constructor
|