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

Update MpMethodUtil #441

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

SokyranTheDragon
Copy link
Member

MpMethodUtil:GetMethod now supports indexer getters/setters and async MoveNext methods, using new Harmony 2.3 features.

MpMethodUtil:GetLocalFunc should now support all method types besides MethodType.Normal. They previously weren't supported because MpMethodUtil:GetLocalFunc method used the parentMethod argument in local function prefixes, rather than the name of the method returned by MpMethodUtil:GetMethod.

`MpMethodUtil:GetMethod` now supports indexer getters/setters and async MoveNext methods, using new Harmony 2.3 features.

`MpMethodUtil:GetLocalFunc` should now support all method types besides `MethodType.Normal`. They previously weren't supported because `MpMethodUtil:GetLocalFunc` method used the `parentMethod` argument in local function prefixes, rather than the name of the method returned by `MpMethodUtil:GetMethod`.
@SokyranTheDragon SokyranTheDragon added the 1.5 Fixes or bugs relating to 1.5 (Not Anomaly). label Apr 13, 2024
@Zetrith Zetrith merged commit 67d1537 into rwmt:master Apr 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5 Fixes or bugs relating to 1.5 (Not Anomaly).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants