Class BinTree
Represents a property bin with a tree structure
Inheritance
System.Object
BinTree
Namespace: LeagueToolkit.Core.Meta
Assembly: LeagueToolkit.dll
Syntax
public sealed class BinTree : object
Constructors
| Improve this Doc View SourceBinTree()
Creates a new empty BinTree object
Declaration
public BinTree()
BinTree(IEnumerable<BinTreeObject>, IEnumerable<String>)
Creates a new BinTree object with the specified parameters
Declaration
public BinTree(IEnumerable<BinTreeObject> objects, IEnumerable<string> dependencies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<BinTreeObject> | objects | The objects of the property bin |
IEnumerable<System.String> | dependencies | The dependencies of the property bin |
BinTree(Stream)
Creates a new BinTree by reading it from the specified stream
Declaration
public BinTree(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream to read from |
Properties
| Improve this Doc View SourceDataOverrides
Gets the property overrides
Declaration
public IReadOnlyList<BinTreeDataOverride> DataOverrides { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<BinTreeDataOverride> |
Dependencies
Gets the dependencies
Declaration
public List<string> Dependencies { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
Remarks
Property bins can depend on other property bins in a similar fashion like importing code libraries
IsOverride
Gets a value indicating whether the property bin is an override
Declaration
public bool IsOverride { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Objects
Gets the objects
Declaration
public Dictionary<uint, BinTreeObject> Objects { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.UInt32, BinTreeObject> |
Methods
| Improve this Doc View SourceWrite(Stream)
Writes the property bin into the specified stream
Declaration
public void Write(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream to write to |
Write(String)
Writes the property bin to the specified path
Declaration
public void Write(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the written property bin |