constant visibility

This commit is contained in:
Dylan K. Taylor 2017-11-21 16:50:27 +00:00
parent 1fd9994056
commit 88ad43971a

View File

@ -26,18 +26,18 @@ namespace pocketmine\network\mcpe\protocol\types;
use pocketmine\utils\UUID; use pocketmine\utils\UUID;
class CommandOriginData{ class CommandOriginData{
const ORIGIN_PLAYER = 0; public const ORIGIN_PLAYER = 0;
const ORIGIN_BLOCK = 1; public const ORIGIN_BLOCK = 1;
const ORIGIN_MINECART_BLOCK = 2; public const ORIGIN_MINECART_BLOCK = 2;
const ORIGIN_DEV_CONSOLE = 3; public const ORIGIN_DEV_CONSOLE = 3;
const ORIGIN_TEST = 4; public const ORIGIN_TEST = 4;
const ORIGIN_AUTOMATION_PLAYER = 5; public const ORIGIN_AUTOMATION_PLAYER = 5;
const ORIGIN_CLIENT_AUTOMATION = 6; public const ORIGIN_CLIENT_AUTOMATION = 6;
const ORIGIN_DEDICATED_SERVER = 7; public const ORIGIN_DEDICATED_SERVER = 7;
const ORIGIN_ENTITY = 8; public const ORIGIN_ENTITY = 8;
const ORIGIN_VIRTUAL = 9; public const ORIGIN_VIRTUAL = 9;
const ORIGIN_GAME_ARGUMENT = 10; public const ORIGIN_GAME_ARGUMENT = 10;
const ORIGIN_ENTITY_SERVER = 11; //??? public const ORIGIN_ENTITY_SERVER = 11; //???
/** @var int */ /** @var int */
public $type; public $type;