string_t

Warning

This datatype will lose it's value after a level change, it is recommended to use native string for data storage.
Otherwise you need to reinitialize it's value everytime the Player enters a new level. (either through transition, load, or new game)

Todo

Serialization might fix this issue?


Methods

  • string ToString() -- Converts string_t value to string value.

Declaration

string_t str;
string_t str = "text";
string_t str("text");
string_t str = string_str; // string
string_t str = string_t_str; // string_t
string_t str(string_str);
string_t str(string_t_str);