Menu

HowToCheatCommand

Sahits GmbH
There is a newer version of this page. You can find it here.

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.

MongoDB Logo MongoDB