PocketMine-MP 5.39.3 git-21ae710729750cd637333d673bbbbbc598fc659e
Loading...
Searching...
No Matches
CommandOriginData.php
1<?php
2
3/*
4 * This file is part of BedrockProtocol.
5 * Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6 *
7 * BedrockProtocol is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 */
12
13declare(strict_types=1);
14
15namespace pocketmine\network\mcpe\protocol\types\command;
16
17use Ramsey\Uuid\UuidInterface;
18
20 public const ORIGIN_PLAYER = "player";
21 public const ORIGIN_BLOCK = "commandblock";
22 public const ORIGIN_MINECART_BLOCK = "minecartcommandblock";
23 public const ORIGIN_DEV_CONSOLE = "devconsole";
24 public const ORIGIN_TEST = "test";
25 public const ORIGIN_AUTOMATION_PLAYER = "automationplayer";
26 public const ORIGIN_CLIENT_AUTOMATION = "clientautomation";
27 public const ORIGIN_DEDICATED_SERVER = "dedicatedserver";
28 public const ORIGIN_ENTITY = "entity";
29 public const ORIGIN_VIRTUAL = "virtual";
30 public const ORIGIN_GAME_ARGUMENT = "gameargument";
31 public const ORIGIN_ENTITY_SERVER = "entityserver";
32 public const ORIGIN_PRECOMPILED = "precompiled";
33 public const ORIGIN_GAME_DIRECTOR_ENTITY_SERVER = "gamedirectorentityserver";
34 public const ORIGIN_SCRIPTING = "scripting";
35 public const ORIGIN_EXECUTE_CONTEXT = "executecontext";
36
37 public string $type;
38 public UuidInterface $uuid;
39 public string $requestId;
40 public int $playerActorUniqueId;
41}