57152 {
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
57190
57191
57192
57193
57194
57195
57196
57197
57198
57199
57200
57201
57202
57203
57204
57205
57206
57207
57208
57209
57210
57211
57212
57213
57214
57215
57216
57217
57218
57219
57220
57221
57222
57223
57224
57225
57226
57227
57228
57229
57230
57231
57232
57233
57234
57235
57236
57237
57238
57239
57240
57241
57242
57243
57244
57245
57246
57247
57248
57249
57250
57251
57252
57253
57254
57255
57256
57257
57258
57259
57260
57261
57262
57263
57264
57265
57266
57267
57268
57269
57270
57271
57272
57273
57274
57275
57276
57277
57278
57279
57280
57281
57282
57283
57284
57285
57286
57287
57288
57289
57290
57291
57292
57293
57294
57295
57296
57297
57298
57299
57300
57301
57302
57303
57304
57305
57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57361 {
57363 return;
57364 }
57366 {
57368 return;
57369 }
57383 {
57385 }
57387 {
57389 }
57391 {
57393 }
57395 {
57397 }
57399 {
57401 }
57403 {
57405 }
57408 {
57410 }
57411 Vector2
vector =
default(Vector2);
57415 Rectangle
r =
default(Rectangle);
57420 Color color = default(Color);
57427 bool flag2 =
false;
57429 {
57431 }
57433 bool flag3 =
false;
57436 {
57440 {
57442 }
57445 }
57446 else
57447 {
57449 {
57451 }
57453 }
57454 for (int i = 0; i < 5; i++)
57455 {
57458 Color
color2 = Color.Black;
57460 {
57462 }
57463 if (i == 0)
57464 {
57466 }
57467 if (i == 1)
57468 {
57470 }
57471 if (i == 2)
57472 {
57474 }
57475 if (i == 3)
57476 {
57478 }
57479 if (i == 4)
57480 {
57482 }
57484 origin *= 0.5f;
57486 }
57490 bool flag4 =
false;
57494 {
57498 {
57500 }
57503 }
57504 else
57505 {
57507 {
57509 }
57511 }
57512 for (
int j = 0;
j < 5;
j++)
57513 {
57516 Color
color3 = Color.Black;
57518 {
57520 }
57522 {
57524 }
57526 {
57528 }
57530 {
57532 }
57534 {
57536 }
57538 {
57540 }
57544 }
57546 {
57548 {
57550 return;
57551 }
57553 {
57555 return;
57556 }
57557 }
57559 {
57562 }
57569 {
57573 }
57574 else
57575 {
57579 }
57582 {
57584 }
57587 {
57592 {
57594 }
57596 {
57598 }
57600 }
57605 {
57609 }
57611 {
57613 }
57616 {
57621 {
57623 }
57625 {
57627 }
57629 }
57633 float num14 = 0.15f;
57635 {
57639 }
57641 {
57643 }
57646 {
57651 {
57653 }
57655 {
57657 }
57660 }
57664 {
57666 }
57668 {
57670 }
57672 {
57674 }
57676 {
57678 }
57680 {
57682 }
57684 {
57686 }
57690 for (
int m = 0;
m < 6;
m++)
57691 {
57693 {
57694 spriteBatch.Draw(
TextureAssets.
InventoryBack14.Value,
new Vector2((
float)
num15, (
float)
num16), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
InventoryBack.Width(),
TextureAssets.
InventoryBack.Height()),
new Color(200, 200, 200, 200), 0
f,
default(Vector2), 1
f, (SpriteEffects)0, 0
f);
57695 }
57696 else
57697 {
57698 spriteBatch.Draw(
TextureAssets.
InventoryBack8.Value,
new Vector2((
float)
num15, (
float)
num16), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
InventoryBack.Width(),
TextureAssets.
InventoryBack.Height()),
new Color(200, 200, 200, 200), 0
f,
default(Vector2), 1
f, (SpriteEffects)0, 0
f);
57699 }
57701 {
57708 }
57711 Color
color6 = Color.White;
57713 {
57715 }
57717 {
57719 }
57721 {
57723 }
57725 {
57727 }
57729 {
57731 }
57733 {
57735 }
57736 spriteBatch.Draw(
TextureAssets.
Clothes[
m].Value,
new Vector2(x, y), (Rectangle?)
new Rectangle(0, 0,
TextureAssets.
Clothes[
m].Width(),
TextureAssets.
Clothes[
m].Height()),
color6, 0
f,
default(Vector2), 1
f, (SpriteEffects)0, 0
f);
57738 {
57739 Texture2D value = Assets.Request<Texture2D>("Images/UI/CharCreation/ColorEyeBack").Value;
57740 spriteBatch.Draw(value,
new Vector2(x, y), (Rectangle?)value.Frame(), Color.White, 0
f,
default(Vector2), 1
f, (SpriteEffects)0, 0
f);
57741 }
57745 {
57748 }
57750 {
57752 }
57754 {
57757 }
57758 }
57759 dresserInterfaceDummy.skinVariant =
player[
myPlayer].skinVariant;
57765 dresserInterfaceDummy.underShirtColor =
player[
myPlayer].underShirtColor;
57769 dresserInterfaceDummy.direction = -1;
57770 dresserInterfaceDummy.gravDir = 1
f;
57772 dresserInterfaceDummy.socialIgnoreLight = true;
57773 Color c =
new Color(46, 106, 98) * 0.6f;
57775 {
57776 c =
new Color(46, 106, 98) * 2
f * 0.6f;
57778 {
57782 }
57783 }
57789 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
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)
Retrieves the text value for a specified localization key. The text returned will be for the currentl...
Contains methods to access or retrieve localization values. The Localization Guideteaches more about ...
static Vector3 rgbToHsl(Color newColor)
static Color hslToRgb(Vector3 hslVector)
static bool npcChatFocus1
static int interactedDresserTopLeftX
static Color[] oldClothesColor
static bool npcChatFocus2
static string npcChatText
static SpriteBatch spriteBatch
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
static IPlayerRenderer PlayerRenderer
static bool mouseLeftRelease
static Vector2 screenPosition
The position of the top left corner of the screen in world coordinates. Modify in M:Terraria....
static Vector2 MouseScreen
Fetches the position of the mouse cursor on the screen. Useful for making things visually happen nea...
static byte mouseTextColor
A value that oscillates between 190 and 255. It is used to drive the slight pulsing color effect seen...
static Matrix UIScaleMatrix
static void SaveClothesWindow()
static Color OurFavoriteColor
static bool InGuideCraftMenu
static int interactedDresserTopLeftY
static bool playerInventory
static void CycleClothingStyle(Player plr)
static Player dresserInterfaceDummy
static Player LocalPlayer
Retrieves the T:Terraria.Player object for the local user. Shorthand for F:Terraria....
static int oldClothesStyle
static void CancelClothesWindow(bool quiet=false)
static void SetPosition(int ID, Vector2 Position)