コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + unique_id.GetHashCode();
            hash = hash * 31 + start_time.GetHashCode();
            hash = hash * 31 + end_time.GetHashCode();

            hash = hash * 31 + game_settings.GetHashCode();
            hash = hash * 31 + game_FSM.GetHashCode();

            hash = hash * 31 + game_state_counter.GetHashCode();

            hash = hash * 31 + players.Custom_HashCode();
            hash = hash * 31 + map.GetHashCode();

            hash = hash * 31 + cards.GetHashCode();
            hash = hash * 31 + map_elements.GetHashCode();

            hash = hash * 31 + role__per__player.Custom_HashCode();

            hash = hash * 31 + PlayerActionsHistory.Custom_HashCode();
            hash = hash * 31 + InfectionReports.Custom_HashCode();

            hash = hash * 31 + CurrentAvailablePlayerActions.Custom_HashCode();
            hash = hash * 31 + CurrentAvailableMacros.Custom_HashCode();

            return(hash);
        }