Exemple #1
0
        public static void smethod_0(GClass30 gclass30_0, IPAddress ipaddress_0, string string_0)
        {
            if (gclass30_0.TitleId.IdType != GEnum1.const_1)
            {
                throw new Exception("You can only backup game saves!");
            }
            if (gclass30_0.System != GEnum3.const_1)
            {
                throw new Exception("Save backup is only compatible with Wii U Games");
            }
            Class60 class60 = new Class60(ipaddress_0.ToString(), "anonymous", "");

            if (!class60.method_4("/storage_usb/usr/save/00050000/").Contains(gclass30_0.TitleId.High.ToLower()))
            {
                throw new GException0();
            }
            class60.method_5("/storage_usb/usr/save/00050000/" + gclass30_0.TitleId.High.ToLower() + "/", string_0);
        }