37 public static string GetRawText(
string idLang,
string ref1,
string ref2 =
null,
string ref3 =
null,
string ref4 =
null)
44 public static string GetRawText(
string idLang,
Card c1,
Card c2,
string ref1 =
null,
string ref2 =
null)
51 public static string GetRawText(
string idLang,
Card c1,
string ref1 =
null,
string ref2 =
null,
string ref3 =
null)
58 public static string Say(
string idLang,
string ref1,
string ref2 =
null,
string ref3 =
null,
string ref4 =
null)
65 public static string Say(
string idLang,
Card c1,
Card c2,
string ref1 =
null,
string ref2 =
null)
72 public static string Say(
string idLang,
Card c1,
string ref1 =
null,
string ref2 =
null,
string ref3 =
null)
79 public static string Say(
string idLang,
Card c1,
int i,
string ref1 =
null)
86 public static string Say(
string idLang,
int i,
string ref1 =
null,
string ref2 =
null)
91 public static string Say(
string idLang)
98 return Say(
"nothingHappens");
103 return Say(
"cannot_use_here");
110 owner?.SayRaw(
"@1" + s);
142 Say(
"getItem", itemName ??
"");
145 public static void Nerun(
string lang,
string idPortrait =
"UN_nerun")
187 public static void SayPic(
string idPortrait,
string lang,
string _idPop =
null)
208 if ((
bool)
feed && c !=
null)
224 for (
int i = 0; i < 99; i++)
237 return Talk(chara,
id);
246 return Talk(chara,
id);
257 return idLang.lang();
263 if (!row.
color.IsEmpty())
267 if (!row.
sound.IsEmpty())
271 return row.
GetText(
"text").Split(Environment.NewLine.ToCharArray()).RandomItem();
286 return (c.
isChara ?
"someone" :
"something").lang();
306 if (!
int.TryParse(n, out var result))
330 fixed (
char* ptr = str)
332 *ptr =
char.ToUpper(*ptr);
string GetTalkText(string idTopic, bool stripPun=false, bool useDefault=true)
static FactionBranch Branch
static SoundManager Sound
static string Convert(string text)
static string Parse(string text, bool thirdPerson, string val1, string val2=null, string val3=null, string val4=null)
static bool IsThirdPerson(Card c)
static string Say(string idLang, int i, string ref1=null, string ref2=null)
static bool IsThirdPerson(int i)
static string Say(string idLang)
static PopItem TalkHomeMemeber(string id)
static void SayGod(string s, Card owner=null)
static void AquireItem(string itemName)
static PopItem Talk(Card c, string id)
static string GetRawText(string idLang, Card c1, string ref1=null, string ref2=null, string ref3=null)
static void Append(Sprite sprite)
static Color currentColor
static bool alwaysVisible
static string GetGameText(string idLang)
static void SayHomeMember(string lang)
static string Say(string idLang, Card c1, string ref1=null, string ref2=null, string ref3=null)
static PopItem TalkMaid(string id)
static ThirstPersonInfo thirdPerson2
static string GetRawText(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
static unsafe void ToUpperFirst(string str)
static string GetRawText(string idLang, Card c1, Card c2, string ref1=null, string ref2=null)
static void SetColor(string id)
static void SayPic(Card c, string lang)
static string Say(string idLang, Card c1, Card c2, string ref1=null, string ref2=null)
static string SayRaw(string text)
static void SayPic(string idPortrait, string lang, string _idPop=null)
static bool IsThirdPerson(string n)
static string SayCannotUseHere()
static WidgetMainText mainText
static ThirstPersonInfo thirdPerson1
static void SetColor(Color color)
static void Nerun(string lang, string idPortrait="UN_nerun")
static string Say(string idLang, Card c1, int i, string ref1=null)
static string SayNothingHappen()
static string GetName(Card c)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
string GetText(string id="name", bool returnNull=false)
static WidgetMainText Instance
void Append(string s, Point pos=null)