public UnionDef(DefinitionManager manager, JObject src) : base(manager, src) { elementDefs = JsonHelpers.Defs <ElementDef>(manager, src, "elements"); decider = JsonHelpers.Decider(manager, src); _canContainFormIds = elementDefs.Any(d => d.canContainFormIds); }
public GroupDef(DefinitionManager manager, JObject src) : base(manager, src) { childrenDefs = JsonHelpers.Defs <ElementDef>( manager, src, "children", true ); }
public MembersDef(DefinitionManager manager, JObject src) : base(manager, src) { memberDefs = JsonHelpers.Defs <ElementDef>(manager, src, "members"); signatures = GetSignatures(); _canContainFormIds = memberDefs.Any(d => d.canContainFormIds); }
public FormatUnion( DefinitionManager manager, JObject src ) : base(manager, src) { decider = JsonHelpers.Decider(manager, src); formatDefs = JsonHelpers.Defs <FormatDef>(manager, src, "formats"); }
public StructDef(DefinitionManager manager, JObject src) : base(manager, src) { elementDefs = JsonHelpers.Defs <ElementDef>(manager, src, "elements"); sortKeyIndices = JsonHelpers.List <int>(src, "sortKey"); elementMap = JsonHelpers.List <int>(src, "elementMap"); _canContainFormIds = elementDefs.Any(d => d.canContainFormIds); }
public PluginFileDef(DefinitionManager manager, JObject src) : base(manager, src) { childrenDefs = JsonHelpers.Defs <ElementDef>(manager, src, "children"); topGroups = BuildTopGroupsMap(); }
public CTDAFunctions(DefinitionManager manager, JObject src) : base(manager, src) { ctdaFunctions = JsonHelpers.Defs <CTDAFunction>(manager, src, "ctdaFunctions"); }