Searched refs:RandomCommand (Results 1 – 13 of 13) sorted by relevance
53 RandomCommand *randomCommand = new RandomCommand(static_cast<uint>(numChoices)); in parse()77 RandomCommand *randomCommand = parseCtx._pendingRandomCommand; in transition()88 RandomCommand::RandomCommand(uint numChoices) in RandomCommand() function in MutationOfJB::RandomCommand94 Command::ExecuteResult RandomCommand::execute(ScriptExecutionContext &scriptExecCtx) { in execute()103 Command *RandomCommand::next() const { in next()107 Common::String RandomCommand::debugString() const { in debugString()111 const RandomCommand::Choices &RandomCommand::getChoices() const { in getChoices()
47 class RandomCommand : public Command {53 RandomCommand(uint numChoices);
6 pub struct RandomCommand; struct8 impl GenericCommand for RandomCommand { implementation
32 use random::RandomCommand;61 "random" => Command::Generic(Box::new(RandomCommand)), in from_string()
27 void RandomCommand(char** s) { in RandomCommand() function44 RandomCommand(&commands[i]); in main()
28 void RandomCommand(char** s) { in RandomCommand() function46 RandomCommand(&commands[i]); in main()
45 class RandomCommand; variable97 RandomCommand *_pendingRandomCommand;
156 } else if (RandomCommand *const randomCmd = dynamic_cast<RandomCommand *>(command)) { in showCommands()157 const RandomCommand::Choices &choices = randomCmd->getChoices(); in showCommands()158 for (RandomCommand::Choices::size_type i = 0; i < choices.size(); ++i) { in showCommands()
132 class RandomCommand : public Command { class136 RandomCommand() : Command("random") { } in RandomCommand() function in script::__anon49a104a30111::RandomCommand905 ScriptEvent::registerCommand(new RandomCommand); in setupScriptedLang()