League Toolkit League Toolkit
League Toolkit League Toolkit
DocFX + Singulink = ♥

Search Results for

    Class BinTreeContainer

    Represents a property with a value

    Inheritance
    System.Object
    BinTreeProperty
    BinTreeContainer
    BinTreeUnorderedContainer
    Inherited Members
    BinTreeProperty.HEADER_SIZE
    BinTreeProperty.NameHash
    BinTreeProperty.WriteHeader(BinaryWriter)
    BinTreeProperty.Equals(Object)
    BinTreeProperty.GetHashCode()
    BinTreeProperty.GetDebuggerDisplayName()
    Namespace: LeagueToolkit.Core.Meta.Properties
    Assembly: LeagueToolkit.dll
    Syntax
    public class BinTreeContainer : BinTreeProperty

    Constructors

    | Improve this Doc View Source

    BinTreeContainer(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 Source

    Elements

    Gets the elements of the container

    Declaration
    public IReadOnlyList<BinTreeProperty> Elements { get; }
    Property Value
    Type Description
    IReadOnlyList<BinTreeProperty>
    | Improve this Doc View Source

    ElementType

    Gets the property type of an element

    Declaration
    public BinPropertyType ElementType { get; }
    Property Value
    Type Description
    BinPropertyType
    | Improve this Doc View Source

    Type

    Gets the type of the property

    Declaration
    public override BinPropertyType Type { get; }
    Property Value
    Type Description
    BinPropertyType
    Overrides
    BinTreeProperty.Type

    Methods

    | Improve this Doc View Source

    Add(BinTreeProperty)

    Adds an element into the container

    Declaration
    public void Add(BinTreeProperty element)
    Parameters
    Type Name Description
    BinTreeProperty element

    The element to add

    | Improve this Doc View Source

    Equals(BinTreeProperty)

    Declaration
    public override bool Equals(BinTreeProperty other)
    Parameters
    Type Name Description
    BinTreeProperty other
    Returns
    Type Description
    System.Boolean
    Overrides
    BinTreeProperty.Equals(BinTreeProperty)
    | Improve this Doc View Source

    Remove(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 element was successfully removed; otherwise false

    | Improve this Doc View Source

    WriteContent(BinaryWriter)

    Declaration
    protected override void WriteContent(BinaryWriter bw)
    Parameters
    Type Name Description
    BinaryWriter bw
    Overrides
    BinTreeProperty.WriteContent(BinaryWriter)