|
| static | actionBarMessage (string $text) |
| |
| static | clearTitle () |
| |
| static | create (int $type, string $text, int $fadeInTime, int $stayTime, int $fadeOutTime, string $xuid, string $platformOnlineId, string $filteredTitleText,) |
| |
| static | resetTitleOptions () |
| |
| static | setAnimationTimes (int $fadeIn, int $stay, int $fadeOut) |
| |
| static | subtitle (string $text) |
| |
| static | title (string $text) |
| |
Definition at line 22 of file SetTitlePacket.php.
◆ __get()
| pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
|
inherited |
◆ __set()
| pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ actionBarMessage()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::actionBarMessage |
( |
string | $text | ) |
|
|
static |
◆ canBeSentBeforeLogin()
| pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ clearTitle()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::clearTitle |
( |
| ) |
|
|
static |
◆ create()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::create |
( |
int | $type, |
|
|
string | $text, |
|
|
int | $fadeInTime, |
|
|
int | $stayTime, |
|
|
int | $fadeOutTime, |
|
|
string | $xuid, |
|
|
string | $platformOnlineId, |
|
|
string | $filteredTitleText ) |
|
static |
◆ decode()
| pocketmine\network\mcpe\protocol\DataPacket::decode |
( |
ByteBufferReader | $in | ) |
|
|
finalinherited |
◆ decodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
ByteBufferReader | $in | ) |
|
|
protectedinherited |
- Exceptions
-
| DataDecodeException | |
| PacketDecodeException | |
Definition at line 64 of file DataPacket.php.
◆ decodePayload()
| pocketmine\network\mcpe\protocol\SetTitlePacket::decodePayload |
( |
ByteBufferReader | $in | ) |
|
|
protected |
◆ encode()
| pocketmine\network\mcpe\protocol\DataPacket::encode |
( |
ByteBufferWriter | $out | ) |
|
|
finalinherited |
◆ encodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
ByteBufferWriter | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
| pocketmine\network\mcpe\protocol\SetTitlePacket::encodePayload |
( |
ByteBufferWriter | $out | ) |
|
|
protected |
◆ getName()
| pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ handle()
Performs handling for this packet. Usually you'll want an appropriately named method in the session handler for this.
This method returns a bool to indicate whether the packet was handled or not. If the packet was unhandled, a debug message will be logged with a hexdump of the packet.
Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets for examples how to implement this.
- Returns
- bool true if the packet was handled successfully, false if not.
- Exceptions
-
| PacketDecodeException | if broken data was found in the packet |
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 91 of file SetTitlePacket.php.
◆ pid()
| pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ resetTitleOptions()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::resetTitleOptions |
( |
| ) |
|
|
static |
◆ setAnimationTimes()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::setAnimationTimes |
( |
int | $fadeIn, |
|
|
int | $stay, |
|
|
int | $fadeOut ) |
|
static |
◆ subtitle()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::subtitle |
( |
string | $text | ) |
|
|
static |
◆ title()
| static pocketmine\network\mcpe\protocol\SetTitlePacket::title |
( |
string | $text | ) |
|
|
static |
◆ $fadeInTime
| int pocketmine\network\mcpe\protocol\SetTitlePacket::$fadeInTime = 0 |
◆ $fadeOutTime
| int pocketmine\network\mcpe\protocol\SetTitlePacket::$fadeOutTime = 0 |
◆ $filteredTitleText
| string pocketmine\network\mcpe\protocol\SetTitlePacket::$filteredTitleText = "" |
◆ $platformOnlineId
| string pocketmine\network\mcpe\protocol\SetTitlePacket::$platformOnlineId = "" |
◆ $recipientSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ $stayTime
| int pocketmine\network\mcpe\protocol\SetTitlePacket::$stayTime = 0 |
◆ $text
| string pocketmine\network\mcpe\protocol\SetTitlePacket::$text = "" |
◆ $type
| int pocketmine\network\mcpe\protocol\SetTitlePacket::$type |
◆ $xuid
| string pocketmine\network\mcpe\protocol\SetTitlePacket::$xuid = "" |
◆ NETWORK_ID
| const pocketmine\network\mcpe\protocol\SetTitlePacket::NETWORK_ID = ProtocolInfo::SET_TITLE_PACKET |
◆ PID_MASK
| const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ TYPE_CLEAR_TITLE
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_CLEAR_TITLE = 0 |
◆ TYPE_RESET_TITLE
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_RESET_TITLE = 1 |
◆ TYPE_SET_ACTIONBAR_MESSAGE
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_ACTIONBAR_MESSAGE = 4 |
◆ TYPE_SET_ACTIONBAR_MESSAGE_JSON
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_ACTIONBAR_MESSAGE_JSON = 8 |
◆ TYPE_SET_ANIMATION_TIMES
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_ANIMATION_TIMES = 5 |
◆ TYPE_SET_SUBTITLE
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_SUBTITLE = 3 |
◆ TYPE_SET_SUBTITLE_JSON
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_SUBTITLE_JSON = 7 |
◆ TYPE_SET_TITLE
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_TITLE = 2 |
◆ TYPE_SET_TITLE_JSON
| const pocketmine\network\mcpe\protocol\SetTitlePacket::TYPE_SET_TITLE_JSON = 6 |
The documentation for this class was generated from the following file: