Skip to main content

Enum SignatureUseFlags

Use flags for a signature attribute. This tells SignatureHelper how to use the result of the signature.

Assembly: Dalamud.dll
View Source
Declaration
public enum SignatureUseFlags

Fields

Auto

SignatureHelper will use simple heuristics to determine the best signature use for the field/property.

View Source
Declaration
Auto = 0

Pointer

The signature should be used as a plain pointer. This is correct for static addresses, functions, or anything else that's an System.IntPtr at heart.

View Source
Declaration
Pointer = 1

Hook

The signature should be used as a hook. This is correct for Dalamud.Hooking.Hook%601 fields/properties.

View Source
Declaration
Hook = 2

Offset

The signature should be used to determine an offset. This is the default for all primitive types. SignatureHelper will read from the memory at this signature and store the result in the field/property. An offset from the signature can be specified in the Dalamud.Utility.Signatures.SignatureAttribute.

View Source
Declaration
Offset = 3

Extension Methods