-
Notifications
You must be signed in to change notification settings - Fork 20
Library Rangers Converse
Gabriel edited this page Sep 26, 2023
·
3 revisions
Provides methods for manipulating Converse data.
Functions;
-
string ReadAttributes(string in_text)
- parses Converse attributes from the input Unicode string and returns the input string where those attributes now have XML representation for interoperability with Puyo Text Editor. -
string WriteAttributes(string in_text, XElement in_element = null)
- encodes Converse attributes from the input string containing XML representations of them back into their binary form. -
bool IsAttribute(char in_char)
- returns whether the input character is a Converse attribute. -
string OmitAttributes(string in_text)
- omits Converse attributes from the input Unicode string. -
Language GetCurrentLanguage()
- returns the language the game is outputting text in. -
void AddConverseNotifyAction(TConverseNotifyAction in_action, bool in_isRawAttributes = false)
- registers a function of theTConverseNotifyAction
type into the event handler for when Converse strings are loaded. -
void RemoveConverseNotifyAction(TConverseNotifyAction in_action)
- removes a function of theTConverseNotifyAction
type. -
void Redirect(string in_key, string in_text, bool in_isRawAttributes = false)
- redirects a string belonging to a specific key to a custom string (this will create a new string if the key does not exist). -
void Replace(string in_pattern, string in_replacement, bool in_isRegex = false, bool in_isRawAttributes = false)
- creates a string replacement event that replaces a substring in a Converse string when it gets loaded. -
void Restore(string in_key)
- unregisters a redirected key or replacement pattern from the event handler.
Types;
-
enum Language
- an enum representing the supported languages by Sonic Frontiers.
- Home
- Codes
-
Libraries
- Getting started
- Features
-
Usage
- Static reference
- Include reference
- Global
- Sonic Frontiers
- Sonic Origins