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

Class ProfileModel

Class representing a profile.

Assembly: Dalamud.dll​
Declaration
public abstract class ProfileModel

Derived:
Dalamud.Plugin.Internal.Profiles.ProfileModelV1

Properties​

Guid​

Gets or sets the ID of the profile.

Declaration
[JsonProperty("id")]
public Guid Guid { get; set; }

Name​

Gets or sets the name of the profile.

Declaration
[JsonProperty("n")]
public string Name { get; set; }

Methods​

Deserialize(string)​

Deserialize a profile into a model.

Declaration
public static ProfileModel? Deserialize(string model)
Returns​

Dalamud.Plugin.Internal.Profiles.ProfileModel: The parsed model.

Parameters​
TypeNameDescription
System.StringmodelThe string to decompress.
Exceptions​

System.ArgumentException
Thrown when the parsed string is not a valid profile.

SerializeForShare()​

Serialize this model into a string usable for sharing, without including GUIDs.

Declaration
public string SerializeForShare()
Returns​

System.String: The serialized representation of the model.

Exceptions​

System.ArgumentOutOfRangeException
Thrown when an unsupported model is serialized.