2024-04-24 17:52:34 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Sirenix.OdinInspector.Editor;
|
|
|
|
|
|
|
|
|
|
namespace Editor.GenResourcePathEditor
|
|
|
|
|
{
|
|
|
|
|
public class GenConfigEditor : OdinEditorWindow
|
|
|
|
|
{
|
|
|
|
|
[UnityEditor.MenuItem("Tool/ZC/GenConfigEditor")]
|
|
|
|
|
private static void OpenWindow()
|
|
|
|
|
{
|
|
|
|
|
GetWindow<GenConfigEditor>().Show();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<MallStoreItem> storeItems = new List<MallStoreItem>();
|
2024-04-24 18:16:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
|
public class MallStoreItem
|
|
|
|
|
{
|
|
|
|
|
public long id;
|
|
|
|
|
public string name;
|
|
|
|
|
public string icon;
|
|
|
|
|
public string desc;
|
|
|
|
|
public List<MallScrollItem> data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
|
public class MallScrollItem
|
|
|
|
|
{
|
|
|
|
|
public long id;
|
|
|
|
|
public string name;
|
|
|
|
|
public string icon;
|
|
|
|
|
public string desc;
|
|
|
|
|
public int count;
|
|
|
|
|
public MallItemMessage data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
|
public class MallItemMessage
|
|
|
|
|
{
|
|
|
|
|
|
2024-04-24 17:52:34 +08:00
|
|
|
|
}
|
|
|
|
|
}
|