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


C# TextDefinition类代码示例

本文整理汇总了C#中TextDefinition的典型用法代码示例。如果您正苦于以下问题:C# TextDefinition类的具体用法?C# TextDefinition怎么用?C# TextDefinition使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: AddHtmlText

 public void AddHtmlText(int x, int y, int width, int height, TextDefinition text, bool back, bool scroll)
 {
     if (text != null && text.Number > 0)
         this.AddHtmlLocalized(x, y, width, height, text.Number, back, scroll);
     else if (text != null && text.String != null)
         this.AddHtml(x, y, width, height, text.String, back, scroll);
 }
开发者ID:Crome696,项目名称:ServUO,代码行数:7,代码来源:FactionGump.cs

示例2: ImageTileButtonInfo

 public ImageTileButtonInfo(int itemID, int hue, TextDefinition label, int localizedTooltip)
 {
     this.m_Hue = hue;
     this.m_ItemID = itemID;
     this.m_Label = label;
     this.m_LocalizedTooltip = localizedTooltip;
 }
开发者ID:Crome696,项目名称:ServUO,代码行数:7,代码来源:BaseImageTileButtonsGump.cs

示例3: FactionDefinition

		public FactionDefinition( int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody, int warHorseItem, string friendlyName, string keyword, string abbreviation, TextDefinition name, TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl, TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName, TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack, StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards )
		{
			m_Sort = sort;
			m_HuePrimary = huePrimary;
			m_HueSecondary = hueSecondary;
			m_HueJoin = hueJoin;
			m_HueBroadcast = hueBroadcast;
			m_WarHorseBody = warHorseBody;
			m_WarHorseItem = warHorseItem;
			m_FriendlyName = friendlyName;
			m_Keyword = keyword;
			m_Abbreviation = abbreviation;
			m_Name = name;
			m_PropName = propName;
			m_Header = header;
			m_About = about;
			m_CityControl = cityControl;
			m_SigilControl = sigilControl;
			m_SignupName = signupName;
			m_FactionStoneName = factionStoneName;
			m_OwnerLabel = ownerLabel;
			m_GuardIgnore = guardIgnore;
			m_GuardWarn = guardWarn;
			m_GuardAttack = guardAttack;
			m_Stronghold = stronghold;
			m_Ranks = ranks;
			m_Guards = guards;
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:28,代码来源:FactionDefinition.cs

示例4: ProximitySpawner

 public ProximitySpawner(int amount, int minDelay, int maxDelay, int team, int homeRange, string spawnName, int triggerRange, string spawnMessage, bool instantFlag)
     : base(amount, minDelay, maxDelay, team, homeRange, spawnName)
 {
     this.m_TriggerRange = triggerRange;
     this.m_SpawnMessage = TextDefinition.Parse(spawnMessage);
     this.m_InstantFlag = instantFlag;
 }
开发者ID:Crome696,项目名称:ServUO,代码行数:7,代码来源:ProximitySpawner.cs

示例5: RankDefinition

 public RankDefinition( int rank, int required, int maxWearables, TextDefinition title )
 {
     m_Rank = rank;
     m_Required = required;
     m_Title = title;
     m_MaxWearables = maxWearables;
 }
开发者ID:justdanofficial,项目名称:khaeros,代码行数:7,代码来源:RankDefinition.cs

示例6: RepairSkillInfo

			public RepairSkillInfo( CraftSystem system, Type[] nearbyTypes, TextDefinition notNearbyMessage, TextDefinition name )
			{
				m_System = system;
				m_NearbyTypes = nearbyTypes;
				m_NotNearbyMessage = notNearbyMessage;
				m_Name = name;
			}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:7,代码来源:RepairDeed.cs

示例7: KillObjective

		public KillObjective( int amount, Type[] types, TextDefinition name, QuestArea area )
		{
			m_DesiredAmount = amount;
			m_AcceptedTypes = types;
			m_Name = name;
			m_Area = area;
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:7,代码来源:KillObjective.cs

示例8: BonusHarvestResource

		public BonusHarvestResource( double reqSkill, double chance, TextDefinition message, Type type )
		{
			m_ReqSkill = reqSkill;

			m_Chance = chance;
			m_Type = type;
			m_SuccessMessage = message;
		}
开发者ID:nick12344356,项目名称:The-Basement,代码行数:8,代码来源:BonusHarvestResource.cs

示例9: CraftRes

		public CraftRes( Type type, TextDefinition name, int amount, TextDefinition message ): this ( type, amount )
		{
			m_NameNumber = name;
			m_MessageNumber = message;

			m_NameString = name;
			m_MessageString = message;
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:8,代码来源:CraftRes.cs

示例10: PowerDefinition

		public PowerDefinition( int power, TextDefinition name, TextDefinition phrase, TextDefinition description )
		{
			m_Power = power;

			m_Name = name;
			m_Phrase = phrase;
			m_Description = description;
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:8,代码来源:PowerDefinition.cs

示例11: MerchantTitleInfo

 public MerchantTitleInfo( SkillName skill, double requirement, TextDefinition title, TextDefinition label, TextDefinition assigned )
 {
     m_Skill = skill;
     m_Requirement = requirement;
     m_Title = title;
     m_Label = label;
     m_Assigned = assigned;
 }
开发者ID:justdanofficial,项目名称:khaeros,代码行数:8,代码来源:MerchantTitles.cs

示例12: CraftSubRes

		public CraftSubRes( Type type, TextDefinition name, double reqSkill, int genericNameNumber, object message )
		{
			m_Type = type;
			m_NameNumber = name;
			m_NameString = name;
			m_ReqSkill = reqSkill;
			m_GenericNameNumber = genericNameNumber;
			m_Message = message;
		}
开发者ID:Godkong,项目名称:RunUO,代码行数:9,代码来源:CraftSubRes.cs

示例13: BonusHarvestResource

        public BonusHarvestResource(double reqSkill, double chance, TextDefinition message, Type type, Map requiredMap)
        {
            this.m_ReqSkill = reqSkill;

            this.m_Chance = chance;
            this.m_Type = type;
            this.m_SuccessMessage = message;
			RequiredMap = requiredMap;
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:9,代码来源:BonusHarvestResource.cs

示例14: BonusHarvestResource

		public BonusHarvestResource(Expansion reqExpansion, double reqSkill, double chance, TextDefinition message, Type type)
		{
			ReqExpansion = reqExpansion;
			ReqSkill = reqSkill;

			Chance = chance;
			Type = type;
			SuccessMessage = message;
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:9,代码来源:BonusHarvestResource.cs

示例15: QuestArea

		public QuestArea( TextDefinition name, string region, Map forceMap )
		{
			m_Name = name;
			m_RegionName = region;
			m_ForceMap = forceMap;

			if ( MLQuestSystem.Debug )
				ValidationQueue<QuestArea>.Add( this );
		}
开发者ID:nathanvy,项目名称:runuo,代码行数:9,代码来源:QuestArea.cs


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