當前位置: 首頁>>代碼示例>>C#>>正文


C# BaseQuestGump類代碼示例

本文整理匯總了C#中BaseQuestGump的典型用法代碼示例。如果您正苦於以下問題:C# BaseQuestGump類的具體用法?C# BaseQuestGump怎麽用?C# BaseQuestGump使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


BaseQuestGump類屬於命名空間,在下文中一共展示了BaseQuestGump類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: RenderMessage

 public override void RenderMessage(BaseQuestGump gump)
 {
     if (this.CurProgress > 0 && this.CurProgress < this.MaxProgress)
         gump.AddHtmlObject(70, 130, 300, 100, 1050028, BaseQuestGump.Blue, false, false); // Victoria has accepted the Daemon bones, but the requirement is not yet met.
     else
         base.RenderMessage(gump);
 }
開發者ID:Crome696,項目名稱:ServUO,代碼行數:7,代碼來源:Objectives.cs

示例2: RenderMessage

 public override void RenderMessage( BaseQuestGump gump )
 {
     if ( CurProgress > 0 && CurProgress < MaxProgress )
         gump.AddHtmlObject( 70, 130, 300, 100, "Zuleika has accepted the Poison fungus, but the requirement is not yet met.", BaseQuestGump.Blue, false, false );
     else
         base.RenderMessage( gump );
 }
開發者ID:kamronbatman,項目名稱:Defiance-AOS-Pre-2012,代碼行數:7,代碼來源:Objectives.cs

示例3: RenderProgress

        public override void RenderProgress(BaseQuestGump gump)
        {
            string count = NestArea.NonSpecialCount.ToString();

            gump.AddHtmlLocalized(70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false); // Solen Nests Studied :
            gump.AddLabel(70, 280, 0x64, count);
            gump.AddLabel(100, 280, 0x64, "/");
            gump.AddLabel(130, 280, 0x64, count);
        }
開發者ID:FreeReign,項目名稱:forkuo,代碼行數:9,代碼來源:Objectives.cs

示例4: RenderProgress

 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         gump.AddLabel(70, 260, 270, "Abysmal Horror");
         gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, MaxProgress.ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
開發者ID:kamronbatman,項目名稱:Defiance-AOS-Pre-2012,代碼行數:14,代碼來源:Objectives.cs

示例5: RenderProgress

		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				// Black/Red Solen Infiltrators killed:
				gump.AddHtmlLocalized( 70, 260, 270, 100, ((SolenMatriarchQuest)System).RedSolen ? 1054088 : 1054087, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, MaxProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
開發者ID:greeduomacro,項目名稱:last-wish,代碼行數:15,代碼來源:Objectives.cs

示例6: RenderProgress

		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				// Red/Black Solen Queens killed:
				gump.AddHtmlLocalized( 70, 260, 270, 100, ((AmbitiousQueenQuest)System).RedSolen ? 1054064 : 1054065, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, MaxProgress.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
開發者ID:Godkong,項目名稱:RunUO,代碼行數:15,代碼來源:Objectives.cs

示例7: RenderProgress

        public override void RenderProgress(BaseQuestGump gump)
        {
            if (this.CurProgress > 0 && this.CurProgress < this.MaxProgress)
            {
                gump.AddHtmlObject(70, 260, 270, 100, 1050019, BaseQuestGump.Blue, false, false); // Number of bones collected:

                gump.AddLabel(70, 280, 100, this.CurProgress.ToString());
                gump.AddLabel(100, 280, 100, "/");
                gump.AddLabel(130, 280, 100, this.MaxProgress.ToString());
            }
            else
            {
                base.RenderProgress(gump);
            }
        }
開發者ID:Crome696,項目名稱:ServUO,代碼行數:15,代碼來源:Objectives.cs

示例8: RenderProgress

        public override void RenderProgress( BaseQuestGump gump )
        {
            if ( !Completed )
            {
                gump.Intern( "/" );
                gump.Intern( CurProgress.ToString() );
                gump.Intern( MaxProgress.ToString() );

                gump.AddHtmlObject( 70, 260, 270, 100, 1063318, BaseQuestGump.Blue, false, false ); // Deathwatch Beetle Hatchlings killed:
                gump.AddLabelIntern( 70, 280, 0x64, 1 );
                gump.AddLabelIntern( 100, 280, 0x64, 0 );
                gump.AddLabelIntern( 130, 280, 0x64, 2 );
            }
            else
            {
                base.RenderProgress( gump );
            }
        }
開發者ID:Ravenwolfe,項目名稱:xrunuo,代碼行數:18,代碼來源:Objectives.cs

示例9: RenderProgress

		public override void RenderProgress( BaseQuestGump gump )
		{
			if ( !Completed )
			{
				IngredientInfo info = IngredientInfo.Get( this.Ingredient );

				gump.AddHtmlLocalized( 70, 260, 270, 100, info.Name, BaseQuestGump.Blue, false, false );
				gump.AddLabel( 70, 280, 0x64, CurProgress.ToString() );
				gump.AddLabel( 100, 280, 0x64, "/" );
				gump.AddLabel( 130, 280, 0x64, info.Quantity.ToString() );
			}
			else
			{
				base.RenderProgress( gump );
			}
		}
開發者ID:kamronbatman,項目名稱:DefianceUO-Pre1.10,代碼行數:16,代碼來源:Objectives.cs


注:本文中的BaseQuestGump類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。