Esempio n. 1
0
        static FunctionMethodCreator()
        {
            methodList = new Dictionary<string, FunctionMethod>();
            //キャラクタデータ系
            methodList["GETCHARA"] = new GetcharaMethod();
            methodList["GETSPCHARA"] = new GetspcharaMethod();
            methodList["CSVNAME"] = new CsvStrDataMethod(CharacterStrData.NAME);
            methodList["CSVCALLNAME"] = new CsvStrDataMethod(CharacterStrData.CALLNAME);
            methodList["CSVNICKNAME"] = new CsvStrDataMethod(CharacterStrData.NICKNAME);
            methodList["CSVMASTERNAME"] = new CsvStrDataMethod(CharacterStrData.MASTERNAME);
            methodList["CSVCSTR"] = new CsvcstrMethod();
            methodList["CSVBASE"] = new CsvDataMethod(CharacterIntData.BASE);
            methodList["CSVABL"] = new CsvDataMethod(CharacterIntData.ABL);
            methodList["CSVMARK"] = new CsvDataMethod(CharacterIntData.MARK);
            methodList["CSVEXP"] = new CsvDataMethod(CharacterIntData.EXP);
            methodList["CSVRELATION"] = new CsvDataMethod(CharacterIntData.RELATION);
            methodList["CSVTALENT"] = new CsvDataMethod(CharacterIntData.TALENT);
            methodList["CSVCFLAG"] = new CsvDataMethod(CharacterIntData.CFLAG);
            methodList["CSVEQUIP"] = new CsvDataMethod(CharacterIntData.EQUIP);
            methodList["CSVJUEL"] = new CsvDataMethod(CharacterIntData.JUEL);
            methodList["FINDCHARA"] = new FindcharaMethod(false);
            methodList["FINDLASTCHARA"] = new FindcharaMethod(true);
            methodList["EXISTCSV"] = new ExistCsvMethod();

            //汎用処理系
            methodList["VARSIZE"] = new VarsizeMethod();
            methodList["CHKFONT"] = new CheckfontMethod();
            methodList["CHKDATA"] = new CheckdataMethod("CHKDATA", EraSaveFileType.Normal);
            methodList["ISSKIP"] = new IsSkipMethod();
            methodList["MOUSESKIP"] = new MouseSkipMethod();
            methodList["GETCOLOR"] = new GetColorMethod(false);
            methodList["GETDEFCOLOR"] = new GetColorMethod(true);
            methodList["GETFOCUSCOLOR"] = new GetFocusColorMethod();
            methodList["GETBGCOLOR"] = new GetBGColorMethod(false);
            methodList["GETDEFBGCOLOR"] = new GetBGColorMethod(true);
            methodList["GETSTYLE"] = new GetStyleMethod();
            methodList["GETFONT"] = new GetFontMethod();
            methodList["BARSTR"] = new BarStringMethod();
            methodList["CURRENTALIGN"] = new CurrentAlignMethod();
            methodList["CURRENTREDRAW"] = new CurrentRedrawMethod();

            methodList["CHKVARDATA"] = new CheckdataMethod("CHKVARDATA", EraSaveFileType.Var);
            methodList["CHKCHARADATA"] = new CheckdataMethod("CHKCHARADATA", EraSaveFileType.CharVar);
            //methodList["CHKGLOBALDATA"] = new CheckdataMethod("CHKGLOBALDATA", EraSaveFileType.Global);

            //定数取得
            methodList["MONEYSTR"] = new MoneyStrMethod();
            methodList["PRINTCPERLINE"] = new GetPrintCPerLineMethod();
            methodList["SAVENOS"] = new GetSaveNosMethod();
            methodList["GETTIME"] = new GettimeMethod();
            methodList["GETTIMES"] = new GettimesMethod();
            methodList["GETMILLISECOND"] = new GetmsMethod();
            methodList["GETSECOND"] = new GetSecondMethod();

            //数学関数
            methodList["RAND"] = new RandMethod();
            methodList["MIN"] = new MaxMethod(false);
            methodList["MAX"] = new MaxMethod(true);
            methodList["ABS"] = new AbsMethod();
            methodList["POWER"] = new PowerMethod();
            methodList["SQRT"] = new SqrtMethod();
            methodList["CBRT"] = new CbrtMethod();
            methodList["LOG"] = new LogMethod();
            methodList["LOG10"] = new LogMethod(10.0d);
            methodList["EXPONENT"] = new ExpMethod();
            methodList["SIGN"] = new SignMethod();
            methodList["LIMIT"] = new GetLimitMethod();

            //変数操作系
            methodList["SUMARRAY"] = new SumArrayMethod();
            methodList["SUMCARRAY"] = new SumArrayMethod(true);
            methodList["MATCH"] = new MatchMethod();
            methodList["CMATCH"] = new MatchMethod(true);
            methodList["GROUPMATCH"] = new GroupMatchMethod();
            methodList["NOSAMES"] = new NosamesMethod();
            methodList["ALLSAMES"] = new AllsamesMethod();
            methodList["MAXARRAY"] = new MaxArrayMethod();
            methodList["MAXCARRAY"] = new MaxArrayMethod(true);
            methodList["MINARRAY"] = new MaxArrayMethod(false, false);
            methodList["MINCARRAY"] = new MaxArrayMethod(true, false);
            methodList["GETBIT"] = new GetbitMethod();
            methodList["GETNUM"] = new GetnumMethod();
            methodList["GETPALAMLV"] = new GetPalamLVMethod();
            methodList["GETEXPLV"] = new GetExpLVMethod();
            methodList["FINDELEMENT"] = new FindElementMethod(false);
            methodList["FINDLASTELEMENT"] = new FindElementMethod(true);
            methodList["INRANGE"] = new InRangeMethod();
            methodList["INRANGEARRAY"] = new InRangeArrayMethod();
            methodList["INRANGECARRAY"] = new InRangeArrayMethod(true);

            //文字列操作系
            methodList["STRLENS"] = new StrlenMethod();
            methodList["STRLENSU"] = new StrlenuMethod();
            methodList["SUBSTRING"] = new SubstringMethod();
            methodList["SUBSTRINGU"] = new SubstringuMethod();
            methodList["STRFIND"] = new StrfindMethod(false);
            methodList["STRFINDU"] = new StrfindMethod(true);
            methodList["STRCOUNT"] = new StrCountMethod();
            methodList["TOSTR"] = new ToStrMethod();
            methodList["TOINT"] = new ToIntMethod();
            methodList["TOUPPER"] = new StrChangeStyleMethod(StrFormType.Upper);
            methodList["TOLOWER"] = new StrChangeStyleMethod(StrFormType.Lower);
            methodList["TOHALF"] = new StrChangeStyleMethod(StrFormType.Half);
            methodList["TOFULL"] = new StrChangeStyleMethod(StrFormType.Full);
            methodList["LINEISEMPTY"] = new LineIsEmptyMethod();
            methodList["REPLACE"] = new ReplaceMethod();
            methodList["UNICODE"] = new UnicodeMethod();
            methodList["UNICODEBYTE"] = new UnicodeByteMethod();
            methodList["CONVERT"] = new ConvertIntMethod();
            methodList["ISNUMERIC"] = new IsNumericMethod();
            methodList["ESCAPE"] = new EscapeMethod();
            methodList["ENCODETOUNI"] = new EncodeToUniMethod();
            methodList["CHARATU"] = new CharAtMethod();
            methodList["GETLINESTR"] = new GetLineStrMethod();
        }
Esempio n. 2
0
        static FunctionMethodCreator()
        {
            methodList = new Dictionary <string, FunctionMethod>();
            //キャラクタデータ系
            methodList["GETCHARA"]      = new GetcharaMethod();
            methodList["GETSPCHARA"]    = new GetspcharaMethod();
            methodList["CSVNAME"]       = new CsvStrDataMethod(CharacterStrData.NAME);
            methodList["CSVCALLNAME"]   = new CsvStrDataMethod(CharacterStrData.CALLNAME);
            methodList["CSVNICKNAME"]   = new CsvStrDataMethod(CharacterStrData.NICKNAME);
            methodList["CSVMASTERNAME"] = new CsvStrDataMethod(CharacterStrData.MASTERNAME);
            methodList["CSVCSTR"]       = new CsvcstrMethod();
            methodList["CSVBASE"]       = new CsvDataMethod(CharacterIntData.BASE);
            methodList["CSVABL"]        = new CsvDataMethod(CharacterIntData.ABL);
            methodList["CSVMARK"]       = new CsvDataMethod(CharacterIntData.MARK);
            methodList["CSVEXP"]        = new CsvDataMethod(CharacterIntData.EXP);
            methodList["CSVRELATION"]   = new CsvDataMethod(CharacterIntData.RELATION);
            methodList["CSVTALENT"]     = new CsvDataMethod(CharacterIntData.TALENT);
            methodList["CSVCFLAG"]      = new CsvDataMethod(CharacterIntData.CFLAG);
            methodList["CSVEQUIP"]      = new CsvDataMethod(CharacterIntData.EQUIP);
            methodList["CSVJUEL"]       = new CsvDataMethod(CharacterIntData.JUEL);
            methodList["FINDCHARA"]     = new FindcharaMethod(false);
            methodList["FINDLASTCHARA"] = new FindcharaMethod(true);
            methodList["EXISTCSV"]      = new ExistCsvMethod();

            //汎用処理系
            methodList["VARSIZE"]        = new VarsizeMethod();
            methodList["CHKFONT"]        = new CheckfontMethod();
            methodList["CHKDATA"]        = new CheckdataMethod("CHKDATA", EraSaveFileType.Normal);
            methodList["ISSKIP"]         = new IsSkipMethod();
            methodList["MOUSESKIP"]      = new MesSkipMethod(true);
            methodList["MESSKIP"]        = new MesSkipMethod(false);
            methodList["GETCOLOR"]       = new GetColorMethod(false);
            methodList["GETDEFCOLOR"]    = new GetColorMethod(true);
            methodList["GETFOCUSCOLOR"]  = new GetFocusColorMethod();
            methodList["GETBGCOLOR"]     = new GetBGColorMethod(false);
            methodList["GETDEFBGCOLOR"]  = new GetBGColorMethod(true);
            methodList["GETSTYLE"]       = new GetStyleMethod();
            methodList["GETFONT"]        = new GetFontMethod();
            methodList["BARSTR"]         = new BarStringMethod();
            methodList["CURRENTALIGN"]   = new CurrentAlignMethod();
            methodList["CURRENTREDRAW"]  = new CurrentRedrawMethod();
            methodList["COLOR_FROMNAME"] = new ColorFromNameMethod();
            methodList["COLOR_FROMRGB"]  = new ColorFromRGBMethod();

            //TODO:1810
            //methodList["CHKVARDATA"] = new CheckdataStrMethod("CHKVARDATA", EraSaveFileType.Var);
            methodList["CHKCHARADATA"] = new CheckdataStrMethod("CHKCHARADATA", EraSaveFileType.CharVar);
            //methodList["CHKGLOBALDATA"] = new CheckdataMethod("CHKGLOBALDATA", EraSaveFileType.Global);
            //methodList["FIND_VARDATA"] = new FindFilesMethod("FIND_VARDATA", EraSaveFileType.Var);
            methodList["FIND_CHARADATA"] = new FindFilesMethod("FIND_CHARADATA", EraSaveFileType.CharVar);

            //定数取得
            methodList["MONEYSTR"]       = new MoneyStrMethod();
            methodList["PRINTCPERLINE"]  = new GetPrintCPerLineMethod();
            methodList["PRINTCLENGTH"]   = new PrintCLengthMethod();
            methodList["SAVENOS"]        = new GetSaveNosMethod();
            methodList["GETTIME"]        = new GettimeMethod();
            methodList["GETTIMES"]       = new GettimesMethod();
            methodList["GETMILLISECOND"] = new GetmsMethod();
            methodList["GETSECOND"]      = new GetSecondMethod();

            //数学関数
            methodList["RAND"]     = new RandMethod();
            methodList["MIN"]      = new MaxMethod(false);
            methodList["MAX"]      = new MaxMethod(true);
            methodList["ABS"]      = new AbsMethod();
            methodList["POWER"]    = new PowerMethod();
            methodList["SQRT"]     = new SqrtMethod();
            methodList["CBRT"]     = new CbrtMethod();
            methodList["LOG"]      = new LogMethod();
            methodList["LOG10"]    = new LogMethod(10.0d);
            methodList["EXPONENT"] = new ExpMethod();
            methodList["SIGN"]     = new SignMethod();
            methodList["LIMIT"]    = new GetLimitMethod();

            //変数操作系
            methodList["SUMARRAY"]        = new SumArrayMethod();
            methodList["SUMCARRAY"]       = new SumArrayMethod(true);
            methodList["MATCH"]           = new MatchMethod();
            methodList["CMATCH"]          = new MatchMethod(true);
            methodList["GROUPMATCH"]      = new GroupMatchMethod();
            methodList["NOSAMES"]         = new NosamesMethod();
            methodList["ALLSAMES"]        = new AllsamesMethod();
            methodList["MAXARRAY"]        = new MaxArrayMethod();
            methodList["MAXCARRAY"]       = new MaxArrayMethod(true);
            methodList["MINARRAY"]        = new MaxArrayMethod(false, false);
            methodList["MINCARRAY"]       = new MaxArrayMethod(true, false);
            methodList["GETBIT"]          = new GetbitMethod();
            methodList["GETNUM"]          = new GetnumMethod();
            methodList["GETPALAMLV"]      = new GetPalamLVMethod();
            methodList["GETEXPLV"]        = new GetExpLVMethod();
            methodList["FINDELEMENT"]     = new FindElementMethod(false);
            methodList["FINDLASTELEMENT"] = new FindElementMethod(true);
            methodList["INRANGE"]         = new InRangeMethod();
            methodList["INRANGEARRAY"]    = new InRangeArrayMethod();
            methodList["INRANGECARRAY"]   = new InRangeArrayMethod(true);
            methodList["GETNUMB"]         = new GetnumMethod();


            //文字列操作系
            methodList["STRLENS"]     = new StrlenMethod();
            methodList["STRLENSU"]    = new StrlenuMethod();
            methodList["SUBSTRING"]   = new SubstringMethod();
            methodList["SUBSTRINGU"]  = new SubstringuMethod();
            methodList["STRFIND"]     = new StrfindMethod(false);
            methodList["STRFINDU"]    = new StrfindMethod(true);
            methodList["STRCOUNT"]    = new StrCountMethod();
            methodList["TOSTR"]       = new ToStrMethod();
            methodList["TOINT"]       = new ToIntMethod();
            methodList["TOUPPER"]     = new StrChangeStyleMethod(StrFormType.Upper);
            methodList["TOLOWER"]     = new StrChangeStyleMethod(StrFormType.Lower);
            methodList["TOHALF"]      = new StrChangeStyleMethod(StrFormType.Half);
            methodList["TOFULL"]      = new StrChangeStyleMethod(StrFormType.Full);
            methodList["LINEISEMPTY"] = new LineIsEmptyMethod();
            methodList["REPLACE"]     = new ReplaceMethod();
            methodList["UNICODE"]     = new UnicodeMethod();
            methodList["UNICODEBYTE"] = new UnicodeByteMethod();
            methodList["CONVERT"]     = new ConvertIntMethod();
            methodList["ISNUMERIC"]   = new IsNumericMethod();
            methodList["ESCAPE"]      = new EscapeMethod();
            methodList["ENCODETOUNI"] = new EncodeToUniMethod();
            methodList["CHARATU"]     = new CharAtMethod();
            methodList["GETLINESTR"]  = new GetLineStrMethod();
            methodList["STRFORM"]     = new StrFormMethod();

            methodList["GETCONFIG"]  = new GetConfigMethod(true);
            methodList["GETCONFIGS"] = new GetConfigMethod(false);

            //html系
            methodList["HTML_GETPRINTEDSTR"]  = new HtmlGetPrintedStrMethod();
            methodList["HTML_POPPRINTINGSTR"] = new HtmlPopPrintingStrMethod();
            methodList["HTML_TOPLAINTEXT"]    = new HtmlToPlainTextMethod();
            methodList["HTML_ESCAPE"]         = new HtmlEscapeMethod();
        }
Esempio n. 3
0
        static FunctionMethodCreator()
        {
            methodList = new Dictionary <string, FunctionMethod>();
            //キャラクタデータ系
            methodList["GETCHARA"]      = new GetcharaMethod();
            methodList["GETSPCHARA"]    = new GetspcharaMethod();
            methodList["CSVNAME"]       = new CsvStrDataMethod(CharacterStrData.NAME);
            methodList["CSVCALLNAME"]   = new CsvStrDataMethod(CharacterStrData.CALLNAME);
            methodList["CSVNICKNAME"]   = new CsvStrDataMethod(CharacterStrData.NICKNAME);
            methodList["CSVMASTERNAME"] = new CsvStrDataMethod(CharacterStrData.MASTERNAME);
            methodList["CSVCSTR"]       = new CsvcstrMethod();
            methodList["CSVBASE"]       = new CsvDataMethod(CharacterIntData.BASE);
            methodList["CSVABL"]        = new CsvDataMethod(CharacterIntData.ABL);
            methodList["CSVMARK"]       = new CsvDataMethod(CharacterIntData.MARK);
            methodList["CSVEXP"]        = new CsvDataMethod(CharacterIntData.EXP);
            methodList["CSVRELATION"]   = new CsvDataMethod(CharacterIntData.RELATION);
            methodList["CSVTALENT"]     = new CsvDataMethod(CharacterIntData.TALENT);
            methodList["CSVCFLAG"]      = new CsvDataMethod(CharacterIntData.CFLAG);
            methodList["CSVEQUIP"]      = new CsvDataMethod(CharacterIntData.EQUIP);
            methodList["CSVJUEL"]       = new CsvDataMethod(CharacterIntData.JUEL);
            methodList["FINDCHARA"]     = new FindcharaMethod(false);
            methodList["FINDLASTCHARA"] = new FindcharaMethod(true);
            methodList["EXISTCSV"]      = new ExistCsvMethod();

            //汎用処理系
            methodList["VARSIZE"]        = new VarsizeMethod();
            methodList["CHKFONT"]        = new CheckfontMethod();
            methodList["CHKDATA"]        = new CheckdataMethod("CHKDATA", EraSaveFileType.Normal);
            methodList["ISSKIP"]         = new IsSkipMethod();
            methodList["MOUSESKIP"]      = new MesSkipMethod(true);
            methodList["MESSKIP"]        = new MesSkipMethod(false);
            methodList["GETCOLOR"]       = new GetColorMethod(false);
            methodList["GETDEFCOLOR"]    = new GetColorMethod(true);
            methodList["GETFOCUSCOLOR"]  = new GetFocusColorMethod();
            methodList["GETBGCOLOR"]     = new GetBGColorMethod(false);
            methodList["GETDEFBGCOLOR"]  = new GetBGColorMethod(true);
            methodList["GETSTYLE"]       = new GetStyleMethod();
            methodList["GETFONT"]        = new GetFontMethod();
            methodList["BARSTR"]         = new BarStringMethod();
            methodList["CURRENTALIGN"]   = new CurrentAlignMethod();
            methodList["CURRENTREDRAW"]  = new CurrentRedrawMethod();
            methodList["COLOR_FROMNAME"] = new ColorFromNameMethod();
            methodList["COLOR_FROMRGB"]  = new ColorFromRGBMethod();

            //TODO:1810
            //methodList["CHKVARDATA"] = new CheckdataStrMethod("CHKVARDATA", EraSaveFileType.Var);
            methodList["CHKCHARADATA"] = new CheckdataStrMethod("CHKCHARADATA", EraSaveFileType.CharVar);
            //methodList["CHKGLOBALDATA"] = new CheckdataMethod("CHKGLOBALDATA", EraSaveFileType.Global);
            //methodList["FIND_VARDATA"] = new FindFilesMethod("FIND_VARDATA", EraSaveFileType.Var);
            methodList["FIND_CHARADATA"] = new FindFilesMethod("FIND_CHARADATA", EraSaveFileType.CharVar);

            //定数取得
            methodList["MONEYSTR"]       = new MoneyStrMethod();
            methodList["PRINTCPERLINE"]  = new GetPrintCPerLineMethod();
            methodList["PRINTCLENGTH"]   = new PrintCLengthMethod();
            methodList["SAVENOS"]        = new GetSaveNosMethod();
            methodList["GETTIME"]        = new GettimeMethod();
            methodList["GETTIMES"]       = new GettimesMethod();
            methodList["GETMILLISECOND"] = new GetmsMethod();
            methodList["GETSECOND"]      = new GetSecondMethod();

            //数学関数
            methodList["RAND"]     = new RandMethod();
            methodList["MIN"]      = new MaxMethod(false);
            methodList["MAX"]      = new MaxMethod(true);
            methodList["ABS"]      = new AbsMethod();
            methodList["POWER"]    = new PowerMethod();
            methodList["SQRT"]     = new SqrtMethod();
            methodList["CBRT"]     = new CbrtMethod();
            methodList["LOG"]      = new LogMethod();
            methodList["LOG10"]    = new LogMethod(10.0d);
            methodList["EXPONENT"] = new ExpMethod();
            methodList["SIGN"]     = new SignMethod();
            methodList["LIMIT"]    = new GetLimitMethod();

            //変数操作系
            methodList["SUMARRAY"]        = new SumArrayMethod();
            methodList["SUMCARRAY"]       = new SumArrayMethod(true);
            methodList["MATCH"]           = new MatchMethod();
            methodList["CMATCH"]          = new MatchMethod(true);
            methodList["GROUPMATCH"]      = new GroupMatchMethod();
            methodList["NOSAMES"]         = new NosamesMethod();
            methodList["ALLSAMES"]        = new AllsamesMethod();
            methodList["MAXARRAY"]        = new MaxArrayMethod();
            methodList["MAXCARRAY"]       = new MaxArrayMethod(true);
            methodList["MINARRAY"]        = new MaxArrayMethod(false, false);
            methodList["MINCARRAY"]       = new MaxArrayMethod(true, false);
            methodList["GETBIT"]          = new GetbitMethod();
            methodList["GETNUM"]          = new GetnumMethod();
            methodList["GETPALAMLV"]      = new GetPalamLVMethod();
            methodList["GETEXPLV"]        = new GetExpLVMethod();
            methodList["FINDELEMENT"]     = new FindElementMethod(false);
            methodList["FINDLASTELEMENT"] = new FindElementMethod(true);
            methodList["INRANGE"]         = new InRangeMethod();
            methodList["INRANGEARRAY"]    = new InRangeArrayMethod();
            methodList["INRANGECARRAY"]   = new InRangeArrayMethod(true);
            methodList["GETNUMB"]         = new GetnumMethod();

            methodList["ARRAYMSORT"] = new ArrayMultiSortMethod();

            //文字列操作系
            methodList["STRLENS"]     = new StrlenMethod();
            methodList["STRLENSU"]    = new StrlenuMethod();
            methodList["SUBSTRING"]   = new SubstringMethod();
            methodList["SUBSTRINGU"]  = new SubstringuMethod();
            methodList["STRFIND"]     = new StrfindMethod(false);
            methodList["STRFINDU"]    = new StrfindMethod(true);
            methodList["STRCOUNT"]    = new StrCountMethod();
            methodList["TOSTR"]       = new ToStrMethod();
            methodList["TOINT"]       = new ToIntMethod();
            methodList["TOUPPER"]     = new StrChangeStyleMethod(StrFormType.Upper);
            methodList["TOLOWER"]     = new StrChangeStyleMethod(StrFormType.Lower);
            methodList["TOHALF"]      = new StrChangeStyleMethod(StrFormType.Half);
            methodList["TOFULL"]      = new StrChangeStyleMethod(StrFormType.Full);
            methodList["LINEISEMPTY"] = new LineIsEmptyMethod();
            methodList["REPLACE"]     = new ReplaceMethod();
            methodList["UNICODE"]     = new UnicodeMethod();
            methodList["UNICODEBYTE"] = new UnicodeByteMethod();
            methodList["CONVERT"]     = new ConvertIntMethod();
            methodList["ISNUMERIC"]   = new IsNumericMethod();
            methodList["ESCAPE"]      = new EscapeMethod();
            methodList["ENCODETOUNI"] = new EncodeToUniMethod();
            methodList["CHARATU"]     = new CharAtMethod();
            methodList["GETLINESTR"]  = new GetLineStrMethod();
            methodList["STRFORM"]     = new StrFormMethod();
            methodList["STRJOIN"]     = new JoinMethod();

            methodList["GETCONFIG"]  = new GetConfigMethod(true);
            methodList["GETCONFIGS"] = new GetConfigMethod(false);

            //html系
            methodList["HTML_GETPRINTEDSTR"]  = new HtmlGetPrintedStrMethod();
            methodList["HTML_POPPRINTINGSTR"] = new HtmlPopPrintingStrMethod();
            methodList["HTML_TOPLAINTEXT"]    = new HtmlToPlainTextMethod();
            methodList["HTML_ESCAPE"]         = new HtmlEscapeMethod();


            //画像処理系
            methodList["SPRITECREATED"] = new SpriteStateMethod();
            methodList["SPRITEWIDTH"]   = new SpriteStateMethod();
            methodList["SPRITEHEIGHT"]  = new SpriteStateMethod();
            methodList["SPRITEMOVE"]    = new SpriteSetPosMethod();
            methodList["SPRITESETPOS"]  = new SpriteSetPosMethod();
            methodList["SPRITEPOSX"]    = new SpriteStateMethod();
            methodList["SPRITEPOSY"]    = new SpriteStateMethod();

            methodList["CLIENTWIDTH"]  = new ClientSizeMethod();
            methodList["CLIENTHEIGHT"] = new ClientSizeMethod();

            methodList["GETKEY"]          = new GetKeyStateMethod();
            methodList["GETKEYTRIGGERED"] = new GetKeyStateMethod();
            methodList["MOUSEX"]          = new MousePosMethod();
            methodList["MOUSEY"]          = new MousePosMethod();
            methodList["ISACTIVE"]        = new IsActiveMethod();
            methodList["SAVETEXT"]        = new SaveTextMethod();
            methodList["LOADTEXT"]        = new LoadTextMethod();


            /*1824まで封印
             * //methodList["GCREATED"] = new GraphicsStateMethod();// ("GCREATED");
             * //methodList["GWIDTH"] = new GraphicsStateMethod();//("GWIDTH");
             * //methodList["GHEIGHT"] = new GraphicsStateMethod();//("GHEIGHT");
             * //methodList["GGETCOLOR"] = new GraphicsGetColorMethod();
             * //methodList["SPRITEGETCOLOR"] = new SpriteGetColorMethod();
             *
             * //methodList["GCREATE"] = new GraphicsCreateMethod();
             * //methodList["GCREATEFROMFILE"] = new GraphicsCreateFromFileMethod();
             * //methodList["GDISPOSE"] = new GraphicsDisposeMethod();
             * //methodList["GCLEAR"] = new GraphicsClearMethod();
             * //methodList["GFILLRECTANGLE"] = new GraphicsFillRectangleMethod();
             * //methodList["GDRAWSPRITE"] = new GraphicsDrawSpriteMethod();
             * //methodList["GSETCOLOR"] = new GraphicsSetColorMethod();
             * //methodList["GDRAWG"] = new GraphicsDrawGMethod();
             * //methodList["GDRAWGWITHMASK"] = new GraphicsDrawGWithMaskMethod();
             *
             * //methodList["GSETBRUSH"] = new GraphicsSetBrushMethod();
             * //methodList["GSETFONT"] = new GraphicsSetFontMethod();
             * //methodList["GSETPEN"] = new GraphicsSetPenMethod();
             *
             * //methodList["SPRITECREATE"] = new SpriteCreateMethod();
             * //methodList["SPRITEDISPOSE"] = new SpriteDisposeMethod();
             *
             * //methodList["CBGSETG"] = new CBGSetGraphicsMethod();
             * //methodList["CBGSETSPRITE"] = new CBGSetCIMGMethod();
             * //methodList["CBGCLEAR"] = new CBGClearMethod();
             *
             * //methodList["CBGCLEARBUTTON"] = new CBGClearButtonMethod();
             * //methodList["CBGREMOVERANGE"] = new CBGRemoveRangeMethod();
             * //methodList["CBGREMOVEBMAP"] = new CBGRemoveBMapMethod();
             * //methodList["CBGSETBMAPG"] = new CBGSetBMapGMethod();
             * //methodList["CBGSETBUTTONSPRITE"] = new CBGSETButtonSpriteMethod();
             *
             * //methodList["GSAVE"] = new GraphicsSaveMethod();
             * //methodList["GLOAD"] = new GraphicsLoadMethod();
             */



            //1823 自分の関数名を知っていた方が何かと便利なので覚えさせることにした
            foreach (var pair in methodList)
            {
                pair.Value.SetMethodName(pair.Key);
            }
        }