tModLoader v2024.11
A mod to make and play Terraria mods
NetTeleportPylonModule Class Reference

Inherits NetModule.

Public Types

enum  SubPacketType : byte { PylonWasAdded , PylonWasRemoved , PlayerRequestsTeleport }
 

Public Member Functions

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

Static Public Member Functions

static NetPacket SerializePylonWasAddedOrRemoved (TeleportPylonInfo info, SubPacketType packetType)
 
static NetPacket SerializeUseRequest (TeleportPylonInfo info)
 

Additional Inherited Members

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

Member Function Documentation

◆ Deserialize()

override bool NetTeleportPylonModule.Deserialize ( BinaryReader  reader,
int  userId 
)
virtual

Implements NetModule.