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 -
Undocumented
Declaration
Swift
public var x: Int16 -
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
PacketChestUnlock Structure Reference