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 voidISFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)Send an Object message based on a custom SFSObject that can contain any data.voidSFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)Send an Object message based on a custom SFSObject that can contain any data.voidISFSMMOApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params, Vec3D aoi)Sends a public chat message.voidSFSMMOApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params, Vec3D aoi)Sends a public chat message.voidISFSMMOApi. setMMOItemPosition(BaseMMOItem item, Vec3D pos, Room targetRoom)Set or update an MMOItem inside an MMORoomvoidSFSMMOApi. setMMOItemPosition(BaseMMOItem item, Vec3D pos, Room targetRoom)Set or update an MMOItem inside an MMORoomvoidISFSMMOApi. setUserPosition(User user, Vec3D pos, Room targetRoom)Set the new User position inside an MMORoomvoidSFSMMOApi. 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 Vec3DVec3D. fromFloatArray(java.util.List<java.lang.Float> array)privatestatic Vec3DVec3D. fromIntArray(java.util.List<java.lang.Integer> array)privateVec3DCreateMMORoomSettings. getDefaultAOI()Vec3DMMORoom. getDefaultAOI()Obtain the default Area Of Interest (AOI) of this room.Vec3DCreateMMORoomSettings.MapLimits. getHigherLimit()Obtain the higher coordinate limitVec3DCreateMMORoomSettings.MapLimits. getLowerLimit()Obtain the lower coordinate limitVec3DMMORoom. getMapHigherLimit()Get the map higher limitVec3DMMORoom. getMapLowerLimit()Get the map lower limitVec3DMMORoom. 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 positionvoidCreateMMORoomSettings. 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...voidMMORoom. setMapLimits(Vec3D lowLimit, Vec3D highLimit)Private setter.voidMMORoom. 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
-