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

◆ CompareTo() [1/4]

int System.Guid.CompareTo ( Guid value)
inline

Definition at line 797 of file Guid.cs.

798 {
799 if (value._a != _a)
800 {
801 return GetResult((uint)_a, (uint)value._a);
802 }
803 if (value._b != _b)
804 {
805 return GetResult((uint)_b, (uint)value._b);
806 }
807 if (value._c != _c)
808 {
809 return GetResult((uint)_c, (uint)value._c);
810 }
811 if (value._d != _d)
812 {
813 return GetResult(_d, value._d);
814 }
815 if (value._e != _e)
816 {
817 return GetResult(_e, value._e);
818 }
819 if (value._f != _f)
820 {
821 return GetResult(_f, value._f);
822 }
823 if (value._g != _g)
824 {
825 return GetResult(_g, value._g);
826 }
827 if (value._h != _h)
828 {
829 return GetResult(_h, value._h);
830 }
831 if (value._i != _i)
832 {
833 return GetResult(_i, value._i);
834 }
835 if (value._j != _j)
836 {
837 return GetResult(_j, value._j);
838 }
839 if (value._k != _k)
840 {
841 return GetResult(_k, value._k);
842 }
843 return 0;
844 }
readonly short _b
Definition Guid.cs:90
readonly byte _f
Definition Guid.cs:98
readonly byte _h
Definition Guid.cs:102
readonly short _c
Definition Guid.cs:92
readonly byte _j
Definition Guid.cs:106
readonly byte _k
Definition Guid.cs:108
readonly byte _d
Definition Guid.cs:94
static int GetResult(uint me, uint them)
Definition Guid.cs:731
readonly byte _e
Definition Guid.cs:96
readonly byte _i
Definition Guid.cs:104
readonly int _a
Definition Guid.cs:88
readonly byte _g
Definition Guid.cs:100

References System.Guid._a, System.Guid._b, System.Guid._c, System.Guid._d, System.Guid._e, System.Guid._f, System.Guid._g, System.Guid._h, System.Guid._i, System.Guid._j, System.Guid._k, System.Guid.GetResult(), and System.value.