コード例 #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (obj == this)
            {
                return(true);
            }
            var o = obj as DataJewelryrandom;

            return(o != null && LvlRank.Equals(o.LvlRank));
        }
コード例 #2
0
 internal void _resolve(Config.LoadErrors errors)
 {
     LvlRank._resolve(errors);
     RefType = Config.Equip.DataJewelrytype.Get(Type);
     if (RefType == null)
     {
         errors.RefNull("equip.jewelry", ToString(), "Type", Type);
     }
     NullableRefSuitID = Config.Equip.DataJewelrysuit.Get(SuitID);
     RefKeyAbility     = Config.Equip.DataAbility.Get(KeyAbility);
     if (RefKeyAbility == null)
     {
         errors.RefNull("equip.jewelry", ToString(), "KeyAbility", KeyAbility);
     }
 }
コード例 #3
0
        }                                                             // 测试compressAsOne

        public override int GetHashCode()
        {
            return(LvlRank.GetHashCode());
        }
コード例 #4
0
 internal void _resolve(Config.LoadErrors errors)
 {
     LvlRank._resolve(errors);
 }