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


C# IRelationalRow类代码示例

本文整理汇总了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);
        }
开发者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


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