Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1017357 // ai_setLanguage

JavaX fragment (include)

static new ThreadLocal<S> 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)) });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017357
Snippet name: ai_setLanguage
Eternal ID of this version: #1017357/2
Text MD5: 0017182d3fbea7505acabc13f515de87
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-18 13:01:02
Source code size: 367 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 462
Version history: 1 change(s)
Referenced in: [show references]