本文整理汇总了C#中IRelationalRow类的典型用法代码示例。如果您正苦于以下问题:C# IRelationalRow类的具体用法?C# IRelationalRow怎么用?C# IRelationalRow使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IRelationalRow类属于命名空间,在下文中一共展示了IRelationalRow类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: GrandCompanySealShopItem
public GrandCompanySealShopItem(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
GCShop = Sheet.Collection.GetSheet<GCShop>().FirstOrDefault(_ => _.Min <= Key && _.Max >= Key);
if (GCShop == null) return;
var sealItem = GCShop.GrandCompany.SealItem;
Cost = new ShopListingItem(this, sealItem, AsInt32("Cost"), false);
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:10,代码来源:GrandCompanySealShopItem.cs
示例2: WeatherRate
/// <summary>
/// Initializes a new instance of the <see cref="WeatherRate" /> class.
/// </summary>
/// <param name="sheet"><see cref="IXivSheet" /> containing this object.</param>
/// <param name="sourceRow"><see cref="IRelationalRow" /> to read data from.</param>
public WeatherRate(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
const int Count = 8;
var w = new List<Weather>();
var wr = new List<Tuple<int, Weather>>();
var min = 0;
for (var i = 0; i < Count; ++i) {
var suffix = string.Format("[{0}]", i);
var weather = (Weather)this["Weather" + suffix];
var rate = Convert.ToInt32(this["Rate" + suffix]);
w.Add(weather);
wr.Add(Tuple.Create(min + rate, weather));
min += rate;
}
_PossibleWeathers = w.Distinct().ToArray();
_WeatherRates = wr.ToArray();
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:27,代码来源:WeatherRate.cs
示例3: GatheringPoint
public GatheringPoint(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:GatheringPoint.cs
示例4: LeveRewardItem
/// <summary>
/// Initializes a new instance of the <see cref="LeveRewardItem" /> class.
/// </summary>
/// <param name="sheet"><see cref="IXivSheet" /> containing this object.</param>
/// <param name="sourceRow"><see cref="IRelationalRow" /> to read data from.</param>
public LeveRewardItem(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:9,代码来源:LeveRewardItem.cs
示例5: CompanionTransient
public CompanionTransient(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:CompanionTransient.cs
示例6: FccShop
public FccShop(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:FccShop.cs
示例7: ClassJob
public ClassJob(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:ClassJob.cs
示例8: BuddyAction
public BuddyAction(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:BuddyAction.cs
示例9: PhysicalWeapon
public PhysicalWeapon(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:PhysicalWeapon.cs
示例10: GrandCompany
public GrandCompany(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:GrandCompany.cs
示例11: PointRecovery
protected PointRecovery(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:PointRecovery.cs
示例12: LeveClient
public LeveClient(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:LeveClient.cs
示例13: GpRecovery
public GpRecovery(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:GpRecovery.cs
示例14: InstanceContent
/// <summary>
/// Initializes a new instance of the <see cref="InstanceContent"/> class.
/// </summary>
/// <param name="sheet"><see cref="IXivSheet"/> containing this object.</param>
/// <param name="sourceRow"><see cref="IRelationalRow"/> to read data from.</param>
public InstanceContent(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:9,代码来源:InstanceContent.cs
示例15: RelicNote
public RelicNote(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:RelicNote.cs
示例16: Addon
public Addon(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:Addon.cs
示例17: Equipment
/// <summary>
/// Initializes a new instance of the <see cref="Equipment" /> class.
/// </summary>
/// <param name="sheet"><see cref="IXivSheet" /> containing this object.</param>
/// <param name="sourceRow"><see cref="IRelationalRow" /> to read data from.</param>
protected Equipment(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:9,代码来源:Equipment.cs
示例18: MinionSkillType
public MinionSkillType(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
开发者ID:KevinAllenWiegand,项目名称:SaintCoinach,代码行数:4,代码来源:MinionSkillType.cs
示例19: GatheringCondition
public GatheringCondition(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:GatheringCondition.cs
示例20: HousingLayoutLimit
protected HousingLayoutLimit(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
开发者ID:mclark4386,项目名称:SaintCoinach,代码行数:1,代码来源:HousingLayoutLimit.cs
注:本文中的IRelationalRow类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论