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()

void GUIHairWindow.DrawPlayer ( )
inlineprivate

Definition at line 190 of file GUIHairWindow.cs.

191 {
192 Player player = this.clonePlayer;
193 if (player == null)
194 {
195 }
196 int myPlayer = Main.myPlayer;
199 player3.hair = player;
200 player3.skinColor = player;
207 player4.shoeColor = player;
209 Item[] armor = player5.armor;
211 long entityId = armor.entityId;
212 Item blankItem = this._blankItem;
213 if (blankItem == null || blankItem != null)
214 {
216 Item[] armor2 = player6.armor;
217 player6.PlayerFrame();
218 Main.gameMenu = true;
220 float x = this.CharacterDrawOffset.X;
221 float y = this.CharacterDrawOffset.Y;
222 if (player == null)
223 {
224 }
225 Main.gameMenu = false;
226 return;
227 }
228 throw new ArrayTypeMismatchException();
229 }
class f__AnonymousType0<< Count > j__TPar
Microsoft.Xna.Framework.Vector2 CharacterDrawOffset
static int myPlayer
Definition Main.cs:2337

References _blankItem, CharacterDrawOffset, clonePlayer, Terraria.Entity.entityId, j__TPar, and Terraria.Main.myPlayer.

Referenced by Draw().