Class BinTreeOptional
Represents a property with an optional BinTreeProperty value
Inherited Members
Namespace: LeagueToolkit.Core.Meta.Properties
Assembly: LeagueToolkit.dll
Syntax
public sealed class BinTreeOptional : BinTreeProperty
Constructors
| Improve this Doc View SourceBinTreeOptional(UInt32, BinTreeProperty)
Creates a new BinTreeOptional object with the specified parameters
Declaration
public BinTreeOptional(uint nameHash, BinTreeProperty value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nameHash | The hashed property name |
BinTreeProperty | value | The value of the property |
Properties
| Improve this Doc View SourceType
Gets the type of the property
Declaration
public override BinPropertyType Type { get; }
Property Value
Type | Description |
---|---|
BinPropertyType |
Overrides
| Improve this Doc View SourceValue
Gets the optional value of the property
Declaration
public BinTreeProperty Value { get; set; }
Property Value
Type | Description |
---|---|
BinTreeProperty |
Remarks
Set to null if there is no value
ValueType
Declaration
public BinPropertyType ValueType { get; }
Property Value
Type | Description |
---|---|
BinPropertyType |
Methods
| Improve this Doc View SourceEquals(BinTreeProperty)
Declaration
public override bool Equals(BinTreeProperty other)
Parameters
Type | Name | Description |
---|---|---|
BinTreeProperty | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceWriteContent(BinaryWriter)
Declaration
protected override void WriteContent(BinaryWriter bw)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | bw |