先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
206 lines
7.3 KiB
C#
206 lines
7.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
using Bright.Serialization;
|
|
using System.Collections.Generic;
|
|
using SimpleJSON;
|
|
|
|
|
|
|
|
namespace cfg
|
|
{
|
|
|
|
public sealed partial class Text : Bright.Config.BeanBase
|
|
{
|
|
public JSONNode json;
|
|
public Text(JSONNode _json)
|
|
{
|
|
{ if(!_json["key"].IsString) { throw new SerializationException(); } Key = _json["key"]; }
|
|
{ if(!_json["origin_text"].IsString) { throw new SerializationException(); } OriginText = _json["origin_text"]; }
|
|
{ if(!_json["text_zh_Hans"].IsString) { throw new SerializationException(); } TextZhHans = _json["text_zh_Hans"]; }
|
|
{ if(!_json["text_zh_Hant"].IsString) { throw new SerializationException(); } TextZhHant = _json["text_zh_Hant"]; }
|
|
{ if(!_json["text_en"].IsString) { throw new SerializationException(); } TextEn = _json["text_en"]; }
|
|
{ if(!_json["text_de"].IsString) { throw new SerializationException(); } TextDe = _json["text_de"]; }
|
|
{ if(!_json["text_fr"].IsString) { throw new SerializationException(); } TextFr = _json["text_fr"]; }
|
|
{ if(!_json["text_es"].IsString) { throw new SerializationException(); } TextEs = _json["text_es"]; }
|
|
{ if(!_json["text_pt"].IsString) { throw new SerializationException(); } TextPt = _json["text_pt"]; }
|
|
{ if(!_json["text_it"].IsString) { throw new SerializationException(); } TextIt = _json["text_it"]; }
|
|
{ if(!_json["text_tr"].IsString) { throw new SerializationException(); } TextTr = _json["text_tr"]; }
|
|
{ if(!_json["text_ar"].IsString) { throw new SerializationException(); } TextAr = _json["text_ar"]; }
|
|
{ if(!_json["text_ja"].IsString) { throw new SerializationException(); } TextJa = _json["text_ja"]; }
|
|
{ if(!_json["text_ko"].IsString) { throw new SerializationException(); } TextKo = _json["text_ko"]; }
|
|
{ if(!_json["text_pl"].IsString) { throw new SerializationException(); } TextPl = _json["text_pl"]; }
|
|
{ if(!_json["text_nl"].IsString) { throw new SerializationException(); } TextNl = _json["text_nl"]; }
|
|
{ if(!_json["text_ms"].IsString) { throw new SerializationException(); } TextMs = _json["text_ms"]; }
|
|
{ if(!_json["text_th"].IsString) { throw new SerializationException(); } TextTh = _json["text_th"]; }
|
|
{ if(!_json["text_id"].IsString) { throw new SerializationException(); } TextId = _json["text_id"]; }
|
|
{ if(!_json["text_uk"].IsString) { throw new SerializationException(); } TextUk = _json["text_uk"]; }
|
|
{ if(!_json["text_ru"].IsString) { throw new SerializationException(); } TextRu = _json["text_ru"]; }
|
|
json = _json;
|
|
PostInit();
|
|
}
|
|
|
|
public Text(string key, string origin_text, string text_zh_Hans, string text_zh_Hant, string text_en, string text_de, string text_fr, string text_es, string text_pt, string text_it, string text_tr, string text_ar, string text_ja, string text_ko, string text_pl, string text_nl, string text_ms, string text_th, string text_id, string text_uk, string text_ru )
|
|
{
|
|
this.Key = key;
|
|
this.OriginText = origin_text;
|
|
this.TextZhHans = text_zh_Hans;
|
|
this.TextZhHant = text_zh_Hant;
|
|
this.TextEn = text_en;
|
|
this.TextDe = text_de;
|
|
this.TextFr = text_fr;
|
|
this.TextEs = text_es;
|
|
this.TextPt = text_pt;
|
|
this.TextIt = text_it;
|
|
this.TextTr = text_tr;
|
|
this.TextAr = text_ar;
|
|
this.TextJa = text_ja;
|
|
this.TextKo = text_ko;
|
|
this.TextPl = text_pl;
|
|
this.TextNl = text_nl;
|
|
this.TextMs = text_ms;
|
|
this.TextTh = text_th;
|
|
this.TextId = text_id;
|
|
this.TextUk = text_uk;
|
|
this.TextRu = text_ru;
|
|
PostInit();
|
|
}
|
|
|
|
public static Text DeserializeText(JSONNode _json)
|
|
{
|
|
return new Text(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string Key { get; private set; }
|
|
/// <summary>
|
|
/// 开发语言
|
|
/// </summary>
|
|
public string OriginText { get; private set; }
|
|
/// <summary>
|
|
/// Chinese (Simplified)
|
|
/// </summary>
|
|
public string TextZhHans { get; private set; }
|
|
/// <summary>
|
|
/// Chinese (Traditional)
|
|
/// </summary>
|
|
public string TextZhHant { get; private set; }
|
|
/// <summary>
|
|
/// English
|
|
/// </summary>
|
|
public string TextEn { get; private set; }
|
|
/// <summary>
|
|
/// German
|
|
/// </summary>
|
|
public string TextDe { get; private set; }
|
|
/// <summary>
|
|
/// French
|
|
/// </summary>
|
|
public string TextFr { get; private set; }
|
|
/// <summary>
|
|
/// Spanish
|
|
/// </summary>
|
|
public string TextEs { get; private set; }
|
|
/// <summary>
|
|
/// Portuguese
|
|
/// </summary>
|
|
public string TextPt { get; private set; }
|
|
/// <summary>
|
|
/// Italian
|
|
/// </summary>
|
|
public string TextIt { get; private set; }
|
|
/// <summary>
|
|
/// Turkish
|
|
/// </summary>
|
|
public string TextTr { get; private set; }
|
|
/// <summary>
|
|
/// Arabic
|
|
/// </summary>
|
|
public string TextAr { get; private set; }
|
|
/// <summary>
|
|
/// Japanese
|
|
/// </summary>
|
|
public string TextJa { get; private set; }
|
|
/// <summary>
|
|
/// Korean
|
|
/// </summary>
|
|
public string TextKo { get; private set; }
|
|
/// <summary>
|
|
/// Polish
|
|
/// </summary>
|
|
public string TextPl { get; private set; }
|
|
/// <summary>
|
|
/// Dutch
|
|
/// </summary>
|
|
public string TextNl { get; private set; }
|
|
/// <summary>
|
|
/// Malay
|
|
/// </summary>
|
|
public string TextMs { get; private set; }
|
|
/// <summary>
|
|
/// Thai
|
|
/// </summary>
|
|
public string TextTh { get; private set; }
|
|
/// <summary>
|
|
/// Indonesian
|
|
/// </summary>
|
|
public string TextId { get; private set; }
|
|
/// <summary>
|
|
/// Ukrainian
|
|
/// </summary>
|
|
public string TextUk { get; private set; }
|
|
/// <summary>
|
|
/// Russian
|
|
/// </summary>
|
|
public string TextRu { get; private set; }
|
|
|
|
public const int __ID__ = 2603341;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void Resolve(Dictionary<string, object> _tables)
|
|
{
|
|
PostResolve();
|
|
}
|
|
|
|
public void TranslateText(System.Func<string, string, string> translator)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "Key:" + Key + ","
|
|
+ "OriginText:" + OriginText + ","
|
|
+ "TextZhHans:" + TextZhHans + ","
|
|
+ "TextZhHant:" + TextZhHant + ","
|
|
+ "TextEn:" + TextEn + ","
|
|
+ "TextDe:" + TextDe + ","
|
|
+ "TextFr:" + TextFr + ","
|
|
+ "TextEs:" + TextEs + ","
|
|
+ "TextPt:" + TextPt + ","
|
|
+ "TextIt:" + TextIt + ","
|
|
+ "TextTr:" + TextTr + ","
|
|
+ "TextAr:" + TextAr + ","
|
|
+ "TextJa:" + TextJa + ","
|
|
+ "TextKo:" + TextKo + ","
|
|
+ "TextPl:" + TextPl + ","
|
|
+ "TextNl:" + TextNl + ","
|
|
+ "TextMs:" + TextMs + ","
|
|
+ "TextTh:" + TextTh + ","
|
|
+ "TextId:" + TextId + ","
|
|
+ "TextUk:" + TextUk + ","
|
|
+ "TextRu:" + TextRu + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|