Photon Fusion 2.1.1

UInt24 Struct Reference

A 24-bit unsigned integer. More...

Public Member Functions

override bool Equals (object obj)
 Compares this UInt24 to another for equality.
bool Equals (UInt24 other)
 Compares this UInt24 to another for equality.
override int GetHashCode ()
 Returns the hash code for this UInt24.
override string ToString ()
 Returns a string that represents the current UInt24.
 UInt24 (uint value)
 Creates a new UInt24 from a uint.

Static Public Member Functions

static implicit operator uint (UInt24 value)
 Converts a uint to a UInt24.
static operator UInt24 (uint value)
 Converts a UInt24 to a uint.
static bool operator!= (UInt24 left, UInt24 right)
 Compares two UInt24 instances for inequality.
static bool operator== (UInt24 left, UInt24 right)
 Compares two UInt24 instances for equality.

Static Public Attributes

const uint MaxValue = 0xFFFFFF
 The maximum value of the UInt24.
const uint MinValue = 0
 The minimum value of the UInt24.

Properties

uint Value [get]
 The value of the UInt24.

Detailed Description

A 24-bit unsigned integer.