DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RunEnscriptServer()

void ScriptConsoleEnfScriptTab::RunEnscriptServer ( )
inlineprotected

См. определение в файле ScriptConsoleEnfScriptTab.c строка 164

165 {
166 string code;
167 m_EnfScriptEdit.GetText(code);
169 m_ModuleLocalEnscriptHistoryServer.AddNewLine(code);
170 CachedObjectsParams.PARAM1_STRING.param1 = code;
171 GetGame().RPCSingleParam(GetGame().GetPlayer(), ERPCs.DEV_RPC_SERVER_SCRIPT, CachedObjectsParams.PARAM1_STRING, true, GetGame().GetPlayer().GetIdentity());
172 }
ERPCs
Определения ERPCs.c:2
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
PluginLocalEnscriptHistoryServer m_ModuleLocalEnscriptHistoryServer
Определения ScriptConsoleEnfScriptTab.c:9
MultilineEditBoxWidget m_EnfScriptEdit
Определения ScriptConsoleEnfScriptTab.c:10
ref TStringArray m_EnscriptConsoleHistoryServer
Определения ScriptConsoleEnfScriptTab.c:7
proto native CGame GetGame()

Перекрестные ссылки GetGame(), GetPlayer(), m_EnfScriptEdit, m_EnscriptConsoleHistoryServer, m_ModuleLocalEnscriptHistoryServer, CachedObjectsParams::PARAM1_STRING и CGame::RPCSingleParam().