LogoPixi’VN

PixiVNJsonConditionalStatements Model

The PixiVNJsonConditionalStatements<Then> is used to define conditional statements. It contains the following properties:

Depending on the type, it can respond to the following models.

PixiVNJsonIfElse Model

The PixiVNJsonIfElse<Then> is used to define an if-else statement. It contains the following properties:

  • condition: PixiVNJsonConditions;
  • then: Then | PixiVNJsonIfElse<Then>;
  • else (Optional): Then | PixiVNJsonIfElse<Then>;

PixiVNJsonStepSwitch Model

  • choiceType: "random" "sequential" "loop" "sequentialrandom"
  • elements: PixiVNJsonStepSwitchElementsType<Then>;

PixiVNJsonConditions Model