当前位置: 首页>>代码示例>>C#>>正文


C# BaseQuestGump.AddLabel方法代码示例

本文整理汇总了C#中BaseQuestGump.AddLabel方法的典型用法代码示例。如果您正苦于以下问题:C# BaseQuestGump.AddLabel方法的具体用法?C# BaseQuestGump.AddLabel怎么用?C# BaseQuestGump.AddLabel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BaseQuestGump的用法示例。


在下文中一共展示了BaseQuestGump.AddLabel方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: 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

示例2: 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

示例3: 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

示例4: 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

示例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 )
			{
				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

示例7: RenderProgress

 public override void RenderProgress(BaseQuestGump gump)
 {
     if (!Completed)
     {
         gump.AddHtmlLocalized(70, 260, 270, 100, 1054055, BaseQuestGump.Blue, false, false);
             // Solen Nests Studied :
         gump.AddLabel(70, 280, 0x64, CurProgress.ToString());
         gump.AddLabel(100, 280, 0x64, "/");
         gump.AddLabel(130, 280, 0x64, MaxProgress.ToString());
     }
     else
     {
         base.RenderProgress(gump);
     }
 }
开发者ID:rokann,项目名称:JustUO,代码行数:15,代码来源:Objectives.cs


注:本文中的BaseQuestGump.AddLabel方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。