Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
BackerContent.cs
Go to the documentation of this file.
1public class BackerContent : EClass
2{
3 public static int indexTree;
4
5 public static int indexRemain;
6
7 public static int indexLantern;
8
9 public static int indexSnail;
10
11 public static int indexFollower;
12
13 public static int indexSister;
14
15 public static string ConvertName(string s)
16 {
17 return s.Replace("『", "「");
18 }
19
20 public static void GakiConvert(ref string text, string idLang = "zako")
21 {
22 if (!text.IsEmpty())
23 {
24 if (!text.StartsWith("("))
25 {
26 text = idLang.lang().Split(',').RandomItem() + " (" + text + ")";
27 }
28 else if (idLang == "mokyu" || idLang == "babu")
29 {
30 text = idLang.lang().Split(',').RandomItem() + " " + text;
31 }
32 text = text.Replace("。)", ")");
33 if (text.EndsWith("」"))
34 {
35 text = text.Substring(0, text.Length - 1);
36 }
37 }
38 }
39}
static int indexTree
Definition: BackerContent.cs:3
static int indexFollower
static int indexSister
static int indexSnail
Definition: BackerContent.cs:9
static int indexRemain
Definition: BackerContent.cs:5
static int indexLantern
Definition: BackerContent.cs:7
static string ConvertName(string s)
static void GakiConvert(ref string text, string idLang="zako")
Definition: EClass.cs:5