NetModuleTeleportPylon
public struct NetModuleTeleportPylon : NetModule
This is a struct for the TeleportPylon NetModule.
-
Undocumented
Declaration
Swift
public var action: UInt8 -
Undocumented
Declaration
Swift
public var x: Int16 -
Undocumented
Declaration
Swift
public var y: Int16 -
Undocumented
Declaration
Swift
public var pylonType: UInt8 -
Declaration
Swift
public init() -
Call this function to initialize the NetModule with data.
Usage Example:
Declaration
Swift
public init(action: UInt8, x: Int16, y: Int16, pylonType: UInt8)Parameters
actionUse = 2, Add = , Remove =
xX Coordinate
yY Coordinate
pylonTypeType of pylon
-
Declaration
Swift
public mutating func decode(_ reader: BinaryReader, _ context: TerrariaPacketContext) throws -
Declaration
Swift
public mutating func encode(_ writer: BinaryWriter, _ context: TerrariaPacketContext) throws
NetModuleTeleportPylon Structure Reference