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

◆ HandleMovement()

void Terraria.Projectile.HandleMovement ( Vector2 wetVelocity,
out int overrideWidth,
out int overrideHeight )
inlineprivate

Definition at line 16673 of file Projectile.cs.

16674 {
16675 //IL_50ef: Unknown result type (might be due to invalid IL or missing references)
16676 //IL_0053: Unknown result type (might be due to invalid IL or missing references)
16677 //IL_0058: Unknown result type (might be due to invalid IL or missing references)
16678 //IL_00d9: Unknown result type (might be due to invalid IL or missing references)
16679 //IL_00e4: Unknown result type (might be due to invalid IL or missing references)
16680 //IL_0122: Unknown result type (might be due to invalid IL or missing references)
16681 //IL_012d: Unknown result type (might be due to invalid IL or missing references)
16682 //IL_5120: Unknown result type (might be due to invalid IL or missing references)
16683 //IL_5126: Unknown result type (might be due to invalid IL or missing references)
16684 //IL_5136: Unknown result type (might be due to invalid IL or missing references)
16685 //IL_513b: Unknown result type (might be due to invalid IL or missing references)
16686 //IL_513e: Unknown result type (might be due to invalid IL or missing references)
16687 //IL_5143: Unknown result type (might be due to invalid IL or missing references)
16688 //IL_51eb: Unknown result type (might be due to invalid IL or missing references)
16689 //IL_51f1: Unknown result type (might be due to invalid IL or missing references)
16690 //IL_02eb: Unknown result type (might be due to invalid IL or missing references)
16691 //IL_0363: Unknown result type (might be due to invalid IL or missing references)
16692 //IL_03ac: Unknown result type (might be due to invalid IL or missing references)
16693 //IL_0402: Unknown result type (might be due to invalid IL or missing references)
16694 //IL_0b22: Unknown result type (might be due to invalid IL or missing references)
16695 //IL_0b19: Unknown result type (might be due to invalid IL or missing references)
16696 //IL_0b27: Unknown result type (might be due to invalid IL or missing references)
16697 //IL_155d: Unknown result type (might be due to invalid IL or missing references)
16698 //IL_1560: Unknown result type (might be due to invalid IL or missing references)
16699 //IL_194e: Unknown result type (might be due to invalid IL or missing references)
16700 //IL_0bf5: Unknown result type (might be due to invalid IL or missing references)
16701 //IL_0c08: Unknown result type (might be due to invalid IL or missing references)
16702 //IL_0c12: Unknown result type (might be due to invalid IL or missing references)
16703 //IL_0c17: Unknown result type (might be due to invalid IL or missing references)
16704 //IL_0c22: Unknown result type (might be due to invalid IL or missing references)
16705 //IL_0c27: Unknown result type (might be due to invalid IL or missing references)
16706 //IL_0c29: Unknown result type (might be due to invalid IL or missing references)
16707 //IL_0c2e: Unknown result type (might be due to invalid IL or missing references)
16708 //IL_0c33: Unknown result type (might be due to invalid IL or missing references)
16709 //IL_19fe: Unknown result type (might be due to invalid IL or missing references)
16710 //IL_1a04: Unknown result type (might be due to invalid IL or missing references)
16711 //IL_1a09: Unknown result type (might be due to invalid IL or missing references)
16712 //IL_1a0e: Unknown result type (might be due to invalid IL or missing references)
16713 //IL_1a14: Unknown result type (might be due to invalid IL or missing references)
16714 //IL_1a19: Unknown result type (might be due to invalid IL or missing references)
16715 //IL_0c40: Unknown result type (might be due to invalid IL or missing references)
16716 //IL_0c43: Unknown result type (might be due to invalid IL or missing references)
16717 //IL_0c51: Unknown result type (might be due to invalid IL or missing references)
16718 //IL_0c56: Unknown result type (might be due to invalid IL or missing references)
16719 //IL_0cb4: Unknown result type (might be due to invalid IL or missing references)
16720 //IL_0cb9: Unknown result type (might be due to invalid IL or missing references)
16721 //IL_0cbc: Unknown result type (might be due to invalid IL or missing references)
16722 //IL_0cbf: Unknown result type (might be due to invalid IL or missing references)
16723 //IL_0ccd: Unknown result type (might be due to invalid IL or missing references)
16724 //IL_0cd2: Unknown result type (might be due to invalid IL or missing references)
16725 //IL_0cd8: Unknown result type (might be due to invalid IL or missing references)
16726 //IL_0ce2: Unknown result type (might be due to invalid IL or missing references)
16727 //IL_0ce7: Unknown result type (might be due to invalid IL or missing references)
16728 //IL_0cf4: Unknown result type (might be due to invalid IL or missing references)
16729 //IL_0c7c: Unknown result type (might be due to invalid IL or missing references)
16730 //IL_0c7f: Unknown result type (might be due to invalid IL or missing references)
16731 //IL_0c8e: Unknown result type (might be due to invalid IL or missing references)
16732 //IL_0c93: Unknown result type (might be due to invalid IL or missing references)
16733 //IL_0dd3: Unknown result type (might be due to invalid IL or missing references)
16734 //IL_0dd8: Unknown result type (might be due to invalid IL or missing references)
16735 //IL_0ddb: Unknown result type (might be due to invalid IL or missing references)
16736 //IL_0dde: Unknown result type (might be due to invalid IL or missing references)
16737 //IL_0dec: Unknown result type (might be due to invalid IL or missing references)
16738 //IL_0df1: Unknown result type (might be due to invalid IL or missing references)
16739 //IL_0df7: Unknown result type (might be due to invalid IL or missing references)
16740 //IL_0e01: Unknown result type (might be due to invalid IL or missing references)
16741 //IL_0e06: Unknown result type (might be due to invalid IL or missing references)
16742 //IL_0e13: Unknown result type (might be due to invalid IL or missing references)
16743 //IL_0d49: Unknown result type (might be due to invalid IL or missing references)
16744 //IL_0d4e: Unknown result type (might be due to invalid IL or missing references)
16745 //IL_0d51: Unknown result type (might be due to invalid IL or missing references)
16746 //IL_0d54: Unknown result type (might be due to invalid IL or missing references)
16747 //IL_0d62: Unknown result type (might be due to invalid IL or missing references)
16748 //IL_0d67: Unknown result type (might be due to invalid IL or missing references)
16749 //IL_0d6d: Unknown result type (might be due to invalid IL or missing references)
16750 //IL_0d77: Unknown result type (might be due to invalid IL or missing references)
16751 //IL_0d7c: Unknown result type (might be due to invalid IL or missing references)
16752 //IL_0d89: Unknown result type (might be due to invalid IL or missing references)
16753 //IL_0d1a: Unknown result type (might be due to invalid IL or missing references)
16754 //IL_13f6: Unknown result type (might be due to invalid IL or missing references)
16755 //IL_13f9: Unknown result type (might be due to invalid IL or missing references)
16756 //IL_1407: Unknown result type (might be due to invalid IL or missing references)
16757 //IL_140c: Unknown result type (might be due to invalid IL or missing references)
16758 //IL_0fd5: Unknown result type (might be due to invalid IL or missing references)
16759 //IL_0fd8: Unknown result type (might be due to invalid IL or missing references)
16760 //IL_0fe6: Unknown result type (might be due to invalid IL or missing references)
16761 //IL_0ffe: Unknown result type (might be due to invalid IL or missing references)
16762 //IL_1003: Unknown result type (might be due to invalid IL or missing references)
16763 //IL_1008: Unknown result type (might be due to invalid IL or missing references)
16764 //IL_100d: Unknown result type (might be due to invalid IL or missing references)
16765 //IL_0e39: Unknown result type (might be due to invalid IL or missing references)
16766 //IL_0daf: Unknown result type (might be due to invalid IL or missing references)
16767 //IL_1422: Unknown result type (might be due to invalid IL or missing references)
16768 //IL_1425: Unknown result type (might be due to invalid IL or missing references)
16769 //IL_1434: Unknown result type (might be due to invalid IL or missing references)
16770 //IL_1439: Unknown result type (might be due to invalid IL or missing references)
16771 //IL_143c: Unknown result type (might be due to invalid IL or missing references)
16772 //IL_1441: Unknown result type (might be due to invalid IL or missing references)
16773 //IL_1443: Unknown result type (might be due to invalid IL or missing references)
16774 //IL_1448: Unknown result type (might be due to invalid IL or missing references)
16775 //IL_1027: Unknown result type (might be due to invalid IL or missing references)
16776 //IL_102c: Unknown result type (might be due to invalid IL or missing references)
16777 //IL_102e: Unknown result type (might be due to invalid IL or missing references)
16778 //IL_1034: Unknown result type (might be due to invalid IL or missing references)
16779 //IL_103a: Unknown result type (might be due to invalid IL or missing references)
16780 //IL_103c: Unknown result type (might be due to invalid IL or missing references)
16781 //IL_0e65: Unknown result type (might be due to invalid IL or missing references)
16782 //IL_0e68: Unknown result type (might be due to invalid IL or missing references)
16783 //IL_0e77: Unknown result type (might be due to invalid IL or missing references)
16784 //IL_0e7c: Unknown result type (might be due to invalid IL or missing references)
16785 //IL_0e7f: Unknown result type (might be due to invalid IL or missing references)
16786 //IL_0e84: Unknown result type (might be due to invalid IL or missing references)
16787 //IL_0e86: Unknown result type (might be due to invalid IL or missing references)
16788 //IL_0e8b: Unknown result type (might be due to invalid IL or missing references)
16789 //IL_14be: Unknown result type (might be due to invalid IL or missing references)
16790 //IL_14c5: Unknown result type (might be due to invalid IL or missing references)
16791 //IL_1457: Unknown result type (might be due to invalid IL or missing references)
16792 //IL_145e: Unknown result type (might be due to invalid IL or missing references)
16793 //IL_0f01: Unknown result type (might be due to invalid IL or missing references)
16794 //IL_0f08: Unknown result type (might be due to invalid IL or missing references)
16795 //IL_0e9a: Unknown result type (might be due to invalid IL or missing references)
16796 //IL_0ea1: Unknown result type (might be due to invalid IL or missing references)
16797 //IL_14d0: Unknown result type (might be due to invalid IL or missing references)
16798 //IL_14d7: Unknown result type (might be due to invalid IL or missing references)
16799 //IL_1474: Unknown result type (might be due to invalid IL or missing references)
16800 //IL_123b: Unknown result type (might be due to invalid IL or missing references)
16801 //IL_123d: Unknown result type (might be due to invalid IL or missing references)
16802 //IL_124d: Unknown result type (might be due to invalid IL or missing references)
16803 //IL_0f13: Unknown result type (might be due to invalid IL or missing references)
16804 //IL_0f1a: Unknown result type (might be due to invalid IL or missing references)
16805 //IL_0eb7: Unknown result type (might be due to invalid IL or missing references)
16806 //IL_14ed: Unknown result type (might be due to invalid IL or missing references)
16807 //IL_1481: Unknown result type (might be due to invalid IL or missing references)
16808 //IL_1493: Unknown result type (might be due to invalid IL or missing references)
16809 //IL_149a: Unknown result type (might be due to invalid IL or missing references)
16810 //IL_14ad: Unknown result type (might be due to invalid IL or missing references)
16811 //IL_1058: Unknown result type (might be due to invalid IL or missing references)
16812 //IL_105a: Unknown result type (might be due to invalid IL or missing references)
16813 //IL_127e: Unknown result type (might be due to invalid IL or missing references)
16814 //IL_1267: Unknown result type (might be due to invalid IL or missing references)
16815 //IL_0f30: Unknown result type (might be due to invalid IL or missing references)
16816 //IL_0ec4: Unknown result type (might be due to invalid IL or missing references)
16817 //IL_0ed6: Unknown result type (might be due to invalid IL or missing references)
16818 //IL_0edd: Unknown result type (might be due to invalid IL or missing references)
16819 //IL_0ef0: Unknown result type (might be due to invalid IL or missing references)
16820 //IL_1503: Unknown result type (might be due to invalid IL or missing references)
16821 //IL_1071: Unknown result type (might be due to invalid IL or missing references)
16822 //IL_1075: Unknown result type (might be due to invalid IL or missing references)
16823 //IL_107a: Unknown result type (might be due to invalid IL or missing references)
16824 //IL_107c: Unknown result type (might be due to invalid IL or missing references)
16825 //IL_107e: Unknown result type (might be due to invalid IL or missing references)
16826 //IL_1089: Unknown result type (might be due to invalid IL or missing references)
16827 //IL_108e: Unknown result type (might be due to invalid IL or missing references)
16828 //IL_1090: Unknown result type (might be due to invalid IL or missing references)
16829 //IL_1092: Unknown result type (might be due to invalid IL or missing references)
16830 //IL_1094: Unknown result type (might be due to invalid IL or missing references)
16831 //IL_1099: Unknown result type (might be due to invalid IL or missing references)
16832 //IL_109c: Unknown result type (might be due to invalid IL or missing references)
16833 //IL_109e: Unknown result type (might be due to invalid IL or missing references)
16834 //IL_1298: Unknown result type (might be due to invalid IL or missing references)
16835 //IL_0f46: Unknown result type (might be due to invalid IL or missing references)
16836 //IL_05af: Unknown result type (might be due to invalid IL or missing references)
16837 //IL_1510: Unknown result type (might be due to invalid IL or missing references)
16838 //IL_151e: Unknown result type (might be due to invalid IL or missing references)
16839 //IL_152b: Unknown result type (might be due to invalid IL or missing references)
16840 //IL_152d: Unknown result type (might be due to invalid IL or missing references)
16841 //IL_152f: Unknown result type (might be due to invalid IL or missing references)
16842 //IL_1534: Unknown result type (might be due to invalid IL or missing references)
16843 //IL_153f: Unknown result type (might be due to invalid IL or missing references)
16844 //IL_1551: Unknown result type (might be due to invalid IL or missing references)
16845 //IL_10b4: Unknown result type (might be due to invalid IL or missing references)
16846 //IL_10b7: Unknown result type (might be due to invalid IL or missing references)
16847 //IL_10c6: Unknown result type (might be due to invalid IL or missing references)
16848 //IL_10cb: Unknown result type (might be due to invalid IL or missing references)
16849 //IL_10ce: Unknown result type (might be due to invalid IL or missing references)
16850 //IL_10d3: Unknown result type (might be due to invalid IL or missing references)
16851 //IL_10d5: Unknown result type (might be due to invalid IL or missing references)
16852 //IL_10da: Unknown result type (might be due to invalid IL or missing references)
16853 //IL_12b5: Unknown result type (might be due to invalid IL or missing references)
16854 //IL_12b8: Unknown result type (might be due to invalid IL or missing references)
16855 //IL_12c7: Unknown result type (might be due to invalid IL or missing references)
16856 //IL_12cc: Unknown result type (might be due to invalid IL or missing references)
16857 //IL_12cf: Unknown result type (might be due to invalid IL or missing references)
16858 //IL_12d4: Unknown result type (might be due to invalid IL or missing references)
16859 //IL_12d6: Unknown result type (might be due to invalid IL or missing references)
16860 //IL_12db: Unknown result type (might be due to invalid IL or missing references)
16861 //IL_0f53: Unknown result type (might be due to invalid IL or missing references)
16862 //IL_0f61: Unknown result type (might be due to invalid IL or missing references)
16863 //IL_0f6e: Unknown result type (might be due to invalid IL or missing references)
16864 //IL_0f70: Unknown result type (might be due to invalid IL or missing references)
16865 //IL_0f72: Unknown result type (might be due to invalid IL or missing references)
16866 //IL_0f77: Unknown result type (might be due to invalid IL or missing references)
16867 //IL_0f82: Unknown result type (might be due to invalid IL or missing references)
16868 //IL_0f94: Unknown result type (might be due to invalid IL or missing references)
16869 //IL_121c: Unknown result type (might be due to invalid IL or missing references)
16870 //IL_1221: Unknown result type (might be due to invalid IL or missing references)
16871 //IL_1223: Unknown result type (might be due to invalid IL or missing references)
16872 //IL_1225: Unknown result type (might be due to invalid IL or missing references)
16873 //IL_1227: Unknown result type (might be due to invalid IL or missing references)
16874 //IL_122c: Unknown result type (might be due to invalid IL or missing references)
16875 //IL_11fe: Unknown result type (might be due to invalid IL or missing references)
16876 //IL_1200: Unknown result type (might be due to invalid IL or missing references)
16877 //IL_1150: Unknown result type (might be due to invalid IL or missing references)
16878 //IL_1157: Unknown result type (might be due to invalid IL or missing references)
16879 //IL_10e9: Unknown result type (might be due to invalid IL or missing references)
16880 //IL_10f0: Unknown result type (might be due to invalid IL or missing references)
16881 //IL_1351: Unknown result type (might be due to invalid IL or missing references)
16882 //IL_1358: Unknown result type (might be due to invalid IL or missing references)
16883 //IL_12ea: Unknown result type (might be due to invalid IL or missing references)
16884 //IL_12f1: Unknown result type (might be due to invalid IL or missing references)
16885 //IL_1a32: Unknown result type (might be due to invalid IL or missing references)
16886 //IL_1a38: Unknown result type (might be due to invalid IL or missing references)
16887 //IL_1a3d: Unknown result type (might be due to invalid IL or missing references)
16888 //IL_1a42: Unknown result type (might be due to invalid IL or missing references)
16889 //IL_1162: Unknown result type (might be due to invalid IL or missing references)
16890 //IL_1169: Unknown result type (might be due to invalid IL or missing references)
16891 //IL_1106: Unknown result type (might be due to invalid IL or missing references)
16892 //IL_1363: Unknown result type (might be due to invalid IL or missing references)
16893 //IL_136a: Unknown result type (might be due to invalid IL or missing references)
16894 //IL_1307: Unknown result type (might be due to invalid IL or missing references)
16895 //IL_1a6e: Unknown result type (might be due to invalid IL or missing references)
16896 //IL_120c: Unknown result type (might be due to invalid IL or missing references)
16897 //IL_1212: Unknown result type (might be due to invalid IL or missing references)
16898 //IL_117f: Unknown result type (might be due to invalid IL or missing references)
16899 //IL_1113: Unknown result type (might be due to invalid IL or missing references)
16900 //IL_1125: Unknown result type (might be due to invalid IL or missing references)
16901 //IL_112c: Unknown result type (might be due to invalid IL or missing references)
16902 //IL_113f: Unknown result type (might be due to invalid IL or missing references)
16903 //IL_1380: Unknown result type (might be due to invalid IL or missing references)
16904 //IL_1314: Unknown result type (might be due to invalid IL or missing references)
16905 //IL_1326: Unknown result type (might be due to invalid IL or missing references)
16906 //IL_132d: Unknown result type (might be due to invalid IL or missing references)
16907 //IL_1340: Unknown result type (might be due to invalid IL or missing references)
16908 //IL_1ab3: Unknown result type (might be due to invalid IL or missing references)
16909 //IL_1a77: Unknown result type (might be due to invalid IL or missing references)
16910 //IL_1195: Unknown result type (might be due to invalid IL or missing references)
16911 //IL_1396: Unknown result type (might be due to invalid IL or missing references)
16912 //IL_1ba5: Unknown result type (might be due to invalid IL or missing references)
16913 //IL_1bab: Unknown result type (might be due to invalid IL or missing references)
16914 //IL_1bb0: Unknown result type (might be due to invalid IL or missing references)
16915 //IL_1bb5: Unknown result type (might be due to invalid IL or missing references)
16916 //IL_1bbb: Unknown result type (might be due to invalid IL or missing references)
16917 //IL_1bbd: Unknown result type (might be due to invalid IL or missing references)
16918 //IL_1bc4: Unknown result type (might be due to invalid IL or missing references)
16919 //IL_1bce: Unknown result type (might be due to invalid IL or missing references)
16920 //IL_1bd3: Unknown result type (might be due to invalid IL or missing references)
16921 //IL_1abf: Unknown result type (might be due to invalid IL or missing references)
16922 //IL_1a95: Unknown result type (might be due to invalid IL or missing references)
16923 //IL_11a2: Unknown result type (might be due to invalid IL or missing references)
16924 //IL_11b0: Unknown result type (might be due to invalid IL or missing references)
16925 //IL_11bd: Unknown result type (might be due to invalid IL or missing references)
16926 //IL_11bf: Unknown result type (might be due to invalid IL or missing references)
16927 //IL_11c1: Unknown result type (might be due to invalid IL or missing references)
16928 //IL_11c6: Unknown result type (might be due to invalid IL or missing references)
16929 //IL_11d1: Unknown result type (might be due to invalid IL or missing references)
16930 //IL_11e3: Unknown result type (might be due to invalid IL or missing references)
16931 //IL_13a3: Unknown result type (might be due to invalid IL or missing references)
16932 //IL_13b1: Unknown result type (might be due to invalid IL or missing references)
16933 //IL_13be: Unknown result type (might be due to invalid IL or missing references)
16934 //IL_13c0: Unknown result type (might be due to invalid IL or missing references)
16935 //IL_13c2: Unknown result type (might be due to invalid IL or missing references)
16936 //IL_13c7: Unknown result type (might be due to invalid IL or missing references)
16937 //IL_13d2: Unknown result type (might be due to invalid IL or missing references)
16938 //IL_13e4: Unknown result type (might be due to invalid IL or missing references)
16939 //IL_1c19: Unknown result type (might be due to invalid IL or missing references)
16940 //IL_1c20: Unknown result type (might be due to invalid IL or missing references)
16941 //IL_1c25: Unknown result type (might be due to invalid IL or missing references)
16942 //IL_1b76: Unknown result type (might be due to invalid IL or missing references)
16943 //IL_1b7c: Unknown result type (might be due to invalid IL or missing references)
16944 //IL_1b81: Unknown result type (might be due to invalid IL or missing references)
16945 //IL_1b86: Unknown result type (might be due to invalid IL or missing references)
16946 //IL_1b66: Unknown result type (might be due to invalid IL or missing references)
16947 //IL_1b69: Unknown result type (might be due to invalid IL or missing references)
16948 //IL_1ae0: Unknown result type (might be due to invalid IL or missing references)
16949 //IL_1b47: Unknown result type (might be due to invalid IL or missing references)
16950 //IL_1b2e: Unknown result type (might be due to invalid IL or missing references)
16951 //IL_1c80: Unknown result type (might be due to invalid IL or missing references)
16952 //IL_1d63: Unknown result type (might be due to invalid IL or missing references)
16953 //IL_1caf: Unknown result type (might be due to invalid IL or missing references)
16954 //IL_1c8f: Unknown result type (might be due to invalid IL or missing references)
16955 //IL_1e66: Unknown result type (might be due to invalid IL or missing references)
16956 //IL_1d92: Unknown result type (might be due to invalid IL or missing references)
16957 //IL_1d72: Unknown result type (might be due to invalid IL or missing references)
16958 //IL_1cb8: Unknown result type (might be due to invalid IL or missing references)
16959 //IL_1e98: Unknown result type (might be due to invalid IL or missing references)
16960 //IL_1e75: Unknown result type (might be due to invalid IL or missing references)
16961 //IL_1d9b: Unknown result type (might be due to invalid IL or missing references)
16962 //IL_1cde: Unknown result type (might be due to invalid IL or missing references)
16963 //IL_2282: Unknown result type (might be due to invalid IL or missing references)
16964 //IL_2034: Unknown result type (might be due to invalid IL or missing references)
16965 //IL_200c: Unknown result type (might be due to invalid IL or missing references)
16966 //IL_2012: Unknown result type (might be due to invalid IL or missing references)
16967 //IL_2017: Unknown result type (might be due to invalid IL or missing references)
16968 //IL_201c: Unknown result type (might be due to invalid IL or missing references)
16969 //IL_1eb9: Unknown result type (might be due to invalid IL or missing references)
16970 //IL_1dc1: Unknown result type (might be due to invalid IL or missing references)
16971 //IL_22ff: Unknown result type (might be due to invalid IL or missing references)
16972 //IL_22ae: Unknown result type (might be due to invalid IL or missing references)
16973 //IL_2296: Unknown result type (might be due to invalid IL or missing references)
16974 //IL_2060: Unknown result type (might be due to invalid IL or missing references)
16975 //IL_2048: Unknown result type (might be due to invalid IL or missing references)
16976 //IL_2094: Unknown result type (might be due to invalid IL or missing references)
16977 //IL_20a2: Unknown result type (might be due to invalid IL or missing references)
16978 //IL_20a7: Unknown result type (might be due to invalid IL or missing references)
16979 //IL_1d21: Unknown result type (might be due to invalid IL or missing references)
16980 //IL_1d28: Unknown result type (might be due to invalid IL or missing references)
16981 //IL_1d2d: Unknown result type (might be due to invalid IL or missing references)
16982 //IL_2331: Unknown result type (might be due to invalid IL or missing references)
16983 //IL_2313: Unknown result type (might be due to invalid IL or missing references)
16984 //IL_22d7: Unknown result type (might be due to invalid IL or missing references)
16985 //IL_22c2: Unknown result type (might be due to invalid IL or missing references)
16986 //IL_2074: Unknown result type (might be due to invalid IL or missing references)
16987 //IL_1e04: Unknown result type (might be due to invalid IL or missing references)
16988 //IL_1e0b: Unknown result type (might be due to invalid IL or missing references)
16989 //IL_1e10: Unknown result type (might be due to invalid IL or missing references)
16990 //IL_1e24: Unknown result type (might be due to invalid IL or missing references)
16991 //IL_1e29: Unknown result type (might be due to invalid IL or missing references)
16992 //IL_23a8: Unknown result type (might be due to invalid IL or missing references)
16993 //IL_23ae: Unknown result type (might be due to invalid IL or missing references)
16994 //IL_23b3: Unknown result type (might be due to invalid IL or missing references)
16995 //IL_23b8: Unknown result type (might be due to invalid IL or missing references)
16996 //IL_23be: Unknown result type (might be due to invalid IL or missing references)
16997 //IL_23c0: Unknown result type (might be due to invalid IL or missing references)
16998 //IL_2348: Unknown result type (might be due to invalid IL or missing references)
16999 //IL_20dd: Unknown result type (might be due to invalid IL or missing references)
17000 //IL_20f1: Unknown result type (might be due to invalid IL or missing references)
17001 //IL_210b: Unknown result type (might be due to invalid IL or missing references)
17002 //IL_2110: Unknown result type (might be due to invalid IL or missing references)
17003 //IL_211d: Unknown result type (might be due to invalid IL or missing references)
17004 //IL_212d: Unknown result type (might be due to invalid IL or missing references)
17005 //IL_2133: Unknown result type (might be due to invalid IL or missing references)
17006 //IL_2135: Unknown result type (might be due to invalid IL or missing references)
17007 //IL_213a: Unknown result type (might be due to invalid IL or missing references)
17008 //IL_213c: Unknown result type (might be due to invalid IL or missing references)
17009 //IL_2157: Unknown result type (might be due to invalid IL or missing references)
17010 //IL_215c: Unknown result type (might be due to invalid IL or missing references)
17011 //IL_217d: Unknown result type (might be due to invalid IL or missing references)
17012 //IL_2182: Unknown result type (might be due to invalid IL or missing references)
17013 //IL_1f05: Unknown result type (might be due to invalid IL or missing references)
17014 //IL_1f0c: Unknown result type (might be due to invalid IL or missing references)
17015 //IL_1f11: Unknown result type (might be due to invalid IL or missing references)
17016 //IL_21f3: Unknown result type (might be due to invalid IL or missing references)
17017 //IL_21f8: Unknown result type (might be due to invalid IL or missing references)
17018 //IL_221e: Unknown result type (might be due to invalid IL or missing references)
17019 //IL_223f: Unknown result type (might be due to invalid IL or missing references)
17020 //IL_2244: Unknown result type (might be due to invalid IL or missing references)
17021 //IL_225b: Unknown result type (might be due to invalid IL or missing references)
17022 //IL_23d5: Unknown result type (might be due to invalid IL or missing references)
17023 //IL_23dc: Unknown result type (might be due to invalid IL or missing references)
17024 //IL_23e1: Unknown result type (might be due to invalid IL or missing references)
17025 //IL_23e8: Unknown result type (might be due to invalid IL or missing references)
17026 //IL_23ee: Unknown result type (might be due to invalid IL or missing references)
17027 //IL_23f3: Unknown result type (might be due to invalid IL or missing references)
17028 //IL_23f8: Unknown result type (might be due to invalid IL or missing references)
17029 //IL_1f6f: Unknown result type (might be due to invalid IL or missing references)
17030 //IL_1f74: Unknown result type (might be due to invalid IL or missing references)
17031 //IL_2452: Unknown result type (might be due to invalid IL or missing references)
17032 //IL_2458: Unknown result type (might be due to invalid IL or missing references)
17033 //IL_245d: Unknown result type (might be due to invalid IL or missing references)
17034 //IL_2462: Unknown result type (might be due to invalid IL or missing references)
17035 //IL_2468: Unknown result type (might be due to invalid IL or missing references)
17036 //IL_246d: Unknown result type (might be due to invalid IL or missing references)
17037 //IL_248f: Unknown result type (might be due to invalid IL or missing references)
17038 //IL_250b: Unknown result type (might be due to invalid IL or missing references)
17039 //IL_24c1: Unknown result type (might be due to invalid IL or missing references)
17040 //IL_24a3: Unknown result type (might be due to invalid IL or missing references)
17041 //IL_259a: Unknown result type (might be due to invalid IL or missing references)
17042 //IL_2537: Unknown result type (might be due to invalid IL or missing references)
17043 //IL_251f: Unknown result type (might be due to invalid IL or missing references)
17044 //IL_24d8: Unknown result type (might be due to invalid IL or missing references)
17045 //IL_25c6: Unknown result type (might be due to invalid IL or missing references)
17046 //IL_25a9: Unknown result type (might be due to invalid IL or missing references)
17047 //IL_254e: Unknown result type (might be due to invalid IL or missing references)
17048 //IL_255b: Unknown result type (might be due to invalid IL or missing references)
17049 //IL_2627: Unknown result type (might be due to invalid IL or missing references)
17050 //IL_25d8: Unknown result type (might be due to invalid IL or missing references)
17051 //IL_2650: Unknown result type (might be due to invalid IL or missing references)
17052 //IL_2636: Unknown result type (might be due to invalid IL or missing references)
17053 //IL_2659: Unknown result type (might be due to invalid IL or missing references)
17054 //IL_2672: Unknown result type (might be due to invalid IL or missing references)
17055 //IL_28de: Unknown result type (might be due to invalid IL or missing references)
17056 //IL_294b: Unknown result type (might be due to invalid IL or missing references)
17057 //IL_290a: Unknown result type (might be due to invalid IL or missing references)
17058 //IL_28f2: Unknown result type (might be due to invalid IL or missing references)
17059 //IL_27cc: Unknown result type (might be due to invalid IL or missing references)
17060 //IL_2977: Unknown result type (might be due to invalid IL or missing references)
17061 //IL_295a: Unknown result type (might be due to invalid IL or missing references)
17062 //IL_2921: Unknown result type (might be due to invalid IL or missing references)
17063 //IL_27fb: Unknown result type (might be due to invalid IL or missing references)
17064 //IL_27de: Unknown result type (might be due to invalid IL or missing references)
17065 //IL_29e8: Unknown result type (might be due to invalid IL or missing references)
17066 //IL_2983: Unknown result type (might be due to invalid IL or missing references)
17067 //IL_280d: Unknown result type (might be due to invalid IL or missing references)
17068 //IL_2a9b: Unknown result type (might be due to invalid IL or missing references)
17069 //IL_2a27: Unknown result type (might be due to invalid IL or missing references)
17070 //IL_29f1: Unknown result type (might be due to invalid IL or missing references)
17071 //IL_299a: Unknown result type (might be due to invalid IL or missing references)
17072 //IL_2832: Unknown result type (might be due to invalid IL or missing references)
17073 //IL_2838: Unknown result type (might be due to invalid IL or missing references)
17074 //IL_283d: Unknown result type (might be due to invalid IL or missing references)
17075 //IL_2842: Unknown result type (might be due to invalid IL or missing references)
17076 //IL_284b: Unknown result type (might be due to invalid IL or missing references)
17077 //IL_2858: Unknown result type (might be due to invalid IL or missing references)
17078 //IL_285d: Unknown result type (might be due to invalid IL or missing references)
17079 //IL_285f: Unknown result type (might be due to invalid IL or missing references)
17080 //IL_2866: Unknown result type (might be due to invalid IL or missing references)
17081 //IL_286b: Unknown result type (might be due to invalid IL or missing references)
17082 //IL_286f: Unknown result type (might be due to invalid IL or missing references)
17083 //IL_2879: Unknown result type (might be due to invalid IL or missing references)
17084 //IL_287e: Unknown result type (might be due to invalid IL or missing references)
17085 //IL_2885: Unknown result type (might be due to invalid IL or missing references)
17086 //IL_288a: Unknown result type (might be due to invalid IL or missing references)
17087 //IL_288c: Unknown result type (might be due to invalid IL or missing references)
17088 //IL_2891: Unknown result type (might be due to invalid IL or missing references)
17089 //IL_2b4e: Unknown result type (might be due to invalid IL or missing references)
17090 //IL_2ada: Unknown result type (might be due to invalid IL or missing references)
17091 //IL_2aa4: Unknown result type (might be due to invalid IL or missing references)
17092 //IL_2a33: Unknown result type (might be due to invalid IL or missing references)
17093 //IL_2a0a: Unknown result type (might be due to invalid IL or missing references)
17094 //IL_28ad: Unknown result type (might be due to invalid IL or missing references)
17095 //IL_28b7: Unknown result type (might be due to invalid IL or missing references)
17096 //IL_28bc: Unknown result type (might be due to invalid IL or missing references)
17097 //IL_2b8d: Unknown result type (might be due to invalid IL or missing references)
17098 //IL_2b57: Unknown result type (might be due to invalid IL or missing references)
17099 //IL_2ae6: Unknown result type (might be due to invalid IL or missing references)
17100 //IL_2abd: Unknown result type (might be due to invalid IL or missing references)
17101 //IL_2a4f: Unknown result type (might be due to invalid IL or missing references)
17102 //IL_2b96: Unknown result type (might be due to invalid IL or missing references)
17103 //IL_2b70: Unknown result type (might be due to invalid IL or missing references)
17104 //IL_2b02: Unknown result type (might be due to invalid IL or missing references)
17105 //IL_2baf: Unknown result type (might be due to invalid IL or missing references)
17106 //IL_2bef: Unknown result type (might be due to invalid IL or missing references)
17107 //IL_2c2e: Unknown result type (might be due to invalid IL or missing references)
17108 //IL_2bf8: Unknown result type (might be due to invalid IL or missing references)
17109 //IL_2c9e: Unknown result type (might be due to invalid IL or missing references)
17110 //IL_2c3a: Unknown result type (might be due to invalid IL or missing references)
17111 //IL_2c11: Unknown result type (might be due to invalid IL or missing references)
17112 //IL_2d0b: Unknown result type (might be due to invalid IL or missing references)
17113 //IL_2cca: Unknown result type (might be due to invalid IL or missing references)
17114 //IL_2cad: Unknown result type (might be due to invalid IL or missing references)
17115 //IL_2c56: Unknown result type (might be due to invalid IL or missing references)
17116 //IL_2d37: Unknown result type (might be due to invalid IL or missing references)
17117 //IL_2d1a: Unknown result type (might be due to invalid IL or missing references)
17118 //IL_2cdc: Unknown result type (might be due to invalid IL or missing references)
17119 //IL_2d49: Unknown result type (might be due to invalid IL or missing references)
17120 //IL_2fde: Unknown result type (might be due to invalid IL or missing references)
17121 //IL_2dc9: Unknown result type (might be due to invalid IL or missing references)
17122 //IL_2de1: Unknown result type (might be due to invalid IL or missing references)
17123 //IL_300a: Unknown result type (might be due to invalid IL or missing references)
17124 //IL_2fed: Unknown result type (might be due to invalid IL or missing references)
17125 //IL_2f0e: Unknown result type (might be due to invalid IL or missing references)
17126 //IL_2e10: Unknown result type (might be due to invalid IL or missing references)
17127 //IL_2e1c: Unknown result type (might be due to invalid IL or missing references)
17128 //IL_2e21: Unknown result type (might be due to invalid IL or missing references)
17129 //IL_2e59: Unknown result type (might be due to invalid IL or missing references)
17130 //IL_2e5e: Unknown result type (might be due to invalid IL or missing references)
17131 //IL_2e64: Unknown result type (might be due to invalid IL or missing references)
17132 //IL_2e69: Unknown result type (might be due to invalid IL or missing references)
17133 //IL_2e6b: Unknown result type (might be due to invalid IL or missing references)
17134 //IL_2e70: Unknown result type (might be due to invalid IL or missing references)
17135 //IL_2e75: Unknown result type (might be due to invalid IL or missing references)
17136 //IL_2e7a: Unknown result type (might be due to invalid IL or missing references)
17137 //IL_2e7f: Unknown result type (might be due to invalid IL or missing references)
17138 //IL_2e8f: Unknown result type (might be due to invalid IL or missing references)
17139 //IL_2e94: Unknown result type (might be due to invalid IL or missing references)
17140 //IL_30ee: Unknown result type (might be due to invalid IL or missing references)
17141 //IL_301c: Unknown result type (might be due to invalid IL or missing references)
17142 //IL_2f3a: Unknown result type (might be due to invalid IL or missing references)
17143 //IL_2f1d: Unknown result type (might be due to invalid IL or missing references)
17144 //IL_311a: Unknown result type (might be due to invalid IL or missing references)
17145 //IL_30fd: Unknown result type (might be due to invalid IL or missing references)
17146 //IL_2f49: Unknown result type (might be due to invalid IL or missing references)
17147 //IL_3199: Unknown result type (might be due to invalid IL or missing references)
17148 //IL_319e: Unknown result type (might be due to invalid IL or missing references)
17149 //IL_31a0: Unknown result type (might be due to invalid IL or missing references)
17150 //IL_31a5: Unknown result type (might be due to invalid IL or missing references)
17151 //IL_317a: Unknown result type (might be due to invalid IL or missing references)
17152 //IL_317f: Unknown result type (might be due to invalid IL or missing references)
17153 //IL_3186: Unknown result type (might be due to invalid IL or missing references)
17154 //IL_318b: Unknown result type (might be due to invalid IL or missing references)
17155 //IL_3190: Unknown result type (might be due to invalid IL or missing references)
17156 //IL_3126: Unknown result type (might be due to invalid IL or missing references)
17157 //IL_30cb: Unknown result type (might be due to invalid IL or missing references)
17158 //IL_2f7d: Unknown result type (might be due to invalid IL or missing references)
17159 //IL_2f8c: Unknown result type (might be due to invalid IL or missing references)
17160 //IL_2f91: Unknown result type (might be due to invalid IL or missing references)
17161 //IL_2f96: Unknown result type (might be due to invalid IL or missing references)
17162 //IL_2f9b: Unknown result type (might be due to invalid IL or missing references)
17163 //IL_2fa0: Unknown result type (might be due to invalid IL or missing references)
17164 //IL_2fb0: Unknown result type (might be due to invalid IL or missing references)
17165 //IL_2fb5: Unknown result type (might be due to invalid IL or missing references)
17166 //IL_31ac: Unknown result type (might be due to invalid IL or missing references)
17167 //IL_31b6: Unknown result type (might be due to invalid IL or missing references)
17168 //IL_31bb: Unknown result type (might be due to invalid IL or missing references)
17169 //IL_313d: Unknown result type (might be due to invalid IL or missing references)
17170 //IL_321d: Unknown result type (might be due to invalid IL or missing references)
17171 //IL_33e3: Unknown result type (might be due to invalid IL or missing references)
17172 //IL_3231: Unknown result type (might be due to invalid IL or missing references)
17173 //IL_3453: Unknown result type (might be due to invalid IL or missing references)
17174 //IL_340f: Unknown result type (might be due to invalid IL or missing references)
17175 //IL_33f7: Unknown result type (might be due to invalid IL or missing references)
17176 //IL_3262: Unknown result type (might be due to invalid IL or missing references)
17177 //IL_3504: Unknown result type (might be due to invalid IL or missing references)
17178 //IL_349e: Unknown result type (might be due to invalid IL or missing references)
17179 //IL_3426: Unknown result type (might be due to invalid IL or missing references)
17180 //IL_328e: Unknown result type (might be due to invalid IL or missing references)
17181 //IL_3276: Unknown result type (might be due to invalid IL or missing references)
17182 //IL_35b3: Unknown result type (might be due to invalid IL or missing references)
17183 //IL_3545: Unknown result type (might be due to invalid IL or missing references)
17184 //IL_3518: Unknown result type (might be due to invalid IL or missing references)
17185 //IL_347e: Unknown result type (might be due to invalid IL or missing references)
17186 //IL_32a2: Unknown result type (might be due to invalid IL or missing references)
17187 //IL_3657: Unknown result type (might be due to invalid IL or missing references)
17188 //IL_35f4: Unknown result type (might be due to invalid IL or missing references)
17189 //IL_35c7: Unknown result type (might be due to invalid IL or missing references)
17190 //IL_3559: Unknown result type (might be due to invalid IL or missing references)
17191 //IL_34cc: Unknown result type (might be due to invalid IL or missing references)
17192 //IL_0a0f: Unknown result type (might be due to invalid IL or missing references)
17193 //IL_3683: Unknown result type (might be due to invalid IL or missing references)
17194 //IL_366b: Unknown result type (might be due to invalid IL or missing references)
17195 //IL_360b: Unknown result type (might be due to invalid IL or missing references)
17196 //IL_0a3b: Unknown result type (might be due to invalid IL or missing references)
17197 //IL_0a23: Unknown result type (might be due to invalid IL or missing references)
17198 //IL_369a: Unknown result type (might be due to invalid IL or missing references)
17199 //IL_36d9: Unknown result type (might be due to invalid IL or missing references)
17200 //IL_32f9: Unknown result type (might be due to invalid IL or missing references)
17201 //IL_3306: Unknown result type (might be due to invalid IL or missing references)
17202 //IL_330b: Unknown result type (might be due to invalid IL or missing references)
17203 //IL_3310: Unknown result type (might be due to invalid IL or missing references)
17204 //IL_338d: Unknown result type (might be due to invalid IL or missing references)
17205 //IL_3393: Unknown result type (might be due to invalid IL or missing references)
17206 //IL_3398: Unknown result type (might be due to invalid IL or missing references)
17207 //IL_339d: Unknown result type (might be due to invalid IL or missing references)
17208 //IL_33b4: Unknown result type (might be due to invalid IL or missing references)
17209 //IL_33b8: Unknown result type (might be due to invalid IL or missing references)
17210 //IL_33bd: Unknown result type (might be due to invalid IL or missing references)
17211 //IL_0a52: Unknown result type (might be due to invalid IL or missing references)
17212 //IL_3739: Unknown result type (might be due to invalid IL or missing references)
17213 //IL_373e: Unknown result type (might be due to invalid IL or missing references)
17214 //IL_3705: Unknown result type (might be due to invalid IL or missing references)
17215 //IL_36ed: Unknown result type (might be due to invalid IL or missing references)
17216 //IL_3774: Unknown result type (might be due to invalid IL or missing references)
17217 //IL_377a: Unknown result type (might be due to invalid IL or missing references)
17218 //IL_377f: Unknown result type (might be due to invalid IL or missing references)
17219 //IL_3784: Unknown result type (might be due to invalid IL or missing references)
17220 //IL_378a: Unknown result type (might be due to invalid IL or missing references)
17221 //IL_378c: Unknown result type (might be due to invalid IL or missing references)
17222 //IL_379e: Unknown result type (might be due to invalid IL or missing references)
17223 //IL_37a8: Unknown result type (might be due to invalid IL or missing references)
17224 //IL_37ad: Unknown result type (might be due to invalid IL or missing references)
17225 //IL_371c: Unknown result type (might be due to invalid IL or missing references)
17226 //IL_332a: Unknown result type (might be due to invalid IL or missing references)
17227 //IL_3339: Unknown result type (might be due to invalid IL or missing references)
17228 //IL_3938: Unknown result type (might be due to invalid IL or missing references)
17229 //IL_397e: Unknown result type (might be due to invalid IL or missing references)
17230 //IL_3966: Unknown result type (might be due to invalid IL or missing references)
17231 //IL_39af: Unknown result type (might be due to invalid IL or missing references)
17232 //IL_3a42: Unknown result type (might be due to invalid IL or missing references)
17233 //IL_38af: Unknown result type (might be due to invalid IL or missing references)
17234 //IL_3b5d: Unknown result type (might be due to invalid IL or missing references)
17235 //IL_3ad6: Unknown result type (might be due to invalid IL or missing references)
17236 //IL_3a6e: Unknown result type (might be due to invalid IL or missing references)
17237 //IL_3a56: Unknown result type (might be due to invalid IL or missing references)
17238 //IL_38e1: Unknown result type (might be due to invalid IL or missing references)
17239 //IL_38c3: Unknown result type (might be due to invalid IL or missing references)
17240 //IL_3be4: Unknown result type (might be due to invalid IL or missing references)
17241 //IL_3b66: Unknown result type (might be due to invalid IL or missing references)
17242 //IL_3b02: Unknown result type (might be due to invalid IL or missing references)
17243 //IL_3aea: Unknown result type (might be due to invalid IL or missing references)
17244 //IL_3a85: Unknown result type (might be due to invalid IL or missing references)
17245 //IL_38f8: Unknown result type (might be due to invalid IL or missing references)
17246 //IL_3b75: Unknown result type (might be due to invalid IL or missing references)
17247 //IL_3b7b: Unknown result type (might be due to invalid IL or missing references)
17248 //IL_3bc6: Unknown result type (might be due to invalid IL or missing references)
17249 //IL_3b19: Unknown result type (might be due to invalid IL or missing references)
17250 //IL_3c16: Unknown result type (might be due to invalid IL or missing references)
17251 //IL_385f: Unknown result type (might be due to invalid IL or missing references)
17252 //IL_386b: Unknown result type (might be due to invalid IL or missing references)
17253 //IL_3d25: Unknown result type (might be due to invalid IL or missing references)
17254 //IL_3d33: Unknown result type (might be due to invalid IL or missing references)
17255 //IL_3cbd: Unknown result type (might be due to invalid IL or missing references)
17256 //IL_3c22: Unknown result type (might be due to invalid IL or missing references)
17257 //IL_3f15: Unknown result type (might be due to invalid IL or missing references)
17258 //IL_3c97: Unknown result type (might be due to invalid IL or missing references)
17259 //IL_3c31: Unknown result type (might be due to invalid IL or missing references)
17260 //IL_3c37: Unknown result type (might be due to invalid IL or missing references)
17261 //IL_3c82: Unknown result type (might be due to invalid IL or missing references)
17262 //IL_4134: Unknown result type (might be due to invalid IL or missing references)
17263 //IL_4052: Unknown result type (might be due to invalid IL or missing references)
17264 //IL_3f21: Unknown result type (might be due to invalid IL or missing references)
17265 //IL_3cde: Unknown result type (might be due to invalid IL or missing references)
17266 //IL_41bb: Unknown result type (might be due to invalid IL or missing references)
17267 //IL_413d: Unknown result type (might be due to invalid IL or missing references)
17268 //IL_3f33: Unknown result type (might be due to invalid IL or missing references)
17269 //IL_3f39: Unknown result type (might be due to invalid IL or missing references)
17270 //IL_3f84: Unknown result type (might be due to invalid IL or missing references)
17271 //IL_42ad: Unknown result type (might be due to invalid IL or missing references)
17272 //IL_41ec: Unknown result type (might be due to invalid IL or missing references)
17273 //IL_41f2: Unknown result type (might be due to invalid IL or missing references)
17274 //IL_420e: Unknown result type (might be due to invalid IL or missing references)
17275 //IL_4238: Unknown result type (might be due to invalid IL or missing references)
17276 //IL_414c: Unknown result type (might be due to invalid IL or missing references)
17277 //IL_4152: Unknown result type (might be due to invalid IL or missing references)
17278 //IL_419d: Unknown result type (might be due to invalid IL or missing references)
17279 //IL_3dc5: Unknown result type (might be due to invalid IL or missing references)
17280 //IL_4317: Unknown result type (might be due to invalid IL or missing references)
17281 //IL_42d9: Unknown result type (might be due to invalid IL or missing references)
17282 //IL_42c1: Unknown result type (might be due to invalid IL or missing references)
17283 //IL_4264: Unknown result type (might be due to invalid IL or missing references)
17284 //IL_424c: Unknown result type (might be due to invalid IL or missing references)
17285 //IL_3e0a: Unknown result type (might be due to invalid IL or missing references)
17286 //IL_3dce: Unknown result type (might be due to invalid IL or missing references)
17287 //IL_4343: Unknown result type (might be due to invalid IL or missing references)
17288 //IL_4326: Unknown result type (might be due to invalid IL or missing references)
17289 //IL_42f0: Unknown result type (might be due to invalid IL or missing references)
17290 //IL_427b: Unknown result type (might be due to invalid IL or missing references)
17291 //IL_40a2: Unknown result type (might be due to invalid IL or missing references)
17292 //IL_40a9: Unknown result type (might be due to invalid IL or missing references)
17293 //IL_40ae: Unknown result type (might be due to invalid IL or missing references)
17294 //IL_40b0: Unknown result type (might be due to invalid IL or missing references)
17295 //IL_3fd5: Unknown result type (might be due to invalid IL or missing references)
17296 //IL_3fdc: Unknown result type (might be due to invalid IL or missing references)
17297 //IL_3fe1: Unknown result type (might be due to invalid IL or missing references)
17298 //IL_3fe3: Unknown result type (might be due to invalid IL or missing references)
17299 //IL_3e13: Unknown result type (might be due to invalid IL or missing references)
17300 //IL_3def: Unknown result type (might be due to invalid IL or missing references)
17301 //IL_434f: Unknown result type (might be due to invalid IL or missing references)
17302 //IL_40d3: Unknown result type (might be due to invalid IL or missing references)
17303 //IL_40d8: Unknown result type (might be due to invalid IL or missing references)
17304 //IL_40be: Unknown result type (might be due to invalid IL or missing references)
17305 //IL_40c5: Unknown result type (might be due to invalid IL or missing references)
17306 //IL_40ca: Unknown result type (might be due to invalid IL or missing references)
17307 //IL_4006: Unknown result type (might be due to invalid IL or missing references)
17308 //IL_400b: Unknown result type (might be due to invalid IL or missing references)
17309 //IL_3ff1: Unknown result type (might be due to invalid IL or missing references)
17310 //IL_3ff8: Unknown result type (might be due to invalid IL or missing references)
17311 //IL_3ffd: Unknown result type (might be due to invalid IL or missing references)
17312 //IL_3e5e: Unknown result type (might be due to invalid IL or missing references)
17313 //IL_3e64: Unknown result type (might be due to invalid IL or missing references)
17314 //IL_3e34: Unknown result type (might be due to invalid IL or missing references)
17315 //IL_4457: Unknown result type (might be due to invalid IL or missing references)
17316 //IL_445d: Unknown result type (might be due to invalid IL or missing references)
17317 //IL_436b: Unknown result type (might be due to invalid IL or missing references)
17318 //IL_4492: Unknown result type (might be due to invalid IL or missing references)
17319 //IL_4622: Unknown result type (might be due to invalid IL or missing references)
17320 //IL_4628: Unknown result type (might be due to invalid IL or missing references)
17321 //IL_4595: Unknown result type (might be due to invalid IL or missing references)
17322 //IL_459b: Unknown result type (might be due to invalid IL or missing references)
17323 //IL_45a0: Unknown result type (might be due to invalid IL or missing references)
17324 //IL_45a5: Unknown result type (might be due to invalid IL or missing references)
17325 //IL_45af: Unknown result type (might be due to invalid IL or missing references)
17326 //IL_45ba: Unknown result type (might be due to invalid IL or missing references)
17327 //IL_45bf: Unknown result type (might be due to invalid IL or missing references)
17328 //IL_45c4: Unknown result type (might be due to invalid IL or missing references)
17329 //IL_45d3: Unknown result type (might be due to invalid IL or missing references)
17330 //IL_44be: Unknown result type (might be due to invalid IL or missing references)
17331 //IL_44a6: Unknown result type (might be due to invalid IL or missing references)
17332 //IL_466a: Unknown result type (might be due to invalid IL or missing references)
17333 //IL_45df: Unknown result type (might be due to invalid IL or missing references)
17334 //IL_44d2: Unknown result type (might be due to invalid IL or missing references)
17335 //IL_4502: Unknown result type (might be due to invalid IL or missing references)
17336 //IL_451a: Unknown result type (might be due to invalid IL or missing references)
17337 //IL_43f2: Unknown result type (might be due to invalid IL or missing references)
17338 //IL_4696: Unknown result type (might be due to invalid IL or missing references)
17339 //IL_467e: Unknown result type (might be due to invalid IL or missing references)
17340 //IL_45f8: Unknown result type (might be due to invalid IL or missing references)
17341 //IL_441a: Unknown result type (might be due to invalid IL or missing references)
17342 //IL_46aa: Unknown result type (might be due to invalid IL or missing references)
17343 //IL_4604: Unknown result type (might be due to invalid IL or missing references)
17344 //IL_4618: Unknown result type (might be due to invalid IL or missing references)
17345 //IL_461a: Unknown result type (might be due to invalid IL or missing references)
17346 //IL_48a9: Unknown result type (might be due to invalid IL or missing references)
17347 //IL_476b: Unknown result type (might be due to invalid IL or missing references)
17348 //IL_46f1: Unknown result type (might be due to invalid IL or missing references)
17349 //IL_4709: Unknown result type (might be due to invalid IL or missing references)
17350 //IL_48d5: Unknown result type (might be due to invalid IL or missing references)
17351 //IL_48b8: Unknown result type (might be due to invalid IL or missing references)
17352 //IL_4de9: Unknown result type (might be due to invalid IL or missing references)
17353 //IL_48e1: Unknown result type (might be due to invalid IL or missing references)
17354 //IL_502a: Unknown result type (might be due to invalid IL or missing references)
17355 //IL_5034: Unknown result type (might be due to invalid IL or missing references)
17356 //IL_5039: Unknown result type (might be due to invalid IL or missing references)
17357 //IL_4e33: Unknown result type (might be due to invalid IL or missing references)
17358 //IL_4df8: Unknown result type (might be due to invalid IL or missing references)
17359 //IL_49e6: Unknown result type (might be due to invalid IL or missing references)
17360 //IL_48f8: Unknown result type (might be due to invalid IL or missing references)
17361 //IL_47c4: Unknown result type (might be due to invalid IL or missing references)
17362 //IL_47ca: Unknown result type (might be due to invalid IL or missing references)
17363 //IL_47cf: Unknown result type (might be due to invalid IL or missing references)
17364 //IL_47d4: Unknown result type (might be due to invalid IL or missing references)
17365 //IL_50d3: Unknown result type (might be due to invalid IL or missing references)
17366 //IL_50d9: Unknown result type (might be due to invalid IL or missing references)
17367 //IL_50de: Unknown result type (might be due to invalid IL or missing references)
17368 //IL_50e3: Unknown result type (might be due to invalid IL or missing references)
17369 //IL_5074: Unknown result type (might be due to invalid IL or missing references)
17370 //IL_4e3c: Unknown result type (might be due to invalid IL or missing references)
17371 //IL_4a16: Unknown result type (might be due to invalid IL or missing references)
17372 //IL_49ef: Unknown result type (might be due to invalid IL or missing references)
17373 //IL_483f: Unknown result type (might be due to invalid IL or missing references)
17374 //IL_50a0: Unknown result type (might be due to invalid IL or missing references)
17375 //IL_5083: Unknown result type (might be due to invalid IL or missing references)
17376 //IL_4ff3: Unknown result type (might be due to invalid IL or missing references)
17377 //IL_4ffd: Unknown result type (might be due to invalid IL or missing references)
17378 //IL_5002: Unknown result type (might be due to invalid IL or missing references)
17379 //IL_4abe: Unknown result type (might be due to invalid IL or missing references)
17380 //IL_4a1f: Unknown result type (might be due to invalid IL or missing references)
17381 //IL_49fd: Unknown result type (might be due to invalid IL or missing references)
17382 //IL_486b: Unknown result type (might be due to invalid IL or missing references)
17383 //IL_4853: Unknown result type (might be due to invalid IL or missing references)
17384 //IL_480b: Unknown result type (might be due to invalid IL or missing references)
17385 //IL_50a9: Unknown result type (might be due to invalid IL or missing references)
17386 //IL_4e5f: Unknown result type (might be due to invalid IL or missing references)
17387 //IL_4b04: Unknown result type (might be due to invalid IL or missing references)
17388 //IL_4acd: Unknown result type (might be due to invalid IL or missing references)
17389 //IL_4a2d: Unknown result type (might be due to invalid IL or missing references)
17390 //IL_4882: Unknown result type (might be due to invalid IL or missing references)
17391 //IL_481f: Unknown result type (might be due to invalid IL or missing references)
17392 //IL_50bd: Unknown result type (might be due to invalid IL or missing references)
17393 //IL_4ba8: Unknown result type (might be due to invalid IL or missing references)
17394 //IL_4b54: Unknown result type (might be due to invalid IL or missing references)
17395 //IL_4b16: Unknown result type (might be due to invalid IL or missing references)
17396 //IL_4a41: Unknown result type (might be due to invalid IL or missing references)
17397 //IL_4a47: Unknown result type (might be due to invalid IL or missing references)
17398 //IL_4a6b: Unknown result type (might be due to invalid IL or missing references)
17399 //IL_4a77: Unknown result type (might be due to invalid IL or missing references)
17400 //IL_4c2b: Unknown result type (might be due to invalid IL or missing references)
17401 //IL_4bd4: Unknown result type (might be due to invalid IL or missing references)
17402 //IL_4bb7: Unknown result type (might be due to invalid IL or missing references)
17403 //IL_4b75: Unknown result type (might be due to invalid IL or missing references)
17404 //IL_4b77: Unknown result type (might be due to invalid IL or missing references)
17405 //IL_4b7c: Unknown result type (might be due to invalid IL or missing references)
17406 //IL_4b68: Unknown result type (might be due to invalid IL or missing references)
17407 //IL_4ca9: Unknown result type (might be due to invalid IL or missing references)
17408 //IL_4c57: Unknown result type (might be due to invalid IL or missing references)
17409 //IL_4c3a: Unknown result type (might be due to invalid IL or missing references)
17410 //IL_4be0: Unknown result type (might be due to invalid IL or missing references)
17411 //IL_4cd5: Unknown result type (might be due to invalid IL or missing references)
17412 //IL_4cb8: Unknown result type (might be due to invalid IL or missing references)
17413 //IL_4c63: Unknown result type (might be due to invalid IL or missing references)
17414 //IL_4bfc: Unknown result type (might be due to invalid IL or missing references)
17415 //IL_4d6b: Unknown result type (might be due to invalid IL or missing references)
17416 //IL_4d37: Unknown result type (might be due to invalid IL or missing references)
17417 //IL_4ce1: Unknown result type (might be due to invalid IL or missing references)
17418 //IL_4c7a: Unknown result type (might be due to invalid IL or missing references)
17419 //IL_4d97: Unknown result type (might be due to invalid IL or missing references)
17420 //IL_4d7a: Unknown result type (might be due to invalid IL or missing references)
17421 //IL_4d49: Unknown result type (might be due to invalid IL or missing references)
17422 //IL_4cf8: Unknown result type (might be due to invalid IL or missing references)
17423 //IL_4da3: Unknown result type (might be due to invalid IL or missing references)
17424 //IL_4dba: Unknown result type (might be due to invalid IL or missing references)
17425 bool flag = false;
17426 overrideWidth = -1;
17427 overrideHeight = -1;
17428 bool flag7 = false;
17430 bool flag9 = flag8.HasValue && !flag8.Value;
17431 bool flag10 = flag8.HasValue && flag8.Value;
17432 if (tileCollide)
17433 {
17434 Vector2 lastVelocity = velocity;
17435 bool flag11 = true;
17436 Vector2? vector = null;
17437 if (Main.projPet[type])
17438 {
17439 flag11 = false;
17440 if (Main.player[owner].position.Y + (float)Main.player[owner].height - 12f > position.Y + (float)height)
17441 {
17442 flag11 = true;
17443 }
17444 }
17445 if (type == 500)
17446 {
17447 flag11 = false;
17448 if (Main.player[owner].Bottom.Y > base.Bottom.Y + 4f)
17449 {
17450 flag11 = true;
17451 }
17452 }
17453 if (type == 653 || type == 668)
17454 {
17455 flag11 = false;
17456 if (Main.player[owner].Bottom.Y > base.Bottom.Y + 4f)
17457 {
17458 flag11 = true;
17459 }
17460 }
17461 if (aiStyle == 62)
17462 {
17463 flag11 = true;
17464 }
17465 if (aiStyle == 66)
17466 {
17467 flag11 = true;
17468 }
17469 if (type == 317)
17470 {
17471 flag11 = true;
17472 }
17473 if (type == 373)
17474 {
17475 flag11 = true;
17476 }
17477 if (aiStyle == 53)
17478 {
17479 flag11 = false;
17480 }
17481 if (type == 9 || type == 12 || type == 15 || type == 13)
17482 {
17483 flag11 = false;
17484 }
17486 {
17487 flag11 = false;
17488 }
17489 if (type == 24)
17490 {
17491 flag11 = false;
17492 }
17493 switch (type)
17494 {
17495 case 663:
17496 case 665:
17497 case 667:
17498 case 677:
17499 case 678:
17500 case 679:
17501 case 688:
17502 case 689:
17503 case 690:
17504 case 691:
17505 case 692:
17506 case 693:
17507 flag11 = false;
17508 break;
17509 case 759:
17510 flag11 = true;
17511 break;
17512 case 1020:
17513 {
17514 float num = MathHelper.WrapAngle(rotation);
17515 flag11 = num >= (float)Math.PI / 2f || num < -(float)Math.PI / 2f;
17516 break;
17517 }
17518 }
17520 {
17522 }
17523 if (type == 771 || type == 822 || type == 823 || type == 843 || type == 846 || type == 845 || type == 852)
17524 {
17526 overrideHeight = 34;
17527 vector = new Vector2(0.75f, 0.75f);
17528 }
17529 if (type == 969)
17530 {
17531 overrideWidth = 18;
17532 overrideHeight = 32;
17533 }
17534 if (type == 824 || type == 839 || type == 840 || type == 850 || type == 853)
17535 {
17537 overrideHeight = 58;
17538 vector = new Vector2(0.75f, 0.75f);
17539 }
17540 if (type == 826 || type == 830 || type == 838)
17541 {
17543 overrideHeight = 38;
17544 vector = new Vector2(0.75f, 0.75f);
17545 }
17546 if (type == 828 || type == 829 || type == 827 || type == 844)
17547 {
17549 overrideHeight = 22;
17550 vector = new Vector2(0.75f, 0.75f);
17551 }
17552 if (aiStyle == 29 || type == 28 || aiStyle == 49 || type == 906 || type == 903 || type == 904 || type == 910)
17553 {
17554 overrideWidth = width - 8;
17555 overrideHeight = height - 8;
17556 }
17557 else if (type == 250 || type == 267 || type == 297 || type == 323 || type == 3 || type == 711)
17558 {
17559 overrideWidth = 6;
17560 overrideHeight = 6;
17561 }
17562 else if (type == 308)
17563 {
17564 overrideWidth = 26;
17566 }
17567 else if (type == 663 || type == 665 || type == 667 || type == 677 || type == 678 || type == 679 || type == 691 || type == 692 || type == 693)
17568 {
17569 overrideWidth = 16;
17571 }
17572 else if (type == 688 || type == 689 || type == 690)
17573 {
17574 overrideWidth = 16;
17576 vector = new Vector2(0.5f, 1f);
17577 }
17578 else if (type == 669 || type == 706)
17579 {
17580 overrideWidth = 10;
17581 overrideHeight = 10;
17582 }
17583 else if (type == 261 || type == 277)
17584 {
17585 overrideWidth = 26;
17586 overrideHeight = 26;
17587 }
17588 else if (type == 481 || type == 491 || type == 106 || type == 262 || type == 271 || type == 270 || type == 272 || type == 273 || type == 274 || type == 280 || type == 288 || type == 301 || type == 320 || type == 333 || type == 335 || type == 343 || type == 344 || type == 497 || type == 496 || type == 6 || type == 19 || type == 113 || type == 52 || type == 520 || type == 523 || type == 585 || type == 598 || type == 599 || type == 636 || type == 837 || type == 861 || type == 867 || type == 971 || type == 975 || type == 1000)
17589 {
17590 overrideWidth = 10;
17591 overrideHeight = 10;
17592 }
17593 else if (type == 514)
17594 {
17595 overrideWidth = 4;
17596 overrideHeight = 4;
17597 }
17598 else if (type == 248 || type == 247 || type == 507 || type == 508 || type == 662 || type == 680 || type == 685 || type == 757 || type == 928)
17599 {
17600 overrideWidth = width - 12;
17601 overrideHeight = height - 12;
17602 }
17603 else if (aiStyle == 18 || type == 254)
17604 {
17605 overrideWidth = width - 36;
17606 overrideHeight = height - 36;
17607 }
17608 else if (type == 182 || type == 190 || type == 33 || type == 229 || type == 237 || type == 243 || type == 866)
17609 {
17610 overrideWidth = width - 20;
17611 overrideHeight = height - 20;
17612 }
17613 else if (aiStyle == 27)
17614 {
17615 overrideWidth = width - 12;
17616 overrideHeight = height - 12;
17617 }
17618 else if (type == 533 && ai[0] >= 6f)
17619 {
17620 overrideWidth = width + 6;
17621 overrideHeight = height + 6;
17622 }
17623 else if (type == 755 && ai[0] >= 0f)
17624 {
17625 overrideWidth = width + 6;
17626 overrideHeight = height + 6;
17627 }
17628 else if (type == 759)
17629 {
17630 if (velocity.X != lastVelocity.X)
17631 {
17632 velocity.X = 0f - lastVelocity.X;
17633 }
17634 if (velocity.Y != lastVelocity.Y)
17635 {
17636 velocity.Y = 0f - lastVelocity.Y;
17637 }
17638 }
17639 else if (type == 582 || type == 634 || type == 635 || type == 902)
17640 {
17641 overrideWidth = 8;
17642 overrideHeight = 8;
17643 }
17644 else if (type == 617)
17645 {
17646 overrideWidth = (int)(20f * scale);
17647 overrideHeight = (int)(20f * scale);
17648 }
17649 else if (type == 304)
17650 {
17651 overrideWidth = 4;
17652 overrideHeight = 4;
17653 }
17654 else if (aiStyle == 9)
17655 {
17656 overrideWidth = 4;
17657 overrideHeight = 4;
17658 }
17659 else if (type == 931)
17660 {
17661 overrideWidth = 4;
17662 overrideHeight = 4;
17663 }
17664 Vector2 hitboxCenterFrac = (Vector2)(((_003F?)vector) ?? new Vector2(0.5f));
17665 int num12 = ((overrideWidth != -1) ? overrideWidth : width);
17666 int num23 = ((overrideHeight != -1) ? overrideHeight : height);
17667 if (ProjectileLoader.TileCollideStyle(this, ref num12, ref num23, ref flag11, ref hitboxCenterFrac) && ((type != 440 && type != 449 && type != 606) || ai[1] != 1f) && (type != 466 || localAI[1] != 1f) && (type != 580 || !(localAI[1] > 0f)) && (type != 640 || !(localAI[1] > 0f)))
17668 {
17669 Vector2 vector12 = position + new Vector2((float)width, (float)height) * 0.5f - new Vector2((float)num12, (float)num23) * hitboxCenterFrac;
17670 if (aiStyle == 10)
17671 {
17672 velocity = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17673 if (type >= 411 && type <= 414)
17674 {
17675 velocity = Collision.AnyCollisionWithSpecificTiles(vector12, velocity, num12, num23, TileID.Sets.Falling, evenActuated: true);
17676 }
17677 }
17678 else if (wet)
17679 {
17680 if (shimmerWet)
17681 {
17682 Vector2 vector20 = velocity;
17683 velocity = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17684 wetVelocity = velocity * 0.375f;
17685 if (velocity.X != vector20.X)
17686 {
17687 wetVelocity.X = velocity.X;
17688 }
17689 if (velocity.Y != vector20.Y)
17690 {
17691 wetVelocity.Y = velocity.Y;
17692 }
17693 }
17694 else if (honeyWet)
17695 {
17696 Vector2 vector21 = velocity;
17697 velocity = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17698 wetVelocity = velocity * 0.25f;
17699 if (velocity.X != vector21.X)
17700 {
17701 wetVelocity.X = velocity.X;
17702 }
17703 if (velocity.Y != vector21.Y)
17704 {
17705 wetVelocity.Y = velocity.Y;
17706 }
17707 }
17708 else
17709 {
17710 Vector2 vector22 = velocity;
17711 velocity = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17712 wetVelocity = velocity * 0.5f;
17713 if (velocity.X != vector22.X)
17714 {
17715 wetVelocity.X = velocity.X;
17716 }
17717 if (velocity.Y != vector22.Y)
17718 {
17719 wetVelocity.Y = velocity.Y;
17720 }
17721 }
17722 if (!Main.projPet[type])
17723 {
17724 Vector4 vector23 = Collision.SlopeCollision(vector12, velocity, num12, num23, 0f, fall: true);
17725 Vector2 vector24 = position - vector12;
17726 if (aiStyle == 137)
17727 {
17728 if (vector12.Y != vector23.Y)
17729 {
17730 flag = true;
17731 }
17732 if (velocity.Y != vector23.W)
17733 {
17734 flag = true;
17735 }
17736 vector12.Y = vector23.Y;
17737 position.Y = vector12.Y + vector24.Y;
17738 velocity.Y = vector23.W;
17739 }
17740 else
17741 {
17742 if (vector12.X != vector23.X)
17743 {
17744 flag = true;
17745 }
17746 if (vector12.Y != vector23.Y)
17747 {
17748 flag = true;
17749 }
17750 if (velocity.X != vector23.Z)
17751 {
17752 flag = true;
17753 }
17754 if (velocity.Y != vector23.W)
17755 {
17756 flag = true;
17757 }
17758 vector12.X = vector23.X;
17759 vector12.Y = vector23.Y;
17761 velocity.X = vector23.Z;
17762 velocity.Y = vector23.W;
17763 }
17764 }
17765 }
17766 else
17767 {
17768 int num34 = Math.Min(num12, num23);
17769 if (num34 < 3)
17770 {
17771 num34 = 3;
17772 }
17773 if (num34 > 16)
17774 {
17775 num34 = 16;
17776 }
17777 if (((Vector2)(ref velocity)).Length() > (float)num34)
17778 {
17779 Vector2 val = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17780 float num45 = ((Vector2)(ref velocity)).Length();
17781 float num50 = num34;
17782 Vector2 vector25 = velocity.SafeNormalize(Vector2.Zero);
17783 if (val.Y == 0f)
17784 {
17785 vector25.Y = 0f;
17786 }
17787 Vector2 zero = Vector2.Zero;
17788 _ = Vector2.Zero;
17789 _ = Vector2.Zero;
17790 Vector2 vector2 = vector12;
17791 int num51 = 0;
17792 while (num45 > 0f)
17793 {
17794 num51++;
17795 if (num51 > 300)
17796 {
17797 break;
17798 }
17799 vector2 = vector12;
17800 float num52 = num45;
17801 if (num52 > num50)
17802 {
17803 num52 = num50;
17804 }
17805 num45 -= num52;
17806 Vector2 vector3 = vector25 * num52;
17807 Vector2 vector4 = Collision.TileCollision(vector12, vector3, num12, num23, flag11, flag11);
17808 vector12 += vector4;
17809 velocity = vector4;
17810 if (!Main.projPet[type])
17811 {
17812 Vector4 vector5 = Collision.SlopeCollision(vector12, velocity, num12, num23, 0f, fall: true);
17813 Vector2 vector6 = position - vector12;
17814 if (aiStyle == 137)
17815 {
17816 if (vector12.Y != vector5.Y)
17817 {
17818 flag = true;
17819 }
17820 if (velocity.Y != vector5.W)
17821 {
17822 flag = true;
17823 }
17824 vector12.Y = vector5.Y;
17825 position.Y = vector12.Y + vector6.Y;
17826 velocity.Y = vector5.W;
17827 }
17828 else
17829 {
17830 if (vector12.X != vector5.X)
17831 {
17832 flag = true;
17833 }
17834 if (vector12.Y != vector5.Y)
17835 {
17836 flag = true;
17837 }
17838 if (velocity.X != vector5.Z)
17839 {
17840 flag = true;
17841 }
17842 if (velocity.Y != vector5.W)
17843 {
17844 flag = true;
17845 }
17846 vector12.X = vector5.X;
17847 vector12.Y = vector5.Y;
17849 velocity.X = vector5.Z;
17850 velocity.Y = vector5.W;
17851 }
17852 }
17853 flag7 = true;
17854 if (owner == Main.myPlayer && vector12 != vector2 && !flag9)
17855 {
17856 Collision.SwitchTiles(vector12, num12, num23, vector2, 4);
17857 }
17858 vector4 = velocity;
17859 zero += vector4;
17860 }
17861 velocity = zero;
17862 if (Math.Abs(velocity.X - lastVelocity.X) < 0.0001f)
17863 {
17864 velocity.X = lastVelocity.X;
17865 }
17866 if (Math.Abs(velocity.Y - lastVelocity.Y) < 0.0001f)
17867 {
17868 velocity.Y = lastVelocity.Y;
17869 }
17870 if (!Main.projPet[type])
17871 {
17872 Vector4 vector7 = Collision.SlopeCollision(vector12, velocity, num12, num23, 0f, fall: true);
17873 Vector2 vector8 = position - vector12;
17874 if (aiStyle == 137)
17875 {
17876 if (vector12.Y != vector7.Y)
17877 {
17878 flag = true;
17879 }
17880 if (velocity.Y != vector7.W)
17881 {
17882 flag = true;
17883 }
17884 vector12.Y = vector7.Y;
17885 position.Y = vector12.Y + vector8.Y;
17886 velocity.Y = vector7.W;
17887 }
17888 else
17889 {
17890 if (vector12.X != vector7.X)
17891 {
17892 flag = true;
17893 }
17894 if (vector12.Y != vector7.Y)
17895 {
17896 flag = true;
17897 }
17898 if (velocity.X != vector7.Z)
17899 {
17900 flag = true;
17901 }
17902 if (velocity.Y != vector7.W)
17903 {
17904 flag = true;
17905 }
17906 vector12.X = vector7.X;
17907 vector12.Y = vector7.Y;
17909 velocity.X = vector7.Z;
17910 velocity.Y = vector7.W;
17911 }
17912 }
17913 }
17914 else
17915 {
17916 velocity = Collision.TileCollision(vector12, velocity, num12, num23, flag11, flag11);
17917 if (!Main.projPet[type])
17918 {
17919 Vector4 vector9 = Collision.SlopeCollision(vector12, velocity, num12, num23, 0f, fall: true);
17920 Vector2 vector10 = position - vector12;
17921 if (aiStyle == 137)
17922 {
17923 if (vector12.Y != vector9.Y)
17924 {
17925 flag = true;
17926 }
17927 if (velocity.Y != vector9.W)
17928 {
17929 flag = true;
17930 }
17931 vector12.Y = vector9.Y;
17932 position.Y = vector12.Y + vector10.Y;
17933 velocity.Y = vector9.W;
17934 }
17935 else
17936 {
17937 if (vector12.X != vector9.X)
17938 {
17939 flag = true;
17940 }
17941 if (vector12.Y != vector9.Y)
17942 {
17943 flag = true;
17944 }
17945 if (velocity.X != vector9.Z)
17946 {
17947 flag = true;
17948 }
17949 if (velocity.Y != vector9.W)
17950 {
17951 flag = true;
17952 }
17953 vector12.X = vector9.X;
17954 vector12.Y = vector9.Y;
17956 velocity.X = vector9.Z;
17957 velocity.Y = vector9.W;
17958 }
17959 }
17960 }
17961 }
17962 }
17963 if (lastVelocity != velocity)
17964 {
17965 flag = true;
17966 }
17967 if (flag)
17968 {
17969 if (owner == Main.myPlayer && CanCutTiles() && (friendly || hostile) && damage > 0)
17970 {
17971 int num53 = (int)(position.X + velocity.X - 1f) / 16;
17972 int num2 = (int)((position.X + (float)width + velocity.X + 1f) / 16f) + 1;
17973 int num3 = (int)(position.Y + velocity.Y - 1f) / 16;
17974 int num4 = (int)((position.Y + (float)height + velocity.Y + 1f) / 16f) + 1;
17975 if (num53 < 0)
17976 {
17977 num53 = 0;
17978 }
17979 if (num2 > Main.maxTilesX)
17980 {
17981 num2 = Main.maxTilesX;
17982 }
17983 if (num3 < 0)
17984 {
17985 num3 = 0;
17986 }
17987 if (num4 > Main.maxTilesY)
17988 {
17989 num4 = Main.maxTilesY;
17990 }
17991 bool[] tileCutIgnorance = Main.player[owner].GetTileCutIgnorance(allowRegrowth: false, trap);
17992 for (int i = num53; i < num2; i++)
17993 {
17994 for (int j = num3; j < num4; j++)
17995 {
17996 if (Main.tile[i, j] != null && !tileCutIgnorance[Main.tile[i, j].type] && Main.tile[i, j].type == 484 && WorldGen.CanCutTile(i, j, TileCuttingContext.AttackProjectile))
17997 {
17998 WorldGen.KillTile(i, j);
17999 if (Main.netMode != 0)
18000 {
18001 NetMessage.SendData(17, -1, -1, null, 0, i, j);
18002 }
18003 }
18004 }
18005 }
18006 }
18007 if (Main.rand.Next(3) == 0 && owner == Main.myPlayer && CanCutTiles() && (friendly || hostile) && damage > 0)
18008 {
18009 int num5 = (int)(position.X + velocity.X - 1f) / 16;
18010 int num6 = (int)((position.X + (float)width + velocity.X + 1f) / 16f) + 1;
18011 int num7 = (int)(position.Y + velocity.Y - 1f) / 16;
18012 int num8 = (int)((position.Y + (float)height + velocity.Y + 1f) / 16f) + 1;
18013 if (num5 < 0)
18014 {
18015 num5 = 0;
18016 }
18017 if (num6 > Main.maxTilesX)
18018 {
18019 num6 = Main.maxTilesX;
18020 }
18021 if (num7 < 0)
18022 {
18023 num7 = 0;
18024 }
18025 if (num8 > Main.maxTilesY)
18026 {
18027 num8 = Main.maxTilesY;
18028 }
18029 bool[] tileCutIgnorance2 = Main.player[owner].GetTileCutIgnorance(allowRegrowth: false, trap);
18030 for (int k = num5; k < num6; k++)
18031 {
18032 for (int l = num7; l < num8; l++)
18033 {
18034 if (Main.tile[k, l] != null && !tileCutIgnorance2[Main.tile[k, l].type] && TileID.Sets.CrackedBricks[Main.tile[k, l].type] && WorldGen.CanCutTile(k, l, TileCuttingContext.AttackProjectile))
18035 {
18036 WorldGen.KillTile(k, l);
18037 if (Main.netMode != 0)
18038 {
18039 NetMessage.SendData(17, -1, -1, null, 0, k, l);
18040 }
18041 }
18042 }
18043 }
18044 }
18046 {
18047 Vector2 center;
18048 if (type == 663 || type == 665 || type == 667 || type == 677 || type == 678 || type == 679 || type == 691 || type == 692 || type == 693 || type == 688 || type == 689 || type == 690)
18049 {
18050 position += velocity;
18051 velocity = Vector2.Zero;
18052 }
18053 else if (type == 434)
18054 {
18055 position += velocity;
18056 numUpdates = 0;
18057 }
18058 else if (type == 1020)
18059 {
18060 if (velocity.X != lastVelocity.X && Math.Abs(lastVelocity.X) > 1f)
18061 {
18062 velocity.X = (0f - lastVelocity.X) * 0.25f;
18063 }
18064 if (velocity.Y != lastVelocity.Y && Math.Abs(lastVelocity.Y) > 1f)
18065 {
18066 velocity.Y = (0f - lastVelocity.Y) * 0.25f;
18067 }
18068 }
18069 else if (type == 601)
18070 {
18071 if (Main.netMode != 2 && alpha > 0)
18072 {
18073 if (ai[1] != 0f)
18074 {
18076 }
18077 else
18078 {
18080 }
18081 }
18082 if (owner == Main.myPlayer)
18083 {
18085 }
18086 position += velocity;
18087 Kill();
18088 }
18089 else if (type == 985)
18090 {
18091 position += velocity;
18093 velocity *= 0.01f;
18094 localAI[1] = 1f;
18095 }
18096 else if (type == 451)
18097 {
18098 ai[0] = 1f;
18099 ai[1] = 0f;
18100 netUpdate = true;
18101 velocity = lastVelocity / 2f;
18102 }
18103 else if (type == 645)
18104 {
18105 ai[0] = 0f;
18106 ai[1] = -1f;
18107 netUpdate = true;
18108 }
18109 else if (type == 584)
18110 {
18111 bool flag12 = false;
18112 if (velocity.X != lastVelocity.X)
18113 {
18114 velocity.X = lastVelocity.X * -0.75f;
18115 flag12 = true;
18116 }
18117 if ((velocity.Y != lastVelocity.Y && lastVelocity.Y > 2f) || velocity.Y == 0f)
18118 {
18119 velocity.Y = lastVelocity.Y * -0.75f;
18120 flag12 = true;
18121 }
18122 if (flag12)
18123 {
18124 float num9 = ((Vector2)(ref lastVelocity)).Length() / ((Vector2)(ref velocity)).Length();
18125 if (num9 == 0f)
18126 {
18127 num9 = 1f;
18128 }
18129 velocity /= num9;
18130 penetrate--;
18131 }
18132 }
18133 else if (type == 532)
18134 {
18135 bool flag13 = false;
18136 if (velocity.X != lastVelocity.X)
18137 {
18138 velocity.X = lastVelocity.X * -0.75f;
18139 flag13 = true;
18140 }
18141 if ((velocity.Y != lastVelocity.Y && lastVelocity.Y > 2f) || velocity.Y == 0f)
18142 {
18143 velocity.Y = lastVelocity.Y * -0.75f;
18144 flag13 = true;
18145 }
18146 if (flag13)
18147 {
18148 float num10 = ((Vector2)(ref lastVelocity)).Length() / ((Vector2)(ref velocity)).Length();
18149 if (num10 == 0f)
18150 {
18151 num10 = 1f;
18152 }
18153 velocity /= num10;
18154 penetrate--;
18155 Collision.HitTiles(position, lastVelocity, width, height);
18156 }
18157 }
18158 else if (type == 533)
18159 {
18160 float num11 = 1f;
18161 bool flag14 = false;
18162 if (velocity.X != lastVelocity.X)
18163 {
18164 velocity.X = lastVelocity.X * (0f - num11);
18165 flag14 = true;
18166 }
18167 if (velocity.Y != lastVelocity.Y || velocity.Y == 0f)
18168 {
18169 velocity.Y = lastVelocity.Y * (0f - num11) * 0.5f;
18170 flag14 = true;
18171 }
18172 if (flag14)
18173 {
18174 float num13 = ((Vector2)(ref lastVelocity)).Length() / ((Vector2)(ref velocity)).Length();
18175 if (num13 == 0f)
18176 {
18177 num13 = 1f;
18178 }
18179 velocity /= num13;
18180 if (ai[0] == 7f && (double)velocity.Y < -0.1)
18181 {
18182 velocity.Y += 0.1f;
18183 }
18184 if (ai[0] >= 6f && ai[0] < 9f)
18185 {
18186 Collision.HitTiles(position, lastVelocity, width, height);
18187 }
18188 localAI[2] += 30f;
18189 }
18190 }
18191 else if (type == 502)
18192 {
18193 ai[0] += 1f;
18194 SoundEngine.PlaySound(37, (int)position.X, (int)position.Y, 5 + (int)ai[0]);
18195 if (ai[0] >= 5f)
18196 {
18197 position += velocity;
18198 Kill();
18199 }
18200 else
18201 {
18202 if (velocity.Y != lastVelocity.Y)
18203 {
18204 velocity.Y = 0f - lastVelocity.Y;
18205 }
18206 if (velocity.X != lastVelocity.X)
18207 {
18208 velocity.X = 0f - lastVelocity.X;
18209 }
18210 }
18211 Vector2 spinningpoint = Utils.RotatedByRandom(new Vector2(0f, -3f - ai[0]), 3.1415927410125732);
18212 float num14 = 10f + ai[0] * 4f;
18213 Vector2 vector11 = default(Vector2);
18214 ((Vector2)(ref vector11))._002Ector(1.05f, 1f);
18215 for (float num15 = 0f; num15 < num14; num15 += 1f)
18216 {
18217 int num16 = Dust.NewDust(base.Center, 0, 0, 66, 0f, 0f, 0, Color.Transparent);
18218 Main.dust[num16].position = base.Center;
18219 Dust obj = Main.dust[num16];
18220 double radians = (float)Math.PI * 2f * num15 / num14;
18221 center = default(Vector2);
18222 obj.velocity = spinningpoint.RotatedBy(radians, center) * vector11 * (0.8f + Main.rand.NextFloat() * 0.4f);
18223 Main.dust[num16].color = Main.hslToRgb(num15 / num14, 1f, 0.5f);
18224 Main.dust[num16].noGravity = true;
18225 Main.dust[num16].scale = 1f + ai[0] / 3f;
18226 }
18227 if (Main.myPlayer == owner)
18228 {
18229 int num17 = width;
18230 int num18 = height;
18231 int num19 = penetrate;
18232 position = base.Center;
18233 width = (height = 40 + 8 * (int)ai[0]);
18234 base.Center = position;
18235 penetrate = -1;
18236 Damage();
18237 penetrate = num19;
18238 position = base.Center;
18239 width = num17;
18240 height = num18;
18241 base.Center = position;
18242 }
18243 }
18244 else if (type == 444)
18245 {
18246 if (velocity.X != lastVelocity.X)
18247 {
18248 velocity.X = 0f - lastVelocity.X;
18249 }
18250 if (velocity.Y != lastVelocity.Y)
18251 {
18252 velocity.Y = 0f - lastVelocity.Y;
18253 }
18254 ai[0] = velocity.ToRotation();
18255 }
18256 else if (type == 617)
18257 {
18258 if (velocity.X != lastVelocity.X)
18259 {
18260 velocity.X = (0f - lastVelocity.X) * 0.35f;
18261 }
18262 if (velocity.Y != lastVelocity.Y)
18263 {
18264 velocity.Y = (0f - lastVelocity.Y) * 0.35f;
18265 }
18266 }
18267 else if (type == 440 || type == 449 || type == 606)
18268 {
18269 if (ai[1] != 1f)
18270 {
18271 ai[1] = 1f;
18272 position += velocity;
18274 }
18275 }
18276 else if (type == 85)
18277 {
18278 velocity = lastVelocity * 0.95f;
18279 position -= velocity;
18280 }
18281 else if (type == 466 || type == 580 || type == 640)
18282 {
18283 if (localAI[1] < 1f)
18284 {
18285 localAI[1] += 2f;
18286 position += velocity;
18287 velocity = Vector2.Zero;
18288 }
18289 }
18290 else if (type == 851)
18291 {
18292 if (velocity.X != lastVelocity.X)
18293 {
18294 velocity.X = (0f - lastVelocity.X) * 0.8f;
18295 }
18296 if (velocity.Y != lastVelocity.Y)
18297 {
18298 velocity.Y = (0f - lastVelocity.Y) * 0.5f;
18299 }
18300 }
18301 else if (type == 855)
18302 {
18303 if (velocity.X != lastVelocity.X)
18304 {
18305 velocity.X = 0f - lastVelocity.X;
18306 }
18307 if (velocity.Y != lastVelocity.Y)
18308 {
18309 velocity.Y = 0f - lastVelocity.Y;
18310 if (lastVelocity.Y < 0f)
18311 {
18312 velocity.Y *= 0.25f;
18313 }
18314 }
18315 }
18316 else if (aiStyle == 54)
18317 {
18318 if (velocity.X != lastVelocity.X)
18319 {
18320 velocity.X = lastVelocity.X * -0.6f;
18321 }
18322 if (velocity.Y != lastVelocity.Y)
18323 {
18324 velocity.Y = lastVelocity.Y * -0.6f;
18325 }
18326 }
18327 else if (type == 861)
18328 {
18329 float num20 = -1f;
18330 if (ai[1] == 1f)
18331 {
18332 num20 = -0.6f;
18333 }
18334 if (velocity.X != lastVelocity.X)
18335 {
18336 velocity.X = lastVelocity.X * num20;
18337 }
18338 if (velocity.Y != lastVelocity.Y && (double)lastVelocity.Y > 0.7)
18339 {
18340 velocity.Y = lastVelocity.Y * num20;
18341 }
18342 if (Math.Abs(velocity.Y) < 0.5f)
18343 {
18344 velocity.Y = 0f;
18345 }
18346 if (ai[1] != 1f)
18347 {
18348 netUpdate = true;
18349 }
18350 ai[1] = 1f;
18351 }
18352 else if (!Main.projPet[type] && type != 500 && type != 820 && aiStyle != 160 && type != 650 && type != 882 && type != 888 && type != 894 && type != 895 && type != 898 && type != 901 && type != 957)
18353 {
18354 if (aiStyle == 99)
18355 {
18356 if (type >= 556 && type <= 561)
18357 {
18358 bool flag2 = false;
18359 if (velocity.X != lastVelocity.X)
18360 {
18361 flag2 = true;
18362 velocity.X = lastVelocity.X * -1f;
18363 }
18364 if (velocity.Y != lastVelocity.Y)
18365 {
18366 flag2 = true;
18367 velocity.Y = lastVelocity.Y * -1f;
18368 }
18369 if (flag2)
18370 {
18371 Vector2 vector13 = Main.player[owner].Center - base.Center;
18372 ((Vector2)(ref vector13)).Normalize();
18373 vector13 *= ((Vector2)(ref velocity)).Length();
18374 vector13 *= 0.25f;
18375 velocity *= 0.75f;
18376 velocity += vector13;
18377 if (((Vector2)(ref velocity)).Length() > 6f)
18378 {
18379 velocity *= 0.5f;
18380 }
18381 }
18382 }
18383 }
18384 else if (type == 604)
18385 {
18386 if (velocity.X != lastVelocity.X)
18387 {
18388 velocity.X = 0f - lastVelocity.X;
18389 }
18390 if (velocity.Y != lastVelocity.Y)
18391 {
18392 velocity.Y = 0f - lastVelocity.Y;
18393 }
18394 }
18395 else if (type == 379)
18396 {
18397 if (velocity.X != lastVelocity.X)
18398 {
18399 velocity.X = lastVelocity.X * -0.6f;
18400 }
18401 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 2f)
18402 {
18403 velocity.Y = lastVelocity.Y * -0.6f;
18404 }
18405 }
18406 else if (type == 491)
18407 {
18408 if (ai[0] <= 0f)
18409 {
18410 ai[0] = -10f;
18411 }
18412 if (velocity.X != lastVelocity.X && Math.Abs(lastVelocity.X) > 0f)
18413 {
18414 velocity.X = lastVelocity.X * -1f;
18415 }
18416 if (velocity.Y != lastVelocity.Y && Math.Abs(lastVelocity.Y) > 0f)
18417 {
18418 velocity.Y = lastVelocity.Y * -1f;
18419 }
18420 }
18421 else if ((type >= 515 && type <= 517) || type == 637)
18422 {
18423 if (velocity.X != lastVelocity.X && Math.Abs(lastVelocity.X) > 1f)
18424 {
18425 velocity.X = lastVelocity.X * -0.9f;
18426 }
18427 if (velocity.Y != lastVelocity.Y && Math.Abs(lastVelocity.Y) > 1f)
18428 {
18429 velocity.Y = lastVelocity.Y * -0.9f;
18430 }
18431 }
18432 else if (type == 921 || type == 926 || type == 937)
18433 {
18434 if (velocity.X != lastVelocity.X && Math.Abs(lastVelocity.X) > 1f)
18435 {
18436 velocity.X = lastVelocity.X * -0.4f;
18437 }
18438 if (velocity.Y != lastVelocity.Y && Math.Abs(lastVelocity.Y) > 1f)
18439 {
18440 velocity.Y = lastVelocity.Y * -0.95f;
18441 }
18442 penetrate--;
18443 }
18444 else if (type == 969)
18445 {
18446 if (velocity.X != lastVelocity.X && Math.Abs(lastVelocity.X) > 1f)
18447 {
18448 velocity.X = lastVelocity.X * -0.75f;
18449 }
18450 if (velocity.Y != lastVelocity.Y && Math.Abs(lastVelocity.Y) > 1f)
18451 {
18452 velocity.Y = lastVelocity.Y * -0.75f;
18453 }
18454 }
18455 else if (type == 681)
18456 {
18457 timeLeft = 4;
18458 }
18459 else if (type == 409)
18460 {
18461 if (velocity.X != lastVelocity.X)
18462 {
18463 velocity.X = lastVelocity.X * -1f;
18464 }
18465 if (velocity.Y != lastVelocity.Y)
18466 {
18467 velocity.Y = lastVelocity.Y * -1f;
18468 }
18469 }
18470 else if (type == 254)
18471 {
18472 if (velocity.X != lastVelocity.X)
18473 {
18474 velocity.X = lastVelocity.X * -1f;
18475 }
18476 if (velocity.Y != lastVelocity.Y)
18477 {
18478 velocity.Y = lastVelocity.Y * -1f;
18479 }
18480 }
18481 else if (type == 225)
18482 {
18483 ai[1] += 1f;
18484 if (ai[1] == 1f)
18485 {
18486 damage = (int)((float)damage * 0.66f);
18487 }
18488 if (ai[1] >= 4f)
18489 {
18490 Kill();
18491 return;
18492 }
18493 velocity.X = 0f - lastVelocity.X;
18494 velocity.Y = 0f - lastVelocity.Y;
18496 if (num21 != -1)
18497 {
18498 NPC nPC = Main.npc[num21];
18499 float t = Distance(nPC.Center);
18500 Vector2 vector14 = -Vector2.UnitY * MathHelper.Lerp((float)nPC.height * 0.1f, (float)nPC.height * 0.5f, Utils.GetLerpValue(0f, 300f, t));
18501 velocity = DirectionTo(nPC.Center + vector14).SafeNormalize(-Vector2.UnitY) * ((Vector2)(ref velocity)).Length();
18502 netUpdate = true;
18503 }
18504 }
18505 else if (type == 285)
18506 {
18507 ai[1] += 1f;
18508 if (ai[1] == 1f)
18509 {
18510 damage = (int)((float)damage * 0.66f);
18511 }
18512 if (ai[1] >= 2f)
18513 {
18514 Kill();
18515 return;
18516 }
18517 if (velocity.X != lastVelocity.X)
18518 {
18519 velocity.X = lastVelocity.X * -1f;
18520 }
18521 if (velocity.Y != lastVelocity.Y)
18522 {
18523 velocity.Y = lastVelocity.Y * -1f;
18524 }
18526 if (num22 != -1)
18527 {
18528 NPC nPC2 = Main.npc[num22];
18529 Distance(nPC2.Center);
18530 velocity = DirectionTo(nPC2.Center).SafeNormalize(-Vector2.UnitY) * ((Vector2)(ref velocity)).Length();
18531 netUpdate = true;
18532 }
18533 }
18534 else if (type == 931)
18535 {
18536 if (velocity.X != lastVelocity.X)
18537 {
18538 velocity.X = lastVelocity.X * -1f;
18539 }
18540 if (velocity.Y != lastVelocity.Y)
18541 {
18542 velocity.Y = lastVelocity.Y * -1f;
18543 }
18544 }
18545 else if (type == 155)
18546 {
18547 if (ai[1] > 10f)
18548 {
18549 NetworkText networkText = NetworkText.FromKey("Game.BallBounceResult", NetworkText.FromKey(Lang.GetProjectileName(type).Key), ai[1]);
18550 if (Main.netMode == 0)
18551 {
18552 Main.NewText(networkText.ToString(), byte.MaxValue, 240, 20);
18553 }
18554 else if (Main.netMode == 2)
18555 {
18556 ChatHelper.BroadcastChatMessage(networkText, new Color(255, 240, 20));
18557 }
18558 }
18559 ai[1] = 0f;
18560 if (velocity.X != lastVelocity.X)
18561 {
18562 velocity.X = lastVelocity.X * -0.6f;
18563 }
18564 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 2f)
18565 {
18566 velocity.Y = lastVelocity.Y * -0.6f;
18567 }
18568 }
18569 else if (aiStyle == 33)
18570 {
18571 if (localAI[0] == 0f)
18572 {
18573 if (wet)
18574 {
18575 position += lastVelocity / 2f;
18576 }
18577 else
18578 {
18580 }
18581 velocity *= 0f;
18582 localAI[0] = 1f;
18583 }
18584 }
18585 else if (type != 308 && type != 377 && type != 966)
18586 {
18587 if (type == 477)
18588 {
18589 if (velocity.Y != lastVelocity.Y || velocity.X != lastVelocity.X)
18590 {
18591 penetrate--;
18592 if (penetrate <= 0)
18593 {
18594 Kill();
18595 }
18596 if (velocity.X != lastVelocity.X)
18597 {
18598 velocity.X = 0f - lastVelocity.X;
18599 }
18600 if (velocity.Y != lastVelocity.Y)
18601 {
18602 velocity.Y = 0f - lastVelocity.Y;
18603 }
18604 }
18605 if (penetrate > 0 && owner == Main.myPlayer)
18606 {
18607 int[] array = new int[10];
18608 int num24 = 0;
18609 int num25 = 700;
18610 int num26 = 20;
18611 for (int m = 0; m < 200; m++)
18612 {
18613 if (!Main.npc[m].CanBeChasedBy(this))
18614 {
18615 continue;
18616 }
18617 center = base.Center - Main.npc[m].Center;
18618 float num27 = ((Vector2)(ref center)).Length();
18619 if (num27 > (float)num26 && num27 < (float)num25 && Collision.CanHitLine(base.Center, 1, 1, Main.npc[m].Center, 1, 1))
18620 {
18621 array[num24] = m;
18622 num24++;
18623 if (num24 >= 9)
18624 {
18625 break;
18626 }
18627 }
18628 }
18629 if (num24 > 0)
18630 {
18631 num24 = Main.rand.Next(num24);
18632 Vector2 vector15 = Main.npc[array[num24]].Center - base.Center;
18633 float num28 = ((Vector2)(ref velocity)).Length();
18634 ((Vector2)(ref vector15)).Normalize();
18636 netUpdate = true;
18637 }
18638 }
18639 }
18640 else if (type == 94)
18641 {
18642 if (velocity.X != lastVelocity.X)
18643 {
18644 velocity.X = 0f - lastVelocity.X;
18645 }
18646 if (velocity.Y != lastVelocity.Y)
18647 {
18648 velocity.Y = 0f - lastVelocity.Y;
18649 }
18650 }
18651 else if (type == 496)
18652 {
18653 if (velocity.X != lastVelocity.X)
18654 {
18655 if (Math.Abs(velocity.X) < 1f)
18656 {
18657 velocity.X = 0f - lastVelocity.X;
18658 }
18659 else
18660 {
18661 Kill();
18662 }
18663 }
18664 if (velocity.Y != lastVelocity.Y)
18665 {
18666 if (Math.Abs(velocity.Y) < 1f)
18667 {
18668 velocity.Y = 0f - lastVelocity.Y;
18669 }
18670 else
18671 {
18672 Kill();
18673 }
18674 }
18675 }
18676 else if (type == 311)
18677 {
18678 if (velocity.X != lastVelocity.X)
18679 {
18680 velocity.X = 0f - lastVelocity.X;
18681 ai[1] += 1f;
18682 }
18683 if (velocity.Y != lastVelocity.Y)
18684 {
18685 velocity.Y = 0f - lastVelocity.Y;
18686 ai[1] += 1f;
18687 }
18688 if (ai[1] > 4f)
18689 {
18690 Kill();
18691 }
18692 }
18693 else if (type == 312)
18694 {
18695 if (velocity.X != lastVelocity.X)
18696 {
18697 velocity.X = 0f - lastVelocity.X;
18698 ai[1] += 1f;
18699 }
18700 if (velocity.Y != lastVelocity.Y)
18701 {
18702 velocity.Y = 0f - lastVelocity.Y;
18703 ai[1] += 1f;
18704 }
18705 }
18706 else if (type == 522 || type == 620)
18707 {
18708 if (velocity.X != lastVelocity.X)
18709 {
18710 velocity.X = 0f - lastVelocity.X;
18711 }
18712 if (velocity.Y != lastVelocity.Y)
18713 {
18714 velocity.Y = 0f - lastVelocity.Y;
18715 }
18716 }
18717 else if (type == 524)
18718 {
18719 ai[0] += 100f;
18720 if (velocity.X != lastVelocity.X)
18721 {
18722 velocity.X = 0f - lastVelocity.X;
18723 }
18724 if (velocity.Y != lastVelocity.Y)
18725 {
18726 velocity.Y = 0f - lastVelocity.Y;
18727 }
18728 }
18729 else if (aiStyle == 93)
18730 {
18731 if (velocity != lastVelocity)
18732 {
18733 ai[1] = 0f;
18734 ai[0] = 1f;
18735 netUpdate = true;
18736 tileCollide = false;
18737 position += velocity;
18739 ((Vector2)(ref velocity)).Normalize();
18740 velocity *= 3f;
18741 }
18742 }
18743 else if (type == 281)
18744 {
18745 bool flag3 = Math.Abs(velocity.X) + Math.Abs(velocity.Y) < 2f || ai[0] == -1f;
18746 if (ai[0] == -2f || ai[0] == -3f)
18747 {
18748 flag3 = false;
18749 }
18750 if (flag3)
18751 {
18752 if (Main.myPlayer == owner)
18753 {
18754 int num29 = ((velocity.X > 0f) ? 1 : 2);
18755 if (damage == 0)
18756 {
18757 num29 += 2;
18758 }
18759 NPC.ReleaseNPC((int)base.Center.X, (int)base.Bottom.Y - 4, 614, num29, owner);
18760 ai[0] = -3f;
18761 netUpdate = true;
18762 }
18763 }
18764 else
18765 {
18766 if (velocity.X != lastVelocity.X)
18767 {
18768 velocity.X = (0f - lastVelocity.X) * 0.5f;
18769 }
18770 if (velocity.Y != lastVelocity.Y)
18771 {
18772 velocity.Y = (0f - lastVelocity.Y) * 0.5f;
18773 }
18774 }
18775 }
18776 else if (type == 290 || type == 294)
18777 {
18778 if (velocity.X != lastVelocity.X)
18779 {
18780 position.X += velocity.X;
18781 velocity.X = 0f - lastVelocity.X;
18782 }
18783 if (velocity.Y != lastVelocity.Y)
18784 {
18785 position.Y += velocity.Y;
18786 velocity.Y = 0f - lastVelocity.Y;
18787 }
18788 }
18789 else if ((type == 181 || type == 189 || type == 357 || type == 566) && penetrate > 0)
18790 {
18791 if (type == 357)
18792 {
18793 damage = (int)((double)damage * 0.9);
18794 }
18795 penetrate--;
18796 if (velocity.X != lastVelocity.X)
18797 {
18798 velocity.X = 0f - lastVelocity.X;
18799 }
18800 if (velocity.Y != lastVelocity.Y)
18801 {
18802 velocity.Y = 0f - lastVelocity.Y;
18803 }
18804 }
18805 else if (type == 307 && ai[1] < 5f)
18806 {
18807 ai[1] += 1f;
18808 if (velocity.X != lastVelocity.X)
18809 {
18810 velocity.X = 0f - lastVelocity.X;
18811 }
18812 if (velocity.Y != lastVelocity.Y)
18813 {
18814 velocity.Y = 0f - lastVelocity.Y;
18815 }
18816 }
18817 else if (type == 99 || type == 1005 || type == 1014)
18818 {
18819 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 5f)
18820 {
18821 Collision.HitTiles(position, velocity, width, height);
18822 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
18823 velocity.Y = (0f - lastVelocity.Y) * 0.2f;
18824 }
18825 if (velocity.X != lastVelocity.X)
18826 {
18827 Kill();
18828 }
18829 }
18830 else if (type == 1021)
18831 {
18832 if (velocity.Y != lastVelocity.Y)
18833 {
18834 if (lastVelocity.Y > 4f)
18835 {
18836 Collision.HitTiles(position, velocity, width, height);
18837 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
18838 velocity.Y = (0f - lastVelocity.Y) * 0.9f;
18839 }
18840 else if (lastVelocity.Y > 0f)
18841 {
18842 localAI[1] = 999f;
18843 }
18844 }
18845 if (velocity.X != lastVelocity.X)
18846 {
18847 if (localAI[1] <= 3f)
18848 {
18849 velocity.X = lastVelocity.X * -0.75f;
18850 localAI[1] += 1f;
18851 }
18852 else
18853 {
18854 Kill();
18855 }
18856 }
18857 }
18858 else if (type == 1013)
18859 {
18860 float num30 = Math.Abs(lastVelocity.X);
18861 float num31 = Math.Abs(lastVelocity.Y);
18862 float num32 = 0.95f;
18863 float num33 = 0.95f;
18864 if (num30 < 0.5f)
18865 {
18866 num32 = 0.1f;
18867 }
18868 else if (num30 < 0.75f)
18869 {
18870 num32 = 0.25f;
18871 }
18872 else if (num30 < 1f)
18873 {
18874 num32 = 0.5f;
18875 }
18876 if (num31 < 0.5f)
18877 {
18878 num33 = 0.1f;
18879 }
18880 else if (num31 < 0.75f)
18881 {
18882 num33 = 0.25f;
18883 }
18884 else if (num31 < 1f)
18885 {
18886 num33 = 0.5f;
18887 }
18888 bool flag4 = false;
18889 if (velocity.Y != lastVelocity.Y)
18890 {
18891 if (Math.Abs(lastVelocity.Y) > 5f)
18892 {
18893 flag4 = true;
18894 }
18895 velocity.Y = (0f - lastVelocity.Y) * num33;
18896 }
18897 if (velocity.X != lastVelocity.X)
18898 {
18899 if (Math.Abs(lastVelocity.X) > 5f)
18900 {
18901 flag4 = true;
18902 }
18903 velocity.X = (0f - lastVelocity.X) * num32;
18904 }
18905 if (flag4)
18906 {
18907 localAI[1] += 1f;
18908 Collision.HitTiles(position, velocity, width, height);
18909 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
18910 }
18911 if (((Vector2)(ref velocity)).Length() < 0.1f && localAI[0] > 50f)
18912 {
18913 Kill();
18914 }
18915 if (localAI[1] > 20f)
18916 {
18917 Kill();
18918 }
18919 }
18920 else if (type == 727)
18921 {
18922 int num35 = 30;
18923 float num36 = 2f;
18924 float num37 = 2f;
18925 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 5f)
18926 {
18927 Collision.HitTiles(position, velocity, width, height);
18928 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
18929 velocity.Y = (0f - lastVelocity.Y) * 0.65f;
18930 if (owner == Main.myPlayer)
18931 {
18932 int num38 = Main.rand.Next(3, 6);
18933 float num39 = Main.rand.NextFloat();
18934 for (float num40 = 0f; num40 < 1f; num40 += 1f / (float)num38)
18935 {
18936 Vector2 vector16 = ((num39 + num40) * ((float)Math.PI * 2f)).ToRotationVector2() * num37;
18937 if (vector16.Y > 0f)
18938 {
18939 vector16 *= -0.7f;
18940 }
18941 NewProjectile(GetProjectileSource_FromThis(), base.Center, vector16, 763, num35, num36, Main.myPlayer);
18942 }
18943 }
18944 }
18945 if (velocity.X != lastVelocity.X)
18946 {
18947 Kill();
18948 if (owner == Main.myPlayer)
18949 {
18950 int num41 = Main.rand.Next(3, 6);
18951 float num42 = Main.rand.NextFloat();
18952 for (float num43 = 0f; num43 < 1f; num43 += 1f / (float)num41)
18953 {
18954 Vector2 vector17 = ((num42 + num43) * ((float)Math.PI * 2f)).ToRotationVector2() * num37;
18955 if (vector17.Y > 0f)
18956 {
18957 vector17 *= -0.7f;
18958 }
18959 NewProjectile(GetProjectileSource_FromThis(), base.Center, vector17, 763, num35, num36, Main.myPlayer);
18960 }
18961 }
18962 }
18963 }
18964 else if (type == 655)
18965 {
18966 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 5f)
18967 {
18968 Collision.HitTiles(position, velocity, width, height);
18969 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
18970 velocity.Y = (0f - lastVelocity.Y) * 0.2f;
18971 }
18972 if (velocity.X != lastVelocity.X)
18973 {
18974 Kill();
18975 }
18976 }
18977 else if (type == 36)
18978 {
18979 if (penetrate > 1)
18980 {
18981 Collision.HitTiles(position, velocity, width, height);
18983 penetrate--;
18984 if (velocity.X != lastVelocity.X)
18985 {
18986 velocity.X = 0f - lastVelocity.X;
18987 }
18988 if (velocity.Y != lastVelocity.Y)
18989 {
18990 velocity.Y = 0f - lastVelocity.Y;
18991 }
18992 }
18993 else
18994 {
18995 Kill();
18996 }
18997 }
18998 else if (aiStyle == 21)
18999 {
19000 if (velocity.X != lastVelocity.X)
19001 {
19002 velocity.X = 0f - lastVelocity.X;
19003 }
19004 if (velocity.Y != lastVelocity.Y)
19005 {
19006 velocity.Y = 0f - lastVelocity.Y;
19007 }
19008 }
19009 else if (aiStyle == 17)
19010 {
19011 if (velocity.X != lastVelocity.X)
19012 {
19013 velocity.X = lastVelocity.X * -0.75f;
19014 }
19015 if (velocity.Y != lastVelocity.Y && (double)lastVelocity.Y > 1.5)
19016 {
19017 velocity.Y = lastVelocity.Y * -0.7f;
19018 }
19019 }
19020 else if (aiStyle == 15)
19021 {
19023 }
19024 else if (aiStyle == 9)
19025 {
19026 bool flag5 = owner == Main.myPlayer;
19027 if (type == 79)
19028 {
19029 bool flag6 = ai[0] >= 0f;
19030 flag5 = flag5 && !flag6;
19031 if (flag6)
19032 {
19033 if (velocity.X != lastVelocity.X)
19034 {
19035 velocity.X *= 0.1f;
19036 }
19037 if (velocity.Y != lastVelocity.Y)
19038 {
19039 velocity.Y *= 0.1f;
19040 }
19041 }
19042 }
19043 if (flag5)
19044 {
19045 Kill();
19046 }
19047 }
19048 else if (aiStyle == 39)
19049 {
19050 Collision.HitTiles(position, velocity, width, height);
19051 if (type == 33 || type == 106)
19052 {
19053 if (velocity.X != lastVelocity.X)
19054 {
19055 velocity.X = 0f - lastVelocity.X;
19056 }
19057 if (velocity.Y != lastVelocity.Y)
19058 {
19059 velocity.Y = 0f - lastVelocity.Y;
19060 }
19061 }
19062 else
19063 {
19064 ai[0] = 1f;
19065 if (aiStyle == 3)
19066 {
19067 velocity.X = 0f - lastVelocity.X;
19068 velocity.Y = 0f - lastVelocity.Y;
19069 }
19070 }
19071 netUpdate = true;
19072 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
19073 }
19074 else if (aiStyle == 3 || aiStyle == 13 || aiStyle == 69 || aiStyle == 109)
19075 {
19076 if (type == 106)
19077 {
19078 Vector2 hitPoint = base.Center + velocity.SafeNormalize(Vector2.UnitX) * 8f * scale;
19079 Vector2 normal = default(Vector2);
19080 ((Vector2)(ref normal))._002Ector((float)((velocity.X != lastVelocity.X) ? (-Math.Sign(lastVelocity.X)) : 0), (float)((velocity.Y != lastVelocity.Y) ? (-Math.Sign(lastVelocity.Y)) : 0));
19082 }
19083 Collision.HitTiles(position, velocity, width, height);
19084 if (type == 33 || type == 106 || type == 866)
19085 {
19086 if (velocity.X != lastVelocity.X)
19087 {
19088 velocity.X = 0f - lastVelocity.X;
19089 }
19090 if (velocity.Y != lastVelocity.Y)
19091 {
19092 velocity.Y = 0f - lastVelocity.Y;
19093 }
19094 }
19095 else
19096 {
19097 ai[0] = 1f;
19098 if ((aiStyle == 3 || aiStyle == 109) && type != 383)
19099 {
19100 velocity.X = 0f - lastVelocity.X;
19101 velocity.Y = 0f - lastVelocity.Y;
19102 }
19103 }
19104 netUpdate = true;
19105 SoundEngine.PlaySound(0, (int)position.X, (int)position.Y);
19106 }
19107 else if (aiStyle == 8 && type != 96)
19108 {
19110 ai[0] += 1f;
19111 int num44 = 5;
19112 switch (type)
19113 {
19114 case 15:
19115 num44 = 6;
19116 break;
19117 case 253:
19118 num44 = 8;
19119 break;
19120 }
19121 if (ai[0] >= (float)num44)
19122 {
19123 position += velocity;
19124 Kill();
19125 }
19126 else
19127 {
19128 if (type == 15 && velocity.Y > 4f)
19129 {
19130 if (velocity.Y != lastVelocity.Y)
19131 {
19132 velocity.Y = (0f - lastVelocity.Y) * 0.8f;
19133 }
19134 }
19135 else if (velocity.Y != lastVelocity.Y)
19136 {
19137 velocity.Y = 0f - lastVelocity.Y;
19138 }
19139 if (velocity.X != lastVelocity.X)
19140 {
19141 velocity.X = 0f - lastVelocity.X;
19142 }
19143 }
19144 }
19145 else if (aiStyle == 61)
19146 {
19147 if (velocity.X != lastVelocity.X)
19148 {
19149 velocity.X = lastVelocity.X * -0.3f;
19150 }
19151 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 1f)
19152 {
19153 velocity.Y = lastVelocity.Y * -0.3f;
19154 }
19155 }
19156 else if (aiStyle == 14)
19157 {
19158 if (type == 928)
19159 {
19160 int num46 = 0;
19161 for (int num47 = 1000; num47 >= 0; num47--)
19162 {
19163 if (num47 != whoAmI && Main.projectile[num47].active && Main.projectile[num47].owner == owner && Main.projectile[num47].type == type)
19164 {
19165 num46++;
19166 if (num46 >= 2 && timeLeft > Main.projectile[num47].timeLeft && Main.projectile[num47].timeLeft > 30)
19167 {
19168 Main.projectile[num47].timeLeft = 2;
19169 }
19170 }
19171 }
19172 }
19173 if (type == 261 && ((velocity.X != lastVelocity.X && (lastVelocity.X < -3f || lastVelocity.X > 3f)) || (velocity.Y != lastVelocity.Y && (lastVelocity.Y < -3f || lastVelocity.Y > 3f))))
19174 {
19175 for (int n = 0; n < 10; n++)
19176 {
19177 Collision.HitTiles(position, velocity, width, height);
19178 }
19179 SoundEngine.PlaySound(0, (int)base.Center.X, (int)base.Center.Y);
19181 }
19182 if (type >= 326 && type <= 328 && velocity.X != lastVelocity.X)
19183 {
19184 velocity.X = lastVelocity.X * -0.1f;
19185 }
19186 if (type >= 400 && type <= 402)
19187 {
19188 if (velocity.X != lastVelocity.X)
19189 {
19190 velocity.X = lastVelocity.X * -0.1f;
19191 }
19192 }
19193 else if (type == 870 && ai[1] == 0f)
19194 {
19195 if (velocity.X != lastVelocity.X || velocity.Y != lastVelocity.Y)
19196 {
19198 ai[1] = 1f;
19199 }
19200 }
19201 else if (type == 50)
19202 {
19203 if (velocity.X != lastVelocity.X)
19204 {
19205 velocity.X = lastVelocity.X * -0.2f;
19206 }
19207 if (velocity.Y != lastVelocity.Y && (double)lastVelocity.Y > 1.5)
19208 {
19209 velocity.Y = lastVelocity.Y * -0.2f;
19210 }
19211 }
19212 else if (type == 185)
19213 {
19214 if (velocity.X != lastVelocity.X)
19215 {
19216 velocity.X = lastVelocity.X * -0.9f;
19217 }
19218 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 1f)
19219 {
19220 velocity.Y = lastVelocity.Y * -0.9f;
19221 }
19222 }
19223 else if (type == 277)
19224 {
19225 if (velocity.X != lastVelocity.X)
19226 {
19227 velocity.X = lastVelocity.X * -0.9f;
19228 }
19229 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 3f)
19230 {
19231 velocity.Y = lastVelocity.Y * -0.9f;
19232 }
19233 }
19234 else if (type != 480)
19235 {
19236 if (type == 450)
19237 {
19238 if (velocity.X != lastVelocity.X)
19239 {
19240 velocity.X = lastVelocity.X * -0.1f;
19241 }
19242 }
19243 else
19244 {
19245 if (velocity.X != lastVelocity.X)
19246 {
19247 velocity.X = lastVelocity.X * -0.5f;
19248 }
19249 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 1f)
19250 {
19251 velocity.Y = lastVelocity.Y * -0.5f;
19252 }
19253 }
19254 }
19255 }
19256 else if (aiStyle == 16)
19257 {
19258 if (velocity.X != lastVelocity.X)
19259 {
19260 velocity.X = lastVelocity.X * -0.4f;
19261 if (type == 29)
19262 {
19263 velocity.X *= 0.8f;
19264 }
19265 }
19266 if (velocity.Y != lastVelocity.Y && (double)lastVelocity.Y > 0.7 && type != 102)
19267 {
19268 velocity.Y = lastVelocity.Y * -0.4f;
19269 if (type == 29)
19270 {
19271 velocity.Y *= 0.8f;
19272 }
19273 }
19274 if (type == 134 || type == 137 || type == 140 || type == 143 || type == 303 || (type >= 338 && type <= 341) || type == 776 || type == 780 || type == 793 || type == 796 || type == 799 || type == 784 || type == 787 || type == 790 || type == 803 || type == 804 || type == 808 || type == 809 || type == 810 || type == 805 || type == 806 || type == 807 || type == 930)
19275 {
19276 velocity *= 0f;
19277 alpha = 255;
19278 timeLeft = 3;
19279 }
19280 }
19281 else if (aiStyle == 68)
19282 {
19283 velocity *= 0f;
19284 alpha = 255;
19285 timeLeft = 3;
19286 netUpdate = true;
19287 }
19288 else if (type == 870)
19289 {
19290 if (velocity.X != lastVelocity.X)
19291 {
19292 velocity.X = lastVelocity.X * -0.2f;
19293 }
19294 if (velocity.Y != lastVelocity.Y && lastVelocity.Y > 0f)
19295 {
19296 velocity.Y = lastVelocity.Y * -0.2f;
19297 }
19298 }
19299 else
19300 {
19301 position += velocity;
19302 Kill();
19303 }
19304 }
19305 }
19306 }
19307 }
19308 }
19310 if (!flag7 && !flag9 && owner == Main.myPlayer && (tileCollide || flag10) && position != oldPosition)
19311 {
19312 Vector2 vector18 = position;
19313 Vector2 vector19 = oldPosition;
19314 int num48 = ((overrideWidth != -1) ? overrideWidth : width);
19315 int num49 = ((overrideHeight != -1) ? overrideHeight : height);
19316 if (overrideHeight != -1 || overrideWidth != -1)
19317 {
19318 ((Vector2)(ref vector18))._002Ector(position.X + (float)(width / 2) - (float)(num48 / 2), position.Y + (float)(height / 2) - (float)(num49 / 2));
19319 ((Vector2)(ref vector19))._002Ector(oldPosition.X + (float)(width / 2) - (float)(num48 / 2), oldPosition.Y + (float)(height / 2) - (float)(num49 / 2));
19320 }
19321 Collision.SwitchTiles(vector18, num48, num49, vector19, 4);
19322 }
19323 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
static void BroadcastChatMessage(NetworkText text, Color color, int excludedPlayer=-1)
Definition ChatHelper.cs:51
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
Definition Entity.cs:57
Vector2 oldPosition
Definition Entity.cs:35
bool honeyWet
Definition Entity.cs:61
bool shimmerWet
Definition Entity.cs:59
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Definition Entity.cs:33
float Distance(Vector2 Other)
Definition Entity.cs:275
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
Vector2 DirectionTo(Vector2 Destination)
Definition Entity.cs:289
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51
static int TryPlacingPortal(Projectile theBolt, Vector2 velocity, Vector2 theCrashVelocity)
static ? bool[] ForcePlateDetection
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile can trigger F:...
static bool[] FallingBlockDoesNotFallThroughPlatforms
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile will not fall ...
static readonly SoundStyle Item115
Definition SoundID.cs:907
static readonly SoundStyle Item10
Definition SoundID.cs:697
static readonly SoundStyle Item114
Definition SoundID.cs:905
static bool[] CrackedBricks
Definition TileID.cs:161
static bool[] Falling
Definition TileID.cs:368
static NetworkText FromKey(string key, params object[] substitutions)
Creates a NetworkText object from a localization key and optional substitutions. The receiving client...
Represents text that will be sent over the network in multiplayer and displayed to the receiving user...
static bool TileCollideStyle(Projectile projectile, ref int width, ref int height, ref bool fallThrough, ref Vector2 hitboxCenterFrac)
static bool OnTileCollide(Projectile projectile, Vector2 oldVelocity)
This serves as the central class from which projectile-related functions are carried out....
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...
void UpdatePosition(Vector2 wetVelocity)
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla projectile AI styles are enumerated in t...
int damage
This will always be set in Projectile.NewProjectile based on the weapons damage and player stat modif...
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
bool netUpdate
Set manually to true in M:Terraria.ModLoader.ModProjectile.AI once to make it sync its current F:Terr...
int penetrate
The remaining number of npc can this projectile hit before dying. (Or tile bounces)....
int alpha
How transparent to draw this projectile. 0 to 255. 255 is completely transparent. ExampleBulletsets...
IEntitySource GetProjectileSource_FromThis()
float[] localAI
Acts like F:Terraria.Projectile.ai, but does not sync to the server. Many vanilla T:Terraria....
int FindTargetWithLineOfSight(float maxRange=800f)
Finds the closest NPC to this projectile which can be targeted and which it has line of sight to.
bool friendly
If True, this projectile will hurt enemies (!F:Terraria.NPC.friendly) Defaults to false.
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...
bool tileCollide
If true, the projectile will collide with tiles, usually bouncing or killing the tile depending on M:...
void MakeBoulderOfEarthExplosion()
int timeLeft
Time in ticks before this projectile will naturally despawn. Each update timeLeft is decreased by 1...
float rotation
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want...
bool hostile
If True, this projectile will hurt players and friendly NPCs (F:Terraria.NPC.friendly) Defaults to ...
bool trap
If true, this projectile was spawned by a trap tile.
void LightDisc_Bounce(Vector2 hitPoint, Vector2 normal)
void AI_015_HandleMovementCollision(ref Vector2 wetVelocity, ref Vector2 lastVelocity)
float scale
Scales how large the projectile will be drawn. Will also affect the hitbox (F:Terraria....
static int NewProjectile(IEntitySource spawnSource, Vector2 position, Vector2 velocity, int Type, int Damage, float KnockBack, int Owner=-1, float ai0=0f, float ai1=0f, float ai2=0f)
This particular overload uses a Vector2 instead of X and Y to determine the actual spawn position and...

References Terraria.Projectile.ai, Terraria.Projectile.AI_015_HandleMovementCollision(), Terraria.Projectile.aiStyle, Terraria.Projectile.alpha, Terraria.Collision.AnyCollisionWithSpecificTiles(), Terraria.Chat.ChatHelper.BroadcastChatMessage(), Terraria.WorldGen.CanCutTile(), Terraria.Projectile.CanCutTiles(), Terraria.Collision.CanHitLine(), Terraria.ID.TileID.Sets.CrackedBricks, Terraria.Projectile.damage, Terraria.Projectile.Damage(), Terraria.Projectile.decidesManualFallThrough, Terraria.Entity.DirectionTo(), Terraria.Entity.Distance(), Terraria.Main.dust, Terraria.ID.TileID.Sets.Falling, Terraria.ID.ProjectileID.Sets.FallingBlockDoesNotFallThroughPlatforms, Terraria.Projectile.FindTargetWithLineOfSight(), Terraria.ID.ProjectileID.Sets.ForcePlateDetection, Terraria.Projectile.friendly, Terraria.Localization.NetworkText.FromKey(), Terraria.Utils.GetLerpValue(), Terraria.Lang.GetProjectileName(), Terraria.Projectile.GetProjectileSource_FromThis(), Terraria.Entity.height, Terraria.Collision.HitTiles(), Terraria.Entity.honeyWet, Terraria.Projectile.hostile, Terraria.Main.hslToRgb(), Terraria.ID.SoundID.Item10, Terraria.ID.SoundID.Item114, Terraria.ID.SoundID.Item115, Terraria.Projectile.Kill(), Terraria.WorldGen.KillTile(), Terraria.Projectile.LightDisc_Bounce(), Terraria.Projectile.localAI, Terraria.Projectile.MakeBoulderOfEarthExplosion(), Terraria.Main.maxTilesX, Terraria.Main.maxTilesY, Terraria.Main.myPlayer, Terraria.Main.netMode, Terraria.Projectile.netUpdate, Terraria.Dust.NewDust(), Terraria.Projectile.NewProjectile(), Terraria.Main.NewText(), Terraria.Main.npc, Terraria.Projectile.numUpdates, Terraria.Entity.oldPosition, Terraria.ModLoader.ProjectileLoader.OnTileCollide(), Terraria.Projectile.owner, Terraria.Projectile.penetrate, Terraria.Main.player, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Entity.position, Terraria.Main.projectile, Terraria.Main.projPet, Terraria.Main.rand, Terraria.NPC.ReleaseNPC(), Terraria.Utils.RotatedByRandom(), Terraria.Projectile.rotation, Terraria.Projectile.scale, Terraria.NetMessage.SendData(), Terraria.Entity.shimmerWet, Terraria.Projectile.shouldFallThrough, Terraria.Collision.SlopeCollision(), Terraria.Collision.SwitchTiles(), Terraria.Main.tile, Terraria.Projectile.tileCollide, Terraria.ModLoader.ProjectileLoader.TileCollideStyle(), Terraria.Collision.TileCollision(), Terraria.Projectile.timeLeft, Terraria.Projectile.trap, Terraria.GameContent.PortalHelper.TryPlacingPortal(), Terraria.Projectile.type, Terraria.Projectile.UpdatePosition(), Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.whoAmI, and Terraria.Entity.width.

Referenced by Terraria.Projectile.Update().

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