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
IntsIReadOnlyDictionary<uint, int>Integer properties by property id.
Int64sIReadOnlyDictionary<uint, long>64-bit integer properties by property id.
BoolsIReadOnlyDictionary<uint, bool>Boolean properties by property id.
FloatsIReadOnlyDictionary<uint, double>Floating-point properties by property id.
StringsIReadOnlyDictionary<uint, string>Text properties by property id.
DataIdsIReadOnlyDictionary<uint, uint>Data-file references by property id.
InstanceIdsIReadOnlyDictionary<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
Bools
Boolean properties by property id.
public IReadOnlyDictionary<uint, bool> Bools { get; init; }
Property Value
DataIds
Data-file references by property id.
public IReadOnlyDictionary<uint, uint> DataIds { get; init; }
Property Value
Floats
Floating-point properties by property id.
public IReadOnlyDictionary<uint, double> Floats { get; init; }
Property Value
InstanceIds
References to other objects by property id.
public IReadOnlyDictionary<uint, uint> InstanceIds { get; init; }
Property Value
Int64s
64-bit integer properties by property id.
public IReadOnlyDictionary<uint, long> Int64s { get; init; }
Property Value
Ints
Integer properties by property id.
public IReadOnlyDictionary<uint, int> Ints { get; init; }
Property Value
Strings
Text properties by property id.
public IReadOnlyDictionary<uint, string> Strings { get; init; }
Property Value
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; }