Server.Gumps.PlayerVendorCustomizeGump.CustomItem.Create C# (CSharp) Méthode

Create() public méthode

public Create ( ) : Item
Résultat Item
			public Item Create()
			{
				if ( m_Type == null )
					return null;

				Item i = null;
				
				try
				{
					ConstructorInfo ctor = m_Type.GetConstructor( new Type[0] );
					if ( ctor != null )
						i = ctor.Invoke( null ) as Item;
				}
				catch
				{
				}
				
				return i;
			}
PlayerVendorCustomizeGump.CustomItem