Remove from this rule set the rule having the specified id.
Synopsis
Declared in <ball_ruleset.h>
int
removeRuleById(int id);
Description
Return the number of rules removed (i.e., 1 on success and 0 if there is no rule whose id is id). The behavior is undefined unless 0 <= id < e_MAX_NUM_RULES.
Return Value
1 on success, or 0 if no rule has id
Parameters
Name |
Description |
id |
identifier of the rule to remove |
Created with MrDocs