How to set autologin character name via code?
C# newbie here.
I found this in the Exilebuddy.xml
But when I try to get
Or set its value
I get the following error:
Would greatly appreciate help with setting this auto login character name from another plugin.
C# newbie here.
I found this in the Exilebuddy.xml
<member name="P:Loki.Bot.Settings.LoginSettings.Character">
<summary>The character to login with.</summary>
But when I try to get
Code:
Log.WarnFormat("{0}", Loki.Bot.Settings.LoginSettings.Character );
Or set its value
Code:
Loki.Bot.Settings.LoginSettings.Character = "SomeCharacterName";
I get the following error:
An object reference is required for the non-static field, method, or property 'Loki.Bot.Settings.LoginSettings.Character.get'
Would greatly appreciate help with setting this auto login character name from another plugin.
Last edited: