Class ClientState
This class represents the state of the game client at the time of access.
Inheritance
System.Object
ClientState
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dalamud.Game.ClientState
Assembly: Dalamud.dll
Syntax
public class ClientState : INotifyPropertyChanged, IDisposable
Constructors
| Improve this Doc View SourceClientState(Dalamud, DalamudStartInfo, SigScanner)
Set up client state access.
Declaration
public ClientState(Dalamud dalamud, DalamudStartInfo startInfo, SigScanner scanner)
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Dalamud | dalamud | Dalamud instance |
| Dalamud.DalamudStartInfo | startInfo | StartInfo of the current Dalamud launch |
| SigScanner | scanner | Sig scanner |
Fields
| Improve this Doc View SourceActors
The table of all present actors.
Declaration
public readonly ActorTable Actors
Field Value
| Type | Description |
|---|---|
| ActorTable |
ClientLanguage
Declaration
public readonly ClientLanguage ClientLanguage
Field Value
| Type | Description |
|---|---|
| Dalamud.ClientLanguage |
Condition
Provides access to client conditions/player state. Allows you to check if a player is in a duty, mounted, etc.
Declaration
public Condition Condition
Field Value
| Type | Description |
|---|---|
| Condition |
JobGauges
The class facilitating Job Gauge data access
Declaration
public JobGauges JobGauges
Field Value
| Type | Description |
|---|---|
| JobGauges |
KeyState
Provides access to the keypress state of keyboard keys in game.
Declaration
public KeyState KeyState
Field Value
| Type | Description |
|---|---|
| KeyState |
PartyList
The class facilitating party list data access
Declaration
public PartyList PartyList
Field Value
| Type | Description |
|---|---|
| PartyList |
TerritoryChanged
Event that gets fired when the current Territory changes.
Declaration
public EventHandler<ushort> TerritoryChanged
Field Value
| Type | Description |
|---|---|
| System.EventHandler<System.UInt16> |
TerritoryType
The current Territory the player resides in.
Declaration
public ushort TerritoryType
Field Value
| Type | Description |
|---|---|
| System.UInt16 |
Properties
| Improve this Doc View SourceLocalContentId
The content ID of the local character.
Declaration
public ulong LocalContentId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
LocalPlayer
The local player character, if one is present.
Declaration
[CanBeNull]
public PlayerCharacter LocalPlayer { get; }
Property Value
| Type | Description |
|---|---|
| PlayerCharacter |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Enable()
Declaration
public void Enable()
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable