Table of Contents

Struct PluginItemProperties

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Every property the client currently holds for one object, as copies of its raw property tables keyed by property id, plus the two typed appraisal blobs. A table is empty when the object carries no properties of that kind.

public readonly record struct PluginItemProperties : IEquatable<PluginItemProperties>
Implements
Inherited Members

Constructors

PluginItemProperties(IReadOnlyDictionary<uint, int>, IReadOnlyDictionary<uint, long>, IReadOnlyDictionary<uint, bool>, IReadOnlyDictionary<uint, double>, IReadOnlyDictionary<uint, string>, IReadOnlyDictionary<uint, uint>, IReadOnlyDictionary<uint, uint>)

Every property the client currently holds for one object, as copies of its raw property tables keyed by property id, plus the two typed appraisal blobs. A table is empty when the object carries no properties of that kind.

public PluginItemProperties(IReadOnlyDictionary<uint, int> Ints, IReadOnlyDictionary<uint, long> Int64s, IReadOnlyDictionary<uint, bool> Bools, IReadOnlyDictionary<uint, double> Floats, IReadOnlyDictionary<uint, string> Strings, IReadOnlyDictionary<uint, uint> DataIds, IReadOnlyDictionary<uint, uint> InstanceIds)

Parameters

Ints IReadOnlyDictionary<uint, int>

Integer properties by property id.

Int64s IReadOnlyDictionary<uint, long>

64-bit integer properties by property id.

Bools IReadOnlyDictionary<uint, bool>

Boolean properties by property id.

Floats IReadOnlyDictionary<uint, double>

Floating-point properties by property id.

Strings IReadOnlyDictionary<uint, string>

Text properties by property id.

DataIds IReadOnlyDictionary<uint, uint>

Data-file references by property id.

InstanceIds IReadOnlyDictionary<uint, uint>

References to other objects by property id.

Properties

ArmorProfile

The armor numbers from the object's last appraisal, or null when it has never been appraised or is not armor.

public PluginArmorProfile? ArmorProfile { get; init; }

Property Value

PluginArmorProfile?

Bools

Boolean properties by property id.

public IReadOnlyDictionary<uint, bool> Bools { get; init; }

Property Value

IReadOnlyDictionary<uint, bool>

DataIds

Data-file references by property id.

public IReadOnlyDictionary<uint, uint> DataIds { get; init; }

Property Value

IReadOnlyDictionary<uint, uint>

Floats

Floating-point properties by property id.

public IReadOnlyDictionary<uint, double> Floats { get; init; }

Property Value

IReadOnlyDictionary<uint, double>

InstanceIds

References to other objects by property id.

public IReadOnlyDictionary<uint, uint> InstanceIds { get; init; }

Property Value

IReadOnlyDictionary<uint, uint>

Int64s

64-bit integer properties by property id.

public IReadOnlyDictionary<uint, long> Int64s { get; init; }

Property Value

IReadOnlyDictionary<uint, long>

Ints

Integer properties by property id.

public IReadOnlyDictionary<uint, int> Ints { get; init; }

Property Value

IReadOnlyDictionary<uint, int>

Strings

Text properties by property id.

public IReadOnlyDictionary<uint, string> Strings { get; init; }

Property Value

IReadOnlyDictionary<uint, string>

WeaponProfile

The weapon numbers from the object's last appraisal, or null when it has never been appraised or is not a weapon.

public PluginWeaponProfile? WeaponProfile { get; init; }

Property Value

PluginWeaponProfile?