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

◆ DrawPlayer_TransformDrawData()

static void Terraria.DataStructures.PlayerDrawLayers.DrawPlayer_TransformDrawData ( PlayerDrawSet drawinfo,
[Optional] Vector2[] positionalOffsets )
inlinestatic

Definition at line 3475 of file PlayerDrawLayers.cs.

3476 {
3477 Vector2 legsOffset = drawinfo.legsOffset;
3478 int num = 1;
3479 float rotation = drawinfo.rotation;
3480 float x = drawinfo.Position.X;
3481 float y = drawinfo.Position.Y;
3482 if (num == 0)
3483 {
3484 }
3485 Vector2 screenPosition = Main.screenPosition;
3486 if (num == 0)
3487 {
3488 }
3489 float x2 = drawinfo.rotationOrigin.X;
3490 float y2 = drawinfo.rotationOrigin.Y;
3491 Player drawPlayer = drawinfo.drawPlayer;
3492 float x3 = drawinfo.rotationOrigin.X;
3493 float y3 = drawinfo.rotationOrigin.Y;
3494 float x4 = drawPlayer.position.X;
3495 float y4 = drawPlayer.position.Y;
3496 float rotation2 = drawinfo.rotation;
3497 if (drawPlayer == null)
3498 {
3499 }
3500 int size = drawinfo.DustCache._size;
3501 List<int> dustCache = drawinfo.DustCache;
3502 List<int> dustCache2 = drawinfo.DustCache;
3503 int size2 = drawinfo.DustCache._size;
3504 int size3 = drawinfo.GoreCache._size;
3505 List<int> goreCache = drawinfo.GoreCache;
3506 List<int> goreCache2 = drawinfo.GoreCache;
3507 int size4 = drawinfo.GoreCache._size;
3508 long num2 = 0L;
3509 DrawData[] drawDataCache = drawinfo.DrawDataCache;
3510 float rotation3 = drawinfo.rotation;
3511 if (positionalOffsets != null)
3512 {
3513 long value = num2.m_value;
3515 }
3516 }
class f__AnonymousType0<< Count > j__TPar
static readonly long

References System.Collections.Generic.List< T >._size, j__TPar, System.L, long, Terraria.Entity.position, Terraria.DataStructures.DrawData.rotation, Terraria.Main.screenPosition, System.value, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.