Plugin : Function call package

Author:Rex.Rainbow

Download

Properties

Actions

Function

Action:Call function

  • Call function by package.
    • Package ( string ) : Function call package in json string.
    • Odrer ( Combo ) : Execution order.
      • Options : ["From top to bottom","From bottom to top"]

Function queue

Action:Clean

  • Clean queue.

Action:Push back

  • Push function call into function queue.
    • Name ( string ) : The name of the function to call.
    • Parameter {n} ( variadic ) : A parameter to pass for the function call, which can be accessed with Function.Param({n}).

Action:Load queue

  • Load new items into function queue.
    • Package ( string ) : Function call package in json string.

Action:Call functions

  • Call functions in function queue.
    • Odrer ( Combo ) : Execution order.
      • Options : ["From top to bottom","From bottom to top"]

Action:Push

  • Push function call into function queue.
    • Where ( Combo ) : Whether to insert at the beginning or the end of the array.
      • Options : ["Back","Front"]
    • Name ( string ) : The name of the function to call.
    • Parameter {n} ( variadic ) : A parameter to pass for the function call, which can be accessed with Function.Param({n}).

Action:Reverse

  • Reverse function queue.

Action:Append queue

  • Append new items into function queue.
    • Package ( string ) : Function call package in json string.

Function queue : For each

Action:Overwrite parameter

  • Overwrite parameter of current package in function queue.
    • Index ( number ) : Index of parameter.
    • Value ( number or string ) : Value of paramete

Action:Insert parameter

  • Insert a parameter into current package in function queue.
    • Index ( number ) : Index to insert.
    • Value ( number or string ) : Value of paramete

Action:Add to parameter

  • Add value to parameter of current package in function queue.
    • Index ( number ) : Index of parameter.
    • Value ( number or string ) : Value to add

Setup

Action:Setup callback

  • Setup callback.
    • Callback ( Combo ) : Callback object.
      • Options : ["Official function","Rex function2"]

Expressions

Function

Expression:Call

  • Call a function with parameters and return its return value. Add 2nd parameter to 1 to execute from bottom to top.
    • Package ( string ) : Function call package in json string.

Function queue

Expression:FnQueuePkg

  • Get function queue package in json format.

Function queue : For each

Expression:CurName

  • Get the current function name in a For Each package.

Expression:CurParam

  • Get the current function parameter in a For Each package.
    • Index ( number ) : The index of the parameter in current function package.

Package

Expression:FnCallPkg

  • Get function call package in json format. The parameters format is the same as Call in official function object.
    • Name ( string ) : The name of the function to call.

Conditions

Function queue : For each

Condition:For each package

  • Repeat the event for each package in function queue.

Condition:Compare function name

  • Compare function name, used in "Condition: For each package".
    • Name ( string ) : Function name