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

◆ Apply()

void TransactionButtonStyle_Definition.Apply ( TransactionButton_Layout layout)
inline

Definition at line 11 of file TransactionButtonStyle_Definition.cs.

12 {
13 float scale = this.Scale;
14 Texture_Layout backingDisabled = layout.BackingDisabled;
15 layout.Scale = scale;
16 Color color = this.Color;
17 layout.Color = color;
23 Texture_Layout backingNormal2 = layout.BackingNormal;
24 string textureId2 = backingNormal.TextureId;
27 Texture_Layout backingPressed2 = layout.BackingPressed;
28 string textureId3 = backingPressed.TextureId;
31 Texture_Layout backingPressedHighlight2 = layout.BackingPressedHighlight;
32 string textureId4 = backingPressedHighlight.TextureId;
35 Texture_Layout overBackingHighlight = layout.OverBackingHighlight;
39 bool drawLabel = this.DrawLabel;
40 String_Layout label = layout.Label;
42 bool drawIcon = this.DrawIcon;
44 bool drawItem = this.DrawItem;
51 Vector2 location = label2.Location;
52 label.Location = location;
57 bool multiLineUseAlignment = label2.MultiLineUseAlignment;
59 float multilineScale = label2.MultilineScale;
84 Vector2 itemOffset = this.ItemOffset;
86 Texture_Layout defaultItemTexture2 = layout.DefaultItemTexture;
87 string textureId6 = defaultItemTexture.TextureId;
90 Texture_Layout highlightBackingDisabled = layout.HighlightBackingDisabled;
96 bool flag = this.overloadSize;
98 Vector2 vector = this.overloadedSize;
99 layout.overloadedSize = vector;
103 Texture_Layout highlightBackingNormal = layout.HighlightBackingNormal;
108 Texture_Layout highlightBackingPressed = layout.HighlightBackingPressed;
114 bool drawDivider = this.DrawDivider;
115 Panel_Layout divider = layout.Divider;
118 divider.Copy(divider2);
122 Texture_Layout borderDisabled2 = layout.BorderDisabled;
123 string textureId10 = borderDisabled.TextureId;
126 Texture_Layout borderNormal = layout.BorderNormal;
128 string textureId11 = this.BorderNormal.TextureId;
131 Texture_Layout borderPressed = layout.BorderPressed;
133 string textureId12 = this.BorderPressed.TextureId;
137 }
class f__AnonymousType0<< Count > j__TPar
void Copy(Panel_Layout other)
ControlAnchor.ControlId AnchorControl

References Microsoft.Xna.Framework.Graphics.Color.Color(), String_Layout.AnchorControl, BackingDisabled, BackingNormal, BackingPressed, BackingPressedHighlight, BackingPressedHighlightColour, BorderDisabled, BorderNormal, BorderPressed, Color, ControlIconOffset, Panel_Layout.Copy(), DefaultItemTexture, DisableControlIconResize, DisabledBorderColour, DisabledItemColour, DisabledLabelColour, DisableIconOnFocus, DisableIconResize, DisableItemResize, Divider, DrawControlsIconOnFocus, DrawDivider, DrawIcon, DrawItem, DrawLabel, ForceControlIconScale, ForcedControlIconScale, ForcedIconScale, ForcedItemScale, ForceIconScale, ForceItemScale, HighlightBackingDisabled, HighlightBackingNormal, HighlightBackingPressed, HighlightColour, HighlightDisabledColour, HighlightPressedColour, ItemColour, ItemOffset, j__TPar, Label, NormalBorderColour, OverBackingHighlight, overloadedSize, overloadSize, PressedBorderColour, PressedItemColour, PressedLabelColour, Scale, Texture_Layout.TextureId, UseCirclePickingRegion, and UseDividerHighlightColours.