コード例 #1
0
    public void Last()
    {
        builder.PrintBytes();
        List <byte> exportCurrent = builder.ExportEffect();

        try {
            RulesTextInterpreter RTI = new RulesTextInterpreter(exportCurrent);
            RTI.GetFullRulesText();
        } catch (UnexpectedByteException) {
            controller.ReportError("There was an error building this effect. Please try again, and/or tell a dev.");
            return;
        }

        controller.AddEffect(exportCurrent);
        controller.OpenSummaryPanel();
    }