public GClass0(Bot bot_1, GClass26 gclass26_1, GClass22 gclass22_1, GClass4 gclass4_1) { bot_0 = bot_1; gclass26_0 = gclass26_1; gclass22_0 = gclass22_1; gclass4_0 = gclass4_1; }
public MapTeleport(Bot bot_1, GClass22 gclass22_1, GClass26 gclass26_1, GClass4 gclass4_1) { Load += new EventHandler(MapTeleport_Load); InitializeComponent(); bot_0 = bot_1; gclass22_0 = gclass22_1; gclass26_0 = gclass26_1; gclass4_0 = gclass4_1; bot_0.bool_0 = true; gclass0_0 = new GClass0(bot_0, gclass26_0, gclass22_0, gclass4_0); }
public Automoveform(Bot bot_1, GClass22 gclass22_1, GClass26 gclass26_1, GClass4 gclass4_1) { Load += new EventHandler(Automoveform_Load); InitializeComponent(); bot_0 = bot_1; gclass22_0 = gclass22_1; gclass26_0 = gclass26_1; gclass4_0 = gclass4_1; bot_0.bool_0 = true; gclass0_0 = new GClass0(bot_0, gclass26_0, gclass22_0, gclass4_0); vmethod_6().Enabled = true; }
public static void smethod_0(string string_0, string string_1, string string_2) { GClass6.smethod_5(string_2); Alphaleonis.Win32.Filesystem.Directory.CreateDirectory(string_2); GClass4.smethod_3(string_0); using (FileStream fileStream1 = Alphaleonis.Win32.Filesystem.File.OpenRead(string_1)) { using (ZipArchive zipArchive = new ZipArchive((Stream)fileStream1, ZipArchiveMode.Read, false, (Encoding)null, (CompressionSettings)null, GClass4.encryptionSettings_0)) { string[] strArray1 = (string[])null; using (ZipArchiveEntry entry = zipArchive.GetEntry("usb_helper_fst")) { using (StreamReader streamReader = new StreamReader(entry.Open())) strArray1 = streamReader.ReadToEnd().Split(new string[1] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries); } byte[] buffer = new byte[1024]; foreach (string str1 in strArray1) { char[] chArray = new char[1] { ':' }; string[] strArray2 = str1.Split(chArray); string str2 = strArray2[0]; string entryName = strArray2[1]; string str3 = Alphaleonis.Win32.Filesystem.Path.Combine(string_2, entryName); string str4 = Alphaleonis.Win32.Filesystem.Path.Combine(string_0, entryName); Alphaleonis.Win32.Filesystem.Path.GetDirectoryName(str3); using (MD5.Create()) { if (!(str2 == "CRT")) { if (!(str2 == "COP")) { if (str2 == "DIR") { Alphaleonis.Win32.Filesystem.Directory.CreateDirectory(str3); } } else { GClass4.smethod_1(str4, strArray2[2]); Alphaleonis.Win32.Filesystem.File.Copy(str4, str3, true); } } else { using (FileStream fileStream2 = Alphaleonis.Win32.Filesystem.File.Create(str3)) { using (ZipArchiveEntry entry = zipArchive.GetEntry(entryName)) { using (Stream stream = entry.Open()) { int count; do { count = stream.Read(buffer, 0, buffer.Length); fileStream2.Write(buffer, 0, count); }while (count > 0); } } } GClass4.smethod_1(str3, strArray2[2]); } } } } } }