AmandaInterface.AmandaHook.InitOptions C# (CSharp) Метод

InitOptions() приватный Метод

private InitOptions ( bool console, [ path ) : void
console bool
path [
Результат void
        public static extern void InitOptions(bool console, [MarshalAs(UnmanagedType.LPStr)] string path);

Usage Example

Пример #1
0
        private Amanda(string autorun = null)
        {
            if (Instance == null)
            {
                Instance = this;
            }

            AmandaHook.InitOptions(true, ""); //empty char will result in amanda loading up amanda.ini
            AmandaHook.CreateInterpreter();
            if (autorun != null)
            {
                AmandaHook.Load(autorun);
            }
        }