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

◆ GetHashCode()

override int System.Half.GetHashCode ( )
inline

Definition at line 361 of file Half.cs.

362 {
363 if (IsNaNOrZero(this))
364 {
365 return _value & 0x7C00;
366 }
367 return _value;
368 }
static bool IsNaNOrZero(Half value)
Definition Half.cs:291
readonly ushort _value
Definition Half.cs:15

References System.Half._value, and System.Half.IsNaNOrZero().