Class BinTreeContainer
Represents a property with a
Inherited Members
Namespace: LeagueToolkit.Core.Meta.Properties
Assembly: LeagueToolkit.dll
Syntax
public class BinTreeContainer : BinTreeProperty
Constructors
| Improve this Doc View SourceBinTreeContainer(UInt32, BinPropertyType, IEnumerable<BinTreeProperty>)
Creates a new BinTreeContainer object with the specified parameters
Declaration
public BinTreeContainer(uint nameHash, BinPropertyType elementType, IEnumerable<BinTreeProperty> elements)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | nameHash | The hashed property name |
| BinPropertyType | elementType | The property type of an element in the container |
| IEnumerable<BinTreeProperty> | elements | The elements of the container |
Fields
| Improve this Doc View Source_elements
Declaration
protected List<BinTreeProperty> _elements
Field Value
| Type | Description |
|---|---|
| List<BinTreeProperty> |
Properties
| Improve this Doc View SourceElements
Gets the elements of the container
Declaration
public IReadOnlyList<BinTreeProperty> Elements { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<BinTreeProperty> |
ElementType
Gets the property type of an element
Declaration
public BinPropertyType ElementType { get; }
Property Value
| Type | Description |
|---|---|
| BinPropertyType |
Type
Gets the type of the property
Declaration
public override BinPropertyType Type { get; }
Property Value
| Type | Description |
|---|---|
| BinPropertyType |
Overrides
Methods
| Improve this Doc View SourceAdd(BinTreeProperty)
Adds an element into the container
Declaration
public void Add(BinTreeProperty element)
Parameters
| Type | Name | Description |
|---|---|---|
| BinTreeProperty | element | The element to add |
Equals(BinTreeProperty)
Declaration
public override bool Equals(BinTreeProperty other)
Parameters
| Type | Name | Description |
|---|---|---|
| BinTreeProperty | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceRemove(BinTreeProperty)
Removes the specified element from the container
Declaration
public bool Remove(BinTreeProperty element)
Parameters
| Type | Name | Description |
|---|---|---|
| BinTreeProperty | element | The element to remove |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if |
WriteContent(BinaryWriter)
Declaration
protected override void WriteContent(BinaryWriter bw)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | bw |