Skip to content
New issue

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

InjectFix 如何新增字段 #104

Open
GameObjectW opened this issue Apr 20, 2020 · 3 comments
Open

InjectFix 如何新增字段 #104

GameObjectW opened this issue Apr 20, 2020 · 3 comments

Comments

@GameObjectW
Copy link

在类A中一个函数需要修复,解决过程中需要在类A或者其他类中新增一个字段(int count = 0;),这时候需要如何操作,[Path]标签只支持函数,感谢。

@jozhn
Copy link

jozhn commented Apr 23, 2020

不支持新增字段 #39

@YuJiMing
Copy link

YuJiMing commented Jun 5, 2020

应该是可以热修复属性,暂时还不支持字段

@airdoer
Copy link

airdoer commented May 28, 2021

目前已经支持字段,详见#277
具体用法可以详见ILFix使用手册https://github.com/Tencent/InjectFix/blob/master/Doc/user_manual.md
public class Test { [IFix.Interpret] public int intValue = 0; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants