/* 文件名:Window_Get.nut 路径:Base/CallBack/Window_Get.nut 创建日期:2024-08-08 13:38 文件用途:窗口被获取时经过的函数 */ getroottable().RindroOneRunTable <- {}; function OneRunCode(Func, Key, Window_Obj) { if (!RindroOneRunTable.rawin(Key)) { Func(Window_Obj); RindroOneRunTable.rawset(Key, true); } } function L_Old_Window_Get(Window_Obj) { // print(L_sq_RA(Window_Obj + 0xC)); // L_sq_WA(Window_Obj + 0xC,257); // L_sq_RA(Window_Obj, "0xC+"); // if (L_sq_RA(Window_Obj + 0x14) == 0) { // print(L_sq_RA(Window_Obj + 0x18)); // print(format("%02x", Window_Obj)); // } // if (0x422e2100 == Window_Obj) { // print(L_sq_RA(Window_Obj + 0x14)); // } // OneRunCode(function(Window_Obj) { // if (0x185242C == L_sq_RA(Window_Obj)) { // //任务提示 // if (L_sq_RAB(Window_Obj + 0x78) == 131 && L_sq_RAB(Window_Obj + 0x79) == 2) { // L_sq_WA(Window_Obj + 0x14, 144); // L_sq_WA(Window_Obj + 0x18, 53); // } // } // }, "任务提示设置", Window_Obj); // //任务提示 // if (0x185242C == L_sq_RA(Window_Obj)) { // if (L_sq_RA(Window_Obj + 0x44) == 131 && L_sq_RAB(Window_Obj + 0x79) == 2) { // L_sq_WA(Window_Obj + 0x14, 144); // L_sq_WA(Window_Obj + 0x18, 53); // } // } // if(369 == L_sq_RA(Window_Obj + 0x78)) // print(format("%02X", Window_Obj)); } //窗口是否打开 function L_Old_Window_Visible(WindowObject, Flag) { // print(format("%02X", WindowObject)); // if (Character_Info_Window_Address.rawin(WindowObject)) { // L_sq_WAB(WindowObject + 0xc, 0); // // print(L_sq_RA(WindowObject + 0x14)); // // print(format("%02X", WindowObject)); // } // print(1213); // foreach(Key, Table in Character_Info_Window_Address) { // L_sq_WA(Key + 0xC, 256); // // print(format("%02X", Key)); // } }