Uses of Class
com.smartfoxserver.v2.mmo.Vec3D
-
Packages that use Vec3D Package Description com.smartfoxserver.v2.api com.smartfoxserver.v2.mmo -
-
Uses of Vec3D in com.smartfoxserver.v2.api
Methods in com.smartfoxserver.v2.api with parameters of type Vec3D Modifier and Type Method 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 MMORoomvoid
SFSMMOApi. setMMOItemPosition(BaseMMOItem item, Vec3D pos, Room targetRoom)
Set or update an MMOItem inside an MMORoomvoid
ISFSMMOApi. setUserPosition(User user, Vec3D pos, Room targetRoom)
Set the new User position inside an MMORoomvoid
SFSMMOApi. setUserPosition(User user, Vec3D pos, Room targetRoom)
Set the new User position inside an MMORoom -
Uses of Vec3D in com.smartfoxserver.v2.mmo
Methods in com.smartfoxserver.v2.mmo that return Vec3D Modifier and Type Method Description static Vec3D
Vec3D. fromFloatArray(java.util.List<java.lang.Float> array)
privatestatic Vec3D
Vec3D. fromIntArray(java.util.List<java.lang.Integer> array)
privateVec3D
CreateMMORoomSettings. getDefaultAOI()
Vec3D
MMORoom. getDefaultAOI()
Obtain the default Area Of Interest (AOI) of this room.Vec3D
CreateMMORoomSettings.MapLimits. getHigherLimit()
Obtain the higher coordinate limitVec3D
CreateMMORoomSettings.MapLimits. getLowerLimit()
Obtain the lower coordinate limitVec3D
MMORoom. getMapHigherLimit()
Get the map higher limitVec3D
MMORoom. getMapLowerLimit()
Get the map lower limitVec3D
MMORoom. getSectorSize()
privateMethods in com.smartfoxserver.v2.mmo with parameters of type Vec3D Modifier and Type Method Description java.util.List<BaseMMOItem>
MMORoom. getProximityItems(User target, Vec3D aoi)
Get the list of MMOItems falling within a custom AoIjava.util.List<BaseMMOItem>
MMORoom. getProximityItems(Vec3D pos)
Get the list of MMOItems falling within the MMORoom's AoI at a specific locationjava.util.List<BaseMMOItem>
MMORoom. getProximityItems(Vec3D pos, Vec3D aoi)
Get the list of MMOItems at a specific location, falling within a custom AoIjava.util.List<User>
MMORoom. getProximityList(User target, Vec3D aoi)
Returns the List of Users falling within the a custom AOI around the targetjava.util.List<User>
MMORoom. getProximityList(Vec3D position)
Returns the List of Users falling within the AOI of the target positionjava.util.List<User>
MMORoom. getProximityList(Vec3D position, Vec3D aoi)
Returns the List of Users falling within the custom AOI around the target positionvoid
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)
Constructors in com.smartfoxserver.v2.mmo with parameters of type Vec3D Constructor Description MapLimits(Vec3D low, Vec3D high)
MMORoom(java.lang.String name, Vec3D aoi, int updateMillis)
Private constructor
-