14 MinecraftCommands& mMinecraftCommands;
17 CommandContext& mCommandContext;
18 bool& mSuppressOutput;
21 MinecraftCommands& minecraftCommands,
22 CommandContext& commandContext,
25 : mMinecraftCommands(minecraftCommands),
26 mCommandContext(commandContext),
27 mSuppressOutput(suppressOutput) {}
30 LLAPI
void serialize(CompoundTag&)
const override;
32 LLNDAPI MinecraftCommands& minecraftCommands()
const;
33 LLNDAPI CommandContext
const& commandContext()
const;
34 LLNDAPI
bool const& suppressOutput()
const;
39 MinecraftCommands& minecraftCommands,
40 CommandContext& commandContext,
43 : Cancellable(minecraftCommands, commandContext, suppressOutput) {}
45 LLAPI
void deserialize(CompoundTag
const&)
override;
47 LLNDAPI CommandContext& commandContext()
const;
48 LLNDAPI
bool& suppressOutput()
const;
56 MinecraftCommands& minecraftCommands,
57 CommandContext& commandContext,
63 LLAPI
void serialize(CompoundTag&)
const override;
65 LLNDAPI MCRESULT& result()
const;