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

◆ Draw()

override void Terraria.GameContent.Animations.Segments.PlayerSegment.Draw ( GameAnimationSegment info)
inline

Definition at line 200 of file Segments.cs.

201 {
202 int timeInAnimation = info.TimeInAnimation;
203 float dedicatedTimeNeeded = base.DedicatedTimeNeeded;
204 int timeInAnimation2 = info.TimeInAnimation;
206 int timeInAnimation3 = info.TimeInAnimation;
207 Player player = this._player;
208 float displayOpacity = info.DisplayOpacity;
209 this._player.ResetEffects();
212 this._player.UpdateDyes();
213 this._player.PlayerFrame();
214 Player player2 = this._player;
215 int num = 1;
216 player2.socialIgnoreLight = num != 0;
217 float x = player2.position.X;
218 float y = player2.position.Y;
219 if (num == 0)
220 {
221 }
222 Vector2 screenPosition = Main.screenPosition;
223 if (num == 0)
224 {
225 }
227 Player player3 = this._player;
228 int width = player3.width;
229 int height = player3.height;
230 float x2 = player3.position.X;
231 float y2 = player3.position.Y;
233 player3.position.Y = (float)height;
234 Player player4 = this._player;
235 float displayOpacity2 = info.DisplayOpacity;
236 float opacityForAnimation = player4.opacityForAnimation;
237 Item[] inventory = player4.inventory;
239 Vector2 position = player2.position;
240 if (player4 == null)
241 {
242 }
243 if (this._shaderEffect != null)
244 {
245 return;
246 }
247 Camera camera = Main.Camera;
248 Player player5 = this._player;
249 float x3 = player5.position.X;
250 float y3 = player5.position.Y;
251 float x4 = player5.fullRotationOrigin.X;
252 float y4 = player5.fullRotationOrigin.Y;
253 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
Segments.PlayerSegment.IShaderEffect _shaderEffect
Definition Segments.cs:291
void ResetPlayerAnimation(GameAnimationSegment info)
Definition Segments.cs:256
void ResetEffects()
Definition Player.cs:5650
float opacityForAnimation
Definition Player.cs:21686
void ResetVisibleAccessories()
Definition Player.cs:8991
void UpdateDyes()
Definition Player.cs:3749
void UpdateMiscCounter()
Definition Player.cs:8479
void PlayerFrame()
Definition Player.cs:10462

References Terraria.GameContent.Animations.Segments.PlayerSegment._player, Terraria.GameContent.Animations.Segments.PlayerSegment._shaderEffect, Terraria.Main.Camera, Terraria.GameContent.Animations.GameAnimationSegment.DisplayOpacity, System.info, j__TPar, Terraria.Player.PlayerFrame(), Terraria.Entity.position, Terraria.Player.ResetEffects(), Terraria.GameContent.Animations.Segments.PlayerSegment.ResetPlayerAnimation(), Terraria.Player.ResetVisibleAccessories(), Terraria.Main.screenPosition, Terraria.Player.UpdateDyes(), Terraria.Player.UpdateMiscCounter(), Terraria.Entity.width, and Microsoft.Xna.Framework.Vector2.X.