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

◆ Append() [2/2]

void ReLogic.Text.WrappedTextBuilder.Append ( WrappedTextBuilder::NonBreakingText textToken)
inlineprivate

Definition at line 32 of file WrappedTextBuilder.cs.

33 {
34 if (this._workingLine.Length != 0)
35 {
36 SpriteFont font = this._font;
38 float width = textToken.Width;
39 float widthOnNewLine = textToken.WidthOnNewLine;
40 float <Spacing>k__BackingField = font.<Spacing>k__BackingField;
41 return;
42 }
43 float widthOnNewLine2 = textToken.WidthOnNewLine;
44 float maxWidth = this._maxWidth;
45 if (this._workingLine.Length != 0)
46 {
47 this.CommitWorkingLine();
48 }
49 float maxWidth2 = this._maxWidth;
50 string text;
51 this.Append(text);
52 }
class f__AnonymousType0<< Count > j__TPar
readonly StringBuilder _workingLine
void Append(WrappedTextBuilder.NonBreakingText textToken)

References ReLogic.Text.WrappedTextBuilder._font, ReLogic.Text.WrappedTextBuilder._maxWidth, ReLogic.Text.WrappedTextBuilder._workingLine, ReLogic.Text.WrappedTextBuilder._workingLineWidth, ReLogic.Text.WrappedTextBuilder.Append(), ReLogic.Text.WrappedTextBuilder.CommitWorkingLine(), j__TPar, System.Text.StringBuilder.Length, and System.text.

Referenced by ReLogic.Text.WrappedTextBuilder.Append().