Scripts/Customs/Nerun's Distro/New/Commands/Toolbar.cs
/// <summary>
/// Gets entry # in the gump relay.
/// </summary>
Gets entry # in the gump relay.
Gets entry # in the gump relay .
public static TextRelay GetEntry( int entryID, ToolbarEdit gump )
		{
			int temp = 0;
			TextRelay relay = null;
			for( int i = 0; i < gump.TextRelays.Count; i++ )
			{
				if( gump.TextRelays[i].EntryID == entryID )
				{
					temp = i;
					relay = gump.TextRelays[i];
				}
			}
			gump.TextRelays.RemoveAt( temp );
			return relay;
		}
public static TextRelay GetEntry ( int entryID , ToolbarEdit gump ) { int temp = 0 ; TextRelay relay = null ; for ( int i = 0 ; i < gump . TextRelays . Count ; i ++ ) { if ( gump . TextRelays [ i ] . EntryID == entryID ) { temp = i ; relay = gump . TextRelays [ i ] ; } } gump . TextRelays . RemoveAt ( temp ) ; return relay ; }
Gets entry # in the gump relay.
Gets entry # in the gump relay .
entryID
int
gump
ToolbarEdit