-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Exiled::API]
Adding a game's constant patching
#2419
Conversation
Looks interesting, I'll support you if needed by making some integrations with existing |
Patches are partially tested. No errors on setting role while/patching methods. |
@VALERA771 Keep me up to date |
Now I'm on final test part. I've implemented patching only for methods which have constant value in them. Currently I want to optimize patch cuz I've noticed that there can be some errors in several types. I'm going to fix it and add support for all constants which are presented in Playable SCPs classes |
|
I've decided to remove |
@VALERA771 is this ready to be merge? |
It's tested so I think yes |
Adding a transpiler-based editing of game's constants. In current system can be some mistakes with replacing other values that has just the same value cuz we can't check whether the constant is used. (everyone know this tbh).
Opened for all suggestions. Now I can't test it so hope that someone will do this faster.