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 various thingies #1278

Merged
merged 5 commits into from
Jan 20, 2025
Merged

Conversation

Haselnussbomber
Copy link
Contributor

Thought I'd PR before it gets even more.

@github-actions github-actions bot added the breaking change PR contains breaking changes and wont be merged before a new patch label Jan 18, 2025
@github-actions github-actions bot removed the breaking change PR contains breaking changes and wont be merged before a new patch label Jan 18, 2025
@@ -49,7 +49,7 @@ public void OpenForItemSlot(InventoryType inventory, int slot, uint addonId) {
}

[MemberFunction("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 48 8D 0D ?? ?? ?? ?? E8 ?? ?? ?? ?? 4C 89 74 24 ??")]
public partial long UseItem(uint itemId, uint inventoryType = 9999, uint itemSlot = 0, short a5 = 0);
public partial long UseItem(uint itemId, uint inventoryType = 9999, uint itemSlot = 0, short a5 = 0); // TODO: use InventoryType.Invalid
Copy link
Collaborator

@wolfcomp wolfcomp Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it make more sense to update the inventoryType to the enum type, instead of just updating the default type to use the enum?

Of course only making it as a todo statement since that would be a breaking change if done now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t mean to write (uint)InventoryType.Invalid, lol.
Of course the type should be changed too, but I didn’t want to touch it right now.

@wolfcomp wolfcomp merged commit b668052 into aers:main Jan 20, 2025
5 checks passed
@Haselnussbomber Haselnussbomber deleted the update-inventory-stuff branch January 20, 2025 12:17
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

Successfully merging this pull request may close these issues.

2 participants