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

Class ObjectKindExtensions

Extension methods for the Dalamud.Game.ClientState.Objects.Enums.ObjectKind enum.

Assembly: Dalamud.dll​
Declaration
public static class ObjectKindExtensions

Methods​

GetObjStrId(ObjectKind, uint)​

Converts the id of an ObjectKind to the id used in the ObjStr sheet redirect.

Declaration
public static uint GetObjStrId(this ObjectKind objectKind, uint id)
Returns​

System.UInt32: An id that can be used in the ObjStr sheet redirect.

Parameters​
TypeNameDescription
Dalamud.Game.ClientState.Objects.Enums.ObjectKindobjectKindThe ObjectKind this id is for.
System.UInt32idThe id.