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

◆ Deserialize()

override bool Terraria.GameContent.NetModules.NetTextModule.Deserialize ( BinaryReader reader,
int senderPlayerId )
inline

Definition at line 49 of file NetTextModule.cs.

50 {
51 if (Main.dedServ)
52 {
53 return DeserializeAsServer(reader, senderPlayerId);
54 }
55 return DeserializeAsClient(reader, senderPlayerId);
56 }
bool DeserializeAsClient(BinaryReader reader, int senderPlayerId)
bool DeserializeAsServer(BinaryReader reader, int senderPlayerId)

References Terraria.Main.dedServ, Terraria.GameContent.NetModules.NetTextModule.DeserializeAsClient(), and Terraria.GameContent.NetModules.NetTextModule.DeserializeAsServer().