GroupBuilderRoot class

From Catglobe Wiki
Revision as of 05:48, 2 July 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GroupBuilderRoot



Represents a group builder rules for a group.

Parent class

Inherits from object

Constructors

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

Methods

  • Empty Save() - Save the rules
  • (From object) 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();