|
| static string | ConvertName (string s) |
| |
| static void | GakiConvert (ref string text, string idLang="zako") |
| |
| static int | rndSeed (int a, int seed) |
| |
| static int | rnd (long a) |
| |
| static int | rnd (int a) |
| |
| static int | curve (long _a, int start, int step, int rate=75) |
| |
| static int | sqrt (int a) |
| |
| static int | rndHalf (int a) |
| |
| static float | rndf (float a) |
| |
| static int | rndSqrt (int a) |
| |
| static void | Wait (float a, Card c) |
| |
| static void | Wait (float a, Point p) |
| |
| static int | Bigger (int a, int b) |
| |
| static int | Smaller (int a, int b) |
| |
Definition at line 1 of file BackerContent.cs.
◆ ConvertName()
| static string BackerContent.ConvertName |
( |
string |
s | ) |
|
|
inlinestatic |
◆ GakiConvert()
| static void BackerContent.GakiConvert |
( |
ref string |
text, |
|
|
string |
idLang = "zako" |
|
) |
| |
|
inlinestatic |
Definition at line 20 of file BackerContent.cs.
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 }
Referenced by Card.Talk(), and DramaActor.Talk().
◆ indexFollower
| int BackerContent.indexFollower |
|
static |
◆ indexLantern
| int BackerContent.indexLantern |
|
static |
◆ indexRemain
| int BackerContent.indexRemain |
|
static |
◆ indexSister
| int BackerContent.indexSister |
|
static |
◆ indexSnail
| int BackerContent.indexSnail |
|
static |
◆ indexTree
| int BackerContent.indexTree |
|
static |
The documentation for this class was generated from the following file: