MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / Command

Method Command

include/endstone/command/command.h:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32class Command {
33public:
34 explicit Command(std::string name, std::string description = "", std::vector<std::string> usages = {},
35 std::vector<std::string> aliases = {}, std::vector<std::string> permissions = {})
36 {
37 setName(std::move(name));
38 setDescription(std::move(description));
39 setUsages(std::move(usages));
40 setAliases(std::move(aliases));
41 setPermissions(std::move(permissions));
42 }
43
44 virtual ~Command() = default;
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected