tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.NetModules.NetTeleportPylonModule Class Reference

Inherits Terraria.Net.NetModule.

Public Types

enum class  SubPacketType : byte { PylonWasAdded , PylonWasRemoved , PlayerRequestsTeleport }

Public Member Functions

override 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)