LeviLamina
Loading...
Searching...
No Matches
GameTestCommand Class Reference
Inheritance diagram for GameTestCommand:

Public Types

enum class  Mode : int {
  Unknown = 0 , ClearAll = 1 , Create = 2 , Run = 3 ,
  RunThis = 4 , RunSet = 5 , RunSetUntilFail = 6 , RunNearbyTests = 7 ,
  ShowPosition = 8 , Stop = 9
}

Public Member Functions

virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void _handleRunSet (::MinecraftGameTest &gameTest, ::BlockSource &region, ::CommandOrigin const &origin, ::CommandOutput &output, bool stopOtherTestsOnFailure) const
MCAPI void $execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI bool tryToFilterTextWithRemoteFilter (::CommandOrigin const &origin, ::CommandOutput &output, ::std::vector<::std::string > const &text, ::TextProcessingEventOrigin const &textOrigin, ::std::function< void(::std::vector<::std::string > const &, ::std::vector<::std::string > const &, ::std::vector<::Safety::TextFilteringEvent > const &)> callback) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
MCAPI void run (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void sendTelemetry (::CommandOrigin const &origin, ::CommandOutput &output) const
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

static MCAPI void addGameTestNameEnums (::MinecraftGameTest &gameTest, ::CommandRegistry &commandRegistry)
static MCAPI void setup (::CommandRegistry &registry)
static MCAPI void kickPlayerDueToFlooding (::Bedrock::NonOwnerPointer<::ServerNetworkHandler > serverNetworkHandler, ::Player *player, ::IMinecraftEventing &eventing, ::std::string const &message)
static MCAPI ::Minecraft *& mGame ()
static MCAPI ::Bedrock::NonOwnerPointer<::TextFilteringProcessor > & mTextFilteringProcessor ()
static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mTestName
::ll::TypedStorage< 8, 32, ::std::string > mTestTag
::ll::TypedStorage< 4, 4, int > mTestRotationSteps
::ll::TypedStorage< 4, 4, int > mRepeatCount
::ll::TypedStorage< 1, 1, bool > mStopOnFailure
::ll::TypedStorage< 4, 4, ::GameTestCommand::Mode > mMode
::ll::TypedStorage< 4, 4, int > mTestCreationWidth
::ll::TypedStorage< 4, 4, int > mTestCreationHeight
::ll::TypedStorage< 4, 4, int > mTestCreationDepth
::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 8, 8, ::CommandRegistry const * > mRegistry
::ll::TypedStorage< 4, 4, int > mCommandSymbol
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mPermissionLevel
::ll::TypedStorage< 2, 2, ::CommandFlag > mFlags

Member Function Documentation

◆ execute()

virtual void GameTestCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.


The documentation for this class was generated from the following file: