|
static | create (int $actorRuntimeId, string $emoteId, int $emoteLengthTicks, string $xboxUserId, string $platformChatId, int $flags) |
|
Definition at line 19 of file EmotePacket.php.
◆ __get()
pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
|
inherited |
◆ __set()
pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ canBeSentBeforeLogin()
pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ create()
static pocketmine\network\mcpe\protocol\EmotePacket::create |
( |
int | $actorRuntimeId, |
|
|
string | $emoteId, |
|
|
int | $emoteLengthTicks, |
|
|
string | $xboxUserId, |
|
|
string | $platformChatId, |
|
|
int | $flags ) |
|
static |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer | $in | ) |
|
|
protectedinherited |
- Exceptions
-
BinaryDataException | |
PacketDecodeException | |
Definition at line 62 of file DataPacket.php.
◆ decodePayload()
pocketmine\network\mcpe\protocol\EmotePacket::decodePayload |
( |
PacketSerializer | $in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\EmotePacket::encodePayload |
( |
PacketSerializer | $out | ) |
|
|
protected |
◆ getActorRuntimeId()
pocketmine\network\mcpe\protocol\EmotePacket::getActorRuntimeId |
( |
| ) |
|
◆ getEmoteId()
pocketmine\network\mcpe\protocol\EmotePacket::getEmoteId |
( |
| ) |
|
◆ getEmoteLengthTicks()
pocketmine\network\mcpe\protocol\EmotePacket::getEmoteLengthTicks |
( |
| ) |
|
◆ getFlags()
pocketmine\network\mcpe\protocol\EmotePacket::getFlags |
( |
| ) |
|
◆ getName()
pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ getPlatformChatId()
pocketmine\network\mcpe\protocol\EmotePacket::getPlatformChatId |
( |
| ) |
|
◆ getXboxUserId()
pocketmine\network\mcpe\protocol\EmotePacket::getXboxUserId |
( |
| ) |
|
◆ 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 82 of file EmotePacket.php.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ FLAG_MUTE_ANNOUNCEMENT
const pocketmine\network\mcpe\protocol\EmotePacket::FLAG_MUTE_ANNOUNCEMENT = 1 << 1 |
◆ FLAG_SERVER
const pocketmine\network\mcpe\protocol\EmotePacket::FLAG_SERVER = 1 << 0 |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\EmotePacket::NETWORK_ID = ProtocolInfo::EMOTE_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
The documentation for this class was generated from the following file: