NRaas.StoryProgressionSpace.Scenarios.SimScenarioFilter.ToString C# (CSharp) Метод

ToString() публичный Метод

public ToString ( ) : string
Результат string
        public override string ToString()
        {
            string text = "-- SimScenarioFilter --";

            text += Common.NewLine + "Enabled=" + mEnabled;
            text += Common.NewLine + "Scoring=" + mScoring;
            text += Common.NewLine + "ScoringMinimum=" + mScoringMinimum;
            text += Common.NewLine + "ScoringMaximum=" + mScoringMaximum;
            text += Common.NewLine + "RelationshipMinimum=" + mRelationshipMinimum;
            text += Common.NewLine + "RelationshipMaximum=" + mRelationshipMaximum;
            text += Common.NewLine + "DisallowRelated=" + mDisallowRelated;
            text += Common.NewLine + "AllowOpposing=" + mAllowOpposing;
            text += Common.NewLine + "AgeGender=" + mAgeGender;

            foreach (CASAgeGenderFlags species in mSpecies)
            {
                text += "," + species;
            }

            if (mAgeGenderOptions != null)
            {
                foreach (AgeGenderOption ageGender in mAgeGenderOptions)
                {
                    text += Common.NewLine + "UserAgeGender=" + ageGender;
                }
            }

            if (mValueTestOptions != null)
            {
                foreach (IValueTestOption testValue in mValueTestOptions)
                {
                    text += Common.NewLine + "ValueTest=" + testValue;
                }
            }

            text += Common.NewLine + "Clan=" + mClan;
            text += Common.NewLine + "ClanLeader=" + mClanLeader;
            text += Common.NewLine + "ClanMembers=" + mClanMembers;

            text += Common.NewLine + "AllowAffair=" + mAllowAffair;
            text += Common.NewLine + "StandardFilter=" + mStandardFilter;
            text += Common.NewLine + "StandardGate=" + mStandardGate;
            text += Common.NewLine + "StandardIgnoreBusy=" + mStandardIgnoreBusy;
            text += Common.NewLine + "StandardDisallowPartner=" + mStandardDisallowPartner;

            text += Common.NewLine + "ThirdPartyFilter=" + mThirdPartyFilter;

            text += Common.NewLine + "CustomTest=" + mCustomTest;

            text += Common.NewLine + "-- End SimScenarioFilter --";

            return text;
        }