|
static string | EncodeFormat (string text, string p1=string.Empty, string p2=string.Empty, string p3=string.Empty, string p4=string.Empty, string p5=string.Empty, string p6=string.Empty, string p7=string.Empty, string p8=string.Empty, string p9=string.Empty) |
| Encode text with params to single-line text.
|
|
static string | DecodeFormat (string text, out string p1, out string p2, out string p3, out string p4, out string p5, out string p6, out string p7, out string p8, out string p9) |
| Decode single-line text with params to individual strings.
|
|
static void | SetTextFormat (TextWidget w, string text) |
| Apply text with expected single-line params to text widget.
|
|
◆ AppendParam()
static bool SCR_LocalizationTools.AppendParam |
( |
out string | text, |
|
|
string | p ) |
|
staticprotected |
◆ DecodeFormat()
static string SCR_LocalizationTools.DecodeFormat |
( |
string | text, |
|
|
out string | p1, |
|
|
out string | p2, |
|
|
out string | p3, |
|
|
out string | p4, |
|
|
out string | p5, |
|
|
out string | p6, |
|
|
out string | p7, |
|
|
out string | p8, |
|
|
out string | p9 ) |
|
static |
Decode single-line text with params to individual strings.
- Parameters
-
| text | Text with expected params |
[out] | p1-p9 | Params |
- Returns
- Decoded text body
◆ EncodeFormat()
static string SCR_LocalizationTools.EncodeFormat |
( |
string | text, |
|
|
string | p1 = string::Empty, |
|
|
string | p2 = string::Empty, |
|
|
string | p3 = string::Empty, |
|
|
string | p4 = string::Empty, |
|
|
string | p5 = string::Empty, |
|
|
string | p6 = string::Empty, |
|
|
string | p7 = string::Empty, |
|
|
string | p8 = string::Empty, |
|
|
string | p9 = string::Empty ) |
|
static |
Encode text with params to single-line text.
- Parameters
-
text | Text body |
p1-p9 | Params |
- Returns
- Encoded text. Remains unchanged if there were no params provided.
◆ SetTextFormat()
static void SCR_LocalizationTools.SetTextFormat |
( |
TextWidget | w, |
|
|
string | text ) |
|
static |
Apply text with expected single-line params to text widget.
- Parameters
-
w | Text widget |
text | Text with expected params |
◆ FORMAT_TAG
const string SCR_LocalizationTools.FORMAT_TAG = "##" |
|
static |
The documentation for this interface was generated from the following file:
- Game/Global/SCR_LocalizationTools.c