예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (TextureQuality != 0)
            {
                hash ^= TextureQuality.GetHashCode();
            }
            if (ShaderLod != 0)
            {
                hash ^= ShaderLod.GetHashCode();
            }
            if (DefaultTargetFps != 0)
            {
                hash ^= DefaultTargetFps.GetHashCode();
            }
            if (Antialiasing != 0)
            {
                hash ^= Antialiasing.GetHashCode();
            }
            if (AnisotropicFiltering != 0)
            {
                hash ^= AnisotropicFiltering.GetHashCode();
            }
            if (BillboardsFaceCameraPosition != false)
            {
                hash ^= BillboardsFaceCameraPosition.GetHashCode();
            }
            if (RealtimeShadows != 0)
            {
                hash ^= RealtimeShadows.GetHashCode();
            }
            if (ArAzimuthBlurring != false)
            {
                hash ^= ArAzimuthBlurring.GetHashCode();
            }
            hash ^= GamemodeOverrides.GetHashCode();
            if (ArEncounterParticleCap != 0)
            {
                hash ^= ArEncounterParticleCap.GetHashCode();
            }
            if (LockedEncounterParticleCap != 0)
            {
                hash ^= LockedEncounterParticleCap.GetHashCode();
            }
            if (MenuParticleCap != 0)
            {
                hash ^= MenuParticleCap.GetHashCode();
            }
            if (ArAzimuthColorGrading != false)
            {
                hash ^= ArAzimuthColorGrading.GetHashCode();
            }
            if (ShadowMapSize != 0)
            {
                hash ^= ShadowMapSize.GetHashCode();
            }
            if (EncounterCameraTargetScaling != 0)
            {
                hash ^= EncounterCameraTargetScaling.GetHashCode();
            }
            if (AdvancedArCameraResolution != 0)
            {
                hash ^= AdvancedArCameraResolution.GetHashCode();
            }
            if (VfxLod != 0)
            {
                hash ^= VfxLod.GetHashCode();
            }
            if (ForceSimpleAr != false)
            {
                hash ^= ForceSimpleAr.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }