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

◆ Counterweight()

void Terraria.Player.Counterweight ( Microsoft::Xna::Framework::Vector2 hitPos,
int dmg,
float kb )
inline

Definition at line 4150 of file Player.cs.

4151 {
4152 int num;
4153 if (!this.yoyoGlove)
4154 {
4155 num = this.counterWeight;
4156 }
4157 if (num == 0)
4158 {
4159 }
4160 int whoAmI;
4161 if (num != 0)
4162 {
4163 if (num == 0)
4164 {
4165 }
4166 whoAmI = this.whoAmI;
4167 if (num == 0)
4168 {
4169 }
4170 if (num != 0)
4171 {
4172 return;
4173 }
4174 if (num == 0)
4175 {
4176 }
4177 }
4178 bool flag = this.yoyoGlove;
4179 if (flag)
4180 {
4181 Microsoft.Xna.Framework.Vector2 center = base.Center;
4182 if (!flag)
4183 {
4184 }
4186 vector.Normalize();
4187 if (!flag)
4188 {
4189 }
4190 if (whoAmI == 0)
4191 {
4192 }
4195 int whoAmI2 = this.whoAmI;
4196 return;
4197 }
4201 if (whoAmI == 0)
4202 {
4203 }
4206 int num2 = this.counterWeight;
4207 int whoAmI3 = this.whoAmI;
4208 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Player.counterWeight, j__TPar, Microsoft.Xna.Framework.Vector2.Normalize(), Terraria.Entity.whoAmI, and Terraria.Player.yoyoGlove.