MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / AddMenuItemCharCommand

Method AddMenuItemCharCommand

vgui2_support/vgui_controls/Menu.cpp:191–197  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Add a menu item to the menu. Input : *item - MenuItem *command - Command text to be sent when menu item is selected *target - Target panel of the command *userData - any user data associated with this menu item Output: itemID - ID of this item ------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

AddActionSignalTargetMethod · 0.80
SetCommandMethod · 0.45
SetUserDataMethod · 0.45

Tested by

no test coverage detected