PacketSpawnBossorInvasion

public struct PacketSpawnBossorInvasion : TerrariaPacket

Spawns boss or invasion

  • 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: Int16
  • -1 = GoblinInvasion -2 = FrostInvasion -3 = PirateInvasion -4 = PumpkinMoon -5 = SnowMoon -6 = Eclipse -7 = Martian Moon -8 = Impending Doom -10 = Blood Moon -11 = Combat Book Used -12 = Bought Cat -13 = Bought Dog -14 = Bought Bunny 4, 13, 50, 126, 125, 134, 127, 128, 131, 129, 130, 222, 245, 266, 370, 657

    Declaration

    Swift

    public var spawnType: Int16
  • Undocumented

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public mutating func decodePayload() throws
  • Declaration

    Swift

    mutating public mutating func encodePayload() throws