public FullRunes(Rune[] runes, Rune keystoneRune, RuneTree primaryTree, RuneTree secondaryTree, StatRune[] statRunes) { this.runes = runes; this.keystoneRune = keystoneRune; this.primaryTree = primaryTree; this.secondaryTree = secondaryTree; this.statRunes = statRunes; }
private BasicRunes ReadBasicRunesFromJson(JToken json) { JToken jsonKeystone = json["keystone"]; JToken jsonPrimaryTree = json["primaryRuneTree"]; JToken jsonSecondaryTree = json["secondaryRuneTree"]; Rune keystone = ReadFromJson <Rune>(jsonKeystone); RuneTree primaryTree = ReadFromJson <RuneTree>(jsonPrimaryTree); RuneTree secondaryTree = ReadFromJson <RuneTree>(jsonSecondaryTree); return(new BasicRunes(keystone, primaryTree, secondaryTree)); }
private FullRunes ReadFullRunesFromJson(JToken json) { JToken jsonRunes = json["generalRunes"]; JToken jsonKeystone = json["keystone"]; JToken jsonPrimaryTree = json["primaryRuneTree"]; JToken jsonSecondaryTree = json["secondaryRuneTree"]; JToken jsonStatRunes = json["statRunes"]; Rune[] runes = ReadFromJson <Rune[]>(jsonRunes); Rune keystone = ReadFromJson <Rune>(jsonKeystone); RuneTree primaryTree = ReadFromJson <RuneTree>(jsonPrimaryTree); RuneTree secondaryTree = ReadFromJson <RuneTree>(jsonSecondaryTree); StatRune[] statRunes = ReadFromJson <StatRune[]>(jsonStatRunes); return(new FullRunes(runes, keystone, primaryTree, secondaryTree, statRunes)); }
public BasicRunes(Rune keystoneRune, RuneTree primaryTree, RuneTree secondaryTree) { this.keystoneRune = keystoneRune; this.primaryTree = primaryTree; this.secondaryTree = secondaryTree; }