-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Copy pasting decompiled code and compiling again doesn't work for:
@replaceMethod(InventoryDataManagerV2)
private final func GetPlayerPartsInventoryData(slotID: TweakDBID) -> array<InventoryItemData> {copying the vanilla function and compiling with redscript doesn't compile.
[ERROR - Tue, 24 Oct 2023 07:45:02 +0200] [NO_MATCHING_OVERLOAD] At F:\games\Cyberpunk 2077\r6\scripts\moremonowirehacks\moremonowirehacks.reds:21:35:
ArrayPush(this.m_PartsData, new InventoryPartsData());
^^^^^^^^^^^^^^^^^^^^^^^^
expected 3 arguments for InventoryPartsData
it expects struct args, works if you give them.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working