MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / NewBoolArgument

Function NewBoolArgument

server/command/builder.go:90–99  ·  view source on GitHub ↗
(name string, nodes ...Node)

Source from the content-addressed store, hash-verified

88}
89
90func NewBoolArgument(name string, nodes ...Node) Node {
91 return Node{
92 Node: play.Node{
93 Flags: play.NodeArgument,
94 Name: name,
95 ParserId: Bool,
96 },
97 children: nodes,
98 }
99}
100
101func NewIntegerArgument(name string, min, max *int32, nodes ...Node) Node {
102 flags := int8(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected