static new ThreadLocal ai_setLanguage_value; svoid ai_setLanguage(S language) { ai_setLanguage_value.set(language); } svoid _onLoad_ai_setLanguage { _threadInfo_addMakerAndRetriever( voidfunc(Map map) { mapPut(map, 'ai_setLanguage_value, ai_setLanguage_value!) }, voidfunc(Map map) { ai_setLanguage((S) map.get('ai_setLanguage_value)) }); }