Skip to content

[FEATURE] Add custom button click action to menu. #148

@himenekocn

Description

@himenekocn

Problem Description

As the title suggests, we can add some extra buttons to the menu to expand some additional operations.

Proposed Solution

When I click this button, plugin can exec this Action, ex: Back / Change somethings

Alternative Solutions

No response

Use Case

var othermenu = xxxxx;
...
var othermenu = xxxx.Build();
menu.AddButtonClick(GameButtonFlags.R, () => openothermenu());
menu.AddButtonClick(GameButtonFlags.F, () => SyncWeapons());
...

Implementation Ideas

No response

Priority

Critical

Contribution

  • I'm willing to implement this feature myself
  • I can help with testing
  • I can help with documentation
  • I can provide feedback during development

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions