Menu

HowToCheatCommand

Sahits GmbH

How to implement a cheat command

Imlementing a cheat command is pretty straight forward, by implementing one of the three cheat command interfaces:

  • ICheatCommand: Simple cheat command without and additional parameter
  • ISingleSelectableCheatCommand: Cheat command that takes one additional parameter from a drop down list
  • IDoubleSelectableCheatCommand: Cheat command that takes two additional parameters, similar to ISingleSelectableCheatCommand, only that there are two parameters choosable from a drop down list. There is also a possibility to initialize the select options not when initializing the command.

Related

Wiki: HowToDev

MongoDB Logo MongoDB