A* Pathfinding Project  4.0.9
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
Guid Struct Reference

Simple implementation of a GUID. More...

Detailed Description

Simple implementation of a GUID.

Version
Since 3.6.4 this struct works properly on platforms with different endianness such as Wii U.

Public Member Functions

 Guid (byte[] bytes)
 
 Guid (string str)
 
override bool Equals (System.Object _rhs)
 
override int GetHashCode ()
 
byte[] ToByteArray ()
 
override string ToString ()
 

Static Public Member Functions

static Guid NewGuid ()
 
static bool operator!= (Guid lhs, Guid rhs)
 
static bool operator== (Guid lhs, Guid rhs)
 
static Guid Parse (string input)
 
static ulong SwapEndianness (ulong value)
 Swaps between little and big endian.
 

Public Attributes

readonly ulong _a
 
readonly ulong _b
 
const string hex = "0123456789ABCDEF"
 

Static Public Attributes

static readonly Guid zero = new Guid(new byte[16])
 
static readonly string zeroString = new Guid(new byte[16]).ToString()
 

Static Private Attributes

static System.Random random = new System.Random()
 
static System.Text.StringBuilder text
 

Constructor & Destructor Documentation

Guid ( byte[]  bytes)
Guid ( string  str)

Member Function Documentation

override bool Equals ( System.Object  _rhs)
override int GetHashCode ( )
static Guid NewGuid ( )
static
static bool operator!= ( Guid  lhs,
Guid  rhs 
)
static
static bool operator== ( Guid  lhs,
Guid  rhs 
)
static
static Guid Parse ( string  input)
static
static ulong SwapEndianness ( ulong  value)
static

Swaps between little and big endian.

byte [] ToByteArray ( )
override string ToString ( )

Member Data Documentation

readonly ulong _a
readonly ulong _b
const string hex = "0123456789ABCDEF"
System.Random random = new System.Random()
staticprivate
System.Text.StringBuilder text
staticprivate
readonly Guid zero = new Guid(new byte[16])
static
readonly string zeroString = new Guid(new byte[16]).ToString()
static

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