public override int GetHashCode() { int hash = 1; if (PokemonId != 0) { hash ^= PokemonId.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (AwardId != 0) { hash ^= AwardId.GetHashCode(); } if (AwardType != 0) { hash ^= AwardType.GetHashCode(); } if (Experience != 0) { hash ^= Experience.GetHashCode(); } if (LevelIcon.Length != 0) { hash ^= LevelIcon.GetHashCode(); } if (AwardShow.Length != 0) { hash ^= AwardShow.GetHashCode(); } if (Desctription.Length != 0) { hash ^= Desctription.GetHashCode(); } if (SlotIndex != 0) { hash ^= SlotIndex.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public string ToStringAdmin() { return($"Site user '{Name}'{(AwardId!=null?(" with awars with id '"+AwardId.ToString()+"'") :"")} access permission '" + $"{(AccessPermission!=null?(AccessPermission == "true"?"Admin":"user"):"user")}'."); }
public override string ToString() { return($"{Name} {AwardId.ToString()}"); }