terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Classes | |
struct | CharacterRegion |
struct | CharacterSource |
class | CharComparer |
class | Errors |
struct | Glyph |
Public Member Functions | |
SpriteFont () | |
SpriteFont (Texture2D[] textures, SpriteFont.Glyph[] glyphs, int lineSpacing, float spacing, char? defaultCharacter) | |
Dictionary< char, SpriteFont.Glyph > | GetGlyphs () |
Vector2 | MeasureString (string text) |
int | GetMaxCharacterIndex (string text, int startIndex, int endIndex, float scale, float maxWidth) |
Vector2 | MeasureString (string text, int startIndex, int endIndex) |
Vector2 | MeasureString (StringBuilder text, int startIndex, int endIndex) |
Vector2 | MeasureString (StringBuilder text) |
bool | HasCharacter (char c) |
string | CreateWrappedText (string text, float maxWidth) |
string | CreateWrappedText (string text, float maxWidth, CultureInfo culture) |
SpriteFont.Glyph | GetCharacterMetrics (char character) |
Package Functions | |
void | MeasureMaxString (ref SpriteFont.CharacterSource text, out int lastCharacter, float maxWidth, float scale) |
void | MeasureString (ref SpriteFont.CharacterSource text, out Vector2 size) |
bool | TryGetGlyphIndex (char c, out int index) |
int | GetGlyphIndexOrDefault (char c) |
Properties | |
SpriteFont.Glyph[] | Glyphs [get, set] |
Texture2D[] | Textures [get, set] |
char? | DefaultCharacter [get, set] |
int | LineSpacing [get, set] |
float | Spacing [get, set] |
Private Attributes | |
readonly SpriteFont.Glyph[] | _glyphs |
Dictionary< char, int > | _glyphIndex |
char? | _defaultCharacter |
int | _defaultGlyphIndex |
readonly Texture2D[] | _textures |
int< LineSpacing > | k__BackingField |
float< Spacing > | k__BackingField |
Definition at line 26 of file SpriteFont.cs.