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");
108 return Say(
"invalidAction");
115 owner?.SayRaw(
"@1" + s);
147 Say(
"getItem", itemName ??
"");
150 public static void Nerun(
string lang,
string idPortrait =
"UN_nerun")
192 public static void SayPic(
string idPortrait,
string lang,
string _idPop =
null)
213 if ((
bool)
feed && c !=
null)
229 for (
int i = 0; i < 99; i++)
242 return Talk(chara,
id);
251 return Talk(chara,
id);
262 return idLang.lang();
272 if (!row.
sound.IsEmpty())
276 return row.
GetText(
"text").Split(Environment.NewLine.ToCharArray()).RandomItem();
291 return (c.
isChara ?
"someone" :
"something").lang();
311 if (!
int.TryParse(n, out var result))
335 fixed (
char* ptr = str)
337 *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 string GetGameText(string idLang, Card card=null)
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 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 SayInvalidAction()
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)
bool TryGetValue(TKey key, out TValue value)
static WidgetMainText Instance
void Append(string s, Point pos=null)