• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DDSLoader
    • DDSImage
    • DDSImage.DDSHeader
    • DDSImage.DDSPixelFormat
    • DDSImage.HeaderFlags
    • DDSImage.PixelFormatFlags
    • DDSUnityExtensions
    • FourCC
  • LLBML
    • BallApi
    • CharacterApi
    • GraphicUtils
    • InputApi
    • LLBMLPlugin
    • LoadingInfo
    • LoadingScreen
    • PluginInfos
    • ProgressApi
    • ScreenApi
    • StateApi
  • LLBML.Audio
    • AudioAsset
    • AudioCache
    • AudioInfo
    • AudioUtils
  • LLBML.External
    • IntHelpers
    • Murmur3
  • LLBML.GameEvents
    • GameEvents
    • GameStateEvents
    • LobbyEventArgs
    • LobbyEvents
    • LobbyReadyArgs
    • MenuEvents
    • OnLobbyEnteredHandler
    • OnLobbyReadyHandler
    • OnMainMenuEnteredArgs
    • OnMainMenuEnteredHandler
    • OnMainMenuFirstEnteredHandler
    • OnPlayerJoinArgs
    • OnPlayerJoinHandler
    • OnStateChangeArgs
    • OnStateChangeHandler
    • OnUnlinkFromPlayerArgs
    • OnUnlinkFromPlayerHandler
    • OnUserCharacterPickArgs
    • OnUserCharacterPickHandler
    • OnUserSkinClickArgs
    • OnUserSkinClickHandler
  • LLBML.Graphic
    • Draw
    • Draw.Alignment
  • LLBML.Math
    • BinaryUtils
    • Boundsf
    • Floatf
    • Vector2f
    • Vector2i
  • LLBML.Messages
    • CustomMessage
    • MessageActions
    • MessageApi
    • MessageApi.OnReceiveMessageHandler
    • MessageEventArgs
  • LLBML.Networking
    • Channel
    • EnvelopeApi
    • EnvelopeApi.OnReceiveEnvelopeHandler
    • EnvelopeEventArgs
    • EP2PSend
    • EP2PSend.Enum
    • EP2PSend.Enum_Mapping
    • NetworkApi
    • Transaction
    • TransactionCode
    • TransactionState
  • LLBML.Players
    • Player
    • PlayerStatus
    • PlayerStatus.Enum
    • PlayerStatus.Enum_Mappings
    • Team
    • Team.Enum
    • Team.Enum_Mappings
  • LLBML.Settings
    • GameSettings
  • LLBML.States
    • GameState
    • GameState.Enum
    • GameState.Enum_Mapping
    • GameStates
    • GameStatesGameUtils
    • GameStatesLobbyUtils
    • PlayerLobbyState
  • LLBML.Texture
    • TextureUtils
  • LLBML.UI
    • Dialogs
  • LLBML.Utils
    • ArrayExtension
    • BepInRef
    • ControlledRandom
    • DebugUtils
    • EnumWrapper<T>
    • GenericCache<K, T>
    • GenericUtils
    • Hash<T>
    • IByteable
    • ModDependenciesUtils
    • ModdingFolder
    • PatchUtils
    • StringUtils

Class Hash<T>

Inheritance
System.Object
Hash<T>
Implements
System.IEquatable<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: LLBML.Utils
Assembly: LLBModdingLib.dll
Syntax
public abstract class Hash<T> : IEquatable<T>
Type Parameters
Name Description
T

Constructors

Hash()

Declaration
public Hash()

Hash(Byte[])

Declaration
protected Hash(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes

Fields

HashLength

Declaration
protected static int HashLength
Field Value
Type Description
System.Int32

Properties

Bytes

Declaration
public byte[] Bytes { get; protected set; }
Property Value
Type Description
System.Byte[]

Methods

Equals(T)

Declaration
public abstract bool Equals(T other)
Parameters
Type Name Description
T other
Returns
Type Description
System.Boolean

Equals(Hash<T>)

Declaration
public bool Equals(Hash<T> other)
Parameters
Type Name Description
Hash<T> other
Returns
Type Description
System.Boolean

Equals(Byte[])

Declaration
public bool Equals(byte[] other)
Parameters
Type Name Description
System.Byte[] 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
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

ToString()

Returns a System.String that contains the hex representation of the current Hash<T>.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current Hash<T>.

Overrides
System.Object.ToString()

Operators

Equality(Hash<T>, Hash<T>)

Declaration
public static bool operator ==(Hash<T> hash1, Hash<T> hash2)
Parameters
Type Name Description
Hash<T> hash1
Hash<T> hash2
Returns
Type Description
System.Boolean

Equality(Hash<T>, Byte[])

Declaration
public static bool operator ==(Hash<T> hash1, byte[] hash2)
Parameters
Type Name Description
Hash<T> hash1
System.Byte[] hash2
Returns
Type Description
System.Boolean

Equality(Byte[], Hash<T>)

Declaration
public static bool operator ==(byte[] hash1, Hash<T> hash2)
Parameters
Type Name Description
System.Byte[] hash1
Hash<T> hash2
Returns
Type Description
System.Boolean

Explicit(Hash<T> to Byte[])

Declaration
public static explicit operator byte[](Hash<T> a)
Parameters
Type Name Description
Hash<T> a
Returns
Type Description
System.Byte[]

Inequality(Hash<T>, Hash<T>)

Declaration
public static bool operator !=(Hash<T> hash1, Hash<T> hash2)
Parameters
Type Name Description
Hash<T> hash1
Hash<T> hash2
Returns
Type Description
System.Boolean

Inequality(Hash<T>, Byte[])

Declaration
public static bool operator !=(Hash<T> hash1, byte[] hash2)
Parameters
Type Name Description
Hash<T> hash1
System.Byte[] hash2
Returns
Type Description
System.Boolean

Inequality(Byte[], Hash<T>)

Declaration
public static bool operator !=(byte[] hash1, Hash<T> hash2)
Parameters
Type Name Description
System.Byte[] hash1
Hash<T> hash2
Returns
Type Description
System.Boolean

Implements

System.IEquatable<T>
In This Article
Back to top Generated by DocFX