Class BinTreeObject
Represents an object instance in a BinTree
Inheritance
System.Object
BinTreeObject
Namespace: LeagueToolkit.Core.Meta
Assembly: LeagueToolkit.dll
Syntax
public sealed class BinTreeObject : IEquatable<BinTreeObject>
Constructors
| Improve this Doc View SourceBinTreeObject(String, String, IEnumerable<BinTreeProperty>)
Creates a new BinTreeObject object with the specified parameters
Declaration
public BinTreeObject(string path, string metaClass, IEnumerable<BinTreeProperty> properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path of the object |
System.String | metaClass | The meta class of the object |
IEnumerable<BinTreeProperty> | properties | The properties of the object |
BinTreeObject(UInt32, UInt32, IEnumerable<BinTreeProperty>)
Creates a new BinTreeObject object with the specified parameters
Declaration
public BinTreeObject(uint pathHash, uint metaClassHash, IEnumerable<BinTreeProperty> properties)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | pathHash | The path hash of the object |
System.UInt32 | metaClassHash | The meta class hash of the object |
IEnumerable<BinTreeProperty> | properties | The properties of the object |
Properties
| Improve this Doc View SourceClassHash
Gets the meta class hash
Declaration
public uint ClassHash { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Remarks
The meta class is hashed using HashLower(String)
PathHash
Gets the path hash
Declaration
public uint PathHash { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Remarks
The path is hashed using HashLower(String)
Properties
Gets the properties
Declaration
public Dictionary<uint, BinTreeProperty> Properties { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.UInt32, BinTreeProperty> |
Methods
| Improve this Doc View SourceEquals(BinTreeObject)
Declaration
public bool Equals(BinTreeObject other)
Parameters
Type | Name | Description |
---|---|---|
BinTreeObject | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |