Skip to main content
Version: 14.x (API 14) [Legacy]

Class ZoneInitEventArgs

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

Assembly: Dalamud.dll
Declaration
public class ZoneInitEventArgs : EventArgs

Inheritance: System.Object -> System.EventArgs

Properties

TerritoryType

Gets the territory type of the zone being entered.

Declaration
public RowRef<TerritoryType> TerritoryType { get; }

Instance

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

Declaration
public ushort Instance { get; }

ContentFinderCondition

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

Declaration
public RowRef<ContentFinderCondition> ContentFinderCondition { get; }

Weather

Gets the current weather in the zone upon entry.

Declaration
public RowRef<Weather> Weather { get; }

ActiveFestivals

Gets the set of active festivals in the zone.

Declaration
public RowRef<Festival>[] ActiveFestivals { get; }

ActiveFestivalPhases

Gets the phases corresponding to the active festivals.

Declaration
public ushort[] ActiveFestivalPhases { get; }

Methods

Read(nint)

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

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()

Declaration
public override string ToString()
Returns

System.String