21class GameArgumentCommandOrigin :
public ::CommandOrigin {
30 GameArgumentCommandOrigin& operator=(GameArgumentCommandOrigin
const&);
31 GameArgumentCommandOrigin(GameArgumentCommandOrigin
const&);
32 GameArgumentCommandOrigin();
37 virtual ~GameArgumentCommandOrigin() =
default;
39 virtual ::std::string
const& getRequestId()
const ;
41 virtual ::std::string getName()
const ;
43 virtual ::BlockPos getBlockPosition()
const ;
45 virtual ::Vec3 getWorldPosition()
const ;
47 virtual ::std::optional<::Vec2> getRotation()
const ;
49 virtual ::Level* getLevel()
const ;
51 virtual ::Dimension* getDimension()
const ;
53 virtual ::Actor* getEntity()
const ;
55 virtual ::CommandPermissionLevel getPermissionsLevel()
const ;
57 virtual ::std::unique_ptr<::CommandOrigin> clone()
const ;
59 virtual bool canUseCommandsWithoutCheatsEnabled()
const ;
61 virtual bool isSelectorExpansionAllowed()
const ;
63 virtual ::CommandOriginType getOriginType()
const ;
65 virtual ::CompoundTag serialize()
const ;
67 virtual bool isValid()
const ;
74 MCNAPI ::std::string
const& $getRequestId()
const;
76 MCNAPI ::std::string $getName()
const;
78 MCNAPI ::BlockPos $getBlockPosition()
const;
80 MCNAPI ::Vec3 $getWorldPosition()
const;
82 MCNAPI ::std::optional<::Vec2> $getRotation()
const;
84 MCNAPI ::Level* $getLevel()
const;
86 MCNAPI ::Dimension* $getDimension()
const;
88 MCNAPI ::Actor* $getEntity()
const;
90 MCNAPI ::CommandPermissionLevel $getPermissionsLevel()
const;
92 MCNAPI ::std::unique_ptr<::CommandOrigin> $clone()
const;
94 MCNAPI
bool $canUseCommandsWithoutCheatsEnabled()
const;
96 MCNAPI
bool $isSelectorExpansionAllowed()
const;
98 MCNAPI ::CommandOriginType $getOriginType()
const;
100 MCNAPI ::CompoundTag $serialize()
const;
102 MCNAPI
bool $isValid()
const;