Class ZoneInitEventArgs
Provides event data for when the game should initialize a zone.
Assembly: Dalamud.dll
View Source
public class ZoneInitEventArgs : EventArgs
Inheritance: System.Object -> System.EventArgs
Properties
TerritoryType
Gets the territory type of the zone being entered.
View Source
public TerritoryType TerritoryType { get; }
Instance
Gets the instance number of the zone, used when multiple copies of an area are active.
View Source
public ushort Instance { get; }
ContentFinderCondition
Gets the associated content finder condition for the zone, if any.
View Source
public ContentFinderCondition ContentFinderCondition { get; }
Weather
Gets the current weather in the zone upon entry.
View Source
public Weather Weather { get; }
ActiveFestivals
Gets the set of active festivals in the zone.
View Source
public Festival[] ActiveFestivals { get; }
ActiveFestivalPhases
Gets the phases corresponding to the active festivals.
View Source
public ushort[] ActiveFestivalPhases { get; }
Methods
Read(nint)
Reads raw zone initialization data from a network packet and constructs the event arguments.
View Source
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()
Returns a string that represents the current object.
View Source
public override string ToString()
Returns
System.String: A string that represents the current object.