public void show(Rune.Type type, string sourceId, int didLoad) { _type = type; _didLoad = didLoad; _sourceId = sourceId; itemslot.setData(sourceId); show(); }
public Boolean calculate() { int level = Int32.Parse((string)LevelCombo.SelectedItem); int star = Int32.Parse((string)StarCombo.SelectedItem); String type = (string)TypeCombo.SelectedItem; Rune.Type runeType = (Rune.Type)Enum.Parse(typeof(Rune.Type), type, true); _rune.setProperties(star, runeType); _rune.setLevel(level); updatePrimary(); updateInherent(); updateSecondary(); updateUpgrades(); return(true); }