Created
January 21, 2026 12:59
-
-
Save distantcam/3337256f44861d52f3b7590c24729c73 to your computer and use it in GitHub Desktop.
Cyberpunk 2077 Mods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public func GetAddEddiesButtonAction() -> CName { return n"world_map_menu_cycle_filter_next"; } | |
| @wrapMethod(MenuHubGameController) | |
| protected cb func OnInitialize() -> Bool { | |
| wrappedMethod(); | |
| this.m_buttonHintsController.AddButtonHint(GetAddEddiesButtonAction(), "Add Eddies"); | |
| } | |
| @wrapMethod(MenuHubGameController) | |
| protected cb func OnButtonRelease(evt: ref<inkPointerEvent>) -> Bool { | |
| let bountyCompleteEvent: wref<BountyCompletionEvent>; | |
| if evt.IsAction(GetAddEddiesButtonAction()) { | |
| GameInstance | |
| .GetTransactionSystem(this.m_player.GetGame()) | |
| .GiveItem(this.m_player, MarketSystem.Money(), 1000000); | |
| bountyCompleteEvent = new BountyCompletionEvent(); | |
| bountyCompleteEvent.streetCredAwarded = 0; | |
| bountyCompleteEvent.moneyAwarded = 1000000; | |
| GameInstance.GetUISystem(this.m_player.GetGame()).QueueEvent(bountyCompleteEvent); | |
| } | |
| wrappedMethod(evt); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment