24 lines
608 B
C#
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 ...)
|
|
}
|
|
} |