1881 {
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917 Color color = Color.Lerp(Color.Gray, Color.White,
colorScale);
1918 if (
over !=
default(Color))
1919 {
1921 }
1922 Vector2
vector = Utils.DrawBorderString(sb,
txt, anchor +
offset * (
float)(1 + i), color, scale, 0.5
f, 0.5
f);
1924 Rectangle
val =
new Rectangle((
int)anchor.X - (
int)
vector.X / 2, (
int)anchor.Y + (
int)(
offset.Y * (
float)(1 + i)) - (
int)
vector.Y / 2, (
int)
vector.X, (
int)
vector.Y);
1925 bool flag = ((Rectangle)(
ref val)).Contains(
new Point(Main.mouseX, Main.mouseY));
1927 {
1928 return false;
1929 }
1931 {
1933 return true;
1934 }
1935 return false;
1936 }
static bool _canConsumeHover
static Vector2 valuePosition