本文整理汇总了C#中IRelationalRow类的典型用法代码示例。如果您正苦于以下问题:C# IRelationalRow类的具体用法?C# IRelationalRow怎么用?C# IRelationalRow使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IRelationalRow类属于命名空间,在下文中一共展示了IRelationalRow类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
示例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();
}
示例3: GatheringPoint
public GatheringPoint(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例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)
{
}
示例5: CompanionTransient
public CompanionTransient(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
示例6: FccShop
public FccShop(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
示例7: ClassJob
public ClassJob(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
示例8: BuddyAction
public BuddyAction(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例9: PhysicalWeapon
public PhysicalWeapon(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}
示例10: GrandCompany
public GrandCompany(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例11: PointRecovery
protected PointRecovery(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例12: LeveClient
public LeveClient(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例13: GpRecovery
public GpRecovery(IXivSheet sheet, IRelationalRow sourceRow) : base(sheet, sourceRow) { }
示例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)
{
}
示例15: RelicNote
public RelicNote(IXivSheet sheet, IRelationalRow sourceRow)
: base(sheet, sourceRow)
{
}