This commit is contained in:
2025-11-12 14:22:04 +08:00
parent 7c8bb4b46c
commit 7aeda74f41
15 changed files with 280 additions and 129 deletions

View File

@@ -0,0 +1,30 @@
using System;
using Sirenix.OdinInspector;
namespace Stary.Evo.TableTextConversion
{
[Serializable]
public class AudioEntity
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string auid;
public AudioType autype;
// 名称描述
public string filename;
public string voice;
public string uirelated;
}
public enum AudioType
{
Null,
music,
effect,
sound,
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a1a28b6c544f4e939d68e56f08d87403
timeCreated: 1762855901

View File

@@ -9,29 +9,6 @@ namespace Stary.Evo.TableTextConversion
public class AudioTableData : ScriptableObject, ITableData
{
public string TableName { get; }
public List<MessageInfo> infos;
[Serializable]
public class MessageInfo
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string auid;
public AudioType autype;
// 名称描述
public string filename;
public string voice;
public string uirelated;
}
public enum AudioType
{
Null,
music,
effect,
sound,
}
public List<AudioEntity> infos;
}
}

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using Sirenix.OdinInspector;
namespace Stary.Evo.TableTextConversion
{
[Serializable]
public class UIEntity
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string uiid;
// 名称描述
public string filename;
public string uitype;
public List<SubtitleInfo> subtitle;
}
[Serializable]
public class SubtitleInfo
{
public string lineid;
public string subtitle;
public float start;
public float end;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: aa8c79fd9e99417abfdebb6ffa12629b
timeCreated: 1762855912

View File

@@ -9,30 +9,7 @@ namespace Stary.Evo.TableTextConversion
public class UITableData : ScriptableObject, ITableData
{
public string TableName { get; }
public List<MessageInfo> infos;
[Serializable]
public class MessageInfo
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string uiid;
// 名称描述
public string filename;
public string uitype;
public List<SubtitleInfo> subtitle;
}
[Serializable]
public class SubtitleInfo
{
public string lineid;
public string subtitle;
public float start;
public float end;
}
public List<UIEntity> infos;
}
}

View File

@@ -0,0 +1,24 @@
using System;
using Sirenix.OdinInspector;
namespace Stary.Evo.TableTextConversion
{
[Serializable]
public class VideoEntity
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string vidid;
// 名称描述
public string filename;
public string vidtype;
public string location;
public float time;
public bool subtitle;
public string videoframeName;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f6b98bb6dbce4f999d0ca6d2d08f6900
timeCreated: 1762855926

View File

@@ -9,27 +9,7 @@ namespace Stary.Evo.TableTextConversion
public class VideoTableData : ScriptableObject, ITableData
{
public string TableName { get; }
public List<MessageInfo> infos;
[Serializable]
public class MessageInfo
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string vidid;
// 名称描述
public string filename;
public string vidtype;
public string location;
public float time;
public bool subtitle;
public string videoframeName;
}
public List<VideoEntity> infos;
}
}