Elin Decompiled Documentation
EA 23.288 Nightly
Loading...
Searching...
No Matches
BackerContent.cs
Go to the documentation of this file.
1
public
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
return
;
25
}
26
if
(!text.StartsWith(
"("
))
27
{
28
text = idLang.lang().Split(
','
).RandomItem() +
" ("
+ text +
")"
;
29
}
30
else
31
{
32
switch
(idLang)
33
{
34
case
"mokyu"
:
35
case
"babu"
:
36
case
"mimu"
:
37
text = idLang.lang().Split(
','
).RandomItem() +
" "
+ text;
38
break
;
39
}
40
}
41
text = text.Replace(
"。)"
,
")"
);
42
if
(text.EndsWith(
"」"
))
43
{
44
text = text.Substring(0, text.Length - 1);
45
}
46
}
47
}
BackerContent
Definition:
BackerContent.cs:2
BackerContent.indexTree
static int indexTree
Definition:
BackerContent.cs:3
BackerContent.indexFollower
static int indexFollower
Definition:
BackerContent.cs:11
BackerContent.indexSister
static int indexSister
Definition:
BackerContent.cs:13
BackerContent.indexSnail
static int indexSnail
Definition:
BackerContent.cs:9
BackerContent.indexRemain
static int indexRemain
Definition:
BackerContent.cs:5
BackerContent.indexLantern
static int indexLantern
Definition:
BackerContent.cs:7
BackerContent.ConvertName
static string ConvertName(string s)
Definition:
BackerContent.cs:15
BackerContent.GakiConvert
static void GakiConvert(ref string text, string idLang="zako")
Definition:
BackerContent.cs:20
EClass
Definition:
EClass.cs:6
Elin
BackerContent.cs
Generated by
1.9.6