tModLoader v2024.10
A mod to make and play Terraria mods
|
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) |
|
virtual |
Implements NetModule.