terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Rename()

void Terraria.IO.PlayerFileData.Rename ( string newName)
inline

Definition at line 264 of file PlayerFileData.cs.

265 {
266 Player player = this._player;
267 if (player != null)
268 {
269 string text = newName.Trim();
271 }
272 if (!true)
273 {
274 }
275 long num = 0L;
276 long num2 = 0L;
277 Player.SavePlayer(this, num != 0L, num2 != 0L);
278 }
class f__AnonymousType0<< Count > j__TPar
static void SavePlayer(PlayerFileData playerFile, bool skipMapSave=false, bool forceSave=false)
Definition Player.cs:18657

References Terraria.IO.PlayerFileData._player, j__TPar, System.L, Terraria.Player.SavePlayer(), and System.text.