PacketPlayerHp
public struct PacketPlayerHp : TerrariaPacket
Player health points and max HP
-
Undocumented
Declaration
Swift
public var bytes: [UInt8] -
Undocumented
Declaration
Swift
public var length: UInt16 -
Undocumented
Declaration
Swift
public var context: TerrariaPacketContext -
Undocumented
Declaration
Swift
public var packetType: TerrariaPacketType -
Undocumented
Declaration
Swift
public var payload: [UInt8] -
Undocumented
Declaration
Swift
public var playerId: UInt8 -
Undocumented
Declaration
Swift
public var life: UInt16 -
Undocumented
Declaration
Swift
public var maxLife: UInt16 -
Undocumented
Declaration
Swift
public init() -
Declaration
Swift
public mutating func decodePayload() throws -
Declaration
Swift
mutating public mutating func encodePayload() throws
PacketPlayerHp Structure Reference