Beispiel #1
0
        private void CheckCheat(ResultSet result)
        {
            mCheatString += RB.InputString().ToLowerInvariant();
            if (mCheatString.Length > 20)
            {
                mCheatString = mCheatString.Substring(mCheatString.Length - 10);
            }

            if (mCheatString.Contains("test"))
            {
                mCheatString = string.Empty;
                result.AddCheat();
            }
        }