41192 {
41194 {
41196 return;
41197 }
41199 {
41201 return;
41202 }
41203 int num = 477;
41204 int num2 = num / 2;
41206 num = 511;
41207 num -= num / 2 -
num2 - 26;
41216 {
41218 }
41220 {
41222 }
41224 {
41226 }
41228 {
41230 }
41232 {
41234 }
41236 {
41238 }
41241 {
41243 }
41245 vector.Y += 18f;
41246 vector.X += 58f;
41252 float num11 = 0.9f;
41257 bool flag2 =
false;
41259 {
41261 }
41263 bool flag3 =
false;
41266 {
41270 {
41272 }
41275 }
41276 else
41277 {
41279 {
41281 }
41283 }
41284 for (
int i = 0;
i < 5;
i++)
41285 {
41290 {
41292 }
41294 {
41296 }
41298 {
41300 }
41302 {
41304 }
41306 {
41308 }
41310 {
41312 }
41315 DynamicSpriteFontExtensionMethods.
DrawString(
spriteBatch,
FontAssets.
MouseText.Value, textValue,
new Vector2((
float)
num14 +
vector3.X, (float)
num15 +
vector3.Y),
color2, 0f,
vector3,
num11,
SpriteEffects.None, 0f);
41316 }
41320 bool flag4 =
false;
41324 {
41328 {
41330 }
41333 }
41334 else
41335 {
41337 {
41339 }
41341 }
41342 for (
int j = 0;
j < 5;
j++)
41343 {
41348 {
41350 }
41352 {
41354 }
41356 {
41358 }
41360 {
41362 }
41364 {
41366 }
41368 {
41370 }
41373 DynamicSpriteFontExtensionMethods.
DrawString(
spriteBatch,
FontAssets.
MouseText.Value,
textValue2,
new Vector2((
float)
num16 +
vector4.X, (float)
num17 +
vector4.Y),
color3, 0f,
vector4,
num11,
SpriteEffects.None, 0f);
41374 }
41376 {
41378 {
41380 return;
41381 }
41383 {
41385 return;
41386 }
41387 }
41389 {
41392 }
41399 {
41403 }
41404 else
41405 {
41409 }
41412 {
41414 }
41417 {
41422 {
41424 }
41426 {
41428 }
41430 }
41435 {
41439 }
41441 {
41443 }
41446 {
41451 {
41453 }
41455 {
41457 }
41459 }
41463 float num21 = 0.15f;
41465 {
41469 }
41471 {
41473 }
41476 {
41481 {
41483 }
41485 {
41487 }
41490 }
41494 {
41496 }
41498 {
41500 }
41502 {
41504 }
41506 {
41508 }
41510 {
41512 }
41514 {
41516 }
41520 for (
int m = 0;
m < 6;
m++)
41521 {
41523 {
41524 spriteBatch.Draw(
TextureAssets.
InventoryBack14.Value,
new Vector2(
num22,
num23),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0,
TextureAssets.
InventoryBack.Width(),
TextureAssets.
InventoryBack.Height()),
new Microsoft.
Xna.
Framework.
Color(200, 200, 200, 200), 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
41525 }
41526 else
41527 {
41528 spriteBatch.Draw(
TextureAssets.
InventoryBack8.Value,
new Vector2(
num22,
num23),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0,
TextureAssets.
InventoryBack.Width(),
TextureAssets.
InventoryBack.Height()),
new Microsoft.
Xna.
Framework.
Color(200, 200, 200, 200), 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
41529 }
41531 {
41538 }
41543 {
41545 }
41547 {
41549 }
41551 {
41553 }
41555 {
41557 }
41559 {
41561 }
41563 {
41565 }
41566 spriteBatch.Draw(
TextureAssets.
Clothes[
m].Value,
new Vector2(x, y),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0,
TextureAssets.
Clothes[
m].Width(),
TextureAssets.
Clothes[
m].Height()),
color6, 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
41568 {
41571 }
41575 {
41578 }
41580 {
41582 }
41584 {
41587 }
41588 }
41589 dresserInterfaceDummy.skinVariant =
player[
myPlayer].skinVariant;
41595 dresserInterfaceDummy.underShirtColor =
player[
myPlayer].underShirtColor;
41599 dresserInterfaceDummy.direction = -1;
41600 dresserInterfaceDummy.gravDir = 1f;
41602 dresserInterfaceDummy.socialIgnoreLight = true;
41604 if (flag)
41605 {
41608 {
41612 }
41613 }
41619 }
static void DrawString(this SpriteBatch spriteBatch, DynamicSpriteFont spriteFont, string text, Vector2 position, Color color)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
static void PlaySound(int type, Vector2 position, int style=1)
static Asset< DynamicSpriteFont > MouseText
static Asset< Texture2D > ColorHighlight
static Asset< Texture2D > InventoryBack8
static Asset< Texture2D > InventoryBack
static Asset< Texture2D > Hue
static Asset< Texture2D > ClothesStyleBack
static Asset< Texture2D > ColorSlider
static Asset< Texture2D > InventoryBack14
static Asset< Texture2D > ColorBlip
static Asset< Texture2D >[] Clothes
static Asset< Texture2D > ColorBar
static string GetTextValue(string key)
static bool npcChatFocus1
static int interactedDresserTopLeftX
static Microsoft.Xna.Framework.Color[] oldClothesColor
static bool npcChatFocus2
static string npcChatText
static SpriteBatch spriteBatch
static Microsoft.Xna.Framework.Color selColor
static IPlayerRenderer PlayerRenderer
static bool mouseLeftRelease
static Vector2 screenPosition
static Vector2 MouseScreen
static byte mouseTextColor
static Matrix UIScaleMatrix
static Microsoft.Xna.Framework.Color OurFavoriteColor
static void SaveClothesWindow()
static bool InGuideCraftMenu
static Vector3 rgbToHsl(Microsoft.Xna.Framework.Color newColor)
static int interactedDresserTopLeftY
static bool playerInventory
static void CycleClothingStyle(Player plr)
static Player dresserInterfaceDummy
static Microsoft.Xna.Framework.Color hslToRgb(Vector3 hslVector)
static IAssetRepository Assets
static Player LocalPlayer
static int oldClothesStyle
static void CancelClothesWindow(bool quiet=false)
static void SetPosition(int ID, Vector2 Position)