mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
SetDisplayObjectivePacket: added order and display slot constants (#4232)
This commit is contained in:
parent
61077c48f1
commit
92fd2d35a4
@ -30,6 +30,13 @@ use pocketmine\network\mcpe\NetworkSession;
|
||||
class SetDisplayObjectivePacket extends DataPacket{
|
||||
public const NETWORK_ID = ProtocolInfo::SET_DISPLAY_OBJECTIVE_PACKET;
|
||||
|
||||
public const DISPLAY_SLOT_LIST = "list";
|
||||
public const DISPLAY_SLOT_SIDEBAR = "sidebar";
|
||||
public const DISPLAY_SLOT_BELOW_NAME = "belowname";
|
||||
|
||||
public const SORT_ORDER_ASCENDING = 0;
|
||||
public const SORT_ORDER_DESCENDING = 1;
|
||||
|
||||
/** @var string */
|
||||
public $displaySlot;
|
||||
/** @var string */
|
||||
|
Loading…
x
Reference in New Issue
Block a user