Struct PackageDataValue
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.Game.dll
One value a package built on a template sets.
public readonly struct PackageDataValue : IEquatable<PackageDataValue>
- Implements
- Inherited Members
Constructors
PackageDataValue(string, string, string)
One value a package built on a template sets.
public PackageDataValue(string Name, string TypeName, string Value)
Parameters
NamestringThe name the template declares for the value, such as Location or Allow Sitting. Empty where the template declares none.
TypeNamestringThe value's type as the game names it, such as Bool or Location.
ValuestringThe text IPackageData::GetDataAsString returns for the value.
Properties
Name
The name the template declares for the value, such as Location or Allow Sitting. Empty where the template declares none.
public string Name { get; init; }
Property Value
TypeName
The value's type as the game names it, such as Bool or Location.
public string TypeName { get; init; }
Property Value
Value
The text IPackageData::GetDataAsString returns for the value.
public string Value { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Name, out string TypeName, out string Value)
Parameters
Equals(PackageDataValue)
public bool Equals(PackageDataValue other)
Parameters
otherPackageDataValue
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(PackageDataValue, PackageDataValue)
public static bool operator ==(PackageDataValue left, PackageDataValue right)
Parameters
leftPackageDataValuerightPackageDataValue
Returns
operator !=(PackageDataValue, PackageDataValue)
public static bool operator !=(PackageDataValue left, PackageDataValue right)
Parameters
leftPackageDataValuerightPackageDataValue