tModLoader v2024.04
A mod to make and play Terraria mods
NetTextModule Class Reference

Inherits NetModule.

Public Member Functions

override bool Deserialize (BinaryReader reader, int senderPlayerId)
abstract bool Deserialize (BinaryReader reader, int userId)

Static Public Member Functions

static NetPacket SerializeClientMessage (ChatMessage message)
static NetPacket SerializeServerMessage (NetworkText text, Color color)
static NetPacket SerializeServerMessage (NetworkText text, Color color, byte authorId)

Additional Inherited Members

- Static Protected Member Functions inherited from NetModule
static NetPacket CreatePacket< T > (int maxSize)

Member Function Documentation

◆ Deserialize()

override bool NetTextModule.Deserialize ( BinaryReader  reader,
int  senderPlayerId 

Implements NetModule.