8 GetGame().GetMission().AddActiveInputExcludes({
"menu"});
18 GetGame().GetMission().RemoveActiveInputExcludes({
"menu"},
true);
234 GetGame().GetInput().ResetGameFocus();
235 GetGame().GetUIManager().ShowUICursor(
false);
238 if (
GetGame().GetUIManager().IsDialogVisible())
239 GetGame().GetUIManager().CloseDialog();
289 Debug.
LogError(
"PluginItemDiagnostic: dead debug record, removing record");
315 if (!
GetGame().IsMultiplayer())
329 if (!
GetGame().IsMultiplayer())
525 Debug.
Log(
"----------------------",
"ItemDebug");
582 item.GetColor(r, g, b, a);
608 if (
agents == 0)
return 0;
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
override bool OnClick(Widget w, int x, int y, int button)
buttons clicks
void OnRPC(ParamsReadContext ctx)
enum ProcessDirectDamageFlags m_Owner
void ShowWidgets(bool show)
void ToggleDebugWindowEvent()
void RegisterDebugItem(ItemBase item, PlayerBase player)
void UpdateNumericalVarsWidget(array< ref Param > vars_server, array< ref Param > vars_client)
void GeneratePropertiesObject(EntityAI item)
void GetLocalProperties(EntityAI entity, array< ref Param > properties, bool client=false)
TextWidget m_ClassNameWidget
ButtonWidget m_CloseButton
ButtonWidget m_DebugButtonWidget3
PluginConfigDebugProfile m_ConfigDebugProfile
TextListboxWidget m_DebugFloatsProperListWidget
TextListboxWidget m_DebugClientVarsWidget
void SetDragging(bool enable)
void FillServerFinalVars(int count, ParamsReadContext ctx, array< ref Param > params)
void OnSelectAction(EntityAI ent, int actionId)
TextWidget m_DebugOutputClient
ButtonWidget m_DebugButtonWidget4
ButtonWidget m_DebugButtonWidget1
ref map< PlayerBase, Object > m_ObserversMap
ItemPreviewWidget m_ItemPreviewWidget
void PluginItemDiagnostic()
int FillWithAgents(ItemBase item, array< ref Param > properties)
TextListboxWidget m_DebugAgentListWidget
void OnScriptMenuOpened(bool opened)
ref map< string, float > m_Floats
ref PluginItemDiagnosticEventHandler m_EventHandler
void FillAgentArray(ParamsReadContext ctx, int agents_count)
Object GetWatchedItem(PlayerBase player)
void StopWatchRequest(PlayerBase player)
TextWidget m_DebugOutputServer
ref map< string, float > m_VarsNumbersFinalServer
ButtonWidget m_DebugButtonWidget2
void DisplayAll(EntityAI item, array< ref Param > vars_server, array< ref Param > vars_client, string debug_text_server)
void ~PluginItemDiagnostic()
ref array< ref Param > m_Properties
bool OnMouseButtonDown(Widget w, int x, int y, int button)
ref map< string, float > m_VarsFinalClient
PluginBase GetPlugin(typename plugin_type)
ref TextWidget m_DistanceWidget[MAX_SIMULTANIOUS_PLAYERS]
static ref Param1< int > PARAM1_INT
static ref Param1< string > PARAM1_STRING
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
static void LogArrayString(array< string > arr=NULL, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Serialization general interface. Serializer API works with:
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
proto void GetMousePos(out int x, out int y)