UMenu
Class UMenuModMenuItem

source: e:\games\UnrealTournament\UMenu\Classes\UMenuModMenuItem.uc
Core.Object
   |
   +--UWindow.UWindowBase
      |
      +--UWindow.UWindowList
         |
         +--UMenu.UMenuModMenuItem
Direct Known Subclasses:None

class UMenuModMenuItem
extends UWindow.UWindowList

// Descend from this class to add an item to the Mod menu. // Be sure to put a line in your Mod's .int file to specify this class // eg: // Object=(Name=MyModPkg.MyModMenuItem,Class=Class,MetaClass=UMenu.UMenuModMenuItem,Description="&My Mod,This text goes on the status bar")
Variables
 string MenuCaption
 string MenuHelp
 UWindowPulldownMenuItem MenuItem
           Used internally


Function Summary
 void Execute()
 void Setup()



Source Code


00001	// Descend from this class to add an item to the Mod menu.
00002	// Be sure to put a line in your Mod's .int file to specify this class
00003	// eg: 
00004	// Object=(Name=MyModPkg.MyModMenuItem,Class=Class,MetaClass=UMenu.UMenuModMenuItem,Description="&My Mod,This text goes on the status bar")
00005	
00006	class UMenuModMenuItem expands UWindowList;
00007	
00008	var localized string MenuCaption;
00009	var localized string MenuHelp;
00010	
00011	var UWindowPulldownMenuItem MenuItem;	// Used internally
00012	
00013	function Setup()
00014	{
00015		/// Called when the menu item is created
00016	}
00017	
00018	function Execute()
00019	{
00020		// Called when the menu item is chosen
00021	}
00022	
00023	defaultproperties
00024	{
00025	     MenuCaption="&My Mod"
00026	     MenuHelp="This text goes on the status bar"
00027	}

End Source Code