11863 {
11864 int num = 0;
11865 num += bodyFrame.Y / 56;
11866 if (num >= Main.OffsetsPlayerHeadgear.Length)
11867 {
11868 num = 0;
11869 }
11876 {
11878 }
11880 {
11882 }
11884 {
11887 }
11893 {
11896 {
11898 }
11901 {
11903 }
11904 }
11906 {
11909 }
11913 vector7.Y -=
num3 / 2f;
11914 vector6.Y -=
num3 / 2f;
11917 {
11918 case 1:
11919 return;
11920 case 2:
11922 break;
11923 case 3:
11925 break;
11926 case 4:
11928 break;
11929 case 5:
11931 break;
11932 case 6:
11934 break;
11935 case 7:
11937 break;
11938 }
11940 {
11941 DelegateMethods.v3_1 = Main.hslToRgb(Main.rgbToHsl(
eyeColor).X, 1f, 0.5f).ToVector3() * 0.5f *
num4;
11943 {
11944 Utils.PlotTileLine(
base.Center,
base.Center +
velocity * 2f, 4f, DelegateMethods.CastLightOpen);
11945 }
11946 else
11947 {
11948 Utils.PlotTileLine(
base.Left,
base.Right, 4f, DelegateMethods.CastLightOpen);
11949 }
11950 }
11953 {
11955 }
11957 {
11958 Dust
obj = Main.dust[Dust.NewDust(
base.Center, 0, 0, 182)];
11960 obj.noGravity = true;
11962 obj.customData = this;
11965 }
11966 }
static float Lerp(float value1, float value2, float amount)
static double Abs(double value)
static int Sign(decimal value)
static ArmorShaderDataSet Armor
PlayerSittingHelper sitting
Vector2 fullRotationOrigin
static float Distance(Vector2 value1, Vector2 value2)
static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount)
void GetSittingOffsetInfo(Player player, out Vector2 posOffset, out float seatAdjustment)