public interface

SampObject

implements Destroyable Proxyable<T>
net.gtaun.shoebill.object.SampObject
Known Indirect Subclasses

Summary

Constants
int INVALID_ID
Public Methods
abstract void attach(Player player, Vector3D offset, Vector3D rot)
abstract void attach(SampObject object, Vector3D offset, Vector3D rot, boolean isSyncRotation)
abstract void attach(Player player, float x, float y, float z, float rx, float ry, float rz)
abstract void attach(Vehicle vehicle, float x, float y, float z, float rx, float ry, float rz)
abstract void attach(SampObject object, float x, float y, float z, float rx, float ry, float rz, boolean isSyncRotation)
abstract void attach(Vehicle vehicle, Vector3D offset, Vector3D rot)
abstract void attachCamera(Player player)
abstract static SampObject create(int modelId, float x, float y, float z, float rx, float ry, float rz, float drawDistance)
Create a SampObject with params.
abstract static SampObject create(int modelId, Location loc, Vector3D rot)
Create a SampObject with params.
abstract static SampObject create(int modelId, float x, float y, float z, float rx, float ry, float rz)
Create a SampObject with params.
abstract static SampObject create(int modelId, Location loc, Vector3D rot, float drawDistance)
Create a SampObject with params.
abstract static SampObject create(int modelId, Location loc, float rx, float ry, float rz)
Create a SampObject with params.
abstract static SampObject create(int modelId, Location loc, float rx, float ry, float rz, float drawDistance)
Create a SampObject with params.
abstract static Collection<SampObject> get()
abstract static SampObject get(int id)
abstract SampObject getAttachedObject()
abstract Player getAttachedPlayer()
abstract Vehicle getAttachedVehicle()
abstract float getDrawDistance()
abstract int getId()
abstract Location getLocation()
abstract int getModelId()
abstract Vector3D getRotation()
abstract float getSpeed()
abstract boolean isMoving()
abstract int move(Vector3D pos, float speed)
abstract int move(float x, float y, float z, float speed, float rx, float ry, float rz)
abstract int move(Vector3D pos, float speed, Vector3D rot)
abstract int move(float x, float y, float z, float speed)
abstract void setLocation(Location loc)
abstract void setLocation(Vector3D pos)
abstract void setMaterial(int materialIndex, int modelId, String txdName, String textureName)
abstract void setMaterial(int materialIndex, int modelId, String txdName, String textureName, Color materialColor)
abstract void setMaterialText(String text, int materialIndex, ObjectMaterialSize materialSize, String fontFace, int fontSize, boolean isBold, Color fontColor, Color backColor, ObjectMaterialTextAlign textAlignment)
abstract void setMaterialText(String text)
abstract void setNoCameraCol()
abstract void setRotation(Vector3D rot)
abstract void setRotation(float rx, float ry, float rz)
abstract void stop()
[Expand]
Inherited Methods
From interface net.gtaun.shoebill.object.Destroyable
From interface net.gtaun.shoebill.object.Proxyable

Constants

public static final int INVALID_ID

Constant Value: 65535 (0x0000ffff)

Public Methods

public abstract void attach (Player player, Vector3D offset, Vector3D rot)

public abstract void attach (SampObject object, Vector3D offset, Vector3D rot, boolean isSyncRotation)

public abstract void attach (Player player, float x, float y, float z, float rx, float ry, float rz)

public abstract void attach (Vehicle vehicle, float x, float y, float z, float rx, float ry, float rz)

public abstract void attach (SampObject object, float x, float y, float z, float rx, float ry, float rz, boolean isSyncRotation)

public abstract void attach (Vehicle vehicle, Vector3D offset, Vector3D rot)

public abstract void attachCamera (Player player)

public static abstract SampObject create (int modelId, float x, float y, float z, float rx, float ry, float rz, float drawDistance)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
x X-Pos where the Object should be.
y Y-Pos where the Object should be.
z Z-Pos where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
drawDistance The Drawdistance of the Object.
Returns
  • The created SampObject.

public static abstract SampObject create (int modelId, Location loc, Vector3D rot)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
loc Location where the Object should be.
rot Rotation-Position where the Object should be.
Returns
  • The created SampObject.

public static abstract SampObject create (int modelId, float x, float y, float z, float rx, float ry, float rz)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
x X-Pos where the Object should be.
y Y-Pos where the Object should be.
z Z-Pos where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
Returns
  • The created SampObject.

public static abstract SampObject create (int modelId, Location loc, Vector3D rot, float drawDistance)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
loc Location where the Object should be.
rot The Rotation of the Object.
drawDistance The Drawdistance of the Object.
Returns
  • The created SampObject.

public static abstract SampObject create (int modelId, Location loc, float rx, float ry, float rz)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
loc Location where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
Returns
  • The created SampObject.

public static abstract SampObject create (int modelId, Location loc, float rx, float ry, float rz, float drawDistance)

Create a SampObject with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
modelId Modelid of the Object.
loc Location where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
drawDistance The Drawdistance of the Object.
Returns
  • The created SampObject.

public static abstract Collection<SampObject> get ()

public static abstract SampObject get (int id)

public abstract SampObject getAttachedObject ()

public abstract Player getAttachedPlayer ()

public abstract Vehicle getAttachedVehicle ()

public abstract float getDrawDistance ()

public abstract int getId ()

public abstract Location getLocation ()

public abstract int getModelId ()

public abstract Vector3D getRotation ()

public abstract float getSpeed ()

public abstract boolean isMoving ()

public abstract int move (Vector3D pos, float speed)

public abstract int move (float x, float y, float z, float speed, float rx, float ry, float rz)

public abstract int move (Vector3D pos, float speed, Vector3D rot)

public abstract int move (float x, float y, float z, float speed)

public abstract void setLocation (Location loc)

public abstract void setLocation (Vector3D pos)

public abstract void setMaterial (int materialIndex, int modelId, String txdName, String textureName)

public abstract void setMaterial (int materialIndex, int modelId, String txdName, String textureName, Color materialColor)

public abstract void setMaterialText (String text, int materialIndex, ObjectMaterialSize materialSize, String fontFace, int fontSize, boolean isBold, Color fontColor, Color backColor, ObjectMaterialTextAlign textAlignment)

public abstract void setMaterialText (String text)

public abstract void setNoCameraCol ()

public abstract void setRotation (Vector3D rot)

public abstract void setRotation (float rx, float ry, float rz)

public abstract void stop ()