Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GroupBuilderRoot class

From Catglobe Wiki
Revision as of 03:41, 19 April 2017 by Nguyenduyan (talk | contribs)

GroupBuilderRoot



Represents a group builder rules for a group.

Constructors

  • (int ResourceId "Resource Id of the Group") - Load rules of group

Methods

  • Empty Save() - Save the rules
  • string ToString() - The string representation of the object.

Properties

Examples

//add a new rule without variable
number groupRId = 15560405;
GroupBuilderRoot root = new GroupBuilderRoot (groupRId);
GroupBuilderRule rule = new GroupBuilderRule (root);
GroupBuilderRuleCollection ruleColection = root.RootRules;
ruleColection.Add(rule);
root.Save();