XAP File Format: Conditional

Parent: Branch Event

Syntax

Conditional
{
Type = 0 - 4;
	
Operand	 // Operand A
{
}
	
Operand	 // Operand B
{
}
	
Operand	 // Operand C (optional)
{
}
	
Operand	 // Operand D (optional)
{
}
	
Operator1 = 0 - 6;
Operator2 = 0 - 6;	// optional

}

Elements

Element Type Comment
Type Number (0-3) 0: (A ? B), 1: (A ? B) && (C $ D), 2: (A ? B) || (C $ D), 3: (A ? B) ^ (C $ D)
Operand Section Operand A
Operand Section Operand B
Operand Section (Optional) Operand C
Operand Section (Optional) Operand D
Operator1 Number (0-5) 0: <, 1: <=, 2: >, 3: >=, 4: ==, 5: !=
Operator2 Number (0-5) (Optional) 0: <, 1: <=, 2: >, 3: >=, 4: ==, 5: !=