BF2Statistics.MedalData.PlayerStat.ToPython C# (CSharp) Method

ToPython() public method

Converts the Condition into python executable code
public ToPython ( ) : string
return string
        public override string ToPython()
        {
            if (Params.Count == 2)
                return String.Format("{0}('{1}')", Params[0], Params[1]);
            else
                return String.Format("{0}('{1}', {2})", Params[0], Params[1], Params[2]);
        }