tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.NetModules.NetTeleportPylonModule Class Reference

Inherits Terraria.Net.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 Terraria.Net.NetModule
static NetPacket CreatePacket< T > (int maxSize)

Member Function Documentation

◆ Deserialize()

override bool Terraria.GameContent.NetModules.NetTeleportPylonModule.Deserialize ( BinaryReader  reader,
int  userId