43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
![]() |
//------------------------------------------------------------------------------
|
|||
|
// <auto-generated>
|
|||
|
// This code was generated by a tool.
|
|||
|
//
|
|||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|||
|
// the code is regenerated.
|
|||
|
// </auto-generated>
|
|||
|
//------------------------------------------------------------------------------
|
|||
|
|
|||
|
namespace G
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Generated from: cha.xlsx
|
|||
|
/// </summary>
|
|||
|
partial class ItemChaSkin
|
|||
|
{
|
|||
|
public Item.ItemInfo costumePriceInfo;
|
|||
|
public Item.ItemInfo weaponPriceInfo;
|
|||
|
|
|||
|
public Item.ItemInfo costumeBuyPriceInfo;
|
|||
|
public Item.ItemInfo weaponBuyPriceInfo;
|
|||
|
|
|||
|
public string GetUIAssetByWeapon(int weaponKind)
|
|||
|
{
|
|||
|
return asset3d + "_w" + weaponKind + "_ui";
|
|||
|
}
|
|||
|
|
|||
|
public string GetWeaponUIAssetByWeapon(int weaponKind)
|
|||
|
{
|
|||
|
return weapon3d[weaponKind - 1] + "_ui";
|
|||
|
}
|
|||
|
|
|||
|
public override void Init()
|
|||
|
{
|
|||
|
costumePriceInfo = Item.ItemInfo.Convert(price);
|
|||
|
weaponPriceInfo = Item.ItemInfo.Convert(weaponPrice);
|
|||
|
|
|||
|
costumeBuyPriceInfo = Item.ItemInfo.Convert(buyPrice);
|
|||
|
weaponBuyPriceInfo = Item.ItemInfo.Convert(weaponBuyPrice);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|