301 Param5<int, int, int, int, int> p5 =
new Param5<int, int, int, int, int>(0, 0, 0, 0, 0);
330 GetGame().GetPlayer().RPCSingleParam(
ERPCs.DEV_RPC_SET_TIME,
p5,
true);
658 case ERPCs.DEV_PLAYER_DEBUG_DATA:
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void RefreshCrosshairVisibility()
PluginBase GetPlugin(typename plugin_type)
void RemotePlayerStatDebug(PlayerBase player)
static void SetLogsEnabled(bool enable)
static string GetMarkerTypeFromID(int id)
CheckBoxWidget m_HudDCharLevels
CheckBoxWidget m_HudDCharModifiers
ButtonWidget m_ButtonCopyPos
TextListboxWidget m_DiagDrawmodeTextListbox
void ~ScriptConsoleGeneralTab()
EditBoxWidget m_TeleportY
EditBoxWidget m_TeleportXYZ
int GetCurrentPositionIndex()
EditBoxWidget m_DateMinute
TextListboxWidget m_DiagToggleTextListbox
MapWidget m_DebugMapWidget
TextListboxWidget m_PositionsListbox
override bool OnDoubleClick(Widget w, int x, int y, int button)
static float DEBUG_MAP_ZOOM
bool IsCurrentPositionCustom()
bool m_UpdatePlayerPositions
EditBoxWidget m_TeleportX
bool m_PlayerPosRefreshBlocked
override bool OnClick(Widget w, int x, int y, int button)
CheckBoxWidget m_HudDCharStomach
CheckBoxWidget m_HudDVersion
vector GetCurrentLocationPos()
CheckBoxWidget m_HudDCharStats
void UpdateHudDebugSetting()
bool IsLocationNameAvailable(string name)
TextListboxWidget m_HelpTextListboxWidget
override bool OnMouseButtonDown(Widget w, int x, int y, int button)
ButtonWidget m_LocationRemoveButton
CheckBoxWidget m_ShowOthers
ref array< ref RemotePlayerStatDebug > m_PlayerDebugStats
override bool OnChange(Widget w, int x, int y, bool finished)
SliderWidget m_TimeSlider
TextWidget m_PlayerCurPos
PluginDeveloper m_Developer
void ScriptConsoleGeneralTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
static int m_ObjectsScope
EditBoxWidget m_DateMonth
const string DEFAULT_POS_XYZ
CheckBoxWidget m_LogsEnabled
void Teleport(PlayerBase player, vector position)
CheckBoxWidget m_HudDCharDebug
void GetCurrentPositionData(out LocationParams data)
CheckBoxWidget m_HudDFreeCamCross
CheckBoxWidget m_HudDTemperature
void UpdateTime(bool slider_used)
override void OnRPCEx(int rpc_type, ParamsReadContext ctx)
string GetCurrentLocationName()
TextWidget m_PlayerMouseDiff
override void Update(float timeslice)
override bool OnItemSelected(Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
ButtonWidget m_DiagToggleButton
bool IsCurrentPositionValid()
override bool OnKeyDown(Widget w, int x, int y, int key)
void RefreshPlayerPosEditBoxes()
MissionGameplay m_MissionGameplay
ButtonWidget m_TeleportButton
void RefreshDateWidgets(int year, int month, int day, int hour, int minute)
ButtonWidget m_DiagDrawButton
CheckBoxWidget m_HudDCharAgents
void SetMapPos(vector pos)
ButtonWidget m_LocationAddButton
PluginConfigDebugProfile m_ConfigDebugProfile
ScriptConsole m_ScriptConsole
PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed
Serialization general interface. Serializer API works with:
proto native float Length()
Returns length of vector (magnitude)
proto native CGame GetGame()
array< string > TStringArray
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
proto void GetMousePos(out int x, out int y)
vector BeautifiedToVector()
Convert beautified string into a vector.