TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Deserialize() [1/2]

static void Terraria.Player.Deserialize ( PlayerFileData data,
Player newPlayer,
BinaryReader fileIO,
int release,
out bool gotToReadName )
inlinestaticprivate

Definition at line 55774 of file Player.cs.

55775 {
55776 if (!PlayerIO.TryLoadData(data.Path, data.IsCloudSave, out var tag))
55777 {
55778 tag = null;
55779 }
55781 }
static bool TryLoadData(string path, bool isCloudSave, out TagCompound tag)
Definition PlayerIO.cs:96
static void Deserialize(PlayerFileData data, Player newPlayer, BinaryReader fileIO, int release, out bool gotToReadName)
Definition Player.cs:55774

References Terraria.Player.Deserialize(), Terraria.IO.FileData.IsCloudSave, Terraria.IO.FileData.Path, and Terraria.ModLoader.IO.PlayerIO.TryLoadData().

Referenced by Terraria.Player.Deserialize(), Terraria.Player.LoadPlayer(), and Terraria.Player.SerializedClone().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: