Looter
New Member
- Joined
- Apr 23, 2010
- Messages
- 221
- Reaction score
- 1
I have:
how to use the array in this structure?
If i using:
I get an error
Code:
public class SettingLT: Settings
{
public static SettingLT Instance = new SettingLT();
public SettingLT()
: base(Path.Combine(Logging.ApplicationPath, string.Format(@"Plugins/LooterTools/LooterTools-Settings-{0}.xml", StyxWoW.Me.Name)))
{
Logging.Write("Настройки сохранены");
}
[Setting, DefaultValue(false)]
public bool oreCheck { get; set; }
[Setting, DefaultValue(false)]
public bool gemCheck { get; set; }
[Setting, DefaultValue(false)]
public bool sellCheck { get; set; }
[Setting, DefaultValue("ore")]
public string[] oreArray { get; set; }
[Setting, DefaultValue("gem")]
public string[] gemArray { get; set; }
}
how to use the array in this structure?
If i using:
Code:
[Setting, DefaultValue("gem")]
public string[] gemArray { get; set; }