MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / script_vars_assign

Function script_vars_assign

ogsr_engine/xrGame/script_vars_storage.cpp:523–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523int script_vars_assign(lua_State* L)
524{
525 CScriptVarsTable* svt = lua_tosvt(L, 1);
526 if (svt && lua_istable(L, 2))
527 svt->assign(L, 2);
528 return 0;
529}
530
531int script_vars_index(lua_State* L) // чтение переменной из скриптов по строковому индексу
532{

Callers

nothing calls this directly

Calls 2

lua_tosvtFunction · 0.85
assignMethod · 0.45

Tested by

no test coverage detected