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

◆ DrawImmediateBatch()

void Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawImmediateBatch ( Effect effect)
inline

Definition at line 69 of file SpriteBatcher.cs.

70 {
72 if (batchItemCount != 0)
73 {
74 if (batchItemCount == 0)
75 {
76 }
77 int num = 1;
78 if (num == 0)
79 {
80 }
81 int value = num.m_value;
82 if (!true)
83 {
84 }
85 int num2 = 1;
86 if (num2 == 0)
87 {
88 }
89 if (num2 == 0)
90 {
91 if (num2 == 0)
92 {
93 }
94 bool gameMenu = Main.gameMenu;
95 if (num2 == 0)
96 {
97 }
98 int myPlayer = Main.myPlayer;
99 if (num2 == 0)
100 {
101 }
102 int screenHeight = Main.screenHeight;
103 }
105 SpriteBatcher.VertexData[] array = this.vertexData;
106 string name = overloadedEffectPass.Name;
107 if (array != null)
108 {
109 return;
110 }
111 int vertexOffset = this._vertexOffset;
112 int indexOffset = this._indexOffset;
113 int vertexOffset2 = this._vertexOffset;
114 int batchIndex = overloadedEffectPass.BatchIndex;
118 int vertexOffset3 = this._vertexOffset;
119 GraphicsDevice device = this._device;
121 Texture2D[] textures = device.Textures;
122 if (name != null && name == null)
123 {
124 throw new ArrayTypeMismatchException();
125 }
126 textures.<Name>k__BackingField = name;
127 Effect effect2 = overloadedEffectPass._effect;
128 if (this._vertexOffset == 0)
129 {
130 }
131 int num3 = 1;
132 if (num3 == 0)
133 {
134 }
135 int value2 = num3.m_value;
136 if (!true)
137 {
138 }
139 int num4 = 1;
140 if (num4 == 0)
141 {
142 }
143 if (num4 == 0)
144 {
145 if (num4 == 0)
146 {
147 }
148 bool gameMenu2 = Main.gameMenu;
149 if (num4 == 0)
150 {
151 }
152 int myPlayer2 = Main.myPlayer;
153 if (num4 == 0)
154 {
155 }
157 }
158 int vertexOffset4 = this._vertexOffset;
162 }
163 }
class f__AnonymousType0<< Count > j__TPar
Dictionary< int, SpriteBatchItemList > _activeBatchLists
static int myPlayer
Definition Main.cs:2337
static int screenHeight
Definition Main.cs:2015
static bool gameMenu
Definition Main.cs:2673

References Microsoft.Xna.Framework.Graphics.SpriteBatcher._activeBatchLists, Microsoft.Xna.Framework.Graphics.SpriteBatcher._batchItemCount, Microsoft.Xna.Framework.Graphics.SpriteBatcher._batchItemList, Microsoft.Xna.Framework.Graphics.SpriteBatcher._device, Microsoft.Xna.Framework.Graphics.SpriteBatcher._indexOffset, Microsoft.Xna.Framework.Graphics.SpriteBatcher._materialOffset, Microsoft.Xna.Framework.Graphics.SpriteBatcher._vertexOffset, System.array, Microsoft.Xna.Framework.Graphics.EffectPass.BatchIndex, Terraria.Main.gameMenu, j__TPar, Terraria.Main.myPlayer, Microsoft.Xna.Framework.Graphics.EffectPass.Name, System.name, System.Name, Microsoft.Xna.Framework.Graphics.SpriteBatchItem.OverloadedEffectPass, Terraria.Main.screenHeight, Microsoft.Xna.Framework.Graphics.GraphicsDevice.Textures, System.value, and Microsoft.Xna.Framework.Graphics.SpriteBatcher.vertexData.

Referenced by Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), and Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushIfNeeded().