|
RuneHive-Game
|
The player title class. More...
Public Member Functions | |
| boolean | equals (Object obj) |
| int | getColor () |
| Gets the color. | |
| String | getTitle () |
| Gets the title. | |
| int | hashCode () |
Static Public Member Functions | |
| static PlayerTitle | create (String title) |
| Creates a player title. | |
| static PlayerTitle | create (String title, int color) |
| Creates a player title. | |
| static PlayerTitle | empty () |
| Creates an empty player title. | |
Private Member Functions | |
| PlayerTitle (String title, int color) | |
Constructs a new PlayerTitle. | |
Private Attributes | |
| final int | color |
| The title color. | |
| final String | title |
| The title string. | |
Static Private Attributes | |
| static final PlayerTitle | EMPTY = new PlayerTitle("", 0xC74C1C) |
| An empty title. | |
The player title class.
Definition at line 10 of file PlayerTitle.java.
|
private |
Constructs a new PlayerTitle.
Definition at line 22 of file PlayerTitle.java.
Referenced by create(), create(), empty(), and equals().
|
static |
Creates a player title.
Definition at line 33 of file PlayerTitle.java.
References PlayerTitle(), and title.
|
static |
Creates a player title.
Definition at line 28 of file PlayerTitle.java.
References color, PlayerTitle(), and title.
Referenced by com.runehive.net.packet.in.ColorPacketListener.handlePacket().
|
static |
Creates an empty player title.
Definition at line 38 of file PlayerTitle.java.
References EMPTY, and PlayerTitle().
Referenced by com.runehive.content.tittle.TitleManager.reset().
| boolean com.runehive.content.tittle.PlayerTitle.equals | ( | Object | obj | ) |
Definition at line 53 of file PlayerTitle.java.
References getColor(), getTitle(), PlayerTitle(), and title.
| int com.runehive.content.tittle.PlayerTitle.getColor | ( | ) |
Gets the color.
Definition at line 48 of file PlayerTitle.java.
References color.
Referenced by com.runehive.net.packet.out.SendPlayerUpdate.appendAppearanceMask(), equals(), and com.runehive.content.tittle.TitleManager.refresh().
| String com.runehive.content.tittle.PlayerTitle.getTitle | ( | ) |
Gets the title.
Definition at line 43 of file PlayerTitle.java.
References title.
Referenced by com.runehive.net.packet.out.SendPlayerUpdate.appendAppearanceMask(), equals(), com.runehive.net.packet.in.ColorPacketListener.handlePacket(), and com.runehive.content.tittle.TitleManager.refresh().
| int com.runehive.content.tittle.PlayerTitle.hashCode | ( | ) |
Definition at line 61 of file PlayerTitle.java.
|
private |
The title color.
Definition at line 19 of file PlayerTitle.java.
Referenced by create(), getColor(), hashCode(), and PlayerTitle().
|
staticprivate |
|
private |
The title string.
Definition at line 16 of file PlayerTitle.java.
Referenced by create(), create(), equals(), getTitle(), hashCode(), and PlayerTitle().