TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PlaySegment_Grox_DryadSayingByeToTavernKeep()

SegmentInforReport Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer.PlaySegment_Grox_DryadSayingByeToTavernKeep ( int startTime,
Vector2 sceneAnchorPosition )
inlineprivate

Definition at line 461 of file CreditsRollComposer.cs.

462 {
463 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
464 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
465 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
466 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
467 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
468 //IL_003f: Unknown result type (might be due to invalid IL or missing references)
469 //IL_004a: Unknown result type (might be due to invalid IL or missing references)
470 //IL_004f: Unknown result type (might be due to invalid IL or missing references)
471 //IL_0056: Unknown result type (might be due to invalid IL or missing references)
472 //IL_0060: Unknown result type (might be due to invalid IL or missing references)
473 //IL_0062: Unknown result type (might be due to invalid IL or missing references)
474 //IL_0071: Unknown result type (might be due to invalid IL or missing references)
475 //IL_0076: Unknown result type (might be due to invalid IL or missing references)
476 //IL_0082: Unknown result type (might be due to invalid IL or missing references)
477 //IL_0087: Unknown result type (might be due to invalid IL or missing references)
478 //IL_00a1: Unknown result type (might be due to invalid IL or missing references)
479 //IL_00a9: Unknown result type (might be due to invalid IL or missing references)
480 //IL_00ae: Unknown result type (might be due to invalid IL or missing references)
481 //IL_00b4: Unknown result type (might be due to invalid IL or missing references)
482 //IL_00b9: Unknown result type (might be due to invalid IL or missing references)
483 //IL_011a: Unknown result type (might be due to invalid IL or missing references)
484 //IL_0125: Unknown result type (might be due to invalid IL or missing references)
485 //IL_012a: Unknown result type (might be due to invalid IL or missing references)
486 //IL_0130: Unknown result type (might be due to invalid IL or missing references)
487 //IL_016c: Unknown result type (might be due to invalid IL or missing references)
488 //IL_0185: Unknown result type (might be due to invalid IL or missing references)
489 //IL_0195: Unknown result type (might be due to invalid IL or missing references)
490 //IL_019a: Unknown result type (might be due to invalid IL or missing references)
491 //IL_01a0: Unknown result type (might be due to invalid IL or missing references)
492 //IL_01dc: Unknown result type (might be due to invalid IL or missing references)
493 //IL_0204: Unknown result type (might be due to invalid IL or missing references)
494 //IL_0209: Unknown result type (might be due to invalid IL or missing references)
495 //IL_0214: Unknown result type (might be due to invalid IL or missing references)
496 //IL_0219: Unknown result type (might be due to invalid IL or missing references)
497 //IL_0220: Unknown result type (might be due to invalid IL or missing references)
498 //IL_022a: Unknown result type (might be due to invalid IL or missing references)
499 //IL_022c: Unknown result type (might be due to invalid IL or missing references)
500 //IL_023b: Unknown result type (might be due to invalid IL or missing references)
501 //IL_0240: Unknown result type (might be due to invalid IL or missing references)
502 //IL_025a: Unknown result type (might be due to invalid IL or missing references)
503 //IL_0262: Unknown result type (might be due to invalid IL or missing references)
504 //IL_0267: Unknown result type (might be due to invalid IL or missing references)
505 //IL_02ae: Unknown result type (might be due to invalid IL or missing references)
506 //IL_02cc: Unknown result type (might be due to invalid IL or missing references)
507 //IL_0326: Unknown result type (might be due to invalid IL or missing references)
508 //IL_032f: Unknown result type (might be due to invalid IL or missing references)
509 //IL_0334: Unknown result type (might be due to invalid IL or missing references)
510 //IL_033a: Unknown result type (might be due to invalid IL or missing references)
511 //IL_033f: Unknown result type (might be due to invalid IL or missing references)
512 //IL_0347: Unknown result type (might be due to invalid IL or missing references)
513 //IL_034d: Unknown result type (might be due to invalid IL or missing references)
514 //IL_0361: Unknown result type (might be due to invalid IL or missing references)
515 //IL_036a: Unknown result type (might be due to invalid IL or missing references)
516 //IL_036f: Unknown result type (might be due to invalid IL or missing references)
517 //IL_0375: Unknown result type (might be due to invalid IL or missing references)
518 //IL_037a: Unknown result type (might be due to invalid IL or missing references)
519 //IL_0382: Unknown result type (might be due to invalid IL or missing references)
520 //IL_0388: Unknown result type (might be due to invalid IL or missing references)
521 //IL_039b: Unknown result type (might be due to invalid IL or missing references)
522 //IL_03a4: Unknown result type (might be due to invalid IL or missing references)
523 //IL_03a9: Unknown result type (might be due to invalid IL or missing references)
524 //IL_03af: Unknown result type (might be due to invalid IL or missing references)
525 //IL_03b4: Unknown result type (might be due to invalid IL or missing references)
526 //IL_03bc: Unknown result type (might be due to invalid IL or missing references)
527 //IL_03c2: Unknown result type (might be due to invalid IL or missing references)
528 //IL_03d5: Unknown result type (might be due to invalid IL or missing references)
529 //IL_03de: Unknown result type (might be due to invalid IL or missing references)
530 //IL_03e3: Unknown result type (might be due to invalid IL or missing references)
531 //IL_03e9: Unknown result type (might be due to invalid IL or missing references)
532 //IL_03ee: Unknown result type (might be due to invalid IL or missing references)
533 //IL_03f6: Unknown result type (might be due to invalid IL or missing references)
534 //IL_03fc: Unknown result type (might be due to invalid IL or missing references)
535 //IL_040f: Unknown result type (might be due to invalid IL or missing references)
536 //IL_0418: Unknown result type (might be due to invalid IL or missing references)
537 //IL_041d: Unknown result type (might be due to invalid IL or missing references)
538 //IL_0423: Unknown result type (might be due to invalid IL or missing references)
539 //IL_0428: Unknown result type (might be due to invalid IL or missing references)
540 //IL_0430: Unknown result type (might be due to invalid IL or missing references)
541 //IL_0436: Unknown result type (might be due to invalid IL or missing references)
542 //IL_04b0: Unknown result type (might be due to invalid IL or missing references)
543 //IL_0513: Unknown result type (might be due to invalid IL or missing references)
544 //IL_0518: Unknown result type (might be due to invalid IL or missing references)
545 //IL_0523: Unknown result type (might be due to invalid IL or missing references)
546 //IL_0528: Unknown result type (might be due to invalid IL or missing references)
547 //IL_052f: Unknown result type (might be due to invalid IL or missing references)
548 //IL_0539: Unknown result type (might be due to invalid IL or missing references)
549 //IL_053b: Unknown result type (might be due to invalid IL or missing references)
550 //IL_054a: Unknown result type (might be due to invalid IL or missing references)
551 //IL_054f: Unknown result type (might be due to invalid IL or missing references)
552 //IL_0569: Unknown result type (might be due to invalid IL or missing references)
553 //IL_0575: Unknown result type (might be due to invalid IL or missing references)
554 //IL_057a: Unknown result type (might be due to invalid IL or missing references)
555 //IL_05a1: Unknown result type (might be due to invalid IL or missing references)
556 //IL_05a6: Unknown result type (might be due to invalid IL or missing references)
557 //IL_05c9: Unknown result type (might be due to invalid IL or missing references)
558 //IL_05ce: Unknown result type (might be due to invalid IL or missing references)
559 //IL_05d7: Unknown result type (might be due to invalid IL or missing references)
560 //IL_05dc: Unknown result type (might be due to invalid IL or missing references)
561 //IL_05e5: Unknown result type (might be due to invalid IL or missing references)
562 //IL_05ea: Unknown result type (might be due to invalid IL or missing references)
563 //IL_05f3: Unknown result type (might be due to invalid IL or missing references)
564 //IL_05f8: Unknown result type (might be due to invalid IL or missing references)
565 //IL_0601: Unknown result type (might be due to invalid IL or missing references)
566 //IL_0606: Unknown result type (might be due to invalid IL or missing references)
567 //IL_060f: Unknown result type (might be due to invalid IL or missing references)
568 //IL_0614: Unknown result type (might be due to invalid IL or missing references)
569 //IL_061d: Unknown result type (might be due to invalid IL or missing references)
570 //IL_0622: Unknown result type (might be due to invalid IL or missing references)
571 //IL_062c: Unknown result type (might be due to invalid IL or missing references)
572 //IL_0631: Unknown result type (might be due to invalid IL or missing references)
573 //IL_063b: Unknown result type (might be due to invalid IL or missing references)
574 //IL_0640: Unknown result type (might be due to invalid IL or missing references)
575 //IL_064b: Unknown result type (might be due to invalid IL or missing references)
576 //IL_0650: Unknown result type (might be due to invalid IL or missing references)
577 //IL_065b: Unknown result type (might be due to invalid IL or missing references)
578 //IL_0660: Unknown result type (might be due to invalid IL or missing references)
579 //IL_066b: Unknown result type (might be due to invalid IL or missing references)
580 //IL_0670: Unknown result type (might be due to invalid IL or missing references)
581 //IL_067b: Unknown result type (might be due to invalid IL or missing references)
582 //IL_0680: Unknown result type (might be due to invalid IL or missing references)
583 //IL_06d6: Unknown result type (might be due to invalid IL or missing references)
584 //IL_06db: Unknown result type (might be due to invalid IL or missing references)
585 //IL_06e4: Unknown result type (might be due to invalid IL or missing references)
586 //IL_06e9: Unknown result type (might be due to invalid IL or missing references)
587 //IL_06f2: Unknown result type (might be due to invalid IL or missing references)
588 //IL_06f7: Unknown result type (might be due to invalid IL or missing references)
589 //IL_0700: Unknown result type (might be due to invalid IL or missing references)
590 //IL_0705: Unknown result type (might be due to invalid IL or missing references)
591 //IL_070e: Unknown result type (might be due to invalid IL or missing references)
592 //IL_0713: Unknown result type (might be due to invalid IL or missing references)
593 //IL_071c: Unknown result type (might be due to invalid IL or missing references)
594 //IL_0721: Unknown result type (might be due to invalid IL or missing references)
595 //IL_072a: Unknown result type (might be due to invalid IL or missing references)
596 //IL_072f: Unknown result type (might be due to invalid IL or missing references)
597 //IL_0738: Unknown result type (might be due to invalid IL or missing references)
598 //IL_073d: Unknown result type (might be due to invalid IL or missing references)
599 //IL_0755: Unknown result type (might be due to invalid IL or missing references)
600 //IL_075e: Unknown result type (might be due to invalid IL or missing references)
601 //IL_0763: Unknown result type (might be due to invalid IL or missing references)
602 //IL_0769: Unknown result type (might be due to invalid IL or missing references)
603 //IL_076e: Unknown result type (might be due to invalid IL or missing references)
604 //IL_0776: Unknown result type (might be due to invalid IL or missing references)
605 //IL_077c: Unknown result type (might be due to invalid IL or missing references)
607 int num = startTime;
608 int num2 = 0;
609 sceneAnchorPosition.X += num2;
610 int num3 = 30;
611 int num4 = 10;
612 Asset<Texture2D> asset = TextureAssets.Extra[235];
613 Rectangle rectangle = asset.Frame();
614 DrawData data = new DrawData(asset.Value, Vector2.Zero, rectangle, Color.White, 0f, rectangle.Size() * new Vector2(0.5f, 1f) + new Vector2((float)num2, -42f), 1f, (SpriteEffects)0);
616 .Then(new Actions.Sprites.Wait(120));
618 int num5 = 300;
620 .Then(new Actions.NPCs.Move(new Vector2(-1f, 0f), 120));
622 .Then(new Actions.NPCs.Move(new Vector2(-1f, 0f), 120));
623 Asset<Texture2D> asset2 = TextureAssets.Extra[240];
624 Rectangle rectangle2 = asset2.Frame(1, 8);
625 DrawData data2 = new DrawData(asset2.Value, Vector2.Zero, rectangle2, Color.White, 0f, rectangle2.Size() * new Vector2(0.5f, 1f), 1f, (SpriteEffects)0);
627 num += (int)animationSegmentWithActions3.DedicatedTimeNeeded;
628 int num6 = 90;
629 animationSegmentWithActions3.Then(new Actions.NPCs.Move(new Vector2(-1f, 0f), 90));
630 animationSegmentWithActions2.Then(new Actions.NPCs.Move(new Vector2(-1f, 0f), 30));
633 num += 90;
634 int num7 = num6 * 5;
635 int num8 = num4 + num5 - 120 - 30;
636 int num9 = num4 + num5 - 120 - 106 - num3;
637 Segments.EmoteSegment item = new Segments.EmoteSegment(14, num, num6, sceneAnchorPosition + new Vector2((float)num8, 0f) + _emoteBubbleOffsetWhenOnRight, (SpriteEffects)0);
638 Segments.EmoteSegment item2 = new Segments.EmoteSegment(133, num + num6, num6, sceneAnchorPosition + new Vector2((float)num9, 0f) + _emoteBubbleOffsetWhenOnLeft, (SpriteEffects)1);
639 Segments.EmoteSegment item3 = new Segments.EmoteSegment(78, num + num6 * 2, num6, sceneAnchorPosition + new Vector2((float)num8, 0f) + _emoteBubbleOffsetWhenOnRight, (SpriteEffects)0);
640 Segments.EmoteSegment item4 = new Segments.EmoteSegment(15, num + num6 * 4, num6, sceneAnchorPosition + new Vector2((float)num9, 0f) + _emoteBubbleOffsetWhenOnLeft, (SpriteEffects)1);
641 Segments.EmoteSegment item5 = new Segments.EmoteSegment(15, num + num6 * 4, num6, sceneAnchorPosition + new Vector2((float)num8, 0f) + _emoteBubbleOffsetWhenOnRight, (SpriteEffects)0);
648 num += num7;
649 animationSegmentWithActions3.Then(new Actions.NPCs.Move(new Vector2(-1f, 0f), 30));
652 num += 30;
653 Main.instance.LoadNPC(550);
654 Asset<Texture2D> asset3 = TextureAssets.Npc[550];
655 Rectangle rectangle3 = asset3.Frame(1, Main.npcFrameCount[550]);
656 DrawData data3 = new DrawData(asset3.Value, Vector2.Zero, rectangle3, Color.White, 0f, rectangle3.Size() * new Vector2(0.5f, 1f), 1f, (SpriteEffects)0);
658 animationSegmentWithActions5.Then(new Actions.Sprites.SimulateGravity(new Vector2(-0.2f, -0.35f), Vector2.Zero, 0f, 80)).With(new Actions.Sprites.SetFrameSequence(80, (Point[])(object)new Point[13]
659 {
660 new Point(0, 2),
661 new Point(0, 3),
662 new Point(0, 4),
663 new Point(0, 5),
664 new Point(0, 6),
665 new Point(0, 7),
666 new Point(0, 8),
667 new Point(0, 9),
668 new Point(0, 10),
669 new Point(0, 11),
670 new Point(0, 12),
671 new Point(0, 13),
672 new Point(0, 14)
673 }, 4, 0, 0)).With(new Actions.Sprites.Fade(0f, 85));
676 num += 80;
677 animationSegmentWithActions4.Then(new Actions.Sprites.SetFrameSequence(num - startTime, (Point[])(object)new Point[8]
678 {
679 new Point(0, 0),
680 new Point(0, 1),
681 new Point(0, 2),
682 new Point(0, 3),
683 new Point(0, 4),
684 new Point(0, 5),
685 new Point(0, 6),
686 new Point(0, 7)
687 }, 5, 0, 0));
688 Segments.EmoteSegment item6 = new Segments.EmoteSegment(10, num, num6, sceneAnchorPosition + new Vector2((float)num8, 0f) + _emoteBubbleOffsetWhenOnRight, (SpriteEffects)0);
694 num += 187;
699 _segments.Add(item);
700 _segments.Add(item2);
701 _segments.Add(item3);
702 _segments.Add(item5);
703 _segments.Add(item4);
704 _segments.Add(item6);
706 result.totalTime = num - startTime;
707 return result;
708 }
AnimationSegmentWithActions< T > Then(IAnimationSegmentAction< T > act)
Definition Segments.cs:128
SpriteSegment UseShaderEffect(IShaderEffect shaderEffect)
Definition Segments.cs:469

References Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._backgroundOffset, Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._emoteBubbleOffsetWhenOnLeft, Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._emoteBubbleOffsetWhenOnRight, Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._originAtBottom, Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._segments, Terraria.GameContent.TextureAssets.Extra, Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer.GetSceneFixVector(), Terraria.Main.instance, Terraria.GameContent.TextureAssets.Npc, Terraria.Main.npcFrameCount, Terraria.GameContent.Animations.Segments.AnimationSegmentWithActions< T >.Then(), and Terraria.GameContent.Animations.Segments.SpriteSegment.UseShaderEffect().

Referenced by Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer.FillSegments().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: