public static FactorioCommandBuilder SilentCommand() { var cb = new FactorioCommandBuilder(); var sb = cb.sb; sb.Append("/silent-command "); return(cb); }
public static FactorioCommandBuilder ServerCommand(string functionName) { var cb = new FactorioCommandBuilder(); var sb = cb.sb; sb.Append("/silent-command local s = ServerCommands s = s and s."); sb.Append(functionName); sb.Append('('); cb.appendBracket = true; return(cb); }