Private Member Functions | |
void | DayZGame () |
private void | ~DayZGame () |
void | DeferredInit () |
void | GlobalsInit () |
void | RegisterProfilesOptions () |
void | ResetProfileOptions () |
void | SetMissionPath (string path) |
Called from C++. | |
string | GetMissionPath () |
string | GetMissionFolderPath () |
override ScriptCallQueue | GetCallQueue (int call_category) |
override ScriptInvoker | GetUpdateQueue (int call_category) |
override ScriptInvoker | GetPostUpdateQueue (int call_category) |
ScriptInvoker | GetYieldDataInitInvoker () |
override TimerQueue | GetTimerQueue (int call_category) |
override DragQueue | GetDragQueue () |
void | OnGameplayDataHandlerLoad () |
int | GetMissionState () |
void | SetMissionState (int state) |
bool | GetProfileOption (EDayZProfilesOptions option) |
bool | GetProfileOptionBool (EDayZProfilesOptions option) |
int | GetProfileOptionInt (EDayZProfilesOptions option) |
float | GetProfileOptionFloat (EDayZProfilesOptions option) |
bool | GetProfileOptionDefault (EDayZProfilesOptions option) |
bool | GetProfileOptionDefaultBool (EDayZProfilesOptions option) |
int | GetProfileOptionDefaultInt (EDayZProfilesOptions option) |
float | GetProfileOptionDefaultFloat (EDayZProfilesOptions option) |
void | SetProfileOption (EDayZProfilesOptions option, bool value) |
void | SetProfileOptionBool (EDayZProfilesOptions option, bool value) |
void | SetProfileOptionInt (EDayZProfilesOptions option, int value) |
void | SetProfileOptionFloat (EDayZProfilesOptions option, float value) |
map< EDayZProfilesOptions, ref DayZProfilesOption > | GetProfileOptionMap () |
bool | IsStressTest () |
bool | IsAimLogEnabled () |
void | SetGameState (DayZGameState state) |
DayZGameState | GetGameState () |
void | SetLoadState (DayZLoadState state) |
DayZLoadState | GetLoadState () |
Backlit | GetBacklit () |
override bool | IsInventoryOpen () |
void | EarlyAccessDialog (UIScriptedMenu parent) |
override UIScriptedMenu | CreateScriptedMenu (int id) |
create custom main menu part (submenu) | |
void | ReloadMission () |
void | CancelLoginQueue () |
void | CancelLoginTimeCountdown () |
private void | ClearConnectivityStates () |
override void | OnEvent (EventType eventTypeId, Param params) |
void | SetConnectivityStatState (EConnectivityStatType type, EConnectivityStatLevel level) |
protected bool | OnConnectivityStatChange (EConnectivityStatType type, EConnectivityStatLevel newLevel, EConnectivityStatLevel oldLevel) |
void | AddVoiceNotification (VONStopSpeakingEventParams vonStartParams) |
void | RemoveVoiceNotification (VONStopSpeakingEventParams vonStopParams) |
void | UpdateLoginQueue (float timeslice) |
void | OnLoginTimeEvent (int loginTime) |
void | LoginTimeCountdown () |
void | OnRespawnEvent (int time) |
void | OnPreloadEvent (vector pos) |
void | StoreLoginDataPrepare () |
void | EnterLoginQueue (UIMenuPanel parent) |
void | EnterLoginTime (UIMenuPanel parent) |
void | OnMPConnectionLostEvent (int duration) |
void | LoadProgressUpdate (int progressState, float progress, string title) |
override void | OnAfterCreate () |
override void | OnActivateMessage () |
override void | OnDeactivateMessage () |
override bool | OnInitialize () |
void | InitNotifications () |
string | GetDatabaseID () |
void | SetDatabaseID (string id) |
void | CreateTitleScreen () |
void | DeleteTitleScreen () |
bool | ShouldShowControllerDisconnect () |
void | UpdateInputDeviceDisconnectWarning () |
void | JoinLaunch () |
void | ConnectLaunch () |
void | PartyLaunch () |
void | MainMenuLaunch () |
void | MissionLaunch () |
void | AutoTestLaunch (string param) |
void | SelectUser (int gamepad=-1) |
void | SetPreviousGamepad (int gamepad) |
int | GetPreviousGamepad () |
void | GamepadCheck () |
void | SelectGamepad () |
void | TryConnect () |
bool | GetLastVisitedServer (out string ip, out int port) |
void | AddVisitedServer (string ip, int port) |
bool | IsVisited (string ip, int port) |
void | RefreshCurrentServerInfo () |
void | Connect () |
void | DisconnectSessionScript (bool displayJoinError=false) |
void | DisconnectSessionEx (DisconnectSessionFlags flags) |
void | ConnectFromServerBrowser (string ip, int port, string password="") |
void | ConnectFromServerBrowserEx (string ip, int port, int steamQueryPort, string password="") |
void | ConnectFromJoin (string ip, int port) |
void | ConnectFromCLI () |
bool | IsLeftCtrlDown () |
override void | OnKeyPress (int key) |
override void | OnKeyRelease (int key) |
override void | OnMouseButtonPress (int button) |
override void | OnMouseButtonRelease (int button) |
override void | OnDeviceReset () |
float | GetDeltaT () |
override void | OnUpdate (bool doSim, float timeslice) |
override void | OnPostUpdate (bool doSim, float timeslice) |
override void | OnRPC (PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) |
void | DelayedMidAirDetonation (float x, float y, float z) |
void | CheckDialogs () |
void | SetConnecting (bool value) |
Returns true when connecting to server. | |
bool | IsConnecting () |
bool | IsLoading () |
void | SetKeyboardHandle (UIScriptedMenu handler) |
void | LoadingShow () |
void | LoadingHide (bool force=false) |
override string | CreateDefaultPlayer () |
override string | CreateRandomPlayer () |
override TStringArray | ListAvailableCharacters () |
void | ExplosionEffectsEx (Object source, Object directHit, int componentIndex, float energyFactor, float explosionFactor, HitInfo hitInfo) |
void | ExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
void | OnProjectileStopped (ProjectileStoppedInfo info) |
void | OnProjectileStoppedInTerrain (TerrainCollisionInfo info) |
void | OnProjectileStoppedInObject (ObjectCollisionInfo info) |
void | FirearmEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, vector exitPos, vector inSpeed, vector outSpeed, bool isWater, bool deflected, string ammoType) |
void | CloseCombatEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, bool isWater, string ammoType) |
void | UpdateVoiceLevel (int level) |
void | InitCharacterMenuDataInfo (int menudata_count) |
void | SetPlayerGameName (string name) |
string | GetPlayerGameName () |
void | SetNewCharacter (bool state) |
bool | IsNewCharacter () |
void | SetUserFOV (float pFov) |
float | GetUserFOV () |
float | GetFOVByZoomType (ECameraZoomType type) |
void | SetHudBrightness (float value) |
float | GetHUDBrightnessSetting () |
void | SetEVValue (float value) |
float | GetCurrentEVValue () |
float | GetPreviousEVValue () |
int | GetCurrentDisplayLanguageIdx () |
bool | IsWorldWetTempUpdateEnabled () |
bool | IsFoodDecayEnabled () |
float | GetFoodDecayModifier () |
array< int > | GetConnectedInputDeviceList () |
void | SetMouseCursorDesiredVisibility (bool visible) |
bool | GetMouseCursorDesiredVisibility () |
bool | CanDisplayMouseCursor () |
extend as needed, only game focus and M&K setting (consoles only!) are checked natively | |
void | RefreshMouseCursorVisibility () |
BillboardSetHandler | GetBillboardHandler () |
void | CreateGamepadDisconnectMenu () |
void | DeleteGamepadDisconnectMenu () |
void | CGame () |
private void | ~CGame () |
proto native WorkspaceWidget | GetWorkspace () |
proto native WorkspaceWidget | GetLoadingWorkspace () |
void | OnEvent (EventType eventTypeId, Param params) |
Called when some system event occur. | |
void | OnProcessLifetimeChanged (int plmtype) |
void | OnLicenseChanged () |
void | OnAfterCreate () |
Called after creating of CGame instance. | |
void | OnActivateMessage () |
Called when recieving focus (windows) | |
void | OnDeactivateMessage () |
Called when loosing focus (windows) | |
bool | OnInitialize () |
Called once before game update loop starts, ret value indicates if init was done in scripts, otherwise it is done in the engine. | |
void | OnDeviceReset () |
Called when inputs is not possible (Steam overlay active or something), all internal script variables should be reset here! | |
void | OnUpdate (bool doSim, float timeslice) |
Called on World update. | |
void | OnPostUpdate (bool doSim, float timeslice) |
Called on World update after simulation of entities. | |
void | OnKeyPress (int key) |
Called when key is pressed. | |
void | OnKeyRelease (int key) |
Called when key is released. | |
void | OnMouseButtonPress (int button) |
Called when mouse button is pressed. | |
void | OnMouseButtonRelease (int button) |
Called when mouse button is released. | |
UIScriptedMenu | CreateScriptedMenu (int id) |
create custom main menu part (submenu) | |
UIScriptedWindow | CreateScriptedWindow (int id) |
create custom window part | |
void | OnRPC (PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) |
Called after remote procedure call is recieved for this object. | |
proto native void | RequestExit (int code) |
Sets exit code and quits in the right moment. | |
proto native void | RequestRestart (int code) |
Sets exit code and restart in the right moment. | |
proto native bool | IsAppActive () |
Returns if the application is focused on PC, returns true always on console. | |
proto bool | GetHostAddress (out string address, out int port) |
Gets the server address. (from client) | |
proto owned string | GetHostName () |
Gets the server name. (from client) | |
proto GetServersResultRow | GetHostData () |
Gets the server data. (from client) | |
proto native int | Connect (UIScriptedMenu parent, string IpAddress, int port, string password) |
Connects to IsServer. | |
proto native int | ConnectLastSession (UIScriptedMenu parent, int selectedCharacter=-1) |
Connects to last success network session. | |
proto native void | DisconnectSession () |
Disconnects from current multiplayer session. | |
proto native void | DisconnectSessionForce () |
Forces disconnect from current multiplayer session even if not yet in the game. | |
proto native void | GetProfileStringList (string name, out TStringArray values) |
Gets array of strings from profile variable. | |
proto bool | GetProfileString (string name, out string value) |
Gets string from profile variable. | |
proto native void | SetProfileStringList (string name, TStringArray values) |
Sets array of strings to profile variable. | |
proto native void | SetProfileString (string name, string value) |
Sets string to profile variable. | |
proto native void | SaveProfile () |
Saves profile on disk. | |
proto void | GetPlayerName (out string name) |
Gets current player name. | |
proto void | GetPlayerNameShort (int maxLength, out string name) |
Gets current player name. If length of player name is grater than maxLength, then it is omitted and append ellipsis. | |
proto native void | SetPlayerName (string name) |
Sets current player name. | |
proto native Entity | CreatePlayer (PlayerIdentity identity, string name, vector pos, float radius, string spec) |
Assign player entity to client (in multiplayer) | |
proto native void | SelectPlayer (PlayerIdentity identity, Object player) |
Selects player's controlled object. | |
proto void | GetPlayerNetworkIDByIdentityID (int playerIdentityID, out int networkIdLowBits, out int networkIdHightBits) |
returns player's network id from identity id in out parameters | |
proto native Object | GetObjectByNetworkId (int networkIdLowBits, int networkIdHighBits) |
Returns entity identified by network id. | |
proto native bool | RegisterNetworkStaticObject (Object object) |
Static objects cannot be replicated by default (there are too many objects on the map). Use this method when you want to replicate some scripted variables. Cannot be called in object's constructor, because networking is not initialized yet. | |
proto native bool | IsNetworkInputBufferFull () |
Returns the state of the buffer for network inputs (UAInterface) | |
proto native void | SelectSpectator (PlayerIdentity identity, string spectatorObjType, vector position) |
Creates spectator object (mostly cameras) | |
proto native void | UpdateSpectatorPosition (vector position) |
Updates spectator position on server = position of network bubble. | |
proto native void | SendLogoutTime (Object player, int time) |
Inform client about logout time (creates logout screen on specified client) | |
proto native void | DisconnectPlayer (PlayerIdentity identity, string uid="") |
Destroy player info and disconnect. | |
proto native void | AddToReconnectCache (PlayerIdentity identity) |
Add player to reconnect cache to be able to rejoin character still existing in the world. | |
proto native void | RemoveFromReconnectCache (string uid) |
Remove player from reconnect cache. | |
proto native void | ClearReconnectCache () |
Remove all player from reconnect cache. | |
proto native void | StorageVersion (int iVersion) |
Set actual storage version - for next save. | |
proto native int | LoadVersion () |
Returns actual storage version - loading. | |
proto native int | SaveVersion () |
Returns actual storage version - saving. | |
proto native float | GetDayTime () |
Returns current daytime on server. | |
proto bool | ConfigGetText (string path, out string value) |
Get string value from config on path. | |
proto bool | ConfigGetTextRaw (string path, out string value) |
Get raw string value from config on path. | |
string | ConfigGetTextOut (string path) |
Get string value from config on path. | |
bool | FormatRawConfigStringKeys (inout string value) |
Changes localization key format to script-friendly format. | |
string | GetModelName (string class_name) |
Get name of the p3d file of the given class name. | |
proto native float | ConfigGetFloat (string path) |
Get float value from config on path. | |
proto native vector | ConfigGetVector (string path) |
Get vector value from config on path. | |
proto native int | ConfigGetInt (string path) |
Get int value from config on path. | |
proto native int | ConfigGetType (string path) |
Returns type of config value. | |
proto native void | ConfigGetTextArray (string path, out TStringArray values) |
Get array of strings from config on path. | |
proto native void | ConfigGetTextArrayRaw (string path, out TStringArray values) |
Get array of raw strings from config on path. | |
proto native void | ConfigGetFloatArray (string path, out TFloatArray values) |
Get array of floats from config on path. | |
proto native void | ConfigGetIntArray (string path, out TIntArray values) |
Get array of integers from config on path. | |
proto bool | ConfigGetChildName (string path, int index, out string name) |
Get name of subclass in config class on path. | |
proto bool | ConfigGetBaseName (string path, out string base_name) |
Get name of base class of config class on path. | |
proto native int | ConfigGetChildrenCount (string path) |
Get count of subclasses in config class on path. | |
proto native bool | ConfigIsExisting (string path) |
proto native void | ConfigGetFullPath (string path, out TStringArray full_path) |
proto native void | ConfigGetObjectFullPath (Object obj, out TStringArray full_path) |
proto native void | GetModInfos (notnull out array< ref ModInfo > modArray) |
proto native bool | GetModToBeReported () |
string | ConfigPathToString (TStringArray array_path) |
Converts array of strings into single string. | |
proto bool | CommandlineGetParam (string name, out string value) |
Get command line parameter value. | |
proto native void | CopyToClipboard (string text) |
proto void | CopyFromClipboard (out string text) |
proto native void | BeginOptionsVideo () |
proto native void | EndOptionsVideo () |
proto native void | AdminLog (string text) |
proto native bool | PreloadObject (string type, float distance) |
Preload objects with certain type in certain distance from camera. | |
proto native Object | CreateStaticObjectUsingP3D (string p3dFilename, vector position, vector orientation, float scale=1.0, bool createLocal=false) |
proto native Object | CreateObject (string type, vector pos, bool create_local=false, bool init_ai=false, bool create_physics=true) |
Creates object of certain type. | |
proto native SoundOnVehicle | CreateSoundOnObject (Object source, string sound_name, float distance, bool looped, bool create_local=false) |
proto native SoundWaveOnVehicle | CreateSoundWaveOnObject (Object source, SoundObject soundObject, AbstractWave soundWave) |
proto native Object | CreateObjectEx (string type, vector pos, int iFlags, int iRotation=RF_DEFAULT) |
Creates object of certain type. | |
proto native void | ObjectDelete (Object obj) |
proto native void | ObjectDeleteOnClient (Object obj) |
proto native void | RemoteObjectDelete (Object obj) |
proto native void | RemoteObjectTreeDelete (Object obj) |
RemoteObjectDelete - deletes only remote object (unregisters from network). do not use if not sure what you do. | |
proto native void | RemoteObjectCreate (Object obj) |
RemoteObjectDelete - deletes only remote object tree (unregisters from network). do not use if not sure what you do. | |
proto native void | RemoteObjectTreeCreate (Object obj) |
RemoteObjectCreate - postponed registration of network object (and creation of remote object). do not use if not sure what you do. | |
proto native int | ObjectRelease (Object obj) |
RemoteObjectTreeCreate - postponed registration of network object tree (and creation of remote objects). do not use if not sure what you do. | |
proto void | ObjectGetType (Object obj, out string type) |
proto void | ObjectGetDisplayName (Object obj, out string name) |
proto native vector | ObjectGetSelectionPosition (Object obj, string name) |
proto native vector | ObjectGetSelectionPositionLS (Object obj, string name) |
proto native vector | ObjectGetSelectionPositionMS (Object obj, string name) |
proto native vector | ObjectGetSelectionPositionWS (Object obj, string name) |
proto native vector | ObjectModelToWorld (Object obj, vector modelPos) |
proto native vector | ObjectWorldToModel (Object obj, vector worldPos) |
proto native bool | IsObjectAccesible (EntityAI item, Man player) |
returns true if player can access item's cargo/attachments (check only distance) | |
proto native Input | GetInput () |
proto native vector | GetCurrentCameraPosition () |
proto native vector | GetCurrentCameraDirection () |
proto native AbstractSoundScene | GetSoundScene () |
proto native NoiseSystem | GetNoiseSystem () |
proto native bool | AddInventoryJuncture (Man player, notnull EntityAI item, InventoryLocation dst, bool test_dst_occupancy, int timeout_ms) |
bool | AddInventoryJunctureEx (Man player, notnull EntityAI item, InventoryLocation dst, bool test_dst_occupancy, int timeout_ms) |
proto native bool | HasInventoryJunctureItem (notnull EntityAI item) |
proto native bool | HasInventoryJunctureDestination (Man player, notnull InventoryLocation dst) |
proto native bool | AddActionJuncture (Man player, notnull EntityAI item, int timeout_ms) |
proto native bool | ExtendActionJuncture (Man player, notnull EntityAI item, int timeout_ms) |
proto native bool | ClearJuncture (Man player, notnull EntityAI item) |
bool | ClearJunctureEx (Man player, notnull EntityAI item) |
proto native bool | ExecuteEnforceScript (string expression, string mainFnName) |
Delevoper only: Executes Enforce Script expression, if there is an error, is printed into the script console. | |
proto native void | DumpInstances (bool csvFormatting) |
Delevoper only: Dump all script allocations. | |
proto native bool | ScriptTest () |
proto native void | GetDiagModeNames (out TStringArray diag_names) |
Get list of all debug modes. | |
proto native void | SetDiagModeEnable (int diag_mode, bool enabled) |
Set specific debug mode. | |
proto native bool | GetDiagModeEnable (int diag_mode) |
Gets state of specific debug mode. | |
proto native void | GetDiagDrawModeNames (out TStringArray diag_names) |
Get list of all debug draw modes. | |
proto native void | SetDiagDrawMode (int diag_draw_mode) |
Set debug draw mode. | |
proto native int | GetDiagDrawMode () |
Gets current debug draw mode. | |
proto native bool | IsPhysicsExtrapolationEnabled () |
If physics extrapolation is enabled, always true on retail release builds. | |
proto native float | GetFps () |
Returns average FPS of last 16 frames. | |
proto native float | GetLastFPS () |
Returns current framerate. | |
proto native float | GetAvgFPS (int nFrames=64) |
Returns average framerate over last n frames. | |
proto native float | GetMinFPS (int nFrames=64) |
Returns minimum framerate over last n frames. | |
proto native float | GetMaxFPS (int nFrames=64) |
Returns maximum framerate over last n frames. | |
void | GetFPSStats (out float min, out float max, out float avg, int nFrames=64) |
Outputs framerate statistics. | |
proto native float | GetTickTime () |
Returns current time from start of the game. | |
proto void | GetInventoryItemSize (InventoryItem item, out int width, out int height) |
proto native void | GetObjectsAtPosition (vector pos, float radius, out array< Object > objects, out array< CargoBase > proxyCargos) |
Returns list of all objects in circle "radius" around position "pos". | |
proto native void | GetObjectsAtPosition3D (vector pos, float radius, out array< Object > objects, out array< CargoBase > proxyCargos) |
Returns list of all objects in sphere "radius" around position "pos". | |
proto native World | GetWorld () |
proto void | GetWorldName (out string world_name) |
string | GetWorldName () |
proto native bool | VerifyWorldOwnership (string sWorldName) |
proto native bool | GoBuyWorldDLC (string sWorldName) |
proto void | FormatString (string format, string params[], out string output) |
proto void | GetVersion (out string version) |
proto native UIManager | GetUIManager () |
proto native DayZPlayer | GetPlayer () |
proto native void | GetPlayers (out array< Man > players) |
DayZPlayer | GetPlayerByIndex (int index=0) |
proto native void | StoreLoginData (ParamsWriteContext ctx) |
Stores login userdata as parameters which are sent to server | |
proto native vector | GetPointerDirection () |
Returns the direction where the mouse points, from the camera view. | |
proto native vector | GetWorldDirectionFromScreen (vector world_pos) |
Transforms position in world to position in screen in pixels as x, y component of vector, z parameter represents distance between camera and world_pos. | |
proto native vector | GetScreenPos (vector world_pos) |
Transforms position in world to position in screen in pixels as x, y component of vector, z parameter represents distance between camera and world_pos. | |
proto native vector | GetScreenPosRelative (vector world_pos) |
Transforms position in world to position in screen in percentage (0.0 - 1.0) as x, y component of vector, z parameter represents distance between camera and world_pos. | |
proto native MenuData | GetMenuData () |
Return singleton of MenuData class - at main menu contains characters played with current profile. | |
proto native void | RPC (Object target, int rpcType, notnull array< ref Param > params, bool guaranteed, PlayerIdentity recipient=null) |
Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on server, RPC is executed on all clients. | |
proto native void | RPCSingleParam (Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null) |
see CGame.RPC | |
proto native void | RPCSelf (Object target, int rpcType, notnull array< ref Param > params) |
Not actually an RPC, as it will send it only to yourself. | |
proto native void | RPCSelfSingleParam (Object target, int rpcType, Param param) |
proto native void | ProfilerStart (string name) |
Use for profiling code from start to stop, they must match have same name, look wiki pages for more info: https://confluence.bistudio.com/display/EN/Profiler. | |
proto native void | ProfilerStop (string name) |
Use for profiling code from start to stop, they must match have same name, look wiki pages for more info: https://confluence.bistudio.com/display/EN/Profiler. | |
proto native void | Chat (string text, string colorClass) |
Prints text into game chat. | |
proto native void | ChatMP (Man recipient, string text, string colorClass) |
proto native void | ChatPlayer (string text) |
proto native void | MutePlayer (string muteUID, string playerUID, bool mute) |
Mutes voice of source player to target player. | |
proto native void | MuteAllPlayers (string listenerId, bool mute) |
Mute all players for listenerId. | |
proto native void | EnableVoN (Object player, bool enable) |
Enable/disable VoN for target player. | |
proto native void | SetVoiceEffect (Object player, int effect, bool enable) |
Enable/disable VoN effect (only on server) | |
proto native void | SetVoiceLevel (int level) |
Set voice level of VoN (only on client) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2) | |
proto native int | GetVoiceLevel (Object player=null) |
Get voice level of VoN (on both client and server) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2) | |
proto native void | EnableMicCapture (bool enable) |
Enable microphone to locally capture audio from user. Audio heard does NOT automatically get transmitted over network. | |
proto native bool | IsMicCapturing () |
Returns whether mic is currently capturing audio from user. | |
proto native bool | IsInPartyChat () |
Returns whether user is currently in a voice party (currently only supported on xbox) | |
proto native Mission | GetMission () |
proto native void | SetMission (Mission mission) |
proto native void | StartRandomCutscene (string world) |
Starts intro. | |
proto native void | PlayMission (string path) |
Starts mission (equivalent for SQF playMission). You MUST use double slash \. | |
proto protected native void | CreateMission (string path) |
Create only enforce script mission, used for mission script reloading. | |
proto native void | RestartMission () |
proto native void | AbortMission () |
Returns to main menu, leave world empty for using last mission world. | |
proto native void | RespawnPlayer () |
proto native bool | CanRespawnPlayer () |
proto native void | SetLoginTimerFinished () |
proto native void | SetMainMenuWorld (string world) |
proto native owned string | GetMainMenuWorld () |
proto native void | LogoutRequestTime () |
Logout methods. | |
proto native void | LogoutRequestCancel () |
proto native bool | IsMultiplayer () |
proto native bool | IsClient () |
proto native bool | IsServer () |
proto native bool | IsDedicatedServer () |
Robust check which is preferred than the above, as it is valid much sooner. | |
proto native int | ServerConfigGetInt (string name) |
Server config parsing. Returns 0 if not found. | |
proto native bool | IsDebug () |
void | SetDebugMonitorEnabled (int value) |
bool | IsDebugMonitor () |
proto native void | GetPlayerIndentities (out array< PlayerIdentity > identities) |
proto native bool | GetSurface (SurfaceDetectionParameters params, SurfaceDetectionResult result) |
API for surface detection. | |
proto native float | SurfaceY (float x, float z) |
proto native float | SurfaceRoadY (float x, float z, RoadSurfaceDetection rsd=RoadSurfaceDetection.LEGACY) |
proto native float | SurfaceRoadY3D (float x, float y, float z, RoadSurfaceDetection rsd) |
proto float | SurfaceGetType (float x, float z, out string type) |
Returns: Y position the surface was found. | |
proto float | SurfaceGetType3D (float x, float y, float z, out string type) |
Y input: Maximum Y to trace down from; Returns: Y position the surface was found. | |
proto void | SurfaceUnderObject (notnull Object object, out string type, out int liquidType) |
proto void | SurfaceUnderObjectEx (notnull Object object, out string type, out string impact, out int liquidType) |
proto void | SurfaceUnderObjectByBone (notnull Object object, int boneType, out string type, out int liquidType) |
proto native float | SurfaceGetNoiseMultiplier (Object directHit, vector pos, int componentIndex) |
proto native vector | SurfaceGetNormal (float x, float z) |
proto native float | SurfaceGetSeaLevelMin () |
proto native float | SurfaceGetSeaLevelMax () |
proto native float | SurfaceGetSeaLevel () |
proto native bool | SurfaceIsSea (float x, float z) |
proto native bool | SurfaceIsPond (float x, float z) |
proto native float | GetWaterDepth (vector posWS) |
proto native void | UpdatePathgraphRegion (vector regionMin, vector regionMax) |
float | GetHighestSurfaceYDifference (array< vector > positions) |
Returns the largest height difference between the given positions. | |
vector | GetSurfaceOrientation (float x, float z) |
Returns tilt of the ground on the given position in degrees, so you can use this value to rotate any item according to terrain. | |
bool | IsSurfaceDigable (string surface) |
Checks if the surface is digable. | |
bool | GetSurfaceDigPile (string surface, out string result) |
bool | IsSurfaceFertile (string surface) |
Checks if the surface is fertile. | |
int | CorrectLiquidType (int liquidType) |
void | SurfaceUnderObjectCorrectedLiquid (notnull Object object, out string type, out int liquidType) |
void | SurfaceUnderObjectExCorrectedLiquid (notnull Object object, out string type, out string impact, out int liquidType) |
void | SurfaceUnderObjectByBoneCorrectedLiquid (notnull Object object, int boneType, out string type, out int liquidType) |
void | UpdatePathgraphRegionByObject (Object object) |
proto native bool | IsBoxColliding (vector center, vector orientation, vector edgeLength, array< Object > excludeObjects, array< Object > collidedObjects=NULL) |
Finds all objects that are in choosen oriented bounding box (OBB) | |
proto native bool | IsBoxCollidingGeometry (vector center, vector orientation, vector edgeLength, int iPrimaryType, int iSecondaryType, array< Object > excludeObjects, array< Object > collidedObjects=NULL) |
Finds all objects with geometry iType that are in choosen oriented bounding box (OBB) | |
proto native bool | IsBoxCollidingGeometryProxy (notnull BoxCollidingParams params, array< Object > excludeObjects, array< ref BoxCollidingResult > collidedObjects=NULL) |
proto native Weather | GetWeather () |
Returns weather controller object. | |
proto native void | SetEVUser (float value) |
Sets custom camera camera EV. range: -50.0..50.0? //TODO. | |
proto native void | OverrideDOF (bool enable, float focusDistance, float focusLength, float focusLengthNear, float blur, float focusDepthOffset) |
proto native void | AddPPMask (float ndcX, float ndcY, float ndcRadius, float ndcBlur) |
proto native void | ResetPPMask () |
proto native void | OverrideInventoryLights (vector diffuse, vector ambient, vector ground, vector dir) |
proto native void | NightVissionLightParams (float lightIntensityMul, float noiseIntensity) |
proto native void | OpenURL (string url) |
proto native void | InitDamageEffects (Object effect) |
Initialization of damage effects. | |
proto native EntityAI | GetEntityByPersitentID (int b1, int b2, int b3, int b4) |
bool | IsKindOf (string cfg_class_name, string cfg_parent_name) |
Returns is class name inherited from parent class name. | |
bool | ObjectIsKindOf (Object object, string cfg_parent_name) |
Returns is object inherited from parent class name. | |
int | ConfigFindClassIndex (string config_path, string searched_member) |
proto int | GetTime () |
returns mission time in milliseconds | |
ScriptCallQueue | GetCallQueue (int call_category) |
ScriptInvoker | GetUpdateQueue (int call_category) |
ScriptInvoker | GetPostUpdateQueue (int call_category) |
TimerQueue | GetTimerQueue (int call_category) |
DragQueue | GetDragQueue () |
string | CreateDefaultPlayer () |
returns class name of first valid survivor (TODO address confusing naming?) | |
string | CreateRandomPlayer () |
returns class name of random survivor (TODO address confusing naming?) | |
TStringArray | ListAvailableCharacters () |
outputs array of all valid survivor class names | |
bool | IsInventoryOpen () |
proto native BiosUserManager | GetUserManager () |
proto native ContentDLC | GetContentDLCService () |
Return DLC service (service for entitlement keys for unlock content) | |
bool | IsMissionMainMenu () |
Returns true when current mission is Main Menu. | |
MenuDefaultCharacterData | GetMenuDefaultCharacterData (bool fill_data=true) |
AnalyticsManagerServer | GetAnalyticsServer () |
AnalyticsManagerClient | GetAnalyticsClient () |
Static Private Member Functions | |
static bool | ReportModded () |
static float | GetUserFOVFromConfig () |
static bool | CheckAmmoCompability (EntityAI weaponInHand, EntityAI ammo) |
static bool | IsDigitalCopy () |
Static Private Attributes | |
static bool | m_ReportModded |
static ref AmmoCamParams | m_AmmoShakeParams = new AmmoCamParams() |
static ref ScriptInvoker | Event_OnRPC = new ScriptInvoker() |
static ref NoiseParams | m_NoiseParams = new NoiseParams() |
static ref TemperatureAccessManager | m_TAManager = new TemperatureAccessManager() |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
Returns to main menu, leave world empty for using last mission world.
Referenced by OnEvent().
Referenced by OnStartServer().
|
private |
Referenced by AddInventoryJunctureEx().
|
inlineprivate |
References AddInventoryJuncture(), InventoryLocation::DumpToStringNullSafe(), Debug::InventoryReservationLog(), LogManager::IsInventoryReservationLogEnable(), and string::ToString().
Referenced by Weapon::AddJunctureToAttachedMagazine(), ActionDigInStash::OnFinishProgressServer(), and FirearmActionDetachMagazine::OnStartServer().
Referenced by PPEffects::AddPPMask(), and PPERequester_GameplayBase::SetValuesOptics().
|
private |
Add player to reconnect cache to be able to rejoin character still existing in the world.
identity | of player |
References SaveProfile(), and SetProfileStringList().
Referenced by OnEvent().
|
inlineprivate |
|
private |
Referenced by PluginBase::LogPrint().
|
inlineprivate |
References GetCLIParam(), IDC_MAIN_QUIT, AutotestConfigHandler::LoadData(), AutoTestFixture::LogRPT(), mission, PlayMission(), and RequestExit().
Referenced by OnInitialize().
|
private |
Referenced by ScriptedWidgetEventHandler::OptionsMenuVideo().
|
inlineprivate |
References m_LoginQueue.
Referenced by OnEvent(), and OnLoginTimeEvent().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, GetCallQueue(), m_LoginTimeScreen, and ScriptCallQueue::Remove().
Referenced by LoginTimeCountdown(), OnEvent(), and OnPreloadEvent().
|
inlineprivate |
extend as needed, only game focus and M&K setting (consoles only!) are checked natively
Only checking on console because while loading on PC, the mouse might not be detected
Platform defaults
References GetInput(), and Input::IsMouseConnected().
Referenced by RefreshMouseCursorVisibility().
|
private |
Prints text into game chat.
text | to print |
colorClass | ?? usage : proto native CGame GetGame() |
Referenced by ManBase::Message().
Referenced by ManBase::Message().
|
private |
Referenced by UIScriptedMenu::OnChange().
References ConfigGetTextArray(), and GetGame().
|
inlineprivate |
References GetMission(), GetUIManager(), mission, Mission::Pause(), and UIManager::ShowQueuedDialog().
|
inlineprivate |
References STATS_COUNT.
Referenced by OnEvent().
References ClearJuncture(), Debug::InventoryReservationLog(), and LogManager::IsInventoryReservationLogEnable().
Referenced by ActionBase::ClearActionJuncture(), HandStateBase::OnAbort(), OnEndServer(), HandStartAction::OnEntry(), HandStateBase::OnExit(), ActionDigInStash::OnFinishProgressServer(), ActionDeployBase::OnFinishProgressServer(), TryAcquireTwoInventoryJuncturesFromServer(), and ValidateSwap().
|
private |
Remove all player from reconnect cache.
Get command line parameter value.
name | of parameter |
value | output |
Referenced by DayZGame().
Searches given config path (config_path) for the given member (searched_member) and returns its index. \nReturns -1 if not found.
usage:
References ConfigGetChildName(), and ConfigGetChildrenCount().
Get name of base class of config class on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
name | output |
Referenced by PluginBase::GetBaseClasses(), and PluginBase::GetConfigRecursive().
Get name of subclass in config class on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
index | of subclass in class |
name | output |
Referenced by BillboardSetHandler::ActivateBillboardSet(), BaseBuildingBase::CanReceiveAttachment(), ScriptConsoleSoundsTab::ChangeFilter(), ScriptConsoleItemsTab::ChangeFilter(), ConfigFindClassIndex(), PluginBase::ContainsFirstClass(), AttachmentsOutOfReach::CreateAttachmentPosition(), DayZGame(), DayZPlayerTypeSoundTableImpl(), DayZPlayerTypeStepSoundLookupTable::DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeVoiceSoundLookupTable::DayZPlayerTypeVoiceSoundLookupTableImpl(), DestroyMaterialsServer(), DropNonUsableMaterialsServer(), ScriptConsoleConfigTab::DumpParam(), ComponentEnergyManager::Event_OnAwake(), PluginRecipesManagerBase::GenerateRecipeCache(), AttachmentCategoriesContainer::GetAttachmentCategory(), AttachmentCategoriesSlotsContainer::GetAttachmentCategory(), ConstructionActionData::GetAttachmentsFromSelection(), ConstructionActionData::GetAttachmentSlotFromSelection(), PluginBase::GetConfig(), PluginBase::GetConfigRecursive(), Debug::GetFiltredConfigClasses(), GetLiquidConfigProperty(), DayZPlayer::HandleView(), HasMaterials(), ItemBase::HideAllAnimationsAndProxyPhysics(), Entity::HideAllSelections(), SoundSetMap::Init(), InitAllLiquids(), InitData(), DayZCreatureAIType::LoadAnimDamageEvents(), DayZCreatureAIType::LoadAnimSoundEvents(), DayZCreatureAIType::LoadAnimSoundVoiceEvents(), DayZCreatureAIType::LoadAnimStepEvents(), BillboardSetHandler::LoadBillboardConfigs(), LoadConfig(), PluginBase::LoadFromCfg(), LoadFromCfg(), ModLoader::LoadMods(), InventoryItem::LoadParticleConfigOnFire(), InventoryItem::LoadParticleConfigOnOverheating(), InventoryItemType::LoadSoundEvents(), LoadSoundWeaponEvent(), SoundLookupTable::LoadTable(), LoadVegetationSounds(), MaterialIsRuined(), Entity::OnDebugSpawn(), ActionUnpackBox::OnFinishProgressServer(), SetLockOnAttachedMaterials(), Entity::ShowAllSelections(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), TakeMaterialsServer(), UpdateConstructionParts(), and Hologram::UpdateSelections().
Get count of subclasses in config class on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
index | of parameter in class |
name | output |
Referenced by BaseBuildingBase::CanReceiveAttachment(), ScriptConsoleSoundsTab::ChangeFilter(), ScriptConsoleItemsTab::ChangeFilter(), ConfigFindClassIndex(), PluginBase::ContainsFirstClass(), AttachmentsOutOfReach::CreateAttachmentPosition(), DayZGame(), DayZPlayerTypeSoundTableImpl(), DayZPlayerTypeStepSoundLookupTable::DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeVoiceSoundLookupTable::DayZPlayerTypeVoiceSoundLookupTableImpl(), DestroyMaterialsServer(), DropNonUsableMaterialsServer(), ScriptConsoleConfigTab::DumpParam(), ComponentEnergyManager::Event_OnAwake(), PluginRecipesManagerBase::GenerateRecipeCache(), AttachmentCategoriesContainer::GetAttachmentCategoriesCount(), ConstructionActionData::GetAttachmentsFromSelection(), ConstructionActionData::GetAttachmentSlotFromSelection(), PluginBase::GetConfig(), PluginBase::GetConfigRecursive(), Debug::GetFiltredConfigClasses(), DayZPlayer::HandleView(), HasMaterials(), ItemBase::HideAllAnimationsAndProxyPhysics(), Entity::HideAllSelections(), SoundSetMap::Init(), InitData(), DayZCreatureAIType::LoadAnimDamageEvents(), DayZCreatureAIType::LoadAnimSoundEvents(), DayZCreatureAIType::LoadAnimSoundVoiceEvents(), DayZCreatureAIType::LoadAnimStepEvents(), PluginBase::LoadFromCfg(), LoadFromCfg(), ModLoader::LoadMods(), InventoryItem::LoadParticleConfigOnFire(), InventoryItem::LoadParticleConfigOnOverheating(), InventoryItemType::LoadSoundEvents(), LoadSoundWeaponEvent(), SoundLookupTable::LoadTable(), LoadVegetationSounds(), MaterialIsRuined(), Entity::OnDebugSpawn(), ActionUnpackBox::OnFinishProgressServer(), SetLockOnAttachedMaterials(), Entity::ShowAllSelections(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), TakeMaterialsServer(), and UpdateConstructionParts().
Get float value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
Referenced by Ammo_40mm_Smoke_ColorBase::Activate(), ItemBase::BatteryCharger(), CalcAndSetTotalEnergy(), CreateOrgan(), DestroyMaterialsServer(), EffBulletImpactBase::EvaluateEffect(), ComponentEnergyManager::Event_OnAwake(), ItemBase::Fertilize(), FirearmEffects(), Ammunition_Base::GetAmmoWeightByBulletType(), InventoryItem::GetDryingIncrement(), ItemBase::GetEnergyNeededToCharge(), Edible_Base::GetFoodEnergy(), Edible_Base::GetFoodNutritionalIndex(), Edible_Base::GetFoodTotalVolume(), Edible_Base::GetFoodToxicity(), Edible_Base::GetFoodWater(), Surface::GetParamFloat(), InventoryItem::GetProtectionLevel(), InventoryItem::GetSoakingIncrement(), ItemBase::GetTimeNeededToCharge(), GetTypeMaxGlobalHealth(), HasMaterials(), Hologram::Hologram(), FlammableBase::Init(), LiquidInfo::Init(), ItemOptics::InitDOFAvailability(), CatchingContextFishingRodAction::InitItemValues(), CatchingContextTrapsBase::InitItemValues(), ItemOptics::InitOpticsPP(), AmmoCamParams::Load(), InventoryItem::LoadParticleConfigOnOverheating(), MaterialIsRuined(), BarbedWireTrigger::OnEnter(), Grenade_Base::OnExplosionEffects(), ItemBase::OnInitEnergy(), OrderedPositionNumbersFromGridCoords(), BleedingSourcesManagerBase::ProcessHit(), ActionRepairTent::RepairDamageTransfer(), ComponentEnergyManager::ResetEnergyUsage(), Ammunition_Base::SetFromProjectile(), SetLockOnAttachedMaterials(), CAContinuousFertilizeGardenSlot::Setup(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), SpawnItems(), TakeMaterialsServer(), and WeaponParticlesBase::WeaponParticlesBase().
|
private |
Get array of floats from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output |
Referenced by CreateOrgan(), GetHealthLevelForAmmo(), Weapon::InitDOFProperties(), CatchingContextTrapsBase::InitItemValues(), ItemOptics::InitOpticsDOFProperties(), ItemOptics::InitOpticsPP(), Weapon::InitReliability(), SpawnItems(), and WeaponParticlesBase::WeaponParticlesBase().
|
private |
Get int value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
Referenced by CanUseToolToBuildPart(), CanUseToolToDismantlePart(), ScriptConsoleItemsTab::ChangeFilter(), ReplaceItemWithNewLambdaBase::CreateNewEntity(), DayZGame(), DayZPlayerTypeStepSoundLookupTable::DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeVoiceSoundLookupTable::DayZPlayerTypeVoiceSoundLookupTableImpl(), DestroyMaterialsServer(), ManBase::EEHitBy(), Inventory_Base::EmptySeedPack(), DayZInfected::EvaluateDamageHitAnimation(), DayZPlayer::EvaluateDamageHitAnimation(), DayZInfected::EvaluateDeathAnimation(), DayZPlayer::EvaluateDeathAnimation(), PluginRecipesManagerBase::GenerateRecipeCache(), Edible_Base::GetAgentsPerDigest(), Debug::GetFiltredConfigClasses(), Edible_Base::GetFoodAgents(), Edible_Base::GetFoodDigestibility(), GetLiquidConfigProperty(), GetLiquidSource(), GetMaterialType(), Surface::GetParamInt(), AttachmentCategoriesContainer::GetViewIndex(), Hologram::Hologram(), LiquidInfo::Init(), InitAllLiquids(), InitData(), IsSurfaceDigable(), IsSurfaceFertile(), MaterialIsRuined(), Entity::OnDebugSpawn(), ActionUnpackBox::OnFinishProgressServer(), PlantBase(), ReplaceItemWithNewLambdaBase::PrepareLocations(), ReplaceSoundEventBase::SelectSoundID(), SetLockOnAttachedMaterials(), ItemBase::SetSlotTextureFertilized(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), TakeMaterialsServer(), UpdateConstructionParts(), and WeaponParticlesBase::WeaponParticlesBase().
Get array of integers from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output |
Referenced by ComponentEnergyManager::Event_OnAwake(), CatchingContextTrapsBase::InitItemValues(), and LoadVegetationSounds().
|
private |
Referenced by ObjectIsKindOf().
Get string value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output |
Referenced by ConfigGetTextOut(), AttachmentsOutOfReach::CreateAttachmentPosition(), DayZPlayerTypeStepSoundLookupTable::DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeVoiceSoundLookupTable::DayZPlayerTypeVoiceSoundLookupTableImpl(), DestroyMaterialsServer(), DropNonUsableMaterialsServer(), ScriptConsoleConfigTab::DumpParam(), Inventory_Base::EmptySeedPack(), ComponentEnergyManager::Event_OnAwake(), AmmoEffects::GetAmmoEffectTypename(), AmmoEffects::GetAmmoParticleID(), Ammunition_Base::GetAmmoWeightByBulletType(), ConstructionActionData::GetAttachmentsFromSelection(), ConstructionActionData::GetAttachmentSlotFromSelection(), AttachmentCategoriesContainer::GetIconName(), AttachmentCategoriesSlotsContainer::GetIconName(), GetLiquidConfigProperty(), GetModelName(), Surface::GetParamText(), PluginBase::GetPlantType(), GetSurfaceDigPile(), HasMaterials(), AttachmentCategoriesRow::Init(), ItemOptics::Init2DPreloadType(), AttachmentCategoriesContainer::InitGhostSlots(), ZombieContainer::InitGhostSlots(), InventoryItemSuper::InitMapState(), ItemOptics::InitReddotData(), LoadConfig(), ModStructure::LoadData(), PluginBase::LoadFromCfg(), LoadFromCfg(), SoundLookupTable::LoadTable(), LoadVegetationSounds(), MaterialIsRuined(), Entity::OnDebugSpawn(), ActionEmptyMagazine::OnExecuteServer(), OnProjectileStopped(), OnProjectileStoppedInObject(), OnProjectileStoppedInTerrain(), OnVariablesSynchronized(), PlantBase(), PlayerContainer::PlayerContainer(), MiscEffects::PlayVegetationCollideParticles(), RegisterAttacks(), SetDisplayNameText(), SetLockOnAttachedMaterials(), PlayerContainer::SetPlayer(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), TakeMaterialsServer(), and WeaponParticlesBase::WeaponParticlesBase().
|
private |
Get array of strings from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output usage : GetGame().ConfigGetTextArray("CfgMovesMaleSdr2 States menu_idleUnarmed0 variantsPlayer", characterAnimations);
proto native void ConfigGetTextArray(string path, out TStringArray values) Get array of strings from config on path. Result for an object found in CGame.IsBoxCollidingGeometryProxy. Definition IsBoxCollidingGeometryProxyClasses.c:28 |
Referenced by CheckAmmoCompability(), AttachmentsOutOfReach::CreateAttachmentPosition(), DropNonUsableMaterialsServer(), ConstructionActionData::GetAttachmentsFromSelection(), ConstructionActionData::GetAttachmentSlotFromSelection(), ItemBase::GetAttachmentSlots(), GetCollisionBoxData(), GetComponentNamesFromDamageZone(), GetConfigArrayCountFromSlotID(), SceneObject::GetConfigAttachments(), GetConfigAttachmentTypes(), PluginBase::GetConfigRecursive(), GetDamageZoneMap(), HiddenSelectionsData::GetHiddenSelectionsConfig(), HiddenSelectionsData::GetHiddenSelectionsMaterialsConfig(), HiddenSelectionsData::GetHiddenSelectionsTexturesConfig(), Attachments::GetItemSlots(), GetRequiredParts(), DayZPlayer::HandleView(), HasConflictPart(), HasRequiredPart(), HiddenSelectionsData::HiddenSelectionsData(), AttachmentCategoriesRow::Init(), ZombieContainer::InitGhostSlots(), InventoryItem::KindOf(), LoadConfig(), LoadFromCfg(), LoadPlayerAttachmentIndexes(), SoundLookupTable::LoadTable(), LockOvenAttachments(), PlayerContainer::PlayerContainer(), ActionRepairTent::RepairDamageTransfer(), BetaSound::SaySound(), PlayerContainer::SetPlayer(), and SpawnItems().
|
private |
Get array of raw strings from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output in raw format (localization keys '$STR_' are not translated) usage : GetGame().ConfigGetTextArrayRaw("CfgMovesMaleSdr2 States menu_idleUnarmed0 variantsPlayer", characterAnimations);
proto native void ConfigGetTextArrayRaw(string path, out TStringArray values) Get array of raw strings from config on path. |
Get string value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
References ConfigGetText(), and path.
Referenced by GetItemDisplayName(), Hologram::Hologram(), Ammo_40mm_Smoke_ColorBase::OnVariablesSynchronized(), BleedingSourcesManagerBase::ProcessHit(), and Hologram::RefreshVisual().
Get raw string value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
value | output in raw format (localization keys '$STR_' are not translated) |
Referenced by LiquidInfo::Init(), and UpdateConstructionParts().
Returns type of config value.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
Referenced by PluginBase::ContainsFirstClass(), PluginBase::GetConfigRecursive(), and InventoryItem::LoadParticleConfigOnOverheating().
Get vector value from config on path.
path | of value, classes are delimited by empty space. You can specify config file by using "configFile" or "missionConfigFile" as a first class name. |
Referenced by Hologram::Hologram(), UIScriptedMenu::Init(), and WeaponParticlesBase::WeaponParticlesBase().
Referenced by CalcAndSetTotalEnergy(), SlotsIcon::CheckHasItemSize(), ReplaceItemWithNewLambdaBase::CreateNewEntity(), ItemBase::EEItemAttached(), ItemBase::EEItemDetached(), Entity::EntityAI(), InventoryItem::HasFoodStage(), InitData(), PlayerContainer::ItemAttached(), ZombieContainer::ItemAttached(), and ReplaceItemWithNewLambdaBase::PrepareLocations().
|
inlineprivate |
Converts array of strings into single string.
Array | of strings like {"All", "AllVehicles", "Land"} |
|
inlineprivate |
References Connect(), DeleteTitleScreen(), DisconnectSessionScript(), string::Format(), GetHostAddress(), GetUIManager(), m_ConnectAddress, and SetConnecting().
Referenced by Connect(), ConnectFromCLI(), ConnectFromJoin(), and TryConnect().
|
private |
Connects to IsServer.
IpAddress | of the server |
port | of the server set to 0 for default port |
password | of the server |
|
inlineprivate |
References Connect(), GetCLIParam(), and string::ToInt().
Referenced by ConnectLaunch(), and TryConnect().
References OnlineServices::LoadMPPrivilege().
Referenced by ConnectFromServerBrowserEx().
|
inlineprivate |
References ConnectFromServerBrowser().
|
private |
Connects to last success network session.
|
inlineprivate |
References ConnectFromCLI(), CreateTitleScreen(), GamepadCheck(), BiosUserManager::GetTitleInitiator(), GetUserManager(), BiosUserManager::SelectUserEx(), SetGameState(), and SetLoadState().
Referenced by OnInitialize().
|
private |
Referenced by OnClick(), PluginBase::SpawnFromClipboard(), and HudDebugWinBase::Update().
|
private |
References LIQUID_NONE, and LIQUID_SALTWATER.
Referenced by SurfaceUnderObjectByBoneCorrectedLiquid(), SurfaceUnderObjectCorrectedLiquid(), and SurfaceUnderObjectExCorrectedLiquid().
|
inlineprivate |
|
inlineprivate |
returns class name of first valid survivor (TODO address confusing naming?)
|
private |
|
private |
Create only enforce script mission, used for mission script reloading.
Referenced by ReloadMission().
|
private |
Creates object of certain type.
type | of objects to create |
pos | position where to create object |
create_local | if True, object is not spawned on clients only on server |
init_ai | if creating object is LightAI class, by this param is initialised AI or not |
Referenced by DayZIntroSceneXbox::DayZIntroSceneXbox(), FirearmEffects(), Grenade_ChemGas::OnExplode(), PlayerSyncCreate(), Release(), BleedingSourcesManagerBase::SetDiag(), and ShootsExplosiveAmmo().
|
private |
Creates object of certain type.
type | of objects to create |
pos | position where to create object |
iFlags | are used to setup object and/ or spawn behavior |
iRotation | are used to setup object rotation on spawn (or default if not specified) |
Referenced by FireplaceBase::AfterStoreLoad(), CreateItemBasePiles(), CreateItemBasePilesDispersed(), CreateMagazinePiles(), CreateMagazinePilesDispersed(), CreateMagazinePilesFromBullet(), Particle::CreateParticleEffect(), Inventory_Base::EmptySeedPack(), LateInit(), ActionCreateIndoorFireplace::OnExecuteServer(), ActionCreateIndoorOven::OnExecuteServer(), ActionDigWorms::OnFinishProgressServer(), ActionUnpackGift::OnFinishProgressServer(), FireplaceBase::OnIgnitedThis(), GardenBase::OnPlacementComplete(), OnPlacementComplete(), TentBase::OnPlacementComplete(), OnProjectileStopped(), OnProjectileStoppedInObject(), OnProjectileStoppedInTerrain(), GardenBase::OnStoreLoad(), ItemBase::OnStoreLoad(), OnSuccess(), ContaminatedArea_Dynamic::SpawnItems(), ObjectSpawnerHandler::SpawnObject(), and Land_WarheadStorage_Main::SpawnTriggers().
|
private |
Assign player entity to client (in multiplayer)
name |
Referenced by MissionBase::CreateCharacter(), and MissionBenchmark::CreatePlayer().
|
inlineprivate |
Referenced by MissionBase::OnClientNewEvent().
|
inlineprivate |
returns class name of random survivor (TODO address confusing naming?)
|
inlineprivate |
create custom main menu part (submenu)
References Mission::CreateScriptedMenu(), GetMission(), and mission.
|
inlineprivate |
create custom main menu part (submenu)
|
inlineprivate |
create custom window part
|
private |
|
private |
Referenced by ObjectSpawnerHandler::SpawnObject().
|
inlineprivate |
References WorkspaceWidget::CreateWidgets(), DeleteTitleScreen(), GetGame(), GetInput(), BiosUserManager::GetSelectedUser(), GetUserManager(), and GetWorkspace().
Referenced by ConnectLaunch(), GamepadCheck(), MissionLaunch(), and OnInitialize().
|
inlineprivate |
References ScriptCallQueue::Call(), CALL_CATEGORY_COUNT, CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CommandlineGetParam(), ConfigGetChildName(), ConfigGetChildrenCount(), ConfigGetInt(), PPEManagerStatic::CreateManagerStatic(), DeferredInit(), GetCallQueue(), GetModToBeReported(), GetUApi(), Component::Init(), Debug::Init(), CachedObjectsParams::Init(), CachedObjectsArrays::Init(), BleedChanceData::InitBleedChanceData(), IsKindOf(), LoadingScreen(), m_timerQueue, MISSION_STATE_GAME, path, UAInputAPI::PresetSelect(), RefreshMouseCursorVisibility(), and SetMainMenuWorld().
Referenced by IsMissionMainMenu().
|
inlineprivate |
References GetInput(), GetMenuDefaultCharacterData(), AbstractSoundScene::GetMusicVolume(), PPEManagerStatic::GetPPEManager(), AbstractSoundScene::GetRadioVolume(), GetSoundScene(), AbstractSoundScene::GetSoundVolume(), AbstractSoundScene::GetSpeechExVolume(), GetUserFOVFromConfig(), AbstractSoundScene::GetVOIPVolume(), GameOptions::Initialize(), and Input::UpdateConnectedInputDeviceList().
References SEffectManager::PlaySound(), EffectSound::SetAutodestroy(), Vector(), x, and y.
|
private |
|
inlineprivate |
References m_IntroMenu.
Referenced by Connect(), CreateTitleScreen(), GamepadCheck(), MainMenuLaunch(), and SelectGamepad().
|
private |
Destroy player info and disconnect.
Referenced by MissionBase::PlayerDisconnected().
|
private |
Disconnects from current multiplayer session.
|
inlineprivate |
References Mission::AbortMission(), NotificationSystem::AddNotification(), UIManager::CloseAllSubmenus(), UIManager::CloseDialog(), NotificationSystem::DEFAULT_TIME_DISPLAYED, DisconnectSessionForce(), g_Game, GamepadCheck(), OnlineServices::GetBiosUser(), GetGame(), GetMission(), GetUIManager(), GetUserManager(), MainMenuLaunch(), BiosUserManager::SelectUserEx(), SetGameState(), and SetLoadState().
Referenced by DisconnectSessionScript().
|
private |
Forces disconnect from current multiplayer session even if not yet in the game.
Referenced by DisconnectSessionEx(), and TryConnect().
|
inlineprivate |
References DisconnectSessionEx().
Referenced by Connect(), and TryConnect().
|
private |
Delevoper only: Dump all script allocations.
|
inlineprivate |
References g_Game, and MENU_EARLYACCESS.
|
private |
Enable microphone to locally capture audio from user. Audio heard does NOT automatically get transmitted over network.
enable | enables or disabled listening |
Referenced by ScriptedWidgetEventHandler::OnVonStateEvent(), ScriptedWidgetEventHandler::OptionsMenuSounds(), and ScriptedWidgetEventHandler::~OptionsMenuSounds().
Enable/disable VoN for target player.
player | in question |
enable | sets if player can use VoN |
Referenced by ManBase::EEKilled(), ManBase::OnUnconsciousStart(), and ManBase::OnUnconsciousStop().
|
private |
|
inlineprivate |
References GetUIManager(), and MENU_LOGIN_QUEUE.
Referenced by UpdateLoginQueue().
|
inlineprivate |
References GetUIManager(), and MENU_LOGIN_TIME.
Referenced by OnLoginTimeEvent(), and OnRespawnEvent().
Delevoper only: Executes Enforce Script expression, if there is an error, is printed into the script console.
Referenced by PluginBase::ExecuteEnforceScript(), ManBase::OnRPC(), and ScriptConsoleEnfScriptTab::RunEnscript().
|
inlineprivate |
References vector::Distance(), AmmoTypesAPI::GetExplosionParticleID(), GetGame(), GetPlayer(), GetPosition, Math::InverseLerp(), Math::Lerp(), and ParticleManager().
Referenced by ExplosionEffectsEx().
|
private |
Referenced by ActionBase::RefreshActionJuncture().
Changes localization key format to script-friendly format.
original | config string. |
Referenced by LiquidInfo::Init(), Entity::InitDamageZoneDisplayNameMapping(), and UpdateConstructionParts().
|
inlineprivate |
References CreateTitleScreen(), DeleteTitleScreen(), GetGame(), GetID(), GetInput(), GetUIManager(), Input::GetUserGamepad(), GetUserManager(), Input::IdentifyGamepad(), MENU_TITLE_SCREEN, and SelectUser().
Referenced by ConnectLaunch(), DisconnectSessionEx(), MissionLaunch(), and SelectUser().
|
inlineprivate |
References m_AnalyticsManagerClient.
Referenced by ManBase::EEItemAttached(), InventoryItem::EEItemLocationChanged(), AnimatedActionBase::End(), CAContinuousTimeCooking::Execute(), ActionHandcuffTarget::OnExecuteClient(), ActionRestrainTarget::OnFinishProgressClient(), ActionShave::OnFinishProgressClient(), and OnFinishProgressClient().
|
inlineprivate |
Returns average framerate over last n frames.
nFrames | The number of frames to compute average of, up to 64. |
Referenced by GetFPSStats(), and MissionBase::UpdateDebugMonitor().
|
inlineprivate |
References m_BillboardSetHandler.
|
inlineprivate |
Referenced by MissionBase::AbortMission(), Ammo_40mm_Smoke_ColorBase::Activate(), Grenade_Base::ActivateRandomTime(), UIScriptedMenu::Cancel(), CancelLoginTimeCountdown(), BaseBuildingBase::CheckFenceClosed(), BaseBuildingBase::CheckFenceOpened(), Entity::CheckForDestroy(), BoatScript::ClearWaterEffects(), BaseBuildingBase::CloseFence(), UIManager::CloseWindow(), ScriptConsoleEnfScriptTab::ColorRunButton(), CommitSuicide(), DayZIntroSceneXbox::CreateRandomCharacter(), CreateTrigger(), DayZGame(), DayZIntroScene::DayZIntroScene(), DayZIntroSceneXbox::DayZIntroSceneXbox(), Component::DebugBBoxDelete(), Component::DebugBBoxDraw(), Component::DebugDirectionDelete(), Component::DebugDirectionDraw(), IEntity::DecreaseHealth(), IEntity::Delete(), Entity::DeleteOnClient(), Destroy(), VicinitySlotsContainer::DoubleClick(), DynamicArea_Flare::DynamicArea_Flare(), Clothing_Base::EEHealthLevelChanged(), ManBase::EEHealthLevelChanged(), EEHitBy(), Weapon::EEInit(), ItemBase::EEInit(), EEInit(), ManBase::EEItemAttached(), FlammableBase::EEItemDetached(), ManBase::EEItemDetached(), ManBase::EEItemOutOfHands(), Entity::EEKilled(), Ammo_40mm_Explosive::EEKilled(), ItemBase::EEOnAfterLoad(), EndLoading(), Entity::EntityAI(), EOnFrame(), UIScriptedMenu::Exit(), TerritoryFlag::FullyBuild(), UIScriptedMenu::GameRespawn(), UIScriptedMenu::GameRetry(), HandleEngineSound(), HandleSoundEffectsPipeCreaking(), Init(), ManBase::Init(), UIScriptedMenu::Init(), InitZoneServer(), MissionBase::InputBufferCheck(), Interact(), Land_Underground_EntranceBase::Land_Underground_EntranceBase(), ScriptedWidgetEventHandler::LoadVideo(), MissionBase::MissionServer(), OnActivate(), DrowningMdfr::OnActivate(), ImprovisedExplosive::OnActivatedByItem(), ClaymoreMine::OnArmed(), UIScriptedMenu::OnClick(), ScriptConsoleGeneralTab::OnClick(), UIScriptedMenu::OnClick_Continue(), UIScriptedMenu::OnClick_Exit(), UIScriptedMenu::OnClick_Respawn(), UIScriptedMenu::OnClick_Restart(), MissionBase::OnClientDisconnectedEvent(), ZombieMaleBase::OnDamageDestroyed(), Grenade_ChemGas::OnDamageDestroyed(), ManBase::OnDrowningEnd(), OnEndServer(), BoatScript::OnEngineStop(), OnEvent(), FireworksLauncherClientEvent::OnExplode(), OnExplode(), ActionDestroyCombinationLock::OnFinishProgressServer(), OnFinishProgressServer(), FireworksLauncher::OnFuseIgnitedServer(), BiosSessionService::OnGetSessionError(), DestructionEffectBase::OnHealthLevelChanged(), FireplaceBase::OnIgnitedThis(), MissionBase::OnInputBufferEvent(), OnItemLocationChanged(), OnLoginTimeEvent(), UIScriptedMenu::OnModalResult(), ScriptedWidgetEventHandler::OnMouseButtonDown(), Land_Underground_Panel_Lever::OnPanelUsedSynchronized(), ItemBase::OnPartBuiltServer(), ItemBase::OnPartDestroyedServer(), ItemBase::OnPartDismantledServer(), OnPlacementComplete(), ItemBase::OnPlacementComplete(), ScriptedWidgetEventHandler::OnPlaybackStart(), ScriptedWidgetEventHandler::OnPlaybackStop(), ManBase::OnPlayerLoaded(), MissionBase::OnPlayerRespawned(), OnRespawnEvent(), ManBase::OnRPC(), OnRPC(), PluginBase::OnRPCSyncSceneObject(), ManBase::OnSelectPlayer(), OnShow(), OnStartServer(), PluginBase::OnUIEditorOpened(), OnUpdate(), ItemBase::OnVariablesSynchronized(), Torch_Video::OnWorkStart(), Torch_Video::OnWorkStop(), BaseBuildingBase::OpenFence(), ScriptedWidgetEventHandler::OptionsMenuControls(), OutdoorThermometer(), UIScriptedMenu::PerformSetToDefaultsExt(), Play(), UIScriptedMenu::Play(), MissionBase::PlayerDisconnected(), ItemBase::Refresh(), RefreshFireplaceVisuals(), ManBase::RefreshHandAnimationState(), ItemBase::RegenerateNavmesh(), UndergroundTriggerCarrierBase::RequestDelayedTriggerSpawn(), Land_Underground_EntranceBase::RequestLatentTransition(), FireworksLauncherClientEvent::RequestSecondaryExplosion(), UniversalTemperatureSourceDebug::SetDefferedActive(), DayZPlayer::ShowDeadScreen(), ManBase::SpawnDrowningBubbles(), PluginBase::SpawnEntityInPlayerInventory(), CrashBase::SpawnRandomDeerLater(), StartFire(), InventoryItem::StartItemSoundServer(), MissionBase::StartLogoutMenu(), Stop(), StopFire(), InventoryItem::StopItemSoundServer(), Synchronize(), ToggleDebugWindowEvent(), VicinitySlotsContainer::TransferItem(), Entity::TryDelete(), UIScriptedMenu::Update(), UpdateInputDeviceDisconnectWarning(), ItemBase::UpdateNavmesh(), ItemBase::UpdatePhysics(), ScriptedWidgetEventHandler::UpdateTotalTime(), UpdateVisuals(), and MissionBase::~MissionServer().
|
inlineprivate |
Returns CallQueue for certain category
call_category | call category, valid values are: CALL_CATEGORY_SYSTEM - calls & timers in this queue are processed every time without any restrictions CALL_CATEGORY_GUI - calls & timers in this queue are processed when GUI is enabled (even during pase game) CALL_CATEGORY_GAMEPLAY - calls & timers in this queue are processed only during mission, when game is not paused usage: GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Refresh"); // calls "Refresh" function on "this" with no arguments
GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Show", new Param1<bool>(true)); // calls "Show" function on "this" with one bool argument
GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(this, "SetPos", new Param2<float, float>(0.2, 0.5)); // calls "SetPos" function on "this" with two float arguments
override ScriptCallQueue GetCallQueue(int call_category) Definition DayZGame.c:1187 Definition PPEConstants.c:68 proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) adds call into the queue with given parameters and arguments (arguments are held in memory until the ... |
References m_ConnectedInputDeviceList.
|
private |
Return DLC service (service for entitlement keys for unlock content)
Referenced by UIScriptedMenu::Init(), ScriptedWidgetEventHandler::MainMenuDlcHandlerBase(), ServerBrowserTab(), UIScriptedMenu::~MainMenuConsole(), ScriptedWidgetEventHandler::~MainMenuDlcHandlerBase(), and ~ServerBrowserTab().
|
private |
Referenced by HitDirectionEffectBase::CalculateArrowPosition(), ManBase::CommandHandler(), PoweredOptic_Base::DoMeasurement(), ManBase::GetAimPosition(), Hologram::GetDefaultOrientation(), Hologram::GetProjectionEntityPosition(), PluginBase::GetTargetEntity(), Hologram::HideWhenClose(), HitZoneSelection(), HitZoneSelectionRaycast(), BaseBuildingBase::IsFacingCamera(), Weapon::LiftWeaponCheck(), UIScriptedMenu::OnClick(), ScriptConsoleItemsTab::OnClick(), ScriptConsoleItemsTab::OnDoubleClick(), WeaponDebug::OnPostFrameUpdate(), Hud::RefreshPlayerTags(), PluginBase::SpawnItemOnCrosshair(), DeveloperTeleport::TeleportAtCursor(), DeveloperTeleport::TeleportAtCursorEx(), and ScriptConsoleSoundsTab::UpdateMousePos().
|
private |
Referenced by PoweredOptic_Base::DoMeasurement(), Event_OnClick(), EffBulletImpactBase::Event_OnStarted(), ManBase::GetAimPosition(), Hologram::GetProjectionEntityPosition(), PluginBase::GetTargetEntity(), Hologram::IsClippingRoof(), UIScriptedMenu::OnClick(), ScriptConsoleItemsTab::OnClick(), ScriptConsoleItemsTab::OnDoubleClick(), Hit_MeatBones::OnEnterCalculations(), PointLightBase::OnFrameLightSource(), WeaponDebug::OnPostFrameUpdate(), Hud::RefreshPlayerTags(), ScriptConsoleVicinityTab::RenderList(), PluginBase::SpawnItemOnCrosshair(), DeveloperTeleport::TeleportAtCursor(), and DeveloperTeleport::TeleportAtCursorEx().
|
inlineprivate |
References GameOptions::GetOptionByType().
|
inlineprivate |
References m_DatabaseID.
|
private |
Returns current daytime on server.
|
inlineprivate |
References m_DeltaTime.
|
private |
Gets current debug draw mode.
|
private |
Get list of all debug draw modes.
Referenced by ScriptConsoleGeneralTab::Init().
Gets state of specific debug mode.
Referenced by ScriptConsoleGeneralTab::OnClick().
|
private |
Get list of all debug modes.
Referenced by ScriptConsoleGeneralTab::Init().
|
inlineprivate |
|
inlineprivate |
Returns DragQueue. Callbacks are called on mouse move until mouse button is released, then the queue is cleaned.
Returns EntityAI by its persistent ID parts or null if entity with given persistent ID does not exists.
This function returns valid data only inside AfterLoad event. Do not use this in anywhere else.
Its main purpose is only for keep track on object connections after server restarts, all data related to this function are deleted when server initialization is done.
Referenced by Entity::EEOnAfterLoad().
|
inlineprivate |
References m_FoodDecayModifier.
Referenced by IsFoodDecayEnabled().
|
inlineprivate |
|
private |
Returns average FPS of last 16 frames.
Referenced by MissionBenchmark::MeasureUpdate().
Outputs framerate statistics.
min | Outputs minimum framerate over last n frames in frames per second. |
max | Outputs maximum framerate over last n frames in frames per second. |
avg | Outputs average framerate over last n frames in frames per second. |
nFrames | The number of frames to take into account, up to 64. |
References GetAvgFPS(), GetMaxFPS(), and GetMinFPS().
Referenced by MissionBase::UpdateDebugMonitor().
|
inlineprivate |
References m_GameState.
Referenced by OnEvent(), OnMPConnectionLostEvent(), and TryConnect().
Returns the largest height difference between the given positions.
References SurfaceRoadY(), and y.
Referenced by ActionDigInStash::ActionCondition().
Gets the server address. (from client)
Referenced by Connect(), OnEvent(), BiosSessionService::OnGetGameplaySession(), RefreshCurrentServerInfo(), and TryConnect().
|
private |
Gets the server data. (from client)
|
private |
Gets the server name. (from client)
Referenced by EnProfilerTests::TestFuncCountData().
|
inlineprivate |
References g_Game.
Referenced by OnInitialize().
|
private |
Referenced by CanDisplayMouseCursor(), PluginBase::CaptureFocus(), CaptureFocus(), CreateTitleScreen(), DeferredInit(), PluginBase::FreeCameraControlDisable(), PluginBase::FreeCameraControlEnable(), GamepadCheck(), UIScriptedMenu::GetControlMappingInfo(), UIScriptedMenu::Init(), UIMenuPanel::LockControls(), DayZPlayer::LockControls(), UIScriptedMenu::OnClick(), UIScriptedMenu::OnInputDeviceChanged(), BiosUserManager::OnJoin(), UIScriptedMenu::OnMouseButtonDown(), ScriptedWidgetEventHandler::OnSelectConsolePreset(), ScriptedWidgetEventHandler::OnSelectKBPreset(), UIScriptedMenu::OnSelectKBPreset(), UIScriptedMenu::OnShow(), BiosUserManager::OnSignedOut(), MissionBase::OnUpdate(), BiosUserManager::OnUserLoggedOn(), BiosUserManager::OnUserPicked(), OnWidgetScriptInit(), ScriptedWidgetEventHandler::OptionsMenuControls(), RadialMenu(), PluginBase::ReleaseFocus(), ReleaseFocus(), ScriptedWidgetEventHandler::Reload(), SelectUser(), PluginBase::SetDeveloperItemClientEx(), SwitchPreset(), PluginBase::ToggleFocus(), ScriptedWidgetEventHandler::TutorialKeybinds(), UIMenuPanel::UnlockControls(), UpdataControllerInput(), InputUtils::UpdateConsolePresetID(), UIScriptedMenu::UpdateControlsElements(), UIScriptedMenu::UpdateControlsElementVisibility(), WarningMenuBase::UpdateControlsElementVisibility(), UpdateInputDeviceDisconnectWarning(), ActionTargetsCursor::UpdatePCIconsVisibility(), ScriptedWidgetEventHandler::UpdatePCIconsVisibility(), UIMenuPanel::UseKeyboard(), and UIMenuPanel::UseMouse().
|
private |
Referenced by ActionPackGift::ActionCondition(), Icon::CreateWhiteBackground(), Container::InitIconEx(), magazinesHaveEqualSizes(), ClosableHeader::OnDragHeader(), ActionPackGift::OnFinishProgressServer(), SlotsIcon::OnIconDrag(), Icon::RevertToOriginalFlip(), SlotsIcon::SetItemSize(), Icon::SetItemSizeEx(), SnapOnObject(), ClosableHeader::UpdateFlip(), Icon::UpdateFlip(), and UpdateInterval().
|
private |
Returns current framerate.
References string::Split().
|
private |
|
inlineprivate |
References m_LoadState.
Referenced by OnInitialize(), SelectGamepad(), SelectUser(), and TryConnect().
|
private |
Referenced by MainMenuLaunch(), and PartyLaunch().
Returns maximum framerate over last n frames.
nFrames | The number of frames to find maximum of, up to 64. |
Referenced by GetFPSStats().
|
private |
Return singleton of MenuData class - at main menu contains characters played with current profile.
Referenced by UIScriptedMenu::Back(), GetMenuDefaultCharacterData(), MenuDefaultCharacterData::Init(), and ManBase::OnSelectPlayer().
|
inlineprivate |
References GetGame(), GetMenuData(), m_CharacterData, and MenuData::RequestGetDefaultCharacterData().
Referenced by UIScriptedMenu::BottomChanged(), Managed::CreateDefaultCharacter(), Managed::CreateNewCharacter(), Managed::CreateNewCharacterByName(), DeferredInit(), UIScriptedMenu::GameRespawn(), UIScriptedMenu::GameRetry(), Managed::GetCharacterName(), Managed::GetCharacterNameById(), MenuData::GetMenuDefaultCharacterDataInstance(), MissionBase::OnClientNewEvent(), MissionBase::ProcessLoginData(), UIScriptedMenu::RandomizeCharacter(), Managed::SaveCharName(), DayZIntroSceneXbox::SaveCharName(), UIScriptedMenu::SetCharacter(), UIScriptedMenu::ShoesChanged(), StoreLoginDataPrepare(), and UIScriptedMenu::TopChanged().
Returns minimum framerate over last n frames.
nFrames | The number of frames to find minimum of, up to 64. |
Referenced by GetFPSStats().
|
private |
Referenced by ActionRestrainTarget::ActionConditionContinue(), ActionTargetsCursor::ActionTargetsCursor(), FilteringBottle::AffectLiquidContainerOnFill(), Bottle_Base::AffectLiquidContainerOnFill(), UIScriptedMenu::Cancel(), CheckDialogs(), ScriptedWidgetEventHandler::Close(), ManBase::CloseInventoryMenu(), ManBase::CloseMapEx(), UIScriptedMenu::CloseMapMenu(), ServerBrowserTab::Construct(), ManBase::Consume(), CreateScriptedMenu(), DealEvinronmentAdjustedDmg(), DeveloperFreeCamera::DisableFreeCamera(), DisconnectSessionEx(), PluginBase::DisplayTendency(), ManBase::EEKilled(), ContaminatedArea_Dynamic::EEOnCECreate(), Apple::EEOnCECreate(), Bottle_Base::EEOnCECreate(), CraterellusMushroom::EEOnCECreate(), GreenBellPepper::EEOnCECreate(), Pear::EEOnCECreate(), Plum::EEOnCECreate(), Potato::EEOnCECreate(), Tomato::EEOnCECreate(), Zucchini::EEOnCECreate(), DeveloperFreeCamera::EnableFreeCamera(), DayZPlayer::EvaluateDamageHit(), UIScriptedMenu::Exit(), UIScriptedMenu::GesturesMenu(), ActionTargetsCursor::GetHud(), ScriptedWidgetEventHandler::GetHud(), GetLiquidTypeEnviroTemperature(), GetStanceMask(), HandleInput(), MissionBase::HandleMapToggleByKeyboardShortcut(), BaseBuildingBase::HandleRefreshers(), UIScriptedMenu::HudShow(), UIScriptedMenu::InGameMenuXbox(), BleedingSourcesManagerBase::Init(), ManBase::Init(), UIScriptedMenu::Init(), DebugMonitor::Init(), WarningMenuBase::Init(), ScriptedWidgetEventHandler::Init(), Init(), Init(), MissionBase::InputBufferCheck(), BaseBuildingBase::InsertRefresherPosition(), ScriptedWidgetEventHandler::InspectItem(), UIScriptedMenu::InspectMenuNew(), Inventory(), UIScriptedMenu::InviteMenu(), BoatScript::IsInFlagRange(), ManBase::IsTargetInActiveRefresherRange(), IsVonToggled(), ScriptedWidgetEventHandler::ItemActionsWidget(), ScriptedWidgetEventHandler::MainMenuDlcHandlerBase(), UIScriptedMenu::OnClick(), ManBase::OnCommandLadderFinish(), ManBase::OnCommandLadderStart(), ManBase::OnCommandSwimFinish(), ManBase::OnCommandSwimStart(), ManBase::OnCommandVehicleFinish(), ManBase::OnCommandVehicleStart(), OnConnectivityStatChange(), ActionViewOptics::OnEndClient(), ActionViewOptics::OnEndServer(), OnEvent(), OnEvent(), Input::OnGamepadConnected(), Input::OnGamepadDisconnected(), Input::OnGamepadIdentification(), ManBase::OnGameplayDataHandlerSync(), UIScriptedMenu::OnHide(), OnHide(), MissionBase::OnInputBufferEvent(), Input::OnKeyboardConnected(), Input::OnKeyboardDisconnected(), OnKeyPress(), OnKeyRelease(), Input::OnLastInputDeviceChanged(), CfgGameplayHandler::OnLoaded(), OnLoginTimeEvent(), UIScriptedMenu::OnModalResult(), UIScriptedMenu::OnMouseButtonDown(), OnMouseButtonPress(), OnMouseButtonRelease(), Input::OnMouseConnected(), Input::OnMouseDisconnected(), ScriptedWidgetEventHandler::OnMouseEnter(), ScriptConsoleCameraTab::OnMouseEnter(), ScriptedWidgetEventHandler::OnMouseLeave(), ScriptConsoleCameraTab::OnMouseLeave(), ManBase::OnPlayerLoaded(), OnPostUpdate(), ManBase::OnRestrainChangeClient(), ManBase::OnRestrainStart(), ManBase::OnRestrainStartedChangeClient(), ManBase::OnRPC(), UIScriptedMenu::OnSelectKBPreset(), ManBase::OnSelectPlayer(), DeveloperFreeCamera::OnSetFreeCameraEvent(), UIScriptedMenu::OnShow(), OnShow(), ManBase::OnSpawnedFromConsole(), PPERequester_GameplayBase::OnStart(), ActionViewOptics::OnStartClient(), ActionViewOptics::OnStartServer(), PPERequester_GameplayBase::OnStop(), ManBase::OnUnconsciousStart(), ManBase::OnUnconsciousStop(), ManBase::OnUnconsciousUpdate(), OnUpdate(), PPERequester_GameplayBase::OnUpdate(), BiosUserManager::OnUserPicked(), HeadGear_Base::OnWasAttached(), ConsoleToolbarWidgetHandlerBase::OnWidgetScriptInit(), ScriptedWidgetEventHandler::Open(), UIManager::OpenWindow(), ActionUnfoldMapCB::PerformMapChange(), UIScriptedMenu::PerformSwitchPreset(), ItemBase::PlayCatchEffectsClient(), ItemBase::PlayCatchEffectsServer(), UIScriptedMenu::RadialQuickbarMenu(), DebugMonitorValues::ReceiveValue(), BleedingSourcesManagerBase::RegisterBleedingZoneEx(), BaseBuildingBase::RemoveRefresherPosition(), PluginBase::ResetGUI(), UIScriptedMenu::ScriptConsole(), UIScriptedMenu::SelectTab(), InventoryActionHandler::SetAction(), PluginBase::SetBadge(), SetNVPostprocess(), PluginBase::SetStamina(), PluginBase::SetStance(), ShowVoiceNotification(), StartSourceBleedingIndication(), StopSourceBleedingIndication(), PluginBase::SwitchPermanentCrossHair(), SwitchPreset(), PluginBase::ToggleMissionLoader(), PluginBase::ToggleScriptConsole(), PluginBase::TransmitAgentsEx(), ScriptedWidgetEventHandler::Update(), ScriptConsoleCameraTab::Update(), Update(), GameplayEffectsData::Update(), ManBase::UpdateLighting(), UpdateLoginQueue(), UpdateVoiceIcon(), UpdateVoiceLevel(), VirtualHud(), WarningMenuBase::WarningMenuBase(), ActionUnfoldMapCB::~ActionUnfoldMapCB(), UIScriptedMenu::~CameraToolsMenu(), UIScriptedMenu::~ConnectionDialogue(), UIScriptedMenu::~GesturesMenu(), UIScriptedMenu::~InGameMenuXbox(), UIScriptedMenu::~InspectMenuNew(), UIScriptedMenu::~InviteMenu(), UIScriptedMenu::~LogoutMenu(), UIScriptedMenu::~MainMenu(), UIScriptedMenu::~MainMenuConsole(), UIScriptedMenu::~MapMenu(), UIScriptedMenu::~RadialQuickbarMenu(), UIScriptedMenu::~ScriptConsole(), and WarningMenuBase::~WarningMenuBase().
|
inlineprivate |
References m_MissionFolderPath.
|
inlineprivate |
References m_MissionPath.
|
inlineprivate |
References m_MissionState.
Get name of the p3d file of the given class name.
class | name of the desired object |
References class_name, ConfigGetText(), string::Get(), GetGame(), string::Length(), and string::Substring().
Referenced by IEntity::GetModelName().
Referenced by UIScriptedMenu::LoadMods().
|
private |
Referenced by DayZGame().
|
inlineprivate |
References m_CursorDesiredVisibilityScript.
|
private |
Referenced by DayZPlayer::AddNoise(), CloseCombatEffects(), EEInit(), ExplosionEffectsEx(), FirearmEffects(), GenerateAINoiseAtPosition(), Heating(), AlarmClock_ColorBase::Init(), KitchenTimer::Init(), ActionCloseDoors::OnEndServer(), ActionCloseFence::OnEndServer(), ActionOpenDoors::OnEndServer(), ActionOpenFence::OnEndServer(), OnWork(), OnWorkStart(), ItemBase::PlayCatchNoise(), DayZCreature::ProcessSoundEvent(), DayZPlayer::ProcessSoundEvent(), DayZCreature::ProcessSoundVoiceEvent(), and DayZInfected::ProcessSoundVoiceEvent().
Returns entity identified by network id.
networkIdLowBits | identity used in MP (use NULL in singleplayer) |
networkIdHighBits | object which should be controlled by player |
|
private |
Returns list of all objects in circle "radius" around position "pos".
pos | |
radius | |
objects | output array |
Referenced by BotSelectNearestTarget(), ScriptConsoleItemsTab::DrawItems(), UniversalTemperatureSourceLambdaBaseImpl::DryItemsInVicinity(), UniversalTemperatureSourceLambdaBaseImpl::Execute(), Environment::GatherTemperatureSources(), PluginBase::GatherTemperatureSources(), KillEntitiesInArea(), and OnVariablesSynchronized().
|
private |
Returns list of all objects in sphere "radius" around position "pos".
pos | |
radius | |
objects | output array |
Referenced by ActionCreateGreenhouseGardenPlot::ActionCondition(), FireplaceIndoor::CanPlaceFireplaceInSelectedSpot(), FireplaceBase::CanPlaceFireplaceInSelectedSpot(), VicinityItemManager::RefreshVicinityItems(), and ScriptConsoleVicinityTab::RenderList().
|
private |
Referenced by GameInventory::AddInventoryReservationEx(), CalculateBreadCrumbs(), AttachmentCategoriesRow::CanCombine(), Attachments::CanEquip(), GameInventory::ClearInventoryReservationEx(), Container::Combine(), AttachmentCategoriesRow::Combine(), Icon::Combine(), InventoryItem::CombineItemsClient(), DebugGrowAgentsRequest(), DebugRemoveAgentsRequest(), Icon::DraggingOverCombine(), HandsContainer::DraggingOverGrid(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), HandsContainer::ElectricityIcon(), Attachments::EquipItem(), LayoutHolder::EquipItem(), HandsContainer::EquipItem(), ZombieContainer::EquipItem(), ExplosionEffects(), GameInventory::ExtendInventoryReservationEx(), ItemBase::FullyBuild(), GetEmptyingEndSoundset(), GetEmptyingLoopSoundset(), HandleForceSwapEntities(), HandleSwapEntities(), HandleTakeToDst(), HandsPreview::HandsPreview(), Entity::IgnoreOutOfReachCondition(), PlayerContainer::InspectItem(), IsServerOrLocalPlayer(), MissionBenchmark::MeasureUpdate(), Icon::MouseClick(), PlayerContainer::MouseClick(), ClosableContainer::MouseClick2(), MoveAttachmentDown(), MoveAttachmentUp(), UIScriptedMenu::OnClick(), UIScriptedMenu::OnClick_Respawn(), PlayerContainer::OnDropReceivedFromGhostArea(), AttachmentCategoriesContainer::OnDropReceivedFromHeader(), AttachmentCategoriesRow::OnDropReceivedFromHeader(), ZombieContainer::OnDropReceivedFromHeader(), OnEvent(), MissionBase::OnEvent(), HandsArea::OnHandsPanelDropReceived(), AnalyticsManagerClient::OnItemAttachedAtPlayer(), OnRespawnEvent(), InventoryItem::OnRightClick(), OnRPC(), OnUpdate(), OnUpdate(), MissionBase::OnUpdate(), PlayerSyncCreate(), RefreshFireplaceVisuals(), ScriptConsoleGeneralTab::RefreshPlayerPosEditBoxes(), Hud::RefreshPlayerTags(), AttachmentCategoriesRow::RefreshSlot(), Hud::RefreshVehicleHud(), UIScriptedMenu::RequestRespawn(), Attachments::Select(), Container::Select(), HandsPreview::Select(), AttachmentCategoriesRow::Select(), VicinitySlotsContainer::Select(), ZombieContainer::Select(), SendRPC(), SendSyncMessages(), Container::SetLock(), FlareSimulation::Simulate(), PluginBase::SpawnEntityInInventory(), Icon::Swap(), HandsContainer::TakeAsAttachment(), ClosableContainer::TakeAsAttachment(), MissionBenchmark::TeleportToPos(), PMTPlayback::TestOnePlaying(), PMTPlayback::TestOnePlayingStandAlone(), PMTPlayback::TestOnePlayingStandAloneAutoDestroy(), PMTPlayback::TestStopping(), PMTPlayback::TestWiggleStress(), Attachments::TransferItem(), Container::TransferItem(), HandsContainer::TransferItem(), AttachmentCategoriesRow::TransferItem(), PlayerContainer::TransferItem(), VicinitySlotsContainer::TransferItem(), ZombieContainer::TransferItem(), Container::TransferItemToVicinity(), PlayerContainer::TransferItemToVicinity(), ZombieContainer::TransferItemToVicinity(), Update(), UIScriptedMenu::UpdateGUI(), UIScriptedMenu::UpdateMenuFocus(), ScriptConsoleGeneralTab::UpdateMousePos(), ScriptConsoleSoundsTab::UpdateMousePos(), ScriptConsoleGeneralTab::UpdateTime(), and HandsPreview::~HandsPreview().
|
inlineprivate |
References GetPlayers().
|
inlineprivate |
References m_PlayerName.
|
private |
Referenced by SyncPlayerList::CreatePlayerList().
|
private |
Gets current player name.
name | output value |
Referenced by UIScriptedMenu::Init(), UIScriptedMenu::OnChange(), and ScriptedWidgetEventHandler::ServerBrowserFilterContainer().
Gets current player name. If length of player name is grater than maxLength, then it is omitted and append ellipsis.
maxLength | - max chars in name |
name | - output value of player name with 'maxLength' characters and then ellipsis "..." |
|
private |
returns player's network id from identity id in out parameters
identity | PlayerIdentity.id used in MP (use NULL in singleplayer) |
networkIdLowBits | lower bits of 64bit network id |
networkIdHighBits | higher bits of 64bit network id |
|
private |
|
private |
Returns the direction where the mouse points, from the camera view.
Referenced by Event_OnClick(), PluginBase::Event_OnClick(), PluginBase::Event_OnClickMiddle(), PluginBase::Event_OnDoubleClick(), PluginBase::Event_OnDrag(), UIScriptedMenu::GetMouseLookDir(), and PluginBase::GetMousePositionInScene().
|
inlineprivate |
Referenced by CrossHairSelector(), OnPostUpdate(), and ~CrossHairSelector().
|
inlineprivate |
|
inlineprivate |
References m_PreviousEVValue.
|
inlineprivate |
References m_PreviousGamepad.
|
inlineprivate |
Referenced by GetProfileOptionBool().
|
inlineprivate |
References GetProfileOption().
|
inlineprivate |
Referenced by GetProfileOptionDefaultBool().
|
inlineprivate |
References GetProfileOptionDefault().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Gets string from profile variable.
name | of the variable |
value | output value |
Referenced by ItemManager::GetDefaultOpenStateHands(), ScriptedWidgetEventHandler::LoadFilters(), DayZProfilesOptions::RegisterProfileOptionFloat(), DayZProfilesOptions::RegisterProfileOptionInt(), DayZProfilesOptions::ResetOptionsFloat(), and DayZProfilesOptions::ResetOptionsInt().
|
private |
Gets array of strings from profile variable.
name | of the variable |
values | output values usage: proto native void GetProfileStringList(string name, out TStringArray values) Gets array of strings from profile variable. |
Referenced by ItemManager::DeserializeDefaultHeaderOpenStates(), ItemManager::DeserializeDefaultOpenStates(), UIScriptedMenu::LoadFavoriteServers(), and OnInitialize().
Transforms position in world to position in screen in pixels as x, y component of vector, z parameter represents distance between camera and world_pos.
Referenced by FloatingCrossHair(), ScriptedWidgetEventHandler::GetOnScreenPosition(), ScriptedWidgetEventHandler::Update(), PluginBase::UpdateStatWidgets(), and UpdateWidgetsStats().
Transforms position in world to position in screen in percentage (0.0 - 1.0) as x, y component of vector, z parameter represents distance between camera and world_pos.
Referenced by Hud::RefreshPlayerTags(), Hud::ShowPlayerTag(), and ScriptedWidgetEventHandler::UpdatePos().
|
private |
Referenced by BuildSoundObject(), DeferredInit(), DayZPlayer::HandleView(), VONManager::IsVoiceThresholdMinimum(), PluginBase::OnGUITimer(), UIScriptedMenu::OnHide(), MissionBase::OnPlayerRespawned(), UIScriptedMenu::OnShow(), ManBase::OnUnconsciousStart(), ManBase::OnUnconsciousStop(), MissionBase::PlayMusic(), DayZCreature::PlaySound(), EntityAI::PlaySound(), DayZPlayer::PlaySound(), DynamicMusicPlayer::PlayTrack(), ManBase::SaySoundSet(), DayZPlayer::SimulateDeath(), and EffectSound::SoundPlayEx().
|
private |
API for surface detection.
Referenced by EntityAI::DetectFlippedUsingSurface().
References ConfigGetText().
Referenced by ActionDigInStash::OnFinishProgressServer().
Returns tilt of the ground on the given position in degrees, so you can use this value to rotate any item according to terrain.
References GetGame(), SurfaceGetNormal(), vector::VectorToAngles(), and x.
Referenced by Hit_MeatBones::BloodSplatGround(), and PluginBase::SetupSpawnedEntity().
|
private |
Returns current time from start of the game.
Referenced by TemperatureAccessComponent::CheckAccessTimeout(), DoEverything(), Entity::EEInventoryOut(), Entity::OnCEUpdate(), EntityAI::ProcessImpactSoundEx(), ItemBase::ResetActiveProgress(), EnProfilerTests::Sleep(), SleepAgain(), EnProfilerTests::StringConcat(), EnProfilerTests::StringFormat(), and TemperatureAccessComponent::TryAccessSource().
|
private |
returns mission time in milliseconds
Referenced by WeaponManager::CanEjectBulletVerified(), FlareSimulation::CastFlareAINoise(), CheckContactCache(), InventoryItem::CheckForRoofLimited(), DayZPlayer::CommandHandler(), ManBase::EEHitBy(), WeaponManager::EjectBulletVerified(), EntityLightSource::EOnFrame(), ManBase::EOnPostFrame(), ReplaceItemWithNewLambdaBase::Execute(), ComponentEnergyManager::GetCurrentUpdateTime(), DayZPlayer::HandleView(), CABase::Init(), HumanCommandActionCallback::Init(), IsDummyFinished(), ServerBrowserTab::LeftHold(), UnconsciousnessMdfr::OnDeactivate(), PluginBase::OnFrame(), PluginBase::OnMouseButtonRelease(), OnScheduledTick(), ManBase::OnTick(), Play(), StaminaSoundHandlerBase::PostponeStamina(), MouseButtonInfo::Press(), ProcessSound(), InjurySoundHandlerBase::ProcessSound(), ServerBrowserTab::RefreshServerList(), MouseButtonInfo::Release(), ServerBrowserTab::RightHold(), EntityLightSource::ScriptedLightBase(), SelectEvent(), WeaponManager::SetEjectBulletTryTimestamp(), EntityLightSource::SetLifetime(), TickNotifiers(), Update(), and MissionBase::UpdateCorpseStatesServer().
|
inlineprivate |
References m_timerQueue.
Referenced by OnInit(), and OnUpdate().
|
inlineprivate |
Returns TimerQueue for certain category
call_category | call category, valid values are: CALL_CATEGORY_SYSTEM - calls & timers in this queue are processed every time without any restrictions CALL_CATEGORY_GUI - calls & timers in this queue are processed when GUI is enabled (even during pase game) CALL_CATEGORY_GAMEPLAY - calls & timers in this queue are processed only during mission, when game is not paused |
|
private |
Referenced by PluginBase::AddKeyframe(), UIScriptedMenu::Apply(), ScriptedWidgetEventHandler::Apply(), Back(), UIScriptedMenu::Back(), PluginBase::CaptureFocus(), CaptureFocus(), UIScriptedMenu::ChangeAccount(), CheckDialogs(), UIScriptedMenu::CloseDialog(), ManBase::CloseInventoryMenu(), ManBase::CloseMapEx(), UIScriptedMenu::CloseMenu(), UIScriptedWindow::CloseWindow(), Connect(), MissionBase::Continue(), PluginBase::CursorHide(), PluginBase::CursorShow(), PluginBase::DeleteKeyframe(), DisconnectSessionEx(), MissionBaseWorld::DumpCurrentUILayout(), PluginBase::EditorToggle(), EnterLoginQueue(), EnterLoginTime(), UIScriptedMenu::Exit(), PluginBase::FreeCameraControlDisable(), PluginBase::FreeCameraControlEnable(), GamepadCheck(), HandleError(), MissionBase::HandleMapToggleByKeyboardShortcut(), UIScriptedMenu::Init(), MissionBase::InputBufferCheck(), Inventory(), PluginBase::IsCurrentUIPageValid(), PluginBase::IsInConsole(), PluginBase::IsIngame(), IsInventoryOpen(), MissionBase::IsPaused(), LoadProgressUpdate(), UIMenuPanel::LockControls(), DayZPlayer::LockControls(), OnlineServices::OnAutoConnectToEmptyServer(), UIScriptedMenu::OnClick(), ScriptedWidgetEventHandler::OnClick(), UIScriptedMenu::OnClick_Respawn(), ActionUnfoldMapCB::OnFinish(), BiosUserManager::OnGameNameChanged(), UIScriptedMenu::OnHide(), MissionBase::OnInit(), MissionBase::OnInputBufferEvent(), UIScriptedMenu::OnInputDeviceChanged(), BiosUserManager::OnJoin(), OnLoginTimeEvent(), MissionBase::OnMissionFinish(), UIScriptedMenu::OnModalResult(), ScriptedWidgetEventHandler::OnMouseButtonDown(), UIScriptedMenu::OnMouseButtonDown(), ScriptedWidgetEventHandler::OnMouseEnter(), OptionSelectorBase::OnMouseEnter(), ScriptedWidgetEventHandler::OnMouseLeave(), OptionSelectorBase::OnMouseLeave(), BiosUserManager::OnPartyHost(), ManBase::OnPlayerLoaded(), OnRespawnEvent(), ManBase::OnRestrainChangeClient(), ManBase::OnRestrainStartedChangeClient(), UIScriptedMenu::OnShow(), ActionReadPaperCB::OnStateChange(), ActionWritePaperCB::OnStateChange(), ManBase::OnUnconsciousStop(), InventoryItem::OnVariablesSynchronized(), UIScriptedMenu::OpenMenu(), UIScriptedMenu::OpenMenu(), ActionUnfoldMapCB::PerformMapChange(), UIScriptedMenu::Play(), PluginBase::PlayPause(), RefreshMouseCursorVisibility(), Hud::RefreshQuickbar(), PluginBase::ReleaseFocus(), ReleaseFocus(), PluginBase::Save(), Dispatcher::SceneEditorCommand(), Dispatcher::ScriptConsoleAddPrint(), Dispatcher::ScriptConsoleHistoryBack(), Dispatcher::ScriptConsoleHistoryForward(), SelectGamepad(), ScriptedWidgetEventHandler::SelectPlayer(), SetDatabaseID(), PluginBase::SetDeveloperItemClientEx(), DayZPlayer::ShowDeadScreen(), ManBase::ShowUnconsciousScreen(), PluginBase::SpawnFromClipboard(), UIScriptedMenu::Stop(), UIScriptedMenu::StopVideo(), PluginBase::ToggleCameraTools(), PluginBase::ToggleFocus(), UIMenuPanel::UnlockControls(), Update(), UIScriptedMenu::Update(), ScriptConsoleCameraTab::Update(), Update(), ActionManagerClient::Update(), UpdateInputDeviceDisconnectWarning(), UpdateLoginQueue(), and UIScriptedMenu::~CameraToolsMenu().
|
inlineprivate |
Referenced by ScriptedWidgetEventHandler::ContinuousActionProgress(), Init(), PluginManager::Init(), ScriptedWidgetEventHandler::ItemActionsWidget(), MainMenuButtonEffect::MainMenuButtonEffect(), UIPopupScript::OnClose(), PluginBase::OnDestroy(), PluginBase::OnInit(), UIPopupScript::OnOpen(), OnUpdate(), ScriptedWidgetEventHandler::ProjectedCrosshair(), RadialProgressBar::RadialProgressBar(), SoftSkillManagerDebug(), ScriptedWidgetEventHandler::~ContinuousActionProgress(), ScriptedWidgetEventHandler::~ItemActionsWidget(), MainMenuButtonEffect::~MainMenuButtonEffect(), PluginManager::~PluginManager(), ScriptedWidgetEventHandler::~ProjectedCrosshair(), RadialProgressBar::~RadialProgressBar(), ~SoftSkillManagerDebug(), UIPopupScript::~UIPopupScriptSceneManager(), and UIPopupScript::~UIPopupScriptSceneSettings().
|
inlineprivate |
|
inlineprivate |
References m_UserFOV.
Referenced by GetFOVByZoomType().
|
inlinestaticprivate |
References Class::CastTo(), and GameOptions::GetOptionByType().
Referenced by DeferredInit(), and SelectGamepad().
|
private |
Referenced by UIScriptedMenu::ChangeAccount(), ConnectLaunch(), CreateTitleScreen(), DisconnectSessionEx(), GamepadCheck(), OnlineServices::GetClientServices(), DayZIntroScene::GetSelectedUserName(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::IsLocalPlayer(), UIScriptedMenu::IsLocalPlayer(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), OnLoginTimeEvent(), PartyLaunch(), UIScriptedMenu::Refresh(), SelectGamepad(), SelectUser(), Managed::SetupPlayerName(), and DayZIntroSceneXbox::UpdateSelectedUserName().
|
private |
Get voice level of VoN (on both client and server) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2)
Referenced by DayZPlayer::CommandHandler(), HandleInput(), MissionBase::ShowChat(), and UpdateVoiceIcon().
Referenced by EntityAI::DetectFlippedUsingSurface().
|
private |
Returns weather controller object.
Referenced by ItemBase::CheckRainTick(), CloseCombatEffects(), Cooling(), RainProcurementHandler::DetermineAmountCoef(), ExplosionEffectsEx(), FirearmEffects(), Heating(), Init(), Init(), InitValues(), IsWindy(), UIPopupScript::OnChange(), UIPopupScript::OnClick(), UIPopupScript::OnClose(), UIPopupScript::OnOpen(), OnRPC(), OnUndergroundPresenceUpdate(), OnUpdate(), RainProcurementManager::RainProcurementCheck(), UIPopupScript::ResetSliders(), SceneData::SetInitFog(), SceneData::SetInitOvercast(), SceneData::SetInitRain(), SceneData::SetInitWindForce(), UpdateWeatherValues(), and ~UndergroundHandlerClient().
|
private |
Referenced by AddAgent(), ScriptedWidgetEventHandler::AddItem(), AddModifier(), NotificationUI::AddNotification(), array::AddSubgroup(), ScriptedWidgetEventHandler::AddSubgroup(), ScriptedWidgetEventHandler::AddTab(), HudDebugWinBase::AddValue(), NotificationUI::AddVoiceNotification(), ScriptedWidgetEventHandler::BannerHandlerBase(), ChatLine::ChatLine(), ServerBrowserTab::Construct(), PluginBase::CreateModuleWidgets(), CreateModuleWidgets(), ScriptedWidgetEventHandler::CreateRootWidget(), CreateTitleScreen(), ScriptedWidgetEventHandler::CreateVideoLoadingEntry(), PluginBase::CreateWidgetOverlay(), CreditsElement::CreditsDepartmentElement(), CreditsDepartmentSection(), CTObjectFollower::CTActor(), ScriptedWidgetEventHandler::CTEvent(), ScriptedWidgetEventHandler::CTKeyframe(), DebugMonitor::DebugMonitor(), UIScriptedMenu::DisplayHint(), DisplayHint(), ScriptedWidgetEventHandler::DropdownPrefab(), GameplayEffectWidgets_base::GameplayEffectWidgets(), ScriptedWidgetEventHandler::GenerateQuickBarBackgroundTiles(), HitDirectionImagesBase::GetCurrentImageData(), Init(), LoginScreenBase::Init(), UIScriptedMenu::Init(), WarningMenuBase::Init(), ScriptConsoleConfigTab::Init(), ScriptedWidgetEventHandler::Init(), BoatHud::Init(), CarHud::Init(), Debug::InitCanvas(), InitEntry(), InitializeWidgets(), InitWidgets(), PluginBase::InitWidgets(), ItemManager::ItemManager(), ScriptedWidgetEventHandler::KeybindingElement(), ScriptedWidgetEventHandler::KeybindingElementNew(), array::KeybindingsContainer(), ScriptedWidgetEventHandler::KeybindingsGroup(), ScriptedWidgetEventHandler::LayoutHolder(), ScriptedWidgetEventHandler::ModsMenuDetailed(), ScriptedWidgetEventHandler::ModsMenuDetailedEntry(), ScriptedWidgetEventHandler::ModsMenuSimple(), ScriptedWidgetEventHandler::ModsMenuTooltip(), NotificationUI::NotificationUI(), OnClick(), MissionBase::OnInit(), OptionSelectorBase::OptionSelector(), OptionSelectorBase::OptionSelectorEditbox(), OptionSelectorSliderSetup::OptionSelectorLevelMarker(), OptionSelectorSliderSetup::OptionSelectorSlider(), ScriptedWidgetEventHandler::OptionsMenuControls(), ScriptedWidgetEventHandler::OptionsMenuGame(), ScriptedWidgetEventHandler::OptionsMenuSounds(), ScriptedWidgetEventHandler::OptionsMenuVideo(), ScriptedWidgetEventHandler::PlayerListEntryScriptedWidget(), ScriptedWidgetEventHandler::PlayerListScriptedWidget(), Refresh(), GameplayEffectWidgets_base::RegisterLayouts(), ScriptedWidgetEventHandler::ScriptConsolePresetsList(), ScriptConsoleSelector::ScriptConsoleSelector(), ScriptedWidgetEventHandler::ServerBrowserEntry(), Hud::ShowPlayerTag(), SoftSkillManagerDebug(), ScriptedWidgetEventHandler::TutorialKeybinds(), UIPropertyAttachment::UIPropertyAttachment(), ScriptedWidgetEventHandler::VideoPlayer(), and Watermark::Watermark().
|
private |
Referenced by DebugMonitor::CalculateMapTile(), WorldData::CalculateVolFog(), EnochData::CalculateVolFog(), PPEClassBase::CreateMaterial(), DayZPlayer::DayZPlayerImplement(), ItemBase::FullyBuild(), GetAlarmInMin(), WorldData::GetDaytime(), DayZPlayer::HandleDeath(), PluginBase::HandleSetTime(), PPEffects::Init(), UIScriptedMenu::Init(), ScriptConsoleGeneralTab::Init(), PluginConfigHandler::LoadSceneSettings(), UIPopupScript::OnChange(), UIPopupScript::OnClick(), UIPopupScript::OnClose(), OnEvent(), ObjectSpawnerHandler::OnGameplayDataHandlerLoad(), OnlineServices::OnLoadVoicePrivilege(), UIPopupScript::OnOpen(), OnUndergroundPresenceUpdate(), AlarmClock_ColorBase::OnUpdate(), Land_Underground_EntranceBase::OnUpdateServer(), ScriptedWidgetEventHandler::OptionsMenuControls(), OrderedPositionNumbersFromGridCoords(), ProcessLighting(), UndergroundBunkerHandlerClient::ProcessSound(), ProcessSound(), UIScriptedMenu::Refresh(), UIPopupScript::ResetSliders(), SetAlarmInXMins(), PPEffects::SetBlur(), WorldLighting::SetGlobalLighting(), SceneData::SetInitDay(), SceneData::SetInitHour(), SceneData::SetInitMinute(), SceneData::SetInitMonth(), SceneData::SetInitYear(), PPEffects::SetNVParams(), MissionBase::TickScheduler(), UndergroundHandlerClient(), WorldData::UpdateBaseEnvTemperature(), ScriptConsoleGeneralTab::UpdateTime(), WorldData::WeatherOnBeforeChange(), EnochData::WeatherOnBeforeChange(), SakhalData::WeatherOnBeforeChange(), and ~UndergroundHandlerClient().
Transforms position in world to position in screen in pixels as x, y component of vector, z parameter represents distance between camera and world_pos.
|
private |
|
inlineprivate |
References m_YieldDataInitInvoker.
|
inlineprivate |
References GetCEApi(), MIN, and ObjectSpawnerHandler::OnGameplayDataHandlerLoad().
|
private |
Referenced by ManBase::CreateCopyOfItemInInventory().
|
inlineprivate |
|
private |
Initialization of damage effects.
|
inlineprivate |
References NotificationSystem::InitInstance().
Referenced by OnInitialize().
|
inlineprivate |
References m_AimLoggingEnabled.
|
private |
Returns if the application is focused on PC, returns true always on console.
Referenced by RefreshMouseCursorVisibility().
|
private |
Finds all objects that are in choosen oriented bounding box (OBB)
center | vector , center of OBB |
orientation | vector , direction (front vector), used for calculation of OBB rotation |
edgeLength | vector , sizes of whole box |
excludeObjects | array<Object> , objects that should be excluded from collision check |
collidedObjects | array<Object> , out parameter, objects that collided with OBB |
bool
, true
if at least one object collided with OBB, false
otherwise Referenced by EntityAI::IsAreaAtDoorFree().
|
private |
Finds all objects with geometry iType that are in choosen oriented bounding box (OBB)
center | vector , center of OBB |
orientation | vector , direction (front vector), used for calculation of OBB rotation |
edgeLength | vector , sizes of whole box |
iPrimaryType | int , type of intersection, possible values ObjIntersectFire(0), ObjIntersectView(1), ObjIntersectGeom(2), ObjIntersectIFire(3), ObjIntersectNone(4) |
iSecondaryType | int , type of intersection, possible values ObjIntersectFire(0), ObjIntersectView(1), ObjIntersectGeom(2), ObjIntersectIFire(3), ObjIntersectNone(4) |
excludeObjects | array<Object> , objects that should be excluded from collision check |
collidedObjects | array<Object> , out parameter, objects that collided with OBB |
bool
, true
if at least one object collided with OBB, false
otherwiseReferenced by Hologram::IsCollidingBBox(), and BaseBuildingBase::PerformRoofCheckForBase().
|
private |
|
private |
Referenced by ActionDeployHuntingTrap::ActionConditionContinue(), and OnUpdate().
|
inlineprivate |
References m_IsConnecting.
|
private |
|
inlineprivate |
References IsServer(), and m_DebugMonitorEnabled.
|
private |
Robust check which is preferred than the above, as it is valid much sooner.
Referenced by BuildCondition(), CGame(), ActionUnpackGift::OnFinishProgressServer(), RecoilBase::PostInit(), and DayZPlayer::ProcessWeaponEvent().
|
inlinestaticprivate |
References OnlineServices::IsGameActive().
|
inlineprivate |
References GetFoodDecayModifier().
|
private |
Returns whether user is currently in a voice party (currently only supported on xbox)
Referenced by ScriptedWidgetEventHandler::OptionsMenuSounds().
|
inlineprivate |
References GetUIManager(), and MENU_INVENTORY.
|
inlineprivate |
Returns is class name inherited from parent class name.
cfg_class_name | Config Class name ("Animal_CervusElaphus") |
cfg_parent_name | Parent Config Class name ("DZ_LightAI") |
bool
is class name inherited from parent class name References ConfigGetFullPath(), and string::ToLower().
Referenced by DayZGame(), SceneObject::Init(), ManBase::SpawnAI(), and ManBase::SpawnEntityOnGroundPos().
|
inlineprivate |
References m_IsCtrlHolding.
|
inlineprivate |
Referenced by LoadingHide().
|
private |
Returns whether mic is currently capturing audio from user.
Referenced by ScriptedWidgetEventHandler::OptionsMenuSounds().
|
inlineprivate |
Returns true when current mission is Main Menu.
References DayZGame(), and g_Game.
|
private |
|
private |
Returns the state of the buffer for network inputs (UAInterface)
|
inlineprivate |
References m_IsNewCharacter.
returns true if player can access item's cargo/attachments (check only distance)
|
private |
If physics extrapolation is enabled, always true on retail release builds.
Referenced by DayZPlayerCamera1stPerson::OnUpdate(), and OnUpdate().
|
private |
Referenced by CloseCombatEffects(), ExplosionEffectsEx(), FirearmEffects(), ItemBase::GardenBase(), Land_WarheadStorage_PowerStation::GetClosestBunker(), IsDebugMonitor(), Debug::LogMessage(), WeaponStateBase::OnEntry(), ItemBase::OnPlacementStarted(), InventoryItemSuper::SyncMapMarkers(), EnProfilerTests::TestFuncCountData(), and StaminaHandler::Update().
|
inlineprivate |
References m_IsStressTest.
Checks if the surface is digable.
References ConfigGetInt().
Referenced by Inventory_Base::CanBeFilledAtPosition(), GetEmptyingEndSoundset(), GetEmptyingLoopSoundset(), ItemBase::IsPlaceableAtPosition(), and FlammableBase::StandUp().
Checks if the surface is fertile.
References ConfigGetInt().
Referenced by GardenBase::CanBePlaced().
|
inlineprivate |
References m_IsWorldWetTempUpdateEnabled.
|
inlineprivate |
References GetCLIParam(), GetUserManager(), BiosUserManager::ParseJoinAsync(), SetGameState(), and SetLoadState().
Referenced by OnInitialize().
|
inlineprivate |
References m_CharClassNames.
Referenced by Managed::LoadCharacterData().
|
inlineprivate |
outputs array of all valid survivor class names
|
inlineprivate |
References PPEManagerStatic::GetPPEManager(), IsLoading(), and UpdateInputDeviceDisconnectWarning().
Referenced by OnEvent().
|
inlineprivate |
Referenced by OnEvent().
References GetUIManager(), PROGRESS_FINISH, PROGRESS_PROGRESS, PROGRESS_START, PROGRESS_UPDATE, and UIManager::ScreenFadeOut().
Referenced by OnEvent().
|
private |
Returns actual storage version - loading.
|
inlineprivate |
References CancelLoginTimeCountdown().
|
private |
Referenced by UIScriptedMenu::Cancel().
|
private |
Logout methods.
Referenced by UIScriptedMenu::OnClick_Exit(), and UIScriptedMenu::OnModalResult().
|
inlineprivate |
References DeleteTitleScreen(), GetMainMenuWorld(), BiosUserManager::GetTitleInitiator(), GetUserManager(), BiosUserManager::SelectUserEx(), SetGameState(), SetLoadState(), and StartRandomCutscene().
Referenced by DisconnectSessionEx(), and OnInitialize().
|
inlineprivate |
References CreateTitleScreen(), GamepadCheck(), GetCLIParam(), BiosUserManager::GetTitleInitiator(), GetUserManager(), mission, PlayMission(), BiosUserManager::SelectUserEx(), SetGameState(), and SetLoadState().
Referenced by OnInitialize().
Mute all players for listenerId.
listenerId | uid of player |
mute | true, if player can not listen anybody. Otherwise false. |
Mutes voice of source player to target player.
muteUID | uid of player you want to mute |
playerUID | uid of player that (doesnt't) want to hear muteUID |
Referenced by ManBase::OnInputUserDataProcess(), and OnRPC().
set night vission parameters (set to zero when to disable it)
lightIntensityMul | multiplicator of lights intensity |
noiseIntensity | intensity of noise PP |
|
private |
Referenced by HandActionBase::Action(), PMTPlayback::CheckOnePlayingSA(), PMTPlayback::CheckStop(), InventoryItem::ClearInventory(), ManBase::ClearInventory(), ItemBase::CreatePlant(), DayZIntroScene::DayZIntroScene(), EntityLightSource::DeleteLightNow(), ItemBase::DestroyClutterCutter(), FireplaceBase::DestroyClutterCutter(), DestroyCollisionTrigger(), ItemBase::DestroyConstruction(), ItemBase::DestroyConstructionKit(), DestroyDamageTriggerEx(), ItemBase::DestroyFireplace(), ScriptedWidgetEventHandler::DestroyFollowedObject(), DestroyLock(), DestroyMaterialsServer(), GardenBase::EEDelete(), ItemBase::EEDelete(), FlammableBase::EEDelete(), EEDelete(), Inventory_Base::EmptySeedPack(), GameInventory::LocalDestroyEntity(), UIPropertyAttachment::OnClick(), ActionBaseCB::OnFinish(), OnFinishProgressServer(), GardenBase::OnPlacementComplete(), OnStoreSave(), ItemBase::OnWorkStop(), FlammableBase::OnWorkStop(), PlayerSyncDelete(), SceneObject::RemoveAttachment(), ItemBase::RemoveSlot(), CTObjectFollower::SetHandsItem(), ItemBase::SoundBuzzLoopStop(), TakeMaterialsServer(), FlammableBase::TryTransformIntoStick(), ValidateDestroy(), DayZIntroSceneXbox::~DayZIntroSceneXbox(), Hologram::~Hologram(), and SceneObject::~SceneObject().
|
private |
Referenced by IEntity::GetDisplayName().
Referenced by IEntity::GetSelectionPositionOld().
Referenced by IEntity::GetSelectionPositionLS().
Referenced by IEntity::GetSelectionPositionMS().
Referenced by IEntity::GetSelectionPositionWS().
Referenced by ManBase::GetPlayerClass(), and IEntity::GetType().
Returns is object inherited from parent class name.
bool
is object inherited from parent class name References ConfigGetObjectFullPath(), and string::ToLower().
Referenced by IEntity::IsKindOf().
RemoteObjectTreeCreate - postponed registration of network object tree (and creation of remote objects). do not use if not sure what you do.
Referenced by IEntity::Release().
Referenced by IEntity::WorldToModel().
|
inlineprivate |
References RefreshMouseCursorVisibility().
|
inlineprivate |
Called when recieving focus (windows)
|
inlineprivate |
References Math::Randomize().
|
inlineprivate |
Called after creating of CGame instance.
|
inlineprivate |
References GetGame(), Mission::GetHud(), GetMission(), and Hud::SetConnectivityStatIcon().
Referenced by SetConnectivityStatState().
|
inlineprivate |
References RefreshMouseCursorVisibility().
|
inlineprivate |
Called when loosing focus (windows)
|
inlineprivate |
|
inlineprivate |
Called when inputs is not possible (Steam overlay active or something), all internal script variables should be reset here!
References AbortMission(), AddVisitedServer(), ScriptCallQueue::Call(), CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, CancelLoginQueue(), CancelLoginTimeCountdown(), Class::CastTo(), ChatMessageEventTypeID, ClearConnectivityStates(), OnlineServices::ClearCurrentServerInfo(), ConnectingAbortEventTypeID, ConnectingStartEventTypeID, ConnectivityStatsUpdatedEventTypeID, ProgressAsync::DestroyAllPendingProgresses(), DialogQueuedEventTypeID, DLCOwnerShipFailedEventTypeID, OnlineServices::EnterGameplaySession(), g_Game, GetCallQueue(), GetGameState(), GetHostAddress(), ErrorModuleHandler::GetInstance(), VONManager::GetInstance(), GetMission(), PlayerIdentityBase::GetPingAvg(), GetPlayer(), GetUserManager(), GetWorld(), OnlineServices::Init(), OnlineServices::LeaveGameplaySession(), string::Length(), LoadingHide(), LoadingShow(), LoadProgressUpdate(), OnlineServices::LoadVoicePrivilege(), LoginStatusEventTypeID, LoginTimeEventTypeID, LogoutEventTypeID, StatsEventDisconnectedData::m_CharacterId, StatsEventSpawnedData::m_CharacterId, StatsEventSpawnedData::m_DaytimeHour, StatsEventSpawnedData::m_Lifetime, StatsEventSpawnedData::m_Population, StatsEventSpawnedData::m_Position, StatsEventDisconnectedData::m_Reason, mission, MPConnectionLostEventTypeID, MPSessionEndEventTypeID, MPSessionFailEventTypeID, MPSessionPlayerReadyEventTypeID, MPSessionStartEventTypeID, Mission::OnEvent(), ErrorModuleHandler::OnEvent(), VONManagerBase::OnEvent(), OnLoginTimeEvent(), OnMPConnectionLostEvent(), OnPreloadEvent(), OnRespawnEvent(), ParticleManager(), Analytics::PlayerDisconnected(), Analytics::PlayerSpawned(), PreloadEventTypeID, Print(), ProgressEventTypeID, ClientData::ResetClientData(), RespawnEventTypeID, SelectedUserChangedEventTypeID, ServerFpsStatsUpdatedEventTypeID, SetConnecting(), SetConnectivityStatState(), SetGameState(), SetLoadState(), OnlineServices::SetMultiplayState(), StartupEventTypeID, UpdateInputDeviceDisconnectWarning(), WorldCleaupEventTypeID, and vector::Zero.
Called when some system event occur.
eventTypeId | event type. |
params | Param object, cast to specific param class to get parameters for particular event. |
|
inlineprivate |
|
inlineprivate |
References AutoTestLaunch(), ConnectLaunch(), CreateTitleScreen(), GetCLIParam(), GetHUDBrightnessSetting(), GetLoadState(), GetProfileStringList(), InitNotifications(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), PartyLaunch(), ParticleList::PreloadParticles(), RegisterProfilesOptions(), and SetHudBrightness().
|
inlineprivate |
Called once before game update loop starts, ret value indicates if init was done in scripts, otherwise it is done in the engine.
|
inlineprivate |
References GetMission(), mission, UIScriptedMenu::OnKeyDown(), Mission::OnKeyPress(), and RequestExit().
|
inlineprivate |
Called when key is pressed.
key | direct input key code (DIK) |
|
inlineprivate |
References GetMission(), mission, Mission::OnKeyRelease(), and UIScriptedMenu::OnKeyUp().
|
inlineprivate |
Called when key is released.
key | direct input key code (DIK) |
|
inlineprivate |
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CancelLoginQueue(), UIManager::CloseAll(), EnterLoginTime(), GetCallQueue(), UIManager::GetMenu(), GetMission(), GetUIManager(), BiosUserManager::GetUserDatabaseIdAsync(), GetUserManager(), UIScriptedMenu::SetTime(), and UIManager::ShowScriptedMenu().
Referenced by OnEvent().
|
inlineprivate |
References GetMission(), mission, and Mission::OnMouseButtonPress().
|
inlineprivate |
Called when mouse button is pressed.
button | - number of button Mouse API |
|
inlineprivate |
References GetMission(), mission, and Mission::OnMouseButtonRelease().
|
inlineprivate |
Called when mouse button is released.
button | - number of button Mouse API |
|
inlineprivate |
References GetGameState(), SetConnectivityStatState(), and OnlineServices::SetMultiplayState().
Referenced by OnEvent().
Called on World update after simulation of entities.
doSim | False when simulation is paused, True otherwise |
timeslice | time elapsed from last call |
|
inlineprivate |
References CancelLoginTimeCountdown(), and StoreLoginDataPrepare().
Referenced by OnEvent().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), UIManager::CloseAll(), EnterLoginTime(), GetCallQueue(), UIManager::GetMenu(), GetPlayer(), GetUIManager(), and DayZPlayer::StopDeathDarkeningEffect().
Referenced by OnEvent().
|
inlineprivate |
References NotificationSystem::AddNotification(), NotificationSystem::AddNotificationExtended(), CALL_CATEGORY_GAMEPLAY, ScriptCallQueue::CallLater(), GameConstants::CAMERA_SHAKE_ARTILLERY_DISTANCE, GameConstants::CAMERA_SHAKE_ARTILLERY_DISTANCE2, ParticleList::CONTAMINATED_AREA_GAS_SHELL, DayZPlayerCamera(), vector::DistanceSq(), ErrorEx, GetCallQueue(), Weather::GetFog(), GetGame(), Weather::GetOvercast(), PlayerIdentityBase::GetPlainId(), GetPlayer(), GetPosition, Weather::GetRain(), Weather::GetSnowfall(), CrashSoundSets::GetSoundSetByHash(), GetWeather(), Weather::GetWindDirection(), Weather::GetWindMagnitude(), Math::InverseLerp(), DebugWeatherRPCData::m_FogDuration, DebugWeatherRPCData::m_FogInterpolation, DebugWeatherRPCData::m_FogValue, DebugWeatherRPCData::m_OvercastDuration, DebugWeatherRPCData::m_OvercastInterpolation, DebugWeatherRPCData::m_OvercastValue, DebugWeatherRPCData::m_RainDuration, DebugWeatherRPCData::m_RainInterpolation, DebugWeatherRPCData::m_RainValue, DebugWeatherRPCData::m_SnowfallDuration, DebugWeatherRPCData::m_SnowfallInterpolation, DebugWeatherRPCData::m_SnowfallValue, DebugWeatherRPCData::m_VolFogDistanceDensity, DebugWeatherRPCData::m_VolFogDistanceDensityTime, DebugWeatherRPCData::m_VolFogHeightBias, DebugWeatherRPCData::m_VolFogHeightBiasTime, DebugWeatherRPCData::m_VolFogHeightDensity, DebugWeatherRPCData::m_VolFogHeightDensityTime, DebugWeatherRPCData::m_WindDDuration, DebugWeatherRPCData::m_WindDInterpolation, DebugWeatherRPCData::m_WindDirectionValue, DebugWeatherRPCData::m_WindMagnitudeValue, MutePlayer(), CfgGameplayHandler::OnRPC(), CfgPlayerRestrictedAreaHandler::OnRPC(), UndergroundAreaLoader::OnRPC(), ParticleManager(), SEffectManager::PlaySound(), Serializer::Read(), WeatherPhenomenon::Set(), EffectSound::SetAutodestroy(), Weather::SetDynVolFogDistanceDensity(), Weather::SetDynVolFogHeightBias(), Weather::SetDynVolFogHeightDensity(), Math::Sqrt(), and vector::Zero.
|
inlineprivate |
Called after remote procedure call is recieved for this object.
target | object on which remote procedure is called, when NULL, RPC is evaluated by CGame as global |
rpc_type | user defined identification of RPC |
ctx | read context for params |
References CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, DiagMenu::GetBool(), GetCallQueue(), GetDragQueue(), GetGame(), PlayerIdentityBase::GetInputThrottle(), GetMission(), PlayerIdentityBase::GetOutputThrottle(), PlayerIdentityBase::GetPingAct(), PlayerIdentityBase::GetPingAvg(), GetPlayer(), GetTimerQueue(), GetUpdateQueue(), GetWeather(), Mission::GetWorldData(), ScriptInvoker::Invoke(), IsClient(), IsMultiplayer(), Mission::IsPaused(), mission, SEffectManager::OnUpdate(), Mission::OnUpdate(), ScriptCallQueue::Tick(), NotificationSystem::Update(), UpdateLoginQueue(), and WorldData::UpdateWeatherEffects().
Called on World update.
doSim | False when simulation is paused, True otherwise |
timeslice | time elapsed from last call |
|
private |
Referenced by ScriptedWidgetEventHandler::OnMouseButtonUp(), ScriptedWidgetEventHandler::OpenDiscord(), ScriptedWidgetEventHandler::OpenDLC(), UIScriptedMenu::OpenFeedback(), ScriptedWidgetEventHandler::OpenFeedback(), ScriptedWidgetEventHandler::OpenForums(), ScriptedWidgetEventHandler::OpenTwitter(), and ScriptedWidgetEventHandler::OpenYoutube().
|
private |
Referenced by PPEffects::OverrideDOF(), ScriptConsoleCameraTab::ResetDOF(), and ScriptConsoleCameraTab::SetDOF().
|
private |
override inventory light
diffuse | directional light |
ambient | ambient light |
ground | ground light |
dir | direction of light, Vector(0,0,1) is from camera |
|
inlineprivate |
References GetCLIParam(), GetGame(), GetMainMenuWorld(), GetUserManager(), BiosUserManager::ParsePartyAsync(), SetGameState(), SetLoadState(), and StartRandomCutscene().
Referenced by OnInitialize().
|
private |
Starts mission (equivalent for SQF playMission). You MUST use double slash \.
Referenced by AutoTestLaunch(), MissionLaunch(), OnClick(), OnDoubleClick(), and SelectGamepad().
Preload objects with certain type in certain distance from camera.
type | of objects which should be preloaded |
distance | from camera in which objects should be preloaded |
|
private |
Use for profiling code from start to stop, they must match have same name, look wiki pages for more info: https://confluence.bistudio.com/display/EN/Profiler.
Referenced by DayZPlayerTypeRegisterItems(), DayZPlayerTypeRegisterSounds(), and PluginRecipesManagerBase::GenerateRecipeCache().
|
private |
Use for profiling code from start to stop, they must match have same name, look wiki pages for more info: https://confluence.bistudio.com/display/EN/Profiler.
Referenced by DayZPlayerTypeRegisterItems(), DayZPlayerTypeRegisterSounds(), and PluginRecipesManagerBase::GenerateRecipeCache().
|
inlineprivate |
References OnlineServices::GetCurrentServerInfo(), and GetHostAddress().
|
inlineprivate |
Handles app active-ness
Fallback, just in-case
References CanDisplayMouseCursor(), GetUIManager(), IsAppActive(), UIManager::ShowCursor(), and ShowCursorWidget().
Referenced by DayZGame(), OnActivateMessage(), OnDeactivateMessage(), and SetMouseCursorDesiredVisibility().
Static objects cannot be replicated by default (there are too many objects on the map). Use this method when you want to replicate some scripted variables. Cannot be called in object's constructor, because networking is not initialized yet.
object | static object to replicate |
Referenced by Land_WarheadStorage_Main::DeferredInit(), Land_WarheadStorage_PowerStation::DeferredInit(), Interact(), Land_Underground_Panel_Lever::Interact(), Land_OutsideThermometer_1(), LateInit(), and Land_Underground_EntranceBase::OpenServer().
|
inlineprivate |
References ADMIN_CHAT_MSG, DIRECT_CHAT_MSG, ENABLE_BLEEDINGINDICATION, GAME_CHAT_MSG, HUD_BRIGHTNESS, OPTIONS_SOUND_AMBIENT_SOUND_MODE, PLAYER_CHAT_MSG, RADIO_CHAT_MSG, SHOW_CONNECTIVITYINFO, SHOW_CROSSHAIR, SHOW_HUD, SHOW_HUD_VEHICLE, SHOW_QUICKBAR, SHOW_SERVERINFO, and SYSTEM_CHAT_MSG.
Referenced by OnInitialize().
|
inlineprivate |
References CreateMission(), and Print().
|
private |
RemoteObjectDelete - deletes only remote object tree (unregisters from network). do not use if not sure what you do.
|
private |
|
private |
RemoteObjectCreate - postponed registration of network object (and creation of remote object). do not use if not sure what you do.
Referenced by DropEquipAndDestroyRootLambda::CopyOldPropertiesToNew(), ManBase::CreateCopyOfItemInInventory(), ReplaceItemWithNewLambdaBase::CreateNetworkObjectInfo(), CreateNetworkObjectInfo(), TransferInventory(), ReplaceItemWithNewLambdaBase::UndoRemoveNetworkObjectInfo(), and UndoRemoveNetworkObjectInfo().
|
private |
RemoteObjectDelete - deletes only remote object (unregisters from network). do not use if not sure what you do.
Referenced by ReplaceItemWithNewLambdaBase::RemoveNetworkObjectInfo(), and RemoveNetworkObjectInfo().
|
private |
Remove player from reconnect cache.
uid | of the player |
|
inlineprivate |
|
inlinestaticprivate |
References m_ReportModded.
|
private |
Sets exit code and quits in the right moment.
Referenced by AutoTestLaunch(), MissionBenchmark::OnBenchmarkEnd(), and OnKeyPress().
|
private |
Sets exit code and restart in the right moment.
|
private |
|
inlineprivate |
Referenced by SelectGamepad().
|
private |
Referenced by UIScriptedMenu::GameRespawn(), and UIScriptedMenu::GameRetry().
|
private |
Referenced by UIScriptedMenu::GameRetry().
|
private |
Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on server, RPC is executed on all clients.
target | object on which remote procedure is called, when NULL, RPC is evaluated by CGame as global |
rpc_type | user defined identification of RPC |
params | custom params array |
recipient | specified client to send RPC to. If NULL, RPC will be send to all clients (specifying recipient increase security and decrease network traffic) const int RPC_LOW_BLOOD_PRESSURE_EFFECT = 0;
...
// on server side, after blood pressure of player is low...
Param1<float> p = new Param1<float>(m_blood_pressure);
params.Insert(p);
// or shortcut
GetGame().RPCSingleParam(player, RPC_LOW_BLOOD_PRESSURE_EFFECT, p);
...
// on client
class PlayerBase
{
// override OnRPC function
{
// dont forget to propagate this call trough class hierarchy!
super.OnRPC(rpc_type, ctx);
switch(rpc_type)
{
case RPC_LOW_BLOOD_PRESSURE_EFFECT:
Param1<float> p = Param1<float>(0);
if (ctx.Read(p))
{
float blood_pressure = p.param1;
float effect_intensity = 1.0 - blood_pressure;
ShowFancyScreenEffect(effect_intensity);
}
break;
}
}
}
proto native void RPC(Object target, int rpcType, notnull array< ref Param > params, bool guaranteed, PlayerIdentity recipient=null) Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on ser... proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null) see CGame.RPC override void OnRPC(PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) Definition DayZGame.c:3012 Definition PlayerBaseClient.c:2 proto bool Read(void value_in) |
Referenced by ContaminatedArea_Dynamic::EEOnCECreate(), ManBase::OnSelectPlayer(), ContaminatedArea_Dynamic::PlayFX(), MissionBase::RandomArtillery(), IEntity::RPC(), and SendRPC().
Not actually an RPC, as it will send it only to yourself.
|
private |
see CGame.RPC
Referenced by BillboardSetHandler::ActivateBillboardSet(), MissionBase::ControlPersonalLight(), ManBase::DealShock(), Disarm(), FireplaceBase::IsThisIgnitionSuccessful(), FireplaceIndoor::IsThisIgnitionSuccessful(), MissionBase::OnClientReadyEvent(), MissionBase::OnClientRespawnEvent(), OnEnd(), ActionDrainLiquid::OnEnd(), ActionLockAttachment::OnEnd(), ActionPourLiquid::OnEnd(), OnEndAnimationLoop(), ActionDrainLiquid::OnEndAnimationLoop(), ActionLockAttachment::OnEndAnimationLoop(), ActionPourLiquid::OnEndAnimationLoop(), ActionTransferLiquid::OnEndAnimationLoop(), ActionRepackTent::OnEndAnimationLoop(), OnExecute(), ActionCheckPulse::OnExecuteServer(), ActionCheckPulseTarget::OnFinishProgressServer(), ActionRepackTent::OnFinishProgressServer(), ManBase::OnSelectPlayer(), OnStartAnimationLoop(), ActionDrainLiquid::OnStartAnimationLoop(), ActionLockAttachment::OnStartAnimationLoop(), ActionPourLiquid::OnStartAnimationLoop(), ActionTransferLiquid::OnStartAnimationLoop(), ActionRepackTent::OnStartAnimationLoopServer(), TreeHard::OnTreeCutDown(), TreeSoft::OnTreeCutDown(), BushHard::OnTreeCutDown(), BushSoft::OnTreeCutDown(), House::RequestSoundEvent(), IEntity::RPCSingleParam(), ScriptConsoleEnfScriptTab::RunEnscriptServer(), SceneObject::SceneObjectSynch(), ActionBase::SendMessageToClient(), ActionEmptyBottleBase::SendRPC(), SendRPC(), SyncEvents::SendSyncEvent(), Managed::SendValue(), DebugMonitorValues::SendValue(), PluginBase::SetDeveloperItemClientEx(), CfgGameplayHandler::SyncDataSend(), CfgPlayerRestrictedAreaHandler::SyncDataSend(), UndergroundAreaLoader::SyncDataSend(), CfgGameplayHandler::SyncDataSendEx(), MissionBase::SyncGlobalLighting(), Synch(), SoftSkillsManager::SynchDebugStats(), IEntity::SynchExplosion(), ComponentBodyStaging::SynchSkinnedState(), SoftSkillsManager::SynchSpecialtyLevel(), SymptomBase::SyncToClientActivated(), SymptomBase::SyncToClientDeactivated(), TeleportCheck(), TeleportPlayerToSafeLocation3D(), ToggleDebugWindowEvent(), and UIScriptedMenu::Update().
|
private |
Saves profile on disk.
Referenced by AddVisitedServer(), UIScriptedMenu::Init(), UIScriptedMenu::SaveFavoriteServersConsoles(), Serialize(), ItemManager::SetDefaultOpenStateHands(), DayZProfilesOptions::SetProfileOption(), DayZProfilesOptions::SetProfileOptionFloat(), and DayZProfilesOptions::SetProfileOptionInt().
|
private |
Returns actual storage version - saving.
Referenced by SaveStats().
|
private |
|
inlineprivate |
References DeleteTitleScreen(), UIManager::EnterScriptedMenu(), GetCLIParam(), GetLoadState(), UIManager::GetMenu(), BiosUser::GetName(), BiosUserManager::GetSelectedUser(), GetUIManager(), BiosUserManager::GetUserDatabaseIdAsync(), GetUserFOVFromConfig(), GetUserManager(), OnlineServices::LoadMPPrivilege(), MENU_MAIN, MENU_SERVER_BROWSER, mission, PlayMission(), UIScriptedMenu::Refresh(), ResetProfileOptions(), OnlineServices::SetBiosUser(), SetLoadState(), SetPlayerGameName(), SetPlayerName(), and SetUserFOV().
Referenced by SelectUser().
|
private |
Selects player's controlled object.
identity | identity used in MP (use NULL in singleplayer) |
player | object which should be controlled by player |
Referenced by MissionBase::CreateCharacter(), MissionBenchmark::CreatePlayer(), and MissionBase::OnClientReadyEvent().
|
private |
Creates spectator object (mostly cameras)
identity | identity used in MP (use NULL in singleplayer) |
spectatorObjType | classname for spectator object (like cameras) |
position | where to create spectator instance |
|
inlineprivate |
References g_Game, GamepadCheck(), GetGame(), Input::GetGamepadUser(), GetInput(), GetLoadState(), BiosUserManager::GetSelectedUser(), GetUserManager(), Input::IdentifyGamepad(), BiosUser::IsOnline(), BiosUserManager::LogOnUserAsync(), BiosUserManager::PickUserAsync(), Input::ResetActiveGamepad(), Input::SelectActiveGamepad(), SelectGamepad(), BiosUserManager::SelectUserEx(), and SetLoadState().
Referenced by GamepadCheck().
Inform client about logout time (creates logout screen on specified client)
player | object which is logging out |
time | length of logout |
Referenced by MissionBase::OnClientDisconnectedEvent().
Server config parsing. Returns 0 if not found.
Referenced by MissionBase::ControlPersonalLight(), ITEM_PlayerData::InitServer(), ITEM_DataBase(), CfgGameplayHandler::LoadData(), PluginBase::PluginAdminLog(), and MissionBase::SyncGlobalLighting().
|
inlineprivate |
|
inlineprivate |
References OnConnectivityStatChange().
Referenced by OnEvent(), and OnMPConnectionLostEvent().
|
inlineprivate |
References UIManager::GetMenu(), GetUIManager(), and UIScriptedMenu::Refresh().
|
inlineprivate |
References m_DebugMonitorEnabled.
Referenced by MissionBase::OnGameplayDataHandlerLoad().
|
private |
Set debug draw mode.
Referenced by ScriptConsoleGeneralTab::OnClick().
Set specific debug mode.
Referenced by ScriptConsoleGeneralTab::OnClick().
|
private |
Sets custom camera camera EV. range: -50.0..50.0? //TODO.
Referenced by SetEVValue().
|
inlineprivate |
References m_EVValue, and SetEVUser().
|
inlineprivate |
Referenced by ConnectLaunch(), DisconnectSessionEx(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), PartyLaunch(), and TryConnect().
|
inlineprivate |
Referenced by OnInitialize().
|
inlineprivate |
|
inlineprivate |
Referenced by ConnectLaunch(), DisconnectSessionEx(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), PartyLaunch(), SelectGamepad(), and SelectUser().
|
private |
Referenced by LoginScreenBase::SetTime().
|
private |
Referenced by DayZGame().
|
private |
|
inlineprivate |
Called from C++.
References string::IndexOfFrom(), path, and string::Substring().
|
inlineprivate |
|
inlineprivate |
References RefreshMouseCursorVisibility().
|
inlineprivate |
|
inlineprivate |
References name.
Referenced by SelectGamepad().
|
private |
|
inlineprivate |
|
inlineprivate |
Referenced by SetProfileOptionBool().
|
inlineprivate |
References SetProfileOption().
|
inlineprivate |
|
inlineprivate |
Sets string to profile variable.
name | of the variable |
value | to set |
Referenced by UIScriptedMenu::Init(), LoadPlayerAttachmentIndexes(), ScriptedWidgetEventHandler::SaveFilters(), ItemManager::SetDefaultOpenStateHands(), DayZProfilesOptions::SetProfileOption(), DayZProfilesOptions::SetProfileOptionFloat(), DayZProfilesOptions::SetProfileOptionInt(), and SetProfileValueBool().
|
private |
Sets array of strings to profile variable.
name | of the variable |
values | to set |
Referenced by AddVisitedServer(), UIScriptedMenu::SaveFavoriteServersConsoles(), ItemManager::SerializeDefaultHeaderOpenStates(), and ItemManager::SerializeDefaultOpenStates().
|
inlineprivate |
Referenced by SelectGamepad().
Enable/disable VoN effect (only on server)
player | in question |
voice | effect (VoiceEffectMumbling = 1, VoiceEffectExtortion = 2, VoiceEffectObstruction = 4) |
enable | or disable effect |
Referenced by ManBase::CheckForGag(), and ItemBase::MutePlayer().
|
private |
Set voice level of VoN (only on client) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2)
level | of voice |
Referenced by HandleInput().
|
inlineprivate |
References m_ShouldShowControllerDisconnect.
|
private |
Starts intro.
Referenced by MainMenuLaunch(), and PartyLaunch().
|
private |
Set actual storage version - for next save.
Referenced by CGame().
|
private |
Stores login userdata as parameters which are sent to server
Referenced by StoreLoginDataPrepare().
|
inlineprivate |
References GetMenuDefaultCharacterData(), ScriptReadWriteContext::GetWriteContext(), MenuDefaultCharacterData::SerializeCharacterData(), and StoreLoginData().
Referenced by OnPreloadEvent().
|
private |
Referenced by CloseCombatEffects(), FirearmEffects(), and IEntity::GetSurfaceNoise().
Referenced by Hologram::AlignProjectionOnTerrain(), and GetSurfaceOrientation().
|
private |
|
private |
|
private |
Returns: Y position the surface was found.
Referenced by Inventory_Base::CanBeFilledAtPosition(), EOnPostSimulate(), ActionDigWorms::IsTargetFertile(), and FlammableBase::StandUp().
Y input: Maximum Y to trace down from; Returns: Y position the surface was found.
Referenced by GardenBase::CanBePlaced(), CanBePlaced(), GatherSurfaces(), ActionFillBottleBase::GetLiquidType(), IsEntityOnInteriorSurface(), ItemBase::IsPlaceableAtPosition(), and ItemBase::IsSurfaceWater().
Referenced by Hologram::IsSurfaceWater().
Referenced by Hologram::IsSurfaceSea(), and Hologram::IsSurfaceWater().
|
private |
Referenced by ActionCondition(), ActionBuryBody::ActionCondition(), ActionDigInStash::ActionCondition(), DealEvinronmentAdjustedDmg(), IEntity::GetSurfaceType(), ActionDigInStash::OnFinishProgressServer(), ManBase::OnJumpOutVehicleFinish(), ManBase::ProcessFeetDamageServer(), and SurfaceUnderObjectCorrectedLiquid().
|
private |
Referenced by SurfaceUnderObjectByBoneCorrectedLiquid().
|
inlineprivate |
References CorrectLiquidType(), and SurfaceUnderObjectByBone().
|
inlineprivate |
References CorrectLiquidType(), and SurfaceUnderObject().
|
private |
Referenced by SurfaceUnderObjectExCorrectedLiquid().
|
inlineprivate |
References CorrectLiquidType(), and SurfaceUnderObjectEx().
Referenced by EntityAI::GetImpactSurfaceTypeEx().
Referenced by Hit_MeatBones::BloodSplatGround(), PluginBase::CalculatePos(), DayZIntroScene::DayZIntroScene(), DayZIntroSceneXbox::DayZIntroSceneXbox(), ActionRepackTentCB::DropDuringRepacking(), GeyserTrigger::EEInit(), FlareSimulation::FlareParticleUpdate(), ActionDigWorms::IsPlayerOnGround(), ScriptConsoleGeneralTab::OnDoubleClick(), ScriptConsoleGeneralTab::OnMouseButtonDown(), ScriptConsoleSoundsTab::OnMouseButtonDown(), DayZIntroScene::SnapToGround(), DayZIntroSceneXbox::SnapToGround(), HotSpringTrigger::SpawnVaporEffect(), VolcanicTrigger::SpawnVaporEffect(), ScriptConsoleGeneralTab::Teleport(), TeleportCheck(), ScriptConsoleGeneralTab::UpdateMousePos(), and ScriptConsoleSoundsTab::UpdateMousePos().
|
inlineprivate |
|
inlineprivate |
References Input::AreAllAllowedInputDevicesActive(), ScriptCallQueue::Call(), CALL_CATEGORY_GUI, GetCallQueue(), GetInput(), GetUIManager(), and MENU_WARNING_INPUTDEVICE_DISCONNECT.
Referenced by LoadingHide(), and OnEvent().
|
inlineprivate |
Display login queue position dialog
manually update static login queue dialog
References UIManager::CloseAll(), EnterLoginQueue(), UIManager::GetLoginQueuePosition(), UIManager::GetMenu(), GetMission(), GetUIManager(), UIScriptedMenu::SetPosition(), and UIManager::ShowScriptedMenu().
Referenced by OnUpdate().
Referenced by UpdatePathgraphRegionByObject().
|
inlineprivate |
References UpdatePathgraphRegion(), and Vector().
Referenced by Land_Underground_Stairs_Exit::OnDoorStateChangedServer().
|
private |
Updates spectator position on server = position of network bubble.
position |
Referenced by DayZSpectator::EOnFrame().
|
inlineprivate |
References GetMission(), and Mission::UpdateVoiceLevelWidgets().
Referenced by ScriptedWidgetEventHandler::RefreshDLCIcon().
|
private |
Referenced by OnProjectileStoppedInObject(), and OnProjectileStoppedInTerrain().
|
staticprivate |
|
private |
Referenced by CallQueueContext::CallParams(), ComponentEnergyManager::DeviceUpdate(), ComponentEnergyManager::Event_OnInit(), UIScriptedMenu::Init(), DayZCreature::ModCommandHandlerBefore(), WidgetEventHandler::OnChildAdd(), WidgetEventHandler::OnChildRemove(), WidgetEventHandler::OnClick(), WidgetEventHandler::OnDoubleClick(), WidgetEventHandler::OnDrag(), WidgetEventHandler::OnDraggingOver(), WidgetEventHandler::OnDrop(), WidgetEventHandler::OnDropReceived(), WidgetEventHandler::OnFocus(), WidgetEventHandler::OnFocusLost(), PluginBase::OnKeyPress(), PluginBase::OnMouse(), WidgetEventHandler::OnMouseButtonDown(), OnMouseButtonUp(), WidgetEventHandler::OnMouseButtonUp(), WidgetEventHandler::OnMouseEnter(), WidgetEventHandler::OnMouseLeave(), WidgetEventHandler::OnMouseWheel(), UniversalTemperatureSource::OnTimer(), TimerBase::OnTimer(), array::Run(), SetControlType(), ComponentEnergyManager::SwitchOff(), ComponentEnergyManager::SwitchOn(), TestCleanup(), EnProfilerTests::TestFuncCountData(), AnimationTimer::Tick(), UpdataControllerInput(), and Update().
|
private |
Referenced by IsAimLogEnabled().
|
staticprivate |
|
private |
Referenced by CGame(), and GetAnalyticsClient().
|
private |
Referenced by CGame(), and GetAnalyticsServer().
|
private |
|
private |
|
private |
Referenced by GetBacklit().
|
private |
Referenced by GetBillboardHandler().
|
private |
|
private |
Referenced by GetMenuDefaultCharacterData().
Referenced by ListAvailableCharacters().
Referenced by GetConnectedInputDeviceList().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetMouseCursorDesiredVisibility().
|
private |
Referenced by GetDatabaseID().
|
private |
|
private |
Referenced by IsDebugMonitor(), and SetDebugMonitorEnabled().
|
private |
Referenced by GetDeltaT().
|
private |
Referenced by GetDragQueue().
|
private |
|
private |
Referenced by GetCurrentEVValue(), and SetEVValue().
|
private |
|
private |
Referenced by GetFoodDecayModifier().
|
private |
|
private |
Referenced by GetGameState().
|
private |
Referenced by DeleteTitleScreen().
|
private |
Referenced by IsConnecting().
|
private |
Referenced by IsLeftCtrlDown().
|
private |
|
private |
|
private |
Referenced by IsNewCharacter().
|
private |
|
private |
Referenced by IsStressTest().
|
private |
|
private |
Referenced by IsWorldWetTempUpdateEnabled().
|
private |
|
private |
|
private |
Referenced by GetLoadState().
|
private |
Referenced by CancelLoginQueue().
|
private |
|
private |
Referenced by CancelLoginTimeCountdown().
|
private |
|
private |
Referenced by GetMissionFolderPath().
|
private |
Referenced by GetMissionPath().
|
private |
Referenced by GetMissionState().
|
staticprivate |
|
private |
|
private |
|
private |
Referenced by GetPlayerGameName().
|
private |
|
private |
|
private |
Referenced by GetPreviousEVValue().
|
private |
Referenced by GetPreviousGamepad().
|
staticprivate |
Referenced by ReportModded().
|
private |
Referenced by ShouldShowControllerDisconnect().
|
staticprivate |
|
private |
|
private |
|
private |
Referenced by GetUserFOV().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetYieldDataInitInvoker().
|
private |
|
private |
|
private |
|
private |
Referenced by DayZGame().
|
private |
|
private |
Referenced by ClearConnectivityStates().