| net.gtaun.shoebill.object.Label |
Known Indirect Subclasses
|
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | INVALID_ID | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
attach(Vehicle vehicle, float x, float y, float z)
Attaches the Label to a Vehicle
| ||||||||||
| abstract void |
attach(Player player, float x, float y, float z)
Attaches the Label to a Player
| ||||||||||
| abstract void |
attach(Vehicle vehicle, Vector3D offset)
Attaches the Label to a Vehicle
| ||||||||||
| abstract void |
attach(Player player, Vector3D offset)
Attaches the Label to a Player
| ||||||||||
| abstract static Label |
create(String text, Color color, float x, float y, float z, int worldId, float drawDistance, boolean testLOS)
Create a Label with params.
| ||||||||||
| abstract static Label |
create(String text, Color color, Location loc, float drawDistance, boolean testLOS)
Create a Label with params.
| ||||||||||
| abstract static Label |
create(String text, Color color, Vector3D pos, int worldId, float drawDistance, boolean testLOS)
Create a Label with params.
| ||||||||||
| abstract static Label |
get(int id)
Gets a Label by its Id
| ||||||||||
| abstract static Collection<Label> | get() | ||||||||||
| abstract Player |
getAttachedPlayer()
Gets the attached Player.
| ||||||||||
| abstract Vehicle |
getAttachedVehicle()
Gets the attached Vehicle.
| ||||||||||
| abstract Color |
getColor()
Gets the Color of the Dialog
| ||||||||||
| abstract float |
getDrawDistance()
Gets the draw distance of the Label.
| ||||||||||
| abstract int |
getId()
Gets the Id of the Label
| ||||||||||
| abstract Location |
getLocation()
Gets the Location of the Label
| ||||||||||
| abstract String |
getText()
Gets the Text of the Label
| ||||||||||
| abstract void |
update(Color color, String text)
Updates the Text and Color of the Label
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
net.gtaun.shoebill.object.Destroyable
| |||||||||||
From interface
net.gtaun.shoebill.object.Proxyable
| |||||||||||
Attaches the Label to a Vehicle
| vehicle | The Vehicle |
|---|---|
| x | X-Offset |
| y | Y-Offset |
| z | Z-Offset |
Attaches the Label to a Player
| player | The Player |
|---|---|
| x | X-Offset |
| y | Y-Offset |
| z | Z-Offset |
Attaches the Label to a Vehicle
| vehicle | The Vehicle |
|---|---|
| offset | The Location |
Attaches the Label to a Player
| player | The Player |
|---|---|
| offset | The Location |
Create a Label with params. If the Creation fails, it will throw a CreationFailedException.
| text | The displayed Text. |
|---|---|
| color | The color of the Label. |
| x | X-Pos where the Label should be. |
| y | Y-Pos where the Label should be. |
| z | Z-Pos where the Label should be. |
| worldId | Worldid where the Label should be. |
| drawDistance | The Drawdistance of the Label. |
| testLOS | If the Label can be seen through objects. |
| CreationFailedException |
|---|
Create a Label with params. If the Creation fails, it will throw a CreationFailedException.
| text | The displayed Text. |
|---|---|
| color | The color of the Label. |
| loc | Location where the Label should be. |
| drawDistance | The Drawdistance of the Label. |
| testLOS | If the Label can be seen through objects. |
| CreationFailedException |
|---|
Create a Label with params. If the Creation fails, it will throw a CreationFailedException.
| text | The displayed Text. |
|---|---|
| color | The color of the Label. |
| pos | Vector3D-Pos where the Label should be. |
| worldId | Worldid where the Label should be. |
| drawDistance | The Drawdistance of the Label. |
| testLOS | If the Label can be seen through objects. |
| CreationFailedException |
|---|
Gets a Label by its Id
| id | The Id |
|---|
Gets the attached Player. If there is no, this Function will return null.
Gets the attached Vehicle. If there is no, this Function will return null.
Gets the draw distance of the Label.
Gets the Id of the Label
Updates the Text and Color of the Label
| color | New Color |
|---|---|
| text | New Text |