// Token: 0x060155BA RID: 87482 RVA: 0x0056B4BC File Offset: 0x005696BC public void Execute(string strParams) { ArgumentsParser argumentsParser = new ArgumentsParser("s s", strParams); string @string = argumentsParser.GetString(0); string string2 = argumentsParser.GetString(1); if (@string.ToLower() == "include") { List <string> includeStrings = new List <string>(string2.Split(new char[] { ';' })); DebugConsoleMode.instance.SetFilterString(includeStrings, null); } else if (@string.ToLower() == "exclude") { List <string> excludeStrings = new List <string>(string2.Split(new char[] { ';' })); DebugConsoleMode.instance.SetFilterString(null, excludeStrings); } else if (@string.ToLower() == "clear") { DebugConsoleMode.instance.SetFilterString(new List <string>(), new List <string>()); } }
bool GetValue(string key, out string value) { if (_argumentsParser.GetString(key, out value)) { return(true); } return(TryGetValue(key, out value)); }
// Token: 0x0600523A RID: 21050 RVA: 0x00186450 File Offset: 0x00184650 public void Execute(string strParams) { ArgumentsParser argumentsParser = new ArgumentsParser("s", strParams); IAudioPlayback audioPlayback = AudioUtility.PlaySound(argumentsParser.GetString(0)); if (audioPlayback != null) { Debug.Log(string.Format("sound length: {0} seconds.", audioPlayback.Seconds)); } }