Skip to main content
Version: 13.x (API 13) [Current]

Class ZoneInitEventArgs

Provides event data for when the game should initialize a zone.

Assembly: Dalamud.dll
View Source
Declaration
public class ZoneInitEventArgs : EventArgs

Inheritance: System.Object -> System.EventArgs

Properties

TerritoryType

Gets the territory type of the zone being entered.

View Source
Declaration
public TerritoryType TerritoryType { get; }

Instance

Gets the instance number of the zone, used when multiple copies of an area are active.

View Source
Declaration
public ushort Instance { get; }

ContentFinderCondition

Gets the associated content finder condition for the zone, if any.

View Source
Declaration
public ContentFinderCondition ContentFinderCondition { get; }

Weather

Gets the current weather in the zone upon entry.

View Source
Declaration
public Weather Weather { get; }

ActiveFestivals

Gets the set of active festivals in the zone.

View Source
Declaration
public Festival[] ActiveFestivals { get; }

ActiveFestivalPhases

Gets the phases corresponding to the active festivals.

View Source
Declaration
public ushort[] ActiveFestivalPhases { get; }

Methods

Read(nint)

Reads raw zone initialization data from a network packet and constructs the event arguments.

View Source
Declaration
public static ZoneInitEventArgs Read(nint packet)
Returns

Dalamud.Game.ClientState.ZoneInitEventArgs: A Dalamud.Game.ClientState.ZoneInitEventArgs populated from the packet.

Parameters
TypeNameDescription
System.IntPtrpacketA pointer to the raw packet data.

ToString()

Returns a string that represents the current object.

View Source
Declaration
public override string ToString()
Returns

System.String: A string that represents the current object.