{"id":1219,"date":"2012-03-26T23:18:39","date_gmt":"2012-03-26T14:18:39","guid":{"rendered":"http:\/\/simlab.wp-x.jp\/?p=1219"},"modified":"2015-12-19T11:07:10","modified_gmt":"2015-12-19T02:07:10","slug":"%e3%80%90rfactor2%e3%80%91-%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e9%96%8b%e7%99%ba2-%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab%e8%a9%b3%e7%b4%b01","status":"publish","type":"post","link":"http:\/\/simlab.wp-x.jp\/?p=1219","title":{"rendered":"\u3010rfactor2\u3011 \u30d7\u30e9\u30b0\u30a4\u30f3\u958b\u767a2 &#8211; \u30b5\u30f3\u30d7\u30eb\u8a73\u7d301 &#8211;"},"content":{"rendered":"<p><strong>\u4eca\u56de\u306e\u8da3\u65e8<\/strong><br \/>\n\u3000\u524d\u56de\u306b\u5f15\u304d\u7d9a\u304d\u3001rFactor2\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u4f8b(Jan 15, 2012\u7248)\u306b\u3064\u3044\u3066\u89e3\u6790\u3092\u3059\u308b\u3002<br \/>\n\u3000\u5fc5\u8981\u306a\u77e5\u8b58\u306f\u3001DLL\u53ca\u3073C++\u3068\u306a\u308b\u3002<br \/>\n<strong>DLL\u306e\u5b9a\u7fa9<\/strong><br \/>\n\u3000rFactor2\u3067\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3=DLL\u3067\u3042\u308b\u3002<br \/>\n\u3000\u6700\u4f4e\u9650\u3001\u6c7a\u3081\u3089\u308c\u305f\u95a2\u6570\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u5b9a\u7fa9\u3092\u3057\u3066\u3084\u308c\u3070\u3001\u3068\u308a\u3042\u3048\u305a\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u3002<br \/>\n\u3000MOD\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u30e6\u30fc\u30b6\u30fc\u306b\u4f5c\u3089\u308c\u308b\u3053\u3068\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u308b\u3002<br \/>\n\u3000\u305d\u306e\u305f\u3081\u3001\u958b\u767a\u8005\u3068\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3001\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u3067\u3042\u308b\u3068\u3044\u3048\u308b\u3002<br \/>\n\u3000<br \/>\n\u3000Example.cpp\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u5b9a\u7fa9(DLL\u3092\u8aad\u307f\u8fbc\u3080\u5074\u3078\u306e\u95a2\u6570\u306e\u5ba3\u8a00)\u306f\u3001\u4e0b\u8a18\u306e\u901a\u308a\u3002<br \/>\n<strong>\u3000\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u540d\u524d\u3092\u8fd4\u3059\u95a2\u6570<\/strong><br \/>\n\u3000\u3000\u307e\u3060\u3001\u7b46\u8005\u306erFactor2\u3067\u306e\u8abf\u67fb\u304c\u8db3\u308a\u306a\u3044\u3060\u3051\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001MOD\u540d\u3092rFactor2\u672c\u4f53\u304b\u3089<br \/>\n\u3000\u3000\u53d6\u5f97\u3067\u304d\u308b\u524d\u63d0\u3068\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3002<br \/>\n\u3000\u3000extern &#8220;C&#8221; __declspec( dllexport )const char * __cdecl GetPluginName()                   { return( &#8220;ExamplePlugin &#8211; 2008.02.13&#8221; ); }<br \/>\n<strong>\u3000\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u7a2e\u5225\u3092\u8fd4\u3059\u95a2\u6570<\/strong><br \/>\n\u3000\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u7a2e\u5225(\u5b9a\u6570\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b)\u3092\u8fd4\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u7a2e\u5225\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3002<br \/>\n\u3000extern &#8220;C&#8221; __declspec( dllexport )<br \/>\nPluginObjectType __cdecl GetPluginType()               { return( PO_INTERNALS ); }<br \/>\n<strong>\u3000\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8fd4\u3059\u95a2\u6570<\/strong><br \/>\n\u3000\u3000\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u3067\u306f\u306a\u3044\u304b?\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3000\u3000\u3060\u304c\u95a2\u6570\u306fint\u3067\u8fd4\u3059\u306e\u3067\u30011.1\u3067\u3042\u308d\u3046\u304c2.5\u3067\u3042\u308d\u3046\u304c\u3001\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u3066\u6574\u6570\u3060\u3051\u304c\u8fd4\u3055\u308c\u308b\u3002<br \/>\n\u3000\u3000\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4e2d\u3067\u306f\u30011000\u500d\u306e\u5024\u3092\u8fd4\u3057\u307e\u3057\u3087\u3046\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f31.0\u306a\u30891000\u3092\u8fd4\u3059\u306e\u304c\u3001<br \/>\n\u3000\u3000rFactor2\u3067\u306e\u7d04\u675f\u4e8b\u3068\u306a\u308b\u3002<br \/>\n\u3000\u3000\u9006\u306b\u3001rFactor2.exe\u304b\u3089\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u306f\u30011000\u500d\u306e\u5024\u3067\u6765\u308b\u306e\u3067\u30011000\u3067\u5272\u3063\u3066\u3001<br \/>\n\u3000\u3000\u5c0f\u6570\u70b9\u3067\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u304c\u3042\u308b\u3002<br \/>\n\u3000extern &#8220;C&#8221; __declspec( dllexport )<br \/>\nint __cdecl GetPluginVersion()                         { return( 1 ); } \/\/ InternalsPluginV01 functionality<br \/>\n<strong>\u3000\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53c2\u7167\u3092\u8fd4\u3059\u95a2\u6570<\/strong><br \/>\n\u3000\u3000\u5f8c\u8ff0\u3059\u308b\u30af\u30e9\u30b9\u4f53\u7cfb\u306b\u57fa\u3065\u3044\u305frFactor2\u304b\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u308b\u3068\u63a8\u6e2c\u3055\u308c\u308b\u3002<br \/>\n\u3000\u3000\u6700\u4e0a\u4f4d\u30af\u30e9\u30b9\u3068\u306a\u308bPluginObject\u306e\u30e1\u30f3\u30d0\u95a2\u6570\u5b9a\u7fa9\u306f\u3001\u6c7a\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u4f5c\u6210\u3067\u304d\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5e45\u306f\u3001<br \/>\n\u3000\u3000\u3053\u308c\u306b\u7e1b\u3089\u308c\u308b\u3068\u8003\u3048\u3089\u308c\u308b\u3002<br \/>\n\u3000\u3000extern &#8220;C&#8221; __declspec( dllexport )<br \/>\nPluginObject * __cdecl CreatePluginObject()            { return( (PluginObject *) new ExampleInternalsPlugin ); }<br \/>\n<strong>\u3000\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7834\u58ca\u95a2\u6570<\/strong><br \/>\n\u3000\u3000\u30d7\u30e9\u30b0\u30a4\u30f3\u7d42\u4e86\u6642\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6d88\u6ec5\u3055\u305b\u308b\u95a2\u6570\u3002\u304a\u7d04\u675f\u3002<br \/>\n\u3000extern &#8220;C&#8221; __declspec( dllexport )<br \/>\nvoid __cdecl DestroyPluginObject( PluginObject *obj )  { delete( (ExampleInternalsPlugin *) obj ); }<br \/>\n<strong>PluginObject\u306e\u6982\u8981<\/strong><br \/>\n\u3000\u5168\u3066\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001PluginObject\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u305f\u30af\u30e9\u30b9\u3068\u306a\u308b\u3002<br \/>\n\u3000\u3088\u3063\u3066\u3001PluginObject\u30af\u30e9\u30b9\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u30b9\u30bf\u30fc\u30c8\u5730\u70b9\u3068\u306a\u308b\u3002<br \/>\n\u3000\u95a2\u6570\u306f\u305f\u3063\u305f2\u3064\u3002\u5909\u6570\u306f1\u3064\u3067\u3042\u308b\u3002\u305d\u306e\u4ed6\u30015\u3064\u306e\u578b\u5b9a\u7fa9\u3068\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n<a href=\"http:\/\/simlab.wp-x.jp\/wp-content\/uploads\/2014\/06\/20120326a.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/simlab.wp-x.jp\/wp-content\/uploads\/2014\/06\/20120326a.jpg\" alt=\"20120326a.jpg\" border=\"0\" width=\"259\" height=\"230\" \/><\/a><br \/>\n<strong>PluginObject\u306e\u95a2\u9023\u578b\u5b9a\u7fa9<\/strong><br \/>\n\u898b\u305f\u307e\u307e\u306a\u306e\u3067\u3001\u7701\u7565\u3059\u308b\u3002<br \/>\ntypedef const char *      ( __cdecl *GETPLUGINNAME )();<br \/>\ntypedef PluginObjectType  ( __cdecl *GETPLUGINTYPE )();<br \/>\ntypedef int               ( __cdecl *GETPLUGINVERSION )();<br \/>\ntypedef PluginObject *    ( __cdecl *CREATEPLUGINOBJECT )();<br \/>\ntypedef void              ( __cdecl *DESTROYPLUGINOBJECT )( PluginObject *obj );<br \/>\n<strong>PluginObject\u306e\u95a2\u9023\u578b\u5b9a\u7fa9<\/strong><br \/>\n\u3000\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u7a2e\u5225\u306f\u3001\u5217\u6319\u65b9\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u3000\u5b9f\u8cea\u30010\uff5e4\u306e5\u3064\u306e\u7a2e\u985e\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u3002&#8221;GAMESTATS&#8221;\u306f\u3001 \u7d71\u8a08\u60c5\u5831(statistics)\u7528?<br \/>\n\u3000&#8221;INTERINTERNALS&#8221;\u306f\u3001\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3082\u306e\u3002\u8d70\u884c\u30c7\u30fc\u30bf\u7b49\u3092\u53d6\u308a\u305f\u3044\u3068\u304d\u306f\u3001<br \/>\n\u3000\u3053\u306e&#8221;INTERNALS&#8221;\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u307e\u305f&#8221;RFONLINE&#8221;\u306f\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u8003\u3048\u3089\u308c\u308b\u3002<br \/>\n\u3000\u73fe\u6642\u70b9\u3067\u8a73\u7d30\u306f\u4e0d\u660e\u3060\u304c\u3001XFire\u3084Team Speak3\u7b49\u306e\u30b2\u30fc\u30e0\u7528\u30e1\u30c3\u30bb\u30f3\u30b8\u30e3\u30fc\u7b49\u3068\u9023\u643a\u3057\u3066\u30dc\u30a4\u30b9\u30c1\u30e3\u30c3\u30c8\u7b49\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u4f5c\u308c\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002(\u61b6\u6e2c)<br \/>\n\u3000&#8221;NCPLUGIN&#8221;\u306f\u3001NC\u304c\u4f55\u306e\u7565\u304b\u4e0d\u660e\u3002&#8221;IVIBE&#8221;\u3082\u540c\u69d8\u306b\u4e0d\u660e\u3002<br \/>\n\u203bPO_\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u63a5\u982d\u6587\u5b57\u3002<br \/>\n\u3000enum PluginObjectType<br \/>\n\u3000{<br \/>\n\u3000 PO_INVALID      = -1,<br \/>\n\u3000\/\/&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#8212;-<br \/>\n\u3000PO_GAMESTATS    =  0,<br \/>\n\u3000PO_NCPLUGIN     =  1,<br \/>\n\u3000PO_IVIBE        =  2,<br \/>\n\u3000PO_INTERNALS    =  3,<br \/>\n\u3000PO_RFONLINE     =  4,<br \/>\n\u3000\/\/&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#8212;-<br \/>\n\u3000PO_MAXIMUM<br \/>\n\u3000};<br \/>\n<strong>\u6b21\u56de<\/strong><br \/>\n\u3000\u6b21\u56de\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u7a2e\u5225\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b5\u3064\u306e\u5f62\u5f0f\u306e\u3046\u3061\u3001PO_INTERNALS\u5f62\u5f0f\u3002<br \/>\n\u3000\u3059\u306a\u308f\u3061\u3001InternalsPlugin\u30af\u30e9\u30b9\u306b\u3064\u3044\u3066\u89e3\u6790\u3092\u884c\u3046\u4e88\u5b9a\u3002<br \/>\n\u3000\u203b\u305d\u306e\u4ed6\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u5f62\u5f0f\u306e\u30b5\u30f3\u30d7\u30eb\u30fb\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u307e\u3060\u516c\u958b\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306e\u8da3\u65e8 \u3000\u524d\u56de\u306b\u5f15\u304d\u7d9a\u304d\u3001rFactor2\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u4f8b(Jan 15, 2012\u7248)\u306b\u3064\u3044\u3066\u89e3\u6790\u3092\u3059\u308b\u3002 \u3000\u5fc5\u8981\u306a\u77e5\u8b58\u306f\u3001DLL\u53ca\u3073C++\u3068\u306a\u308b\u3002 DLL\u306e\u5b9a\u7fa9 \u3000rFactor2\u3067\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3=DLL\u3067\u3042\u308b\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3],"tags":[],"class_list":["post-1219","post","type-post","status-publish","format-standard","hentry","category-rfactor2-plugin-develop"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4GJBa-jF","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/posts\/1219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1219"}],"version-history":[{"count":1,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/posts\/1219\/revisions"}],"predecessor-version":[{"id":1674,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=\/wp\/v2\/posts\/1219\/revisions\/1674"}],"wp:attachment":[{"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/simlab.wp-x.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}