360{
374
376
378 {
389 }
390
392 {
394 }
395
397 {
400 {
403 }
405 }
406
408 {
412 }
413
415 {
417 }
418
420 {
422 }
423
425 {
427 }
428
430 {
432 }
433
435 {
437 }
438
439
441 {
443 {
445 {
450 }
451 }
452 }
453
455 {
459 }
460
461
462
464 {
468 {
470 }
472 }
473
475 {
476
478 }
479
481 {
483 }
484
486 {
487 #ifdef DEVELOPER
493 code.Replace(
"Print(",
"ScriptConsoleEnfScriptTab.PrintS(");
494 code.Replace(
"Print (",
"ScriptConsoleEnfScriptTab.PrintS(");
495 bool success =
GetGame().ExecuteEnforceScript(
"void scConsMain() \n{\n" +
code +
"\n}\n",
"scConsMain");
498
501 #endif
502 }
503
505 {
507 {
509 }
510 else
511 {
513 }
515 }
516
518 {
520 }
521
523 {
530 }
531
533 {
536 {
540 {
542 }
544 }
545 }
546
547
549 {
551 {
556 {
558 }
560 }
561 }
562
564 {
566 #ifdef DIAG_DEVELOPER
568 {
569 case ERPCs.DEV_RPC_SERVER_SCRIPT_RESULT:
570 {
572 {
574 }
575 break;
576 }
577 }
578 #endif
579 }
580
582 {
585 {
587 return true;
588 }
590 {
593 return true;
594 }
595
596 return false;
597 }
598
600 {
602 return false;
603 }
604
605
607 {
609 {
610
611 }
612 else
613 {
616 }
617 }
618
619}
620
622{
624 {
627 {
630 }
632 }
633
635 {
638 {
642 {
644 }
646 }
647 }
648
650 {
652 {
654
658 {
660 }
662 }
663 }
664
666 {
668 {
670 return true;
671 }
673 {
676 return true;
677 }
678
679 return false;
680 }
681
682}
void Show()
Definition DayZGame.c:157
override bool OnClick(Widget w, int x, int y, int button)
buttons clicks
Definition DayZGame.c:146
ERPCs
Definition ERPCs.c:2
Empty
Definition Hand_States.c:14
PlayerBase GetPlayer()
Definition ModifierBase.c:51
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316
PlayerBase _player
Definition QuickBarBase.c:18
ref TStringArray m_EnscriptConsoleHistoryServer
Definition ScriptConsoleEnfScriptTab.c:270
int m_EnscriptHistoryRowServer
Definition ScriptConsoleEnfScriptTab.c:268
override bool OnChange(Widget w, int x, int y, bool finished)
Definition ScriptConsoleEnfScriptTab.c:504
ButtonWidget m_EnfScriptClear
Definition ScriptConsoleEnfScriptTab.c:275
ScriptConsoleEnfScriptTab ScriptConsoleTabBase OnSelected()
Definition ScriptConsoleEnfScriptTab.c:265
void ReloadScriptOutput()
Definition ScriptConsoleEnfScriptTab.c:368
TextListboxWidget m_ScriptOutputListbox
Definition ScriptConsoleEnfScriptTab.c:276
void ResetRunButtonColor()
Definition ScriptConsoleEnfScriptTab.c:422
void Add(string message, bool isReload=false)
Definition ScriptConsoleEnfScriptTab.c:345
void ScriptConsoleEnfScriptTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
Definition ScriptConsoleEnfScriptTab.c:282
void ColorRunButton(bool success)
Definition ScriptConsoleEnfScriptTab.c:409
void RunEnscriptServer()
Definition ScriptConsoleEnfScriptTab.c:427
bool m_AllowScriptOutput
Definition ScriptConsoleEnfScriptTab.c:277
override void OnRPCEx(int rpc_type, ParamsReadContext ctx)
Definition ScriptConsoleEnfScriptTab.c:468
static ref TStringArray m_ScriptOutputHistory
Definition ScriptConsoleEnfScriptTab.c:280
int m_RunColor
Definition ScriptConsoleEnfScriptTab.c:278
PluginLocalEnscriptHistoryServer m_ModuleLocalEnscriptHistoryServer
Definition ScriptConsoleEnfScriptTab.c:272
ButtonWidget m_EnfScriptRun
Definition ScriptConsoleEnfScriptTab.c:274
void Clear(bool clearFile=false)
Definition ScriptConsoleEnfScriptTab.c:359
void EnscriptHistoryBack()
Definition ScriptConsoleEnfScriptTab.c:437
void ~ScriptConsoleEnfScriptTab()
Definition ScriptConsoleEnfScriptTab.c:296
static void PrintS(string message)
Definition ScriptConsoleEnfScriptTab.c:312
void RunEnscript()
Definition ScriptConsoleEnfScriptTab.c:390
void HistoryForward()
Definition ScriptConsoleEnfScriptTab.c:385
void HistoryBack()
Definition ScriptConsoleEnfScriptTab.c:379
int m_EnscriptHistoryRow
Definition ScriptConsoleEnfScriptTab.c:267
PluginLocalEnscriptHistory m_ModuleLocalEnscriptHistory
Definition ScriptConsoleEnfScriptTab.c:271
ref TStringArray m_EnscriptConsoleHistory
Definition ScriptConsoleEnfScriptTab.c:269
static ScriptConsoleEnfScriptTab m_Instance
Definition ScriptConsoleEnfScriptTab.c:266
MultilineEditBoxWidget m_EnfScriptEdit
Definition ScriptConsoleEnfScriptTab.c:273
override bool OnClick(Widget w, int x, int y, int button)
Definition ScriptConsoleEnfScriptTab.c:486
void EnscriptHistoryForward()
Definition ScriptConsoleEnfScriptTab.c:453
Widget m_Root
Definition SizeToChild.c:91
Definition UtilityClasses.c:10
static ref Param1< bool > PARAM1_BOOL
Definition UtilityClasses.c:12
static ref Param1< string > PARAM1_STRING
Definition UtilityClasses.c:14
static void ClearLogs()
Definition Debug.c:563
Definition ObjectTyped.c:2
Definition PlayerBaseClient.c:2
Definition ScriptConsoleEnfScriptTab.c:2
Definition ScriptConsoleTabBase.c:2
Serialization general interface. Serializer API works with:
Definition Serializer.c:56
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition IsBoxCollidingGeometryProxyClasses.c:28
Definition EnConvert.c:106
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
array< string > TStringArray
Definition EnScript.c:685
string String(string s)
Helper for passing string expression to functions with void parameter. Example: Print(String("Hello "...
Definition EnScript.c:339
int ARGB(int a, int r, int g, int b)
Definition proto.c:322