class PluginDeveloperSource
PluginItemDiagnostic › PluginDeveloper › PluginBase
All members, including inherited
Constructors 1
void PluginDeveloper()Members 3
protected bool m_IsWinHoldingprotected int m_FeaturesMaskUIScriptedMenu m_ScriptConsoleMethods 49
static PluginDeveloper GetInstance()void TeleportAtCursor()Set Player position at his cursor position in the world
References DeveloperTeleport.TeleportAtCursorEx()
void Teleport(PlayerBase player, vector position)Teleport player at position
References DeveloperTeleport.SetPlayerPosition()
void SetDirection(PlayerBase player, vector direction)Set player direction
References DeveloperTeleport.SetPlayerDirection()
Referenced by ScriptConsoleGeneralTab.ProcessTeleportText()
void ToggleFreeCameraBackPos()Enable / Disable Free camera (Fly mod)
Referenced by PluginSceneManager.OnUIEditorClosed()
void ToggleFreeCamera()Enable / Disable Free camera (Fly mod) - disable of camera will teleport player at current free camera position.
bool IsEnabledFreeCamera()References DeveloperFreeCamera.IsFreeCameraEnabled()
override void OnInit()void OnRPC(PlayerBase player, int rpc_type, ParamsReadContext ctx)Referenced by PlayerBase.OnRPC()
void PrintLogClient(string msg_log)Referenced by MissionBase.OnLog()
void SendServerLogToClient(string msg)References array.Count(), array.Get(), Man.GetIdentity()
Show 3 more
, CGame.GetPlayers(), Object.HasNetworkID(), and Object.RPCSingleParam()Referenced by DispatcherCaller.SendLogAtClient()
void OnRPCSyncSceneObject(ParamsReadContext ctx)Referenced by OnRPC()
void OnRPCPluginDayzCreatureDebug(PlayerBase player, int rpc_type, ParamsReadContext ctx)Referenced by OnRPC()
void HandleSetTime(PlayerBase player, ParamsReadContext ctx)Referenced by OnRPC()
void HandlePresetSpawn(PlayerBase player, string presetName, EntityAI target)References Class.Cast(), Class.Cast(), PresetSpawnBase.Init()
Show 3 more
, typename.Spawn(), string.ToType(), and PlayerBase.m_PresetSpawnedvoid OnRPCServerLogRecieved(ParamsReadContext ctx)Referenced by OnRPC()
void OnRPCSpawnEntityOnCursorDir(PlayerBase player, ParamsReadContext ctx)Referenced by OnRPC()
void OnRPCSpawnEntityOnGround(PlayerBase player, ParamsReadContext ctx)Referenced by OnRPC()
void OnRPCSpawnEntityOnGroundPatternGrid(PlayerBase player, ParamsReadContext ctx)Referenced by OnRPC()
void OnRPCSpawnEntity(PlayerBase player, ParamsReadContext ctx)Referenced by OnRPC()
void OnSetFreeCameraEvent(PlayerBase player, FreeDebugCamera camera)References DeveloperFreeCamera.OnSetFreeCameraEvent()
Referenced by MissionGameplay.OnEvent()
void OnSpawnErrorReport(string name)References PrintString()
Referenced by SpawnEntityAsAttachment(), SpawnEntityInPlayerInventory(), SpawnEntityOnCursorDir()
Show 1 more
, SpawnEntityOnGroundPos()void SetupSpawnedEntity(PlayerBase player, EntityAI entity, float health, float quantity = -1, bool special = false, string presetName = "")References Class.Cast(), Class.Cast(), array.Clear()
Show 13 more
, Object.GetPosition(), CGame.GetSurfaceOrientation(), array.Insert(), Class.IsInherited(), DebugSpawnParams.None(), EntityAI.OnDebugSpawnEx(), PlayerBase.OnSpawnedFromConsole(), Object.PlaceOnSurface(), Object.SetOrientation(), SetupSpawnedItem(), DebugSpawnParams.WithPlayer(), PlayerBase.m_PresetItems, and PlayerBase.m_PresetSpawnedvoid SpawnEntityOnGroundPatternGrid(PlayerBase player, string item_name, int count, float health, float quantity, int rows, int columns, float gapRow = 1, float gapColumn = 1, bool special = false, bool withPhysics = false)Referenced by SpawnEntityOnGroundPos()
void GetCameraDirections(Man player, bool allowFreeflight, out vector position, out vector direction)EntityAI SpawnEntityOnGroundPos(PlayerBase player, string object_name, vector pos)Referenced by OnRPCSpawnEntityOnGround(), SpawnEntityInPlayerInventory(), SpawnEntityOnGroundPatternGrid()
Show 2 more
, SpawnItemOnCrosshair(), and SceneObject.Init()void SpawnItemOnCrosshair(PlayerBase player, string itemName, float health, float quantity, float maxDist = 100, bool allowFreeflight = false, bool special = false, bool withPhysics = false)References GetCameraDirections(), DayZPhysics.RayCastBullet(), SpawnEntityOnGroundPos()
Show 1 more
, vector.ZeroEntityAI SpawnEntityOnGroundPos(PlayerBase player, string item_name, float health, float quantity, vector pos, bool special = false, bool withPhysics = false)spawns entity on exact position
- in
health healthof the item- in
quantity quantityto set if item.HasQuantity() (-1 == set to max)- in
pos positionwhere to spawn
Returns: entity if ok, null otherwise
References Class.CastTo(), CGame.IsServer(), OnSpawnErrorReport()
Show 3 more
, Object.RPCSingleParam(), SetupSpawnedEntity(), and InventoryItem.ThrowPhysically()Referenced by OnRPCSpawnEntityOnGround(), SpawnEntityInPlayerInventory(), SpawnEntityOnGroundPatternGrid()
Show 2 more
, SpawnItemOnCrosshair(), and SceneObject.Init()EntityAI SpawnEntityOnCursorDir(PlayerBase player, string item_name, float quantity, float distance, float health = -1, bool special = false, string presetName = "", bool withPhysics = false)spawns entity in direction of cursor at specified distance
- in
health healthof the item- in
quantity quantityto set if item.HasQuantity() (-1 == set to max)- in
distance distanceof the item from player
Returns: entity if ok, null otherwise
EntityAI SpawnEntityInInventory(notnull EntityAI target, string className, float health, float quantity, bool special = false, string presetName = "", FindInventoryLocationType locationType = FindInventoryLocationType.ANY)tries to spawn item somewhere in inventory
SpawnEntityInInventory queries future parent about free inventory location of the future item
- in
health healthof the item- in
quantity quantityto set if item.HasQuantity() (-1 == set to max)
Returns: entity if ok, null otherwise
References Class.Cast(), Class.Cast(), new DevSpawnItemParams()
Show 14 more
, GameInventory.FindFirstFreeLocationForNewEntity(), Man.GetIdentity(), EntityAI.GetInventory(), Object.GetMaxHealth(), CGame.GetPlayer(), Class.IsInherited(), EntityAI.IsPlayer(), CGame.IsServer(), EntityAI.OnDebugSpawnEx(), Object.RPCSingleParam(), SetupSpawnedItem(), SpawnEntity(), SpawnEntityInPlayerInventory(), and DebugSpawnParams.WithPlayer()Referenced by OnRPCSpawnEntity(), ScriptConsoleItemsTab.OnClick(), and ScriptConsoleItemsTab.SpawnPreset()
EntityAI SpawnEntityInPlayerInventory(PlayerBase player, string item_name, float health, float quantity, bool special = false, string presetName = "", FindInventoryLocationType locationType = FindInventoryLocationType.ANY)References WeaponManager.AttachMagazine(), ScriptCallQueue.CallLater(), WeaponManager.CanAttachMagazine()
Show 29 more
, Class.Cast(), Class.Cast(), Class.Cast(), new DevSpawnItemParams(), PlayerBase.DropItem(), GameInventory.FindFirstFreeLocationForNewEntity(), DayZGame.GetCallQueue(), EntityAI.GetInventory(), PlayerBase.GetItemInHands(), Object.GetMaxHealth(), InventoryLocation.GetParent(), Object.GetPosition(), InventoryLocation.GetSlot(), PlayerBase.GetWeaponManager(), Class.IsInherited(), CGame.IsKindOf(), CGame.IsMultiplayer(), CGame.IsServer(), EntityAI.OnDebugSpawnEx(), EntityAI.OnDebugSpawnEx(), OnSpawnErrorReport(), Object.RPCSingleParam(), DayZPlayerSyncJunctures.SendGetInVehicle(), Man.ServerDropEntity(), PlayerBase.SetGetInVehicleDebug(), SetupSpawnedItem(), SpawnEntity(), SpawnEntityOnGroundPos(), and DebugSpawnParams.WithPlayer()EntityAI SpawnEntityAsAttachment(PlayerBase player, EntityAI parent, string att_name, float health, float quantity)tries to spawn item as attachment
- in
health healthof the item- in
quantity quantityto set if item.HasQuantity() (-1 == set to max)
Returns: entity if ok, null otherwise
EntityAI SpawnFromClipboard()References Class.Cast(), string.Contains(), CGame.CopyFromClipboard()
Show 14 more
, GetCameraDirections(), UIManager.GetMenu(), CGame.GetPlayer(), CGame.GetUIManager(), CGame.GetWorld(), World.Is3rdPersonDisabled(), DeveloperFreeCamera.IsFreeCameraEnabled(), DayZPlayerImplement.IsInThirdPerson(), DayZPlayerImplement.SetIsInThirdPerson(), SpawnEntityOnCursorDir(), SpawnItemOnCrosshair(), string.Split(), string.Trim(), and string.Trim()void ClearInventory(EntityAI entity)Referenced by PlayerBase.Init(), OnRPCClearInventory(), SceneEditorMenu.SetPreset()
Show 1 more
, ScriptConsoleItemsTab.SpawnPreset()void ToggleHelpScreen()References UIManager.Back(), UIManager.EnterScriptedMenu(), UIManager.GetMenu()
Show 2 more
, CGame.GetUIManager(), and UIManager.IsMenuOpen()void ToggleScriptConsole()void ToggleMissionLoader()Referenced by InGameMenu.OnClick()
private void ScriptHistoryNext()private void ScriptHistoryBack()private bool IsIngame()private bool IsInConsole()int QuickSortPartition(TStringArray arr, int left, int right)Referenced by QuickSort()
void QuickSort(TStringArray arr, int left, int right)References QuickSortPartition()
Referenced by SortStringArray()
void SortStringArray(TStringArray arr)Referenced by PluginConfigViewer.GetConfig()
void ResetGUI()void SetDeveloperItemClient()