コード例 #1
0
ファイル: Program.cs プロジェクト: LoL-Fantome/LoLCustomSharp
        static void Main(string[] args)
        {
            string         exePath    = Assembly.GetEntryAssembly().Location;
            string         configPath = Path.GetDirectoryName(exePath) + "/lolcustomskin-sharp.bin";
            OverlayPatcher patcher    = new OverlayPatcher(configPath);

            patcher.Start(args.Length > 0 ? args[0] : "MOD/", MessageHandler, ErrorHandler);
            patcher.Join();
            Console.ReadKey();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            string         exePath    = Assembly.GetEntryAssembly().Location;
            string         configPath = Path.GetDirectoryName(exePath) + "/lolcustomskin-sharp.bin";
            OverlayPatcher patcher    = new OverlayPatcher();

            Console.WriteLine($"Overlay: {patcher.Prefix}");
            Console.WriteLine($"Offsets: 0x{patcher.Checksum:X08} 0x{patcher.FileProviderListOffset:X08} 0x{patcher.PMethArrayOffset:X08}");
            Console.WriteLine("Waiting for league to start...");

            patcher.Start(args.Length > 0 ? args[0] : "MOD/", null, null);
        }