Phpcraft
|
Public Member Functions | |
__construct (?UUID $uuid=null) | |
Public Member Functions inherited from Phpcraft\Packet\Packet | |
send (Connection $con) | |
__toString () | |
Static Public Member Functions | |
static | read (Connection $con) |
Public Attributes | |
const | COLOR_PINK = 0 |
const | COLOR_BLUE = 1 |
const | COLOR_RED = 2 |
const | COLOR_GREEN = 3 |
const | COLOR_YELLOW = 4 |
const | COLOR_PURPLE = 5 |
const | COLOR_WHITE = 6 |
const | DIVISION_0 = 0 |
const | DIVISION_6 = 1 |
const | DIVISION_10 = 2 |
const | DIVISION_12 = 3 |
const | DIVISION_20 = 4 |
$uuid | |
Phpcraft\Packet\BossBar\BossBarPacket::__construct | ( | ?UUID | $uuid = null | ) |
UUID | null | $uuid | The UUID of the boss bar. |
|
static |
Initialises the packet class by reading its payload from the given Connection.
Connection | $con |
IOException |
Reimplemented from Phpcraft\Packet\Packet.
UUID null Phpcraft\Packet\BossBar\BossBarPacket::$uuid |
The UUID of the boss bar.
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_BLUE = 1 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_GREEN = 3 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_PINK = 0 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_PURPLE = 5 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_RED = 2 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_WHITE = 6 |
const Phpcraft\Packet\BossBar\BossBarPacket::COLOR_YELLOW = 4 |
const Phpcraft\Packet\BossBar\BossBarPacket::DIVISION_0 = 0 |
const Phpcraft\Packet\BossBar\BossBarPacket::DIVISION_10 = 2 |
const Phpcraft\Packet\BossBar\BossBarPacket::DIVISION_12 = 3 |
const Phpcraft\Packet\BossBar\BossBarPacket::DIVISION_20 = 4 |
const Phpcraft\Packet\BossBar\BossBarPacket::DIVISION_6 = 1 |