terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ HasSpecialEventText()

bool Terraria.NPC.HasSpecialEventText ( string specialTextCategoryKey,
[Out] string specialEventText )
inline

Definition at line 10495 of file NPC.cs.

10496 {
10497 if (!true)
10498 {
10499 }
10500 object obj = Lang.CreateDialogSubstitutionObject(this);
10501 bool zoneGraveyard = Main.LocalPlayer.ZoneGraveyard;
10502 int num;
10503 if (num == 0)
10504 {
10505 string text = specialTextCategoryKey + "SpecialText.Graveyard";
10506 }
10508 int num2;
10509 if (num2 == 0)
10510 {
10511 string text2 = specialTextCategoryKey + "SpecialText.Party";
10512 }
10513 if ("SpecialText.Party" == null)
10514 {
10515 }
10516 if ("SpecialText.Party" != null)
10517 {
10518 if ("SpecialText.Party" == null)
10519 {
10520 }
10521 int num3 = 1;
10522 if (num3 == 0)
10523 {
10524 }
10525 if (num3 == 0)
10526 {
10527 if (num3 == 0)
10528 {
10529 }
10530 int num4;
10531 if (num4 == 0)
10532 {
10533 string text3 = specialTextCategoryKey + "SpecialText.Rain";
10534 }
10535 }
10536 }
10537 if ("SpecialText.Rain" == null)
10538 {
10539 }
10540 int num5 = 1;
10541 if (num5 == 0)
10542 {
10543 }
10544 if (num5 != 0)
10545 {
10546 if (num5 == 0)
10547 {
10548 }
10549 int num6;
10550 if (num6 == 0)
10551 {
10552 string text4 = specialTextCategoryKey + "SpecialText.Windy";
10553 }
10554 }
10555 if ("SpecialText.Windy" == null)
10556 {
10557 }
10558 int num7 = 1;
10559 if (num7 == 0)
10560 {
10561 }
10562 if (num7 == 0)
10563 {
10564 return;
10565 }
10566 if (num7 == 0)
10567 {
10568 }
10569 int num8;
10570 if (num8 == 0)
10571 {
10572 string text5 = specialTextCategoryKey + "SpecialText.Storm";
10573 return;
10574 }
10575 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Lang.CreateDialogSubstitutionObject(), j__TPar, Terraria.Main.LocalPlayer, System.obj, Terraria.GameContent.Events.BirthdayParty.PartyIsUp, System.text, and Terraria.Player.ZoneGraveyard.