terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Public Member Functions | |
TextGenerator () | |
TextGenerator (int initialCapacity) | |
void | Invalidate () |
void | GetCharacters (List< UICharInfo > characters) |
void | GetLines (List< UILineInfo > lines) |
void | GetVertices (List< UIVertex > vertices) |
float | GetPreferredWidth (string str, TextGenerationSettings settings) |
float | GetPreferredHeight (string str, TextGenerationSettings settings) |
bool | PopulateWithErrors (string str, TextGenerationSettings settings, GameObject context) |
bool | Populate (string str, TextGenerationSettings settings) |
Protected Member Functions | |
override void | Finalize () |
Package Functions | |
bool | Populate_Internal (string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, [Out] uint error) |
bool | Populate_Internal (string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, VerticalWrapMode verticalOverFlow, HorizontalWrapMode horizontalOverflow, bool updateBounds, TextAnchor anchor, Vector2 extents, Vector2 pivot, bool generateOutOfBounds, bool alignByGeometry, [Out] TextGenerationError error) |
Package Attributes | |
IntPtr | m_Ptr |
Properties | |
int | characterCountVisible [get] |
IList< UIVertex > | verts [get] |
IList< UICharInfo > | characters [get] |
IList< UILineInfo > | lines [get] |
Rect | rectExtents [get] |
int | characterCount [get] |
int | lineCount [get] |
Private Member Functions | |
void IDisposable. | Dispose () |
TextGenerationSettings | ValidatedSettings (TextGenerationSettings settings) |
TextGenerationError | PopulateWithError (string str, TextGenerationSettings settings) |
TextGenerationError | PopulateAlways (string str, TextGenerationSettings settings) |
void | GetVerticesInternal (object vertices) |
void | GetCharactersInternal (object characters) |
void | GetLinesInternal (object lines) |
void | get_rectExtents_Injected ([Out] Rect ret) |
bool | Populate_Internal_Injected (string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, [Out] uint error) |
Static Private Member Functions | |
static IntPtr | Internal_Create () |
static void | Internal_Destroy (IntPtr ptr) |
Private Attributes | |
string | m_LastString |
TextGenerationSettings | m_LastSettings |
bool | m_HasGenerated |
TextGenerationError | m_LastValid |
readonly List< UIVertex > | m_Verts |
readonly List< UICharInfo > | m_Characters |
readonly List< UILineInfo > | m_Lines |
bool | m_CachedVerts |
bool | m_CachedCharacters |
bool | m_CachedLines |
Definition at line 14 of file TextGenerator.cs.