NetModuleParticles
public struct NetModuleParticles : NetModule
This is a struct for the Particles NetModule.
-
Undocumented
Declaration
Swift
public var type: UInt8
-
Undocumented
Declaration
Swift
public var position: SIMD2<Float32>
-
Undocumented
Declaration
Swift
public var velocity: SIMD2<Float32>
-
Undocumented
Declaration
Swift
public var shaderIndex: Int32
-
Undocumented
Declaration
Swift
public var playerId: UInt8
-
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public init(type: UInt8, position: SIMD2<Float32>, velocity: SIMD2<Float32>, shaderIndex: Int32, playerId: UInt8)
-
Declaration
Swift
public mutating func decode(_ reader: BinaryReader, _ context: TerrariaPacketContext) throws
-
Declaration
Swift
public mutating func encode(_ writer: BinaryWriter, _ context: TerrariaPacketContext) throws