Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.HashCode Struct Reference

Public Member Functions

void Add< T > (T value)
 
void Add< T > (T value, IEqualityComparer< T >? comparer)
 
void AddBytes (ReadOnlySpan< byte > value)
 
int ToHashCode ()
 
override int GetHashCode ()
 
override bool Equals (object? obj)
 

Static Public Member Functions

static int Combine< T1 > (T1 value1)
 
static int Combine< T1, T2 > (T1 value1, T2 value2)
 
static int Combine< T1, T2, T3 > (T1 value1, T2 value2, T3 value3)
 
static int Combine< T1, T2, T3, T4 > (T1 value1, T2 value2, T3 value3, T4 value4)
 
static int Combine< T1, T2, T3, T4, T5 > (T1 value1, T2 value2, T3 value3, T4 value4, T5 value5)
 
static int Combine< T1, T2, T3, T4, T5, T6 > (T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6)
 
static int Combine< T1, T2, T3, T4, T5, T6, T7 > (T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7)
 
static int Combine< T1, T2, T3, T4, T5, T6, T7, T8 > (T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8)
 

Private Member Functions

void Add (int value)
 

Static Private Member Functions

static unsafe uint GenerateGlobalSeed ()
 
static void Initialize (out uint v1, out uint v2, out uint v3, out uint v4)
 
static uint Round (uint hash, uint input)
 
static uint QueueRound (uint hash, uint queuedValue)
 
static uint MixState (uint v1, uint v2, uint v3, uint v4)
 
static uint MixEmptyState ()
 
static uint MixFinal (uint hash)
 

Private Attributes

uint _v1
 
uint _v2
 
uint _v3
 
uint _v4
 
uint _queue1
 
uint _queue2
 
uint _queue3
 
uint _length
 

Static Private Attributes

static readonly uint s_seed = GenerateGlobalSeed()
 

Detailed Description

Definition at line 10 of file HashCode.cs.


The documentation for this struct was generated from the following file: