//--------------------------------------------------------
|
// [Author]: YYL
|
// [ Date ]: Friday, June 27, 2025
|
//--------------------------------------------------------
|
|
using System.Collections.Generic;
|
using System.IO;
|
using System.Threading;
|
using System;
|
using UnityEngine;
|
using LitJson;
|
|
public partial class MailConfig : ConfigBase<string, MailConfig>
|
{
|
|
public string MailType;
|
public string Title;
|
public string Content;
|
|
public override string LoadKey(string _key)
|
{
|
string key = GetKey(_key);
|
return key;
|
}
|
|
public override void LoadConfig(string input)
|
{
|
try {
|
string[] tables = input.Split('\t');
|
MailType = tables[0];
|
|
Title = tables[1];
|
|
Content = tables[2];
|
}
|
catch (Exception exception)
|
{
|
Debug.LogError(exception);
|
}
|
}
|
}
|