|
PocketMine-MP 5.41.1 git-dec84fe67dc3319e33f5066e5d03b16f00f2ff4c
|
Collaboration diagram for pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags:These flags are used in PlayerAuthInputPacket's inputFlags field. The flags should be written as flags |= (1 << flag) and read as (flags & (1 << flag)) !== 0
Definition at line 28 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::ACK_ACTOR_DATA = 44 |
Definition at line 100 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::ASCEND = 0 |
Pressing the "fly up" key when using touch.
Definition at line 30 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::ASCEND_BLOCK = 21 |
Ascending scaffolding. Note that this is NOT sent when climbing ladders.
Definition at line 72 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::AUTO_JUMPING_IN_WATER = 7 |
Auto-swimming upwards while pressing forwards with auto-jump enabled.
Definition at line 44 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::BLOCK_BREAKING_DELAY_ENABLED = 48 |
Definition at line 104 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::CHANGE_HEIGHT = 5 |
Pressing (and optionally holding) the fly button ONCE when in flight mode when using touch. This has no obvious use.
Definition at line 40 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::DESCEND = 1 |
Pressing the "fly down" key when using touch.
Definition at line 32 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::DESCEND_BLOCK = 22 |
Descending scaffolding.
Definition at line 74 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::DOWN = 11 |
Pressing the backward key (typically S on keyboard).
Definition at line 52 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::DOWN_LEFT = 51 |
Definition at line 107 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::DOWN_RIGHT = 52 |
Definition at line 108 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::EMOTING = 38 |
Definition at line 93 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::HANDLED_TELEPORT = 37 |
Definition at line 92 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::HORIZONTAL_COLLISION = 49 |
Definition at line 105 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::IN_CLIENT_PREDICTED_VEHICLE = 45 |
Definition at line 101 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::IS_CAMERA_RELATIVE_MOVEMENT_ENABLED = 54 |
Definition at line 110 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::IS_HOTBAR_ONLY_TOUCH = 58 |
Definition at line 114 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::IS_ROT_CONTROLLED_BY_MOVE_DIRECTION = 55 |
Definition at line 111 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::JUMP_CURRENT_RAW = 61 |
Definition at line 117 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::JUMP_DOWN = 3 |
Pressing (and optionally holding) the jump key (including while flying).
Definition at line 36 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::JUMP_PRESSED_RAW = 60 |
Definition at line 116 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::JUMP_RELEASED_RAW = 59 |
Definition at line 115 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::JUMPING = 6 |
Pressing (and optionally holding) the jump key (including while flying), and also auto-jumping.
Definition at line 42 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::LEFT = 12 |
Pressing the left key (typically A on keyboard).
Definition at line 54 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::MISSED_SWING = 39 |
Left-clicking the air. In vanilla, this generates an ATTACK_NODAMAGE sound and does nothing else.
Definition at line 95 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::NORTH_JUMP = 2 |
Pressing (and optionally holding) the jump key (while not flying).
Definition at line 34 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::NUMBER_OF_FLAGS = 65 |
Definition at line 122 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PADDLING_LEFT = 46 |
Definition at line 102 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PADDLING_RIGHT = 47 |
Definition at line 103 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PERFORM_BLOCK_ACTIONS = 35 |
Definition at line 90 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PERFORM_ITEM_INTERACTION = 34 |
Definition at line 89 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PERFORM_ITEM_STACK_REQUEST = 36 |
Definition at line 91 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::PERSIST_SNEAK = 24 |
Unclear use. Sent continually on touch controls, irrespective of whether the player is actually sneaking or not.
Definition at line 78 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::RIGHT = 13 |
Pressing the right key (typically D on keyboard).
Definition at line 56 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAK_CURRENT_RAW = 64 |
Definition at line 120 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAK_DOWN = 9 |
Pressing (and optionally holding) the sneak key (including while flying). This includes when the sneak button is toggled ON with touch controls.
Definition at line 48 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAK_PRESSED_RAW = 63 |
Definition at line 119 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAK_RELEASED_RAW = 62 |
Definition at line 118 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAK_TOGGLE_DOWN = 23 |
Toggling the sneak button on touch when the button enters the "enabled" state.
Definition at line 76 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SNEAKING = 8 |
Sneaking, and pressing the "fly down" key or "sneak" key (including while flying).
Definition at line 46 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SPRINT_DOWN = 4 |
Pressing (and optionally holding) the sprint key (typically the CTRL key). Does not include double-pressing the forward key.
Definition at line 38 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::SPRINTING = 20 |
Unclear usage, during testing it was only seen in conjunction with SPRINT_DOWN. NOT sent while actually sprinting.
Definition at line 70 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_CRAWLING = 40 |
Definition at line 96 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_FLYING = 42 |
Definition at line 98 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_GLIDING = 32 |
Definition at line 87 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_JUMPING = 31 |
Initiating a new jump. Sent every time the client leaves the ground due to jumping, including auto jumps.
Definition at line 86 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_SNEAKING = 27 |
Definition at line 81 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_SPIN_ATTACK = 56 |
Definition at line 112 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_SPRINTING = 25 |
Definition at line 79 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_SWIMMING = 29 |
Definition at line 83 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::START_USING_ITEM = 53 |
Definition at line 109 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_CRAWLING = 41 |
Definition at line 97 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_FLYING = 43 |
Definition at line 99 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_GLIDING = 33 |
Definition at line 88 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_SNEAKING = 28 |
Definition at line 82 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_SPIN_ATTACK = 57 |
Definition at line 113 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_SPRINTING = 26 |
Definition at line 80 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::STOP_SWIMMING = 30 |
Definition at line 84 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::UP = 10 |
Pressing the forward key (typically W on keyboard).
Definition at line 50 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::UP_LEFT = 14 |
Pressing the ↖ key on touch.
Definition at line 58 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::UP_RIGHT = 15 |
Pressing the ↗ key on touch.
Definition at line 60 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::VERTICAL_COLLISION = 50 |
Definition at line 106 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::WANT_DOWN = 17 |
Client wants to go downwards. Sent when Descend or Sneak is pressed, irrespective of whether flight is enabled.
Definition at line 64 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::WANT_DOWN_SLOW = 18 |
Same as "want up" but slow. Only usable with controllers at the time of writing. Triggered by pressing the right joystick by default.
Definition at line 66 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::WANT_UP = 16 |
Client wants to go upwards. Sent when Ascend or Jump is pressed, irrespective of whether flight is enabled.
Definition at line 62 of file PlayerAuthInputFlags.php.
| const pocketmine\network\mcpe\protocol\types\PlayerAuthInputFlags::WANT_UP_SLOW = 19 |
Same as "want down" but slow. Only usable with controllers at the time of writing. Not bound to any control by default.
Definition at line 68 of file PlayerAuthInputFlags.php.