コード例 #1
0
		public SampleDNAGump( EmptyDNAVial vial ) : base( 25, 25 )
		{
			m_Vial = vial;

			Closable=true;
			Disposable=true;
			Dragable=true;
			Resizable=false;
			AddPage(0);
			AddBackground(37, 45, 252, 137, 5120);
			AddLabel(54, 46, 1160, @"Select The DNA you wish to extract");
			AddButton(50, 75, 4005, 4006, 1, GumpButtonType.Reply, 0);
			AddButton(50, 100, 4005, 4006, 2, GumpButtonType.Reply, 0);
			AddButton(50, 125, 4005, 4006, 3, GumpButtonType.Reply, 0);
			AddButton(50, 150, 4005, 4006, 4, GumpButtonType.Reply, 0);
			AddLabel(85, 75, 1149, @"Prowess");
			AddLabel(85, 100, 1149, @"Environment");
			AddLabel(85, 125, 1149, @"Mental");
			AddLabel(85, 150, 1149, @"Mimic");

		}
コード例 #2
0
         	public ProwessTarget( Mobile from, EmptyDNAVial vial ) : base ( 10, false, TargetFlags.None ) 
         	{ 
			m_From = from;
			m_Vial = vial;
         	} 
コード例 #3
0
         	public EnvironementTarget( Mobile from, EmptyDNAVial vial ) : base ( 10, false, TargetFlags.None ) 
         	{ 
			m_From = from;
			m_Vial = vial;
         	}