public override int GetHashCode() { int hash = 1; if (TimestampMs != 0L) { hash ^= TimestampMs.GetHashCode(); } if (Sfida != false) { hash ^= Sfida.GetHashCode(); } if (actionCase_ == ActionOneofCase.CatchPokemon) { hash ^= CatchPokemon.GetHashCode(); } if (actionCase_ == ActionOneofCase.FortSearch) { hash ^= FortSearch.GetHashCode(); } if (actionCase_ == ActionOneofCase.BuddyPokemon) { hash ^= BuddyPokemon.GetHashCode(); } if (actionCase_ == ActionOneofCase.RaidRewards) { hash ^= RaidRewards.GetHashCode(); } if (actionCase_ == ActionOneofCase.PasscodeRewards) { hash ^= PasscodeRewards.GetHashCode(); } hash ^= (int)actionCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (TimestampMs != 0L) { hash ^= TimestampMs.GetHashCode(); } if (Sfida != false) { hash ^= Sfida.GetHashCode(); } if (actionCase_ == ActionOneofCase.CatchPokemon) { hash ^= CatchPokemon.GetHashCode(); } if (actionCase_ == ActionOneofCase.FortSearch) { hash ^= FortSearch.GetHashCode(); } if (actionCase_ == ActionOneofCase.BuddyPokemon) { hash ^= BuddyPokemon.GetHashCode(); } if (actionCase_ == ActionOneofCase.RaidRewards) { hash ^= RaidRewards.GetHashCode(); } if (actionCase_ == ActionOneofCase.PasscodeRewards) { hash ^= PasscodeRewards.GetHashCode(); } if (actionCase_ == ActionOneofCase.CompleteQuest) { hash ^= CompleteQuest.GetHashCode(); } if (actionCase_ == ActionOneofCase.CompleteQuestStampCard) { hash ^= CompleteQuestStampCard.GetHashCode(); } if (actionCase_ == ActionOneofCase.CompleteQuestPokemonEncounter) { hash ^= CompleteQuestPokemonEncounter.GetHashCode(); } hash ^= (int)actionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }