Soldier.triggerCallback 139
Force the triggering of a callback set trough setCallback on a specific Soldier
Return value
| Return Type | Description |
|---|---|
| bool | True if the callback was correctly triggered on the Soldier |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | Id of the callback to trigger |
| 2 | any | Params of the callback function (as many as the function accepts) |
Examples
No examples available.
