refactor: 移除未使用的内存读取方法和常量
清理代码中未使用的BASE_OFFSET常量和readFloatFromMemory方法,以简化类结构并提高可维护性
This commit is contained in:
@@ -34,16 +34,6 @@ public class ESPCategoryBox_Copy extends CategoryBox {
|
||||
|
||||
Notification notification = Notification.getInstance();
|
||||
|
||||
public static final long BASE_OFFSET = 0x454090;
|
||||
|
||||
private static float readFloatFromMemory(long address) throws NumberFormatException {
|
||||
if (address <= 0) {
|
||||
return 0;
|
||||
}
|
||||
String memData = AlguiMemTool.getMemoryAddrData(address, AlguiMemTool.TYPE_FLOAT);
|
||||
return Float.parseFloat(memData);
|
||||
}
|
||||
|
||||
// 配置文件目录
|
||||
public static File configDir = new File("/storage/emulated/0/TC配置文件/");
|
||||
// 坐标文件
|
||||
|
||||
Reference in New Issue
Block a user