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)); }
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); } }
} // 测试compressAsOne public override int GetHashCode() { return(LvlRank.GetHashCode()); }
internal void _resolve(Config.LoadErrors errors) { LvlRank._resolve(errors); }