シート更新 shopdataに非表示フラグ追加

This commit is contained in:
kimura 2022-06-27 15:08:10 +09:00
parent 66778cdb99
commit f3eee3fb8f
3 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
sSWyGJvMwKyrXPGa+UcR7ijwM+qeMX15w5gLe+ThVpwdHKCThwekRwehV+QJtIy+
LqzefEWOl7H56PREiEe6yHXVsWi1rP2xEXLtQnk4QSVaXJB6jqQqJ4eRIzADDaN5

File diff suppressed because one or more lines are too long

View File

@ -448,10 +448,12 @@ public sealed class ShopData {
public int category;
public int consumeType;
public string prefabName;
public int hide;
public string Name => LocalizationManager.GetTranslation($"Item/MaterialName{id:0000}");
public string Text => LocalizationManager.GetTranslation($"Item/MaterialText{id:0000}");
public ItemCategory Category => (ItemCategory)category;
public ShopItemType ConsumeType => (ShopItemType)consumeType;
public bool IsHide => hide == 1;
public Transform GetPrefab()
{