ProjectDDD/Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetData.cs
2025-07-17 19:11:00 +09:00

24 lines
608 B
C#

using System;
using System.Collections.Generic;
namespace DDD
{
[Serializable]
public class SheetTableData
{
public string Key;
public Dictionary<string, string> LocaleValues = new(); // ex: "en" → "Potion"
}
[Serializable]
public class SheetUploadPayload
{
public Dictionary<string, List<SheetTableData>> Tables = new(); // TableName → Entries
}
[Serializable]
public class SheetDownloadPayload
{
public Dictionary<string, List<Dictionary<string, string>>> Tables = new(); // TableName → Rows (Key, en, ko, ja ...)
}
}