AmandaInterface.AmandaHook.InitOptions C# (CSharp) Method

InitOptions() private method

private InitOptions ( bool console, [ path ) : void
console bool
path [
return void
        public static extern void InitOptions(bool console, [MarshalAs(UnmanagedType.LPStr)] string path);

Usage Example

コード例 #1
0
ファイル: Amanda.cs プロジェクト: remco138/amanda
        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);
            }
        }