2018-10-01ãã1ã¶æéã®è¨äºä¸è¦§
æ¬ç·¨ã¯ä»¥åæ¸ãã ãUE4/C++ Tick ãæ¥ãªãï¼ãããªã¨ãã®ãã©ãã«ã·ã¥ã¼ãåå¿é²ã ã§ããä»åã¯ãã®ãã¾ãã è¡åãã¿ã¼ã³ã§æ¸ãã¨ãããããªãã ãã¨æ°ã¥ãäºãå¤ãã®ã§ãã⦠Tick ãæ¥ãªãï¼ï¼æ°ã¥ãï¼ PrimaryActorTick.bCanEverTick = true ãã¦ããªãâ¦
次ã®ãããªããç°¡å㪠FHttpModule ã®å®è£ ä¾ãå®è¡ããã¨ã²ã¼ã ã¾ã㯠UE4Editor ãã¨ããã»ã¹ãè½ã¡ã¦ãã¾ãã TSharedRef< IHttpRequest > r = FHttpModule::Get().CreateRequest(); r->OnProcessRequestComplete().BindUObject( this, &UMyHttpTask::Handâ¦
1ã¤åã®è¨äº ãUE4/C++: å®è¡æã«åå¾ããããã¥ã¡ã³ãã SJIS ã ã£ãæã« ICU 㧠UTF8 ã«ããã UTF16 㧠TCHAR ã«ããã¡ã¢ã ã§UE4ã®ã¦ã¼ã¶ã¼ããã¸ã§ã¯ãã¬ãã«ã§ ICU ã©ã¤ãã©ãªã¼ãåãè¾¼ãã§æåã³ã¼ããæä½ããå®è£ ã®ã¡ã¢ãæ¸ãã¾ããããã®è¨äºã®å·â¦
å®è¡æã«ã©ããã®ã¬ã¬ã·ã¼ææ¸ã HTTP ã§æ¾ã£ã¦ãã¦è¡¨ç¤ºãããã¨ããã SJIS ã ã£ãã EUC-JP ã ã£ãããããã¯ã©ããå¥ã®æååã®æåã³ã¼ãã ã£ãã UE4 ã®æååå¦çç³»ã¯å é¨è¡¨ç¾ã® UTF16 ã¾ãã¯å¤æãã¯ããå®ç¾©ããã UTF8 ã ANSI ãããªãã¨æ±ããå°â¦