示例#1
0
文件: Trait.cs 项目: skobloff/Depot
        internal override int compareValue(Trait _trait)
        {
            double buf = (double)_trait.getValue();

            if (Soul < buf)
            {
                return(-1);
            }

            if (Soul > buf)
            {
                return(1);
            }

            return(0);
        }
示例#2
0
文件: Trait.cs 项目: skobloff/Depot
        internal override int compareValue(Trait _trait)
        {
            ushort buf = (ushort)_trait.getValue();

            if (enumData < buf)
            {
                return(-1);
            }

            if (enumData > buf)
            {
                return(1);
            }

            return(0);
        }
示例#3
0
文件: Trait.cs 项目: skobloff/Depot
        internal override int compareValue(Trait _trait)
        {
            DateTime buf = (DateTime)_trait.getValue();

            return(Soul.CompareTo(buf));
        }
示例#4
0
文件: Trait.cs 项目: skobloff/Depot
 internal override int compareValue(Trait _trait)
 {
     return(strData.CompareTo(_trait.getValue()));
 }
示例#5
0
文件: Trait.cs 项目: skobloff/Depot
        internal override int compareValue(Trait _trait)
        {
            Guid buf = (Guid)_trait.getValue();

            return(Soul.CompareTo(buf));
        }