Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Combine< T1 >()

static int System.HashCode.Combine< T1 > ( T1 value1)
inlinestatic

Definition at line 37 of file HashCode.cs.

38 {
39 uint queuedValue = (uint)(value1?.GetHashCode() ?? 0);
40 uint num = MixEmptyState();
41 num += 4;
42 num = QueueRound(num, queuedValue);
43 return (int)MixFinal(num);
44 }
static uint QueueRound(uint hash, uint queuedValue)
Definition HashCode.cs:186
static uint MixEmptyState()
Definition HashCode.cs:197
override int GetHashCode()
Definition HashCode.cs:287
static uint MixFinal(uint hash)
Definition HashCode.cs:203

References System.HashCode.GetHashCode(), System.HashCode.MixEmptyState(), System.HashCode.MixFinal(), and System.HashCode.QueueRound().