PacketChestUnlock

public struct PacketChestUnlock : TerrariaPacket

Chest Unlock(Used for doors as well)

  • 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]
  • : 1 = Chest Unlock; 2 = Door Unlock

    Declaration

    Swift

    public var chestType: UInt8
  • x

    Undocumented

    Declaration

    Swift

    public var x: Int16
  • y

    Undocumented

    Declaration

    Swift

    public var y: Int16
  • Undocumented

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public mutating func decodePayload() throws
  • Declaration

    Swift

    mutating public mutating func encodePayload() throws