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 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 ContentFinderCondition ContentFinderCondition { get; }
Weather
Gets the current weather in the zone upon entry.
Declaration
public Weather Weather { get; }
ActiveFestivals
Gets the set of active festivals in the zone.
Declaration
public 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
| Type | Name | Description |
|---|---|---|
System.IntPtr | packet | A pointer to the raw packet data. |
ToString()
Declaration
public override string ToString()
Returns
System.String