//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace G
{
///
/// Generated from: level.xlsx
///
partial class ItemChapter
{
///
///
///
public bool isUnlock
{
get
{
return ItemProxy.Instance.GetStaticItem(levels[0]).isUnlock;
}
}
///
///
///
public bool isCompleted
{
get
{
return ItemProxy.Instance.GetStaticItem(levels[levels.Length - 1]).isCompleted;
}
}
///
///
///
public Item.ItemInfo adCoinRewardInfo;
///
///
///
public Item.ItemInfo adChipRewardInfo;
///
/// 免费元宝
///
public Item.ItemInfo adGemRewardInfo;
public override void Init()
{
adCoinRewardInfo = Item.ItemInfo.Convert(rewards[0]);
adChipRewardInfo = Item.ItemInfo.Convert(rewards[1]);
adGemRewardInfo = Item.ItemInfo.Convert(rewards[2]);
}
}
}