We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
源代码 //TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL && is_enum) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; } 修改后: //TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; } 修改后这样可以dum出const变量的值,但是const string类型不正确还需要进一步处理,我暂时没用到,就没处理
//TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL && is_enum) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; }
//TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
源代码
//TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL && is_enum) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; }
修改后:
//TODO 获取构造函数初始化后的字段值 if (attrs & FIELD_ATTRIBUTE_LITERAL) { uint64_t val = 0; il2cpp_field_static_get_value(field, &val); outPut << " = " << std::dec << val; }
修改后这样可以dum出const变量的值,但是const string类型不正确还需要进一步处理,我暂时没用到,就没处理
The text was updated successfully, but these errors were encountered: