![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| proto native void | AbortMission () |
| Returns to main menu, leave world empty for using last mission world. | |
| proto native void | AddPPMask (float ndcX, float ndcY, float ndcRadius, float ndcBlur) |
| void | AddVisitedServer (string ip, int port) |
| void | AddVoiceNotification (VONStopSpeakingEventParams vonStartParams) |
| void | AutoTestLaunch (string param) |
| bool | CanDisplayMouseCursor () |
| extend as needed, only game focus and M&K setting (consoles only!) are checked natively | |
| proto native bool | CanRespawnPlayer () |
| void | CheckDialogs () |
| void | CloseCombatEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, bool isWater, string ammoType) |
| int | ConfigFindClassIndex (string config_path, string searched_member) |
| Searches given config path (config_path) for the given member (searched_member) and returns its index. | |
| void | Connect () |
| void | ConnectFromCLI () |
| void | ConnectFromJoin (string ip, int port) |
| void | ConnectFromServerBrowser (string ip, int port, string password="") |
| void | ConnectFromServerBrowserEx (string ip, int port, int steamQueryPort, string password="") |
| void | ConnectLaunch () |
| int | CorrectLiquidType (int liquidType) |
| override string | CreateDefaultPlayer () |
| string | CreateDefaultPlayer () |
| returns class name of first valid survivor (TODO address confusing naming?) | |
| void | CreateGamepadDisconnectMenu () |
| native void | CreateMission (string path) |
| Create only enforce script mission, used for mission script reloading. | |
| override string | CreateRandomPlayer () |
| string | CreateRandomPlayer () |
| returns class name of random survivor (TODO address confusing naming?) | |
| void | CreateTitleScreen () |
| void | DelayedMidAirDetonation (float x, float y, float z) |
| void | DeleteGamepadDisconnectMenu () |
| void | DeleteTitleScreen () |
| void | DisconnectSessionEx (DisconnectSessionFlags flags) |
| void | DisconnectSessionScript (bool displayJoinError=false) |
| void | EnterLoginQueue (UIMenuPanel parent) |
| void | EnterLoginTime (UIMenuPanel parent) |
| void | ExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
| void | ExplosionEffectsEx (Object source, Object directHit, int componentIndex, float energyFactor, float explosionFactor, HitInfo hitInfo) |
| 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 | GamepadCheck () |
| AnalyticsManagerClient | GetAnalyticsClient () |
| AnalyticsManagerServer | GetAnalyticsServer () |
| BillboardSetHandler | GetBillboardHandler () |
| ScriptCallQueue | GetCallQueue (int call_category) |
| Returns CallQueue for certain category. | |
| array< int > | GetConnectedInputDeviceList () |
| proto native ContentDLC | GetContentDLCService () |
| Return DLC service (service for entitlement keys for unlock content). | |
| int | GetCurrentDisplayLanguageIdx () |
| float | GetCurrentEVValue () |
| string | GetDatabaseID () |
| float | GetDeltaT () |
| DragQueue | GetDragQueue () |
| Returns DragQueue. | |
| proto native EntityAI | GetEntityByPersitentID (int b1, int b2, int b3, int b4) |
| Returns EntityAI by its persistent ID parts or null if entity with given persistent ID does not exists. | |
| float | GetFoodDecayModifier () |
| float | GetFOVByZoomType (ECameraZoomType type) |
| float | GetHighestSurfaceYDifference (array< vector > positions) |
| Returns the largest height difference between the given positions. | |
| float | GetHUDBrightnessSetting () |
| bool | GetLastVisitedServer (out string ip, out int port) |
| proto native int | GetLogoutAfterCancelTimeout () |
| proto native owned string | GetMainMenuWorld () |
| MenuDefaultCharacterData | GetMenuDefaultCharacterData (bool fill_data=true) |
| bool | GetMouseCursorDesiredVisibility () |
| string | GetPlayerGameName () |
| proto native void | GetPlayerIndentities (out array< PlayerIdentity > identities) |
| ScriptInvoker | GetPostUpdateQueue (int call_category) |
| float | GetPreviousEVValue () |
| int | GetPreviousGamepad () |
| proto native bool | GetSurface (SurfaceDetectionParameters params, SurfaceDetectionResult result) |
| API for surface detection. | |
| bool | GetSurfaceDigPile (string surface, out string result) |
| 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. | |
| proto int | GetTime () |
| returns mission time in milliseconds | |
| TimerQueue | GetTimerQueue (int call_category) |
| Returns TimerQueue for certain category. | |
| ScriptInvoker | GetUpdateQueue (int call_category) |
| float | GetUserFOV () |
| proto native BiosUserManager | GetUserManager () |
| proto native float | GetWaterDepth (vector posWS) |
| proto native float | GetWaterSurfaceHeightNoFakeWave (vector posWS) |
| Get the nearest water or object surface under a point, ignoring land (without the fake wave that's on top of the real wave). | |
| proto native float | GetWaterSurfaceHeightWithFakeWave (vector posWS) |
| Get the nearest water or object surface under a point, ignoring land (with the fake wave that's on top of the real wave). | |
| proto native Weather | GetWeather () |
| Returns weather controller object. | |
| void | InitCharacterMenuDataInfo (int menudata_count) |
| proto native void | InitDamageEffects (Object effect) |
| Initialization of damage effects. | |
| void | InitNotifications () |
| 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 bool | IsClient () |
| bool | IsConnecting () |
| proto native bool | IsDebug () |
| bool | IsDebugMonitor () |
| proto native bool | IsDedicatedServer () |
| Robust check which is preferred than the above, as it is valid much sooner. | |
| bool | IsFoodDecayEnabled () |
| bool | IsInventoryOpen () |
| bool | IsKindOf (string cfg_class_name, string cfg_parent_name) |
| Returns is class name inherited from parent class name. | |
| bool | IsLeftCtrlDown () |
| bool | IsLoading () |
| bool | IsMissionMainMenu () |
| Returns true when current mission is Main Menu. | |
| proto native bool | IsMultiplayer () |
| bool | IsNewCharacter () |
| proto native bool | IsServer () |
| bool | IsSurfaceDigable (string surface) |
| Checks if the surface is digable. | |
| bool | IsSurfaceFertile (string surface) |
| Checks if the surface is fertile. | |
| bool | IsVisited (string ip, int port) |
| bool | IsWorldWetTempUpdateEnabled () |
| void | JoinLaunch () |
| override TStringArray | ListAvailableCharacters () |
| TStringArray | ListAvailableCharacters () |
| outputs array of all valid survivor class names | |
| void | LoadingHide (bool force=false) |
| void | LoadingShow () |
| void | LoadProgressUpdate (int progressState, float progress, string title) |
| void | LoginTimeCountdown () |
| proto native void | LogoutRequestCancel () |
| proto native void | LogoutRequestTime () |
| Logout methods. | |
| void | MainMenuLaunch () |
| void | MissionLaunch () |
| proto native void | NightVissionLightParams (float lightIntensityMul, float noiseIntensity) |
| set night vission parameters (set to zero when to disable it) | |
| bool | ObjectIsKindOf (Object object, string cfg_parent_name) |
| Returns is object inherited from parent class name. | |
| override void | OnActivateMessage () |
| override void | OnAfterCreate () |
| bool | OnConnectivityStatChange (EConnectivityStatType type, EConnectivityStatLevel newLevel, EConnectivityStatLevel oldLevel) |
| override void | OnDeactivateMessage () |
| override void | OnDeviceReset () |
| override bool | OnInitialize () |
| override void | OnKeyPress (int key) |
| override void | OnKeyRelease (int key) |
| void | OnLoginTimeEvent (int loginTime) |
| override void | OnMouseButtonPress (int button) |
| override void | OnMouseButtonRelease (int button) |
| void | OnMPConnectionLostEvent (int duration) |
| override void | OnPostUpdate (bool doSim, float timeslice) |
| void | OnPreloadEvent (vector pos) |
| void | OnProjectileStopped (ProjectileStoppedInfo info) |
| void | OnProjectileStoppedInObject (ObjectCollisionInfo info) |
| void | OnProjectileStoppedInTerrain (TerrainCollisionInfo info) |
| void | OnRespawnEvent (int time) |
| override void | OnRPC (PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) |
| override void | OnUpdate (bool doSim, float timeslice) |
| proto native void | OpenURL (string url) |
| proto native void | OverrideDOF (bool enable, float focusDistance, float focusLength, float focusLengthNear, float blur, float focusDepthOffset) |
| proto native void | OverrideInventoryLights (vector diffuse, vector ambient, vector ground, vector dir) |
| override inventory light | |
| void | PartyLaunch () |
| void | RefreshCurrentServerInfo () |
| void | RefreshMouseCursorVisibility () |
| void | RemoveVoiceNotification (VONStopSpeakingEventParams vonStopParams) |
| proto native void | ResetPPMask () |
| proto native void | RespawnPlayer () |
| proto native void | RestartMission () |
| void | SelectGamepad () |
| void | SelectUser (int gamepad=-1) |
| proto native int | ServerConfigGetInt (string name) |
| Server config parsing. Returns 0 if not found. | |
| void | SetConnecting (bool value) |
| Returns true when connecting to server. | |
| void | SetDatabaseID (string id) |
| void | SetDebugMonitorEnabled (int value) |
| proto native void | SetEVUser (float value) |
| Sets custom camera camera EV. range: -50.0..50.0? //TODO. | |
| void | SetEVValue (float value) |
| void | SetHudBrightness (float value) |
| void | SetKeyboardHandle (UIScriptedMenu handler) |
| proto native void | SetLoginTimerFinished () |
| proto native void | SetMainMenuWorld (string world) |
| void | SetMouseCursorDesiredVisibility (bool visible) |
| void | SetNewCharacter (bool state) |
| void | SetPlayerGameName (string name) |
| void | SetPreviousGamepad (int gamepad) |
| void | SetUserFOV (float pFov) |
| bool | ShouldShowControllerDisconnect () |
| void | StoreLoginDataPrepare () |
| proto native float | SurfaceGetNoiseMultiplier (Object directHit, vector pos, int componentIndex) |
| proto native vector | SurfaceGetNormal (float x, float z) |
| proto native float | SurfaceGetSeaLevel () |
| proto native float | SurfaceGetSeaLevelMax () |
| proto native float | SurfaceGetSeaLevelMin () |
| proto native float | SurfaceGetSeaWaveCurrent () |
| Get current sea wave height. | |
| proto native float | SurfaceGetSeaWaveMax () |
| Get max sea wave height. | |
| 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 native bool | SurfaceIsPond (float x, float z) |
| proto native bool | SurfaceIsSea (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 void | SurfaceUnderObject (notnull Object object, out string type, out int liquidType) |
| proto void | SurfaceUnderObjectByBone (notnull Object object, int boneType, out string type, out int liquidType) |
| void | SurfaceUnderObjectByBoneCorrectedLiquid (notnull Object object, int boneType, out string type, out int liquidType) |
| void | SurfaceUnderObjectCorrectedLiquid (notnull Object object, out string type, out int liquidType) |
| proto void | SurfaceUnderObjectEx (notnull Object object, out string type, out string impact, out int liquidType) |
| void | SurfaceUnderObjectExCorrectedLiquid (notnull Object object, out string type, out string impact, out int liquidType) |
| proto native float | SurfaceY (float x, float z) |
| void | TryConnect () |
| void | UpdateInputDeviceDisconnectWarning () |
| void | UpdateLoginQueue (float timeslice) |
| proto native void | UpdatePathgraphRegion (vector regionMin, vector regionMax) |
| void | UpdatePathgraphRegionByObject (Object object) |
| void | UpdateVoiceLevel (int level) |
Static Protected Member Functions | |
| static bool | CheckAmmoCompability (EntityAI weaponInHand, EntityAI ammo) |
| static float | GetUserFOVFromConfig () |
| static bool | IsDigitalCopy () |
Protected Attributes | |
| const float | ARROW_PIERCE_DEPTH = 0.05 |
| bool | m_AutotestEnabled |
| ref BillboardSetHandler | m_BillboardSetHandler |
| string | m_ConnectAddress |
| string | m_ConnectPassword |
| int | m_ConnectPort |
| int | m_ConnectSteamQueryPort |
| string | m_DatabaseID |
| bool | m_FirstConnect = true |
| ref Widget | m_GamepadDisconnectMenu |
| DayZGameState | m_GameState |
| ref Widget | m_IntroMenu |
| ref LoadingScreen | m_loading |
| DayZLoadState | m_LoadState |
| ref NotificationUI | m_Notifications |
| int | m_PrevBlur |
| ref TStringArray | m_Visited |
| const int | MAX_VISITED = 50 |
| const int | MISSION_STATE_FINNISH = 2 |
| const int | MISSION_STATE_GAME = 1 |
| const int | MISSION_STATE_MAINMENU = 0 |
Private Member Functions | |
| void | CGame () |
| void | ~CGame () |
| void | ~DayZGame () |
| proto native bool | AddActionJuncture (Man player, notnull EntityAI item, int timeout_ms, Managed userData=null) |
| proto native bool | AddInventoryJuncture (Man player, notnull EntityAI item, InventoryLocation dst, bool test_dst_occupancy, int timeout_ms, Managed userData=null) |
| bool | AddInventoryJunctureEx (Man player, notnull EntityAI item, InventoryLocation dst, bool test_dst_occupancy, int timeout_ms, Managed userData=null) |
| 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 | AdminLog (string text) |
| proto native void | BeginOptionsVideo () |
| void | CancelLoginQueue () |
| void | CancelLoginTimeCountdown () |
| 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) |
| void | ClearConnectivityStates () |
| proto native bool | ClearJuncture (Man player, notnull EntityAI item) |
| bool | ClearJunctureEx (Man player, notnull EntityAI item) |
| proto native void | ClearReconnectCache () |
| Remove all player from reconnect cache. | |
| proto bool | CommandlineGetParam (string name, out string value) |
| Get command line parameter value. | |
| proto bool | ConfigGetBaseName (string path, out string base_name) |
| Get name of base class of config class on path. | |
| proto bool | ConfigGetChildName (string path, int index, out string name) |
| Get name of subclass in config class on path. | |
| proto native int | ConfigGetChildrenCount (string path) |
| Get count of subclasses in config class on path. | |
| proto native float | ConfigGetFloat (string path) |
| Get float value from config on path. | |
| proto native void | ConfigGetFloatArray (string path, out TFloatArray values) |
| Get array of floats from config on path. | |
| proto native void | ConfigGetFullPath (string path, out TStringArray full_path) |
| proto native int | ConfigGetInt (string path) |
| Get int value from config on path. | |
| proto native void | ConfigGetIntArray (string path, out TIntArray values) |
| Get array of integers from config on path. | |
| proto native void | ConfigGetObjectFullPath (Object obj, out TStringArray full_path) |
| proto bool | ConfigGetText (string path, out string value) |
| Get string value from config on path. | |
| 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. | |
| string | ConfigGetTextOut (string path) |
| Get string value from config on path. | |
| proto bool | ConfigGetTextRaw (string path, out string value) |
| Get raw string value from config on path. | |
| proto native int | ConfigGetType (string path) |
| Returns type of config value. | |
| proto native vector | ConfigGetVector (string path) |
| Get vector value from config on path. | |
| proto native bool | ConfigIsExisting (string path) |
| string | ConfigPathToString (TStringArray array_path) |
| Converts array of strings into single string. | |
| 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 void | CopyFromClipboard (out string text) |
| proto native void | CopyToClipboard (string text) |
| 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 Object | CreateObjectEx (string type, vector pos, int iFlags, int iRotation=RF_DEFAULT) |
| Creates object of certain type. | |
| proto native Entity | CreatePlayer (PlayerIdentity identity, string name, vector pos, float radius, string spec) |
| Assign player entity to client (in multiplayer). | |
| override UIScriptedMenu | CreateScriptedMenu (int id) |
| create custom main menu part (submenu) | |
| UIScriptedMenu | CreateScriptedMenu (int id) |
| create custom main menu part (submenu) | |
| UIScriptedWindow | CreateScriptedWindow (int id) |
| create custom window part | |
| 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 | CreateStaticObjectUsingP3D (string p3dFilename, vector position, vector orientation, float scale=1.0, bool createLocal=false) |
| void | DayZGame () |
| void | DeferredInit () |
| proto native void | DisconnectPlayer (PlayerIdentity identity, string uid="") |
| Destroy player info and disconnect. | |
| 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 | DumpInstances (bool csvFormatting) |
| Delevoper only: Dump all script allocations. | |
| void | EarlyAccessDialog (UIScriptedMenu parent) |
| proto native void | EnableMicCapture (bool enable) |
| Enable microphone to locally capture audio from user. | |
| proto native void | EnableVoN (Object player, bool enable) |
| Enable/disable VoN for target player. | |
| proto native void | EndOptionsVideo () |
| 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 bool | ExtendActionJuncture (Man player, notnull EntityAI item, int timeout_ms) |
| bool | FormatRawConfigStringKeys (inout string value) |
| Changes localization key format to script-friendly format. | |
| proto void | FormatString (string format, string params[], out string output) |
| proto native float | GetAvgFPS (int nFrames=64) |
| Returns average framerate over last n frames. | |
| Backlit | GetBacklit () |
| override ScriptCallQueue | GetCallQueue (int call_category) |
| proto native vector | GetCurrentCameraDirection () |
| proto native vector | GetCurrentCameraPosition () |
| proto native float | GetDayTime () |
| Returns current daytime on server. | |
| proto native int | GetDiagDrawMode () |
| Gets current debug draw mode. | |
| proto native void | GetDiagDrawModeNames (out TStringArray diag_names) |
| Get list of all debug draw modes. | |
| proto native bool | GetDiagModeEnable (int diag_mode) |
| Gets state of specific debug mode. | |
| proto native void | GetDiagModeNames (out TStringArray diag_names) |
| Get list of all debug modes. | |
| override DragQueue | GetDragQueue () |
| proto native float | GetFps () |
| Returns average FPS of last 16 frames. | |
| void | GetFPSStats (out float min, out float max, out float avg, int nFrames=64) |
| Outputs framerate statistics. | |
| DayZGameState | GetGameState () |
| proto bool | GetHostAddress (out string address, out int port) |
| Gets the server address. | |
| proto GetServersResultRow | GetHostData () |
| Gets the server data. | |
| proto owned string | GetHostName () |
| Gets the server name. | |
| proto native Input | GetInput () |
| proto void | GetInventoryItemSize (InventoryItem item, out int width, out int height) |
| proto native float | GetLastFPS () |
| Returns current framerate. | |
| proto native WorkspaceWidget | GetLoadingWorkspace () |
| DayZLoadState | GetLoadState () |
| proto native float | GetMaxFPS (int nFrames=64) |
| Returns maximum framerate over last n frames. | |
| proto native MenuData | GetMenuData () |
| Return singleton of MenuData class - at main menu contains characters played with current profile. | |
| proto native float | GetMinFPS (int nFrames=64) |
| Returns minimum framerate over last n frames. | |
| proto native Mission | GetMission () |
| string | GetMissionFolderPath () |
| string | GetMissionPath () |
| int | GetMissionState () |
| string | GetModelName (string class_name) |
| Get name of the p3d file of the given class name. | |
| proto native void | GetModInfos (notnull out array< ref ModInfo > modArray) |
| proto native bool | GetModToBeReported () |
| proto native NoiseSystem | GetNoiseSystem () |
| proto native Object | GetObjectByNetworkId (int networkIdLowBits, int networkIdHighBits) |
| Returns entity identified by network id. | |
| 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 DayZPlayer | GetPlayer () |
| DayZPlayer | GetPlayerByIndex (int index=0) |
| proto void | GetPlayerName (out string name) |
| Gets current player name. | |
| proto void | GetPlayerNameShort (int maxLength, out string name) |
| Gets current player name. | |
| proto void | GetPlayerNetworkIDByIdentityID (int playerIdentityID, out int networkIdLowBits, out int networkIdHightBits) |
| returns player's network id from identity id in out parameters | |
| proto native void | GetPlayers (out array< Man > players) |
| proto native vector | GetPointerDirection () |
| Returns the direction where the mouse points, from the camera view. | |
| override ScriptInvoker | GetPostUpdateQueue (int call_category) |
| bool | GetProfileOption (EDayZProfilesOptions option) |
| bool | GetProfileOptionBool (EDayZProfilesOptions option) |
| bool | GetProfileOptionDefault (EDayZProfilesOptions option) |
| bool | GetProfileOptionDefaultBool (EDayZProfilesOptions option) |
| float | GetProfileOptionDefaultFloat (EDayZProfilesOptions option) |
| int | GetProfileOptionDefaultInt (EDayZProfilesOptions option) |
| float | GetProfileOptionFloat (EDayZProfilesOptions option) |
| int | GetProfileOptionInt (EDayZProfilesOptions option) |
| map< EDayZProfilesOptions, ref DayZProfilesOption > | GetProfileOptionMap () |
| proto bool | GetProfileString (string name, out string value) |
| Gets string from profile variable. | |
| proto native void | GetProfileStringList (string name, out TStringArray values) |
| Gets array of strings from profile variable. | |
| 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 AbstractSoundScene | GetSoundScene () |
| proto native float | GetTickTime () |
| Returns current time from start of the game. | |
| override TimerQueue | GetTimerQueue (int call_category) |
| proto native UIManager | GetUIManager () |
| override ScriptInvoker | GetUpdateQueue (int call_category) |
| proto void | GetVersion (out string version) |
| 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 WorkspaceWidget | GetWorkspace () |
| proto native World | GetWorld () |
| 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. | |
| string | GetWorldName () |
| proto void | GetWorldName (out string world_name) |
| ScriptInvoker | GetYieldDataInitInvoker () |
| proto native void | GizmoClear (int index) |
| Clear the gizmo. | |
| proto native void | GizmoClearAll () |
| Clear all gizmos. | |
| proto native int | GizmoFindByTracker (Managed tracker) |
| Returned index is invalid if any other Gizmo function is called. | |
| proto native int | GizmoGetCount () |
| Return the number of gizmos. | |
| proto native Class | GizmoGetInstance (int index) |
| Return the instance passed in for the gizmo. | |
| proto native Managed | GizmoGetTracker (int index) |
| Return the tracker passed in for the gizmo. | |
| proto native void | GizmoSelectObject (Object object) |
| Applies impulses to set the position when dynamic, otherwise sets the transform in the physics scene. | |
| proto native void | GizmoSelectPhysics (Physics physics) |
| Applies impulses to set the position when dynamic, otherwise sets the transform in the physics scene. | |
| proto native void | GizmoSelectUser (Managed instance) |
| Scripted controls, requires the following methods to be implemented in the class void Gizmo_SetWorldTransform(vector[4] transform, bool finalize) void Gizmo_GetWorldTransform(vector[4] transform). | |
| void | GlobalsInit () |
| proto native bool | GoBuyWorldDLC (string sWorldName) |
| proto native bool | HasInventoryJuncture (Man player, notnull EntityAI item) |
| proto native bool | HasInventoryJunctureDestination (Man player, notnull InventoryLocation dst) |
| proto native bool | HasInventoryJunctureItem (notnull EntityAI item) |
| bool | IsAimLogEnabled () |
| proto native bool | IsAppActive () |
| Returns if the application is focused on PC, returns true always on console. | |
| proto native bool | IsInPartyChat () |
| Returns whether user is currently in a voice party (currently only supported on xbox). | |
| override bool | IsInventoryOpen () |
| proto native bool | IsMicCapturing () |
| Returns whether mic is currently capturing audio from user. | |
| proto native bool | IsNetworkInputBufferFull () |
| Returns the state of the buffer for network inputs (UAInterface). | |
| proto native bool | IsObjectAccesible (EntityAI item, Man player) |
| returns true if player can access item's cargo/attachments (check only distance) | |
| proto native bool | IsPhysicsExtrapolationEnabled () |
| If physics extrapolation is enabled, always true on retail release builds. | |
| bool | IsStressTest () |
| proto native int | LoadVersion () |
| Returns actual storage version - loading. | |
| proto native void | MuteAllPlayers (string listenerId, bool mute) |
| Mute all players for listenerId. | |
| proto native void | MutePlayer (string muteUID, string playerUID, bool mute) |
| Mutes voice of source player to target player. | |
| proto native void | ObjectDelete (Object obj) |
| proto native void | ObjectDeleteOnClient (Object obj) |
| 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 void | ObjectGetType (Object obj, out string type) |
| proto native vector | ObjectModelToWorld (Object obj, vector modelPos) |
| 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 native vector | ObjectWorldToModel (Object obj, vector worldPos) |
| void | OnActivateMessage () |
| Called when recieving focus (windows). | |
| void | OnAfterCreate () |
| Called after creating of CGame instance. | |
| void | OnDeactivateMessage () |
| Called when loosing focus (windows). | |
| void | OnDeviceReset () |
| Called when inputs is not possible (Steam overlay active or something), all internal script variables should be reset here! | |
| override void | OnEvent (EventType eventTypeId, Param params) |
| void | OnEvent (EventType eventTypeId, Param params) |
| Called when some system event occur. | |
| void | OnGameplayDataHandlerLoad () |
| 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 | OnKeyPress (int key) |
| Called when key is pressed. | |
| void | OnKeyRelease (int key) |
| Called when key is released. | |
| void | OnLicenseChanged () |
| void | OnMouseButtonPress (int button) |
| Called when mouse button is pressed. | |
| void | OnMouseButtonRelease (int button) |
| Called when mouse button is released. | |
| void | OnPostUpdate (bool doSim, float timeslice) |
| Called on World update after simulation of entities. | |
| void | OnProcessLifetimeChanged (int plmtype) |
| void | OnRPC (PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) |
| Called after remote procedure call is recieved for this object. | |
| void | OnUpdate (bool doSim, float timeslice) |
| Called on World update. | |
| proto native void | PlayMission (string path) |
| Starts mission (equivalent for SQF playMission). You MUST use double slash \. | |
| proto native bool | PreloadObject (string type, float distance) |
| Preload objects with certain type in certain distance from camera. | |
| 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 bool | RegisterNetworkStaticObject (Object object) |
| Static objects cannot be replicated by default (there are too many objects on the map). | |
| void | RegisterProfilesOptions () |
| void | ReloadMission () |
| 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 | RemoteObjectDelete (Object obj) |
| 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 void | RemoteObjectTreeDelete (Object obj) |
| RemoteObjectDelete - deletes only remote object (unregisters from network). do not use if not sure what you do. | |
| proto native void | RemoveFromReconnectCache (string uid) |
| Remove player from reconnect cache. | |
| 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. | |
| void | ResetProfileOptions () |
| proto native void | RPC (Object target, int rpcType, notnull array< ref Param > params, bool guaranteed, PlayerIdentity recipient=null) |
| Initiate remote procedure call. | |
| 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 | RPCSingleParam (Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null) |
| see CGame.RPC | |
| proto native void | SaveProfile () |
| Saves profile on disk. | |
| proto native int | SaveVersion () |
| Returns actual storage version - saving. | |
| proto native bool | ScriptTest () |
| proto native void | SelectPlayer (PlayerIdentity identity, Object player) |
| Selects player's controlled object. | |
| proto native void | SelectSpectator (PlayerIdentity identity, string spectatorObjType, vector position) |
| Creates spectator object (mostly cameras). | |
| proto native void | SendLogoutTime (Object player, int time) |
| Inform client about logout time (creates logout screen on specified client). | |
| void | SetConnectivityStatState (EConnectivityStatType type, EConnectivityStatLevel level) |
| proto native void | SetDiagDrawMode (int diag_draw_mode) |
| Set debug draw mode. | |
| proto native void | SetDiagModeEnable (int diag_mode, bool enabled) |
| Set specific debug mode. | |
| void | SetGameState (DayZGameState state) |
| void | SetLoadState (DayZLoadState state) |
| proto native void | SetMission (Mission mission) |
| void | SetMissionPath (string path) |
| Called from C++. | |
| void | SetMissionState (int state) |
| proto native void | SetPlayerName (string name) |
| Sets current player name. | |
| void | SetProfileOption (EDayZProfilesOptions option, bool value) |
| void | SetProfileOptionBool (EDayZProfilesOptions option, bool value) |
| void | SetProfileOptionFloat (EDayZProfilesOptions option, float value) |
| void | SetProfileOptionInt (EDayZProfilesOptions option, int value) |
| proto native void | SetProfileString (string name, string value) |
| Sets string to profile variable. | |
| proto native void | SetProfileStringList (string name, TStringArray values) |
| Sets array of strings to profile variable. | |
| 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 void | StartRandomCutscene (string world) |
| Starts intro. | |
| proto native void | StorageVersion (int iVersion) |
| Set actual storage version - for next save. | |
| proto native void | StoreLoginData (ParamsWriteContext ctx) |
| Stores login userdata as parameters which are sent to server. | |
| proto native void | UpdateSpectatorPosition (vector position) |
| Updates spectator position on server = position of network bubble. | |
| proto native bool | VerifyWorldOwnership (string sWorldName) |
Static Private Member Functions | |
| static bool | ReportModded () |
Static Private Attributes | |
| static ref ScriptInvoker | Event_OnRPC = new ScriptInvoker() |
| static ref AmmoCamParams | m_AmmoShakeParams = new AmmoCamParams() |
| static ref NoiseParams | m_NoiseParams = new NoiseParams() |
| static bool | m_ReportModded |
| static ref TemperatureAccessManager | m_TAManager = new TemperatureAccessManager() |
Definition at line 891 of file dayzgame.c.
|
inlineprivate |
Definition at line 1092 of file dayzgame.c.
References BleedChanceData::Cleanup(), NotificationSystem::CleanupInstance(), PPEManagerStatic::DestroyManagerStatic(), Print(), and SetDispatcher().
|
inlineprivate |
Definition at line 34 of file game.c.
References GAME_STORAGE_VERSION, AmmoEffects::Init(), LogManager::Init(), SEffectManager::Init(), VONManager::Init(), SEffectManager::InitServer(), IsDedicatedServer(), IsMultiplayer(), m_AnalyticsManagerClient, m_AnalyticsManagerServer, m_ParamCache, Math::Randomize(), and StorageVersion().
|
inlineprivate |
Definition at line 72 of file game.c.
References AmmoEffects::Cleanup(), SEffectManager::Cleanup(), VONManager::CleanupInstance(), g_Game, and ParticleManager().
|
protected |
Returns to main menu, leave world empty for using last mission world.
Referenced by OnEvent().
|
private |
|
private |
Referenced by AddInventoryJunctureEx().
|
inlineprivate |
Definition at line 742 of file game.c.
References AddInventoryJuncture(), InventoryLocation::DumpToStringNullSafe(), Debug::InventoryReservationLog(), and LogManager::IsInventoryReservationLogEnable().
|
private |
Add player to reconnect cache to be able to rejoin character still existing in the world.
| identity | of player |
Definition at line 2621 of file dayzgame.c.
References m_Visited, MAX_VISITED, SaveProfile(), and SetProfileStringList().
Referenced by OnEvent().
|
inlineprotected |
Definition at line 1827 of file dayzgame.c.
References m_Notifications.
|
private |
|
inlineprotected |
Definition at line 2320 of file dayzgame.c.
References GetCLIParam(), IDC_MAIN_QUIT, AutotestConfigHandler::LoadData(), AutoTestFixture::LogRPT(), m_AutotestEnabled, mission, PlayMission(), and RequestExit().
Referenced by OnInitialize().
|
private |
|
inlineprivate |
Definition at line 1402 of file dayzgame.c.
References m_LoginQueue.
Referenced by OnEvent(), and OnLoginTimeEvent().
|
inlineprivate |
Definition at line 1418 of file dayzgame.c.
References CALL_CATEGORY_SYSTEM, GetCallQueue(), LoginTimeCountdown(), m_LoginTimeScreen, and ScriptCallQueue::Remove().
Referenced by LoginTimeCountdown(), OnEvent(), and OnPreloadEvent().
|
inlineprotected |
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
Definition at line 3884 of file dayzgame.c.
References GetInput(), and Input::IsMouseConnected().
Referenced by RefreshMouseCursorVisibility().
|
protected |
Prints text into game chat.
| text | to print |
| colorClass | ?? usage : |
|
private |
Definition at line 3790 of file dayzgame.c.
References g_Game.
|
inlineprotected |
Definition at line 3386 of file dayzgame.c.
References GetMission(), GetUIManager(), m_loading, mission, and UIManager::ShowQueuedDialog().
|
inlineprivate |
Definition at line 1436 of file dayzgame.c.
References m_ConnectivityStatsStates, and STATS_COUNT.
Referenced by OnEvent().
Referenced by ClearJunctureEx().
Definition at line 763 of file game.c.
References ClearJuncture(), Debug::InventoryReservationLog(), and LogManager::IsInventoryReservationLogEnable().
|
private |
Remove all player from reconnect cache.
|
inlineprotected |
Definition at line 3668 of file dayzgame.c.
References NoiseSystem::AddNoisePos(), ImpactMaterials::EvaluateImpactEffectEx(), g_Game, GetNoiseSystem(), IsServer(), m_NoiseParams, Math::RandomFloat(), SurfaceGetNoiseMultiplier(), and Vector().
Get command line parameter value.
| name | of parameter |
| value | output |
References name.
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:
Definition at line 1494 of file game.c.
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 |
References path.
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 ConfigFindClassIndex(), and DayZGame().
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 |
References path.
Referenced by ConfigFindClassIndex(), and DayZGame().
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. |
References path.
Referenced by FirearmEffects().
|
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 |
References path.
|
private |
References path.
Referenced by IsKindOf().
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. |
References path.
Referenced by DayZGame(), IsSurfaceDigable(), and IsSurfaceFertile().
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 |
References path.
|
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 |
References path.
Referenced by ConfigGetTextOut(), and GetSurfaceDigPile().
|
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 : g_Game.ConfigGetTextArray("CfgMovesMaleSdr2 States menu_idleUnarmed0 variantsPlayer", characterAnimations);
|
References path.
|
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 : g_Game.ConfigGetTextArrayRaw("CfgMovesMaleSdr2 States menu_idleUnarmed0 variantsPlayer", characterAnimations);
|
References 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. |
Definition at line 464 of file game.c.
References ConfigGetText(), and path.
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) |
References path.
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. |
References path.
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. |
References path.
|
inlineprivate |
|
inlineprotected |
Definition at line 2667 of file dayzgame.c.
References Connect(), DeleteTitleScreen(), DisconnectSessionScript(), string::Format(), GetHostAddress(), GetUIManager(), m_ConnectAddress, m_ConnectPassword, m_ConnectPort, m_ConnectSteamQueryPort, 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 |
|
inlineprotected |
Definition at line 2783 of file dayzgame.c.
References Connect(), GetCLIParam(), m_ConnectAddress, m_ConnectFromJoin, m_ConnectPassword, m_ConnectPort, and string::ToInt().
Referenced by ConnectLaunch(), and TryConnect().
Definition at line 2775 of file dayzgame.c.
References Connect(), m_ConnectAddress, m_ConnectFromJoin, and m_ConnectPort.
Definition at line 2760 of file dayzgame.c.
References OnlineServices::LoadMPPrivilege(), m_ConnectAddress, m_ConnectFromJoin, m_ConnectPassword, and m_ConnectPort.
Referenced by ConnectFromServerBrowserEx().
|
inlineprotected |
Definition at line 2769 of file dayzgame.c.
References ConnectFromServerBrowser(), and m_ConnectSteamQueryPort.
|
private |
Connects to last success network session.
|
inlineprotected |
Definition at line 2237 of file dayzgame.c.
References ConnectFromCLI(), CreateTitleScreen(), GamepadCheck(), BiosUserManager::GetTitleInitiator(), GetUserManager(), BiosUserManager::SelectUserEx(), SetGameState(), and SetLoadState().
Referenced by OnInitialize().
|
private |
|
private |
Definition at line 1245 of file game.c.
References LIQUID_NONE, and LIQUID_SALTWATER.
Referenced by SurfaceUnderObjectByBoneCorrectedLiquid(), SurfaceUnderObjectCorrectedLiquid(), and SurfaceUnderObjectExCorrectedLiquid().
|
inlineprotected |
Definition at line 3449 of file dayzgame.c.
References m_CharClassNames.
|
inlineprotected |
|
protected |
|
protected |
Create only enforce script mission, used for mission script reloading.
References path.
Referenced by ReloadMission().
|
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) |
References RF_DEFAULT.
|
private |
Assign player entity to client (in multiplayer).
| name |
References name.
|
inlineprotected |
Definition at line 3458 of file dayzgame.c.
References m_CharClassNames.
|
inlineprotected |
|
inlineprivate |
create custom main menu part (submenu)
Definition at line 1380 of file dayzgame.c.
References GetMission(), and mission.
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
References AbstractWave().
|
private |
|
inlineprotected |
Definition at line 2153 of file dayzgame.c.
References WorkspaceWidget::CreateWidgets(), DeleteTitleScreen(), g_Game, BiosUserManager::GetSelectedUser(), GetWorkspace(), and m_IntroMenu.
Referenced by ConnectLaunch(), GamepadCheck(), MissionLaunch(), and OnInitialize().
|
inlineprivate |
Definition at line 994 of file dayzgame.c.
References ScriptCallQueue::Call(), CALL_CATEGORY_COUNT, CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CommandlineGetParam(), ConfigGetChildName(), ConfigGetChildrenCount(), ConfigGetInt(), PPEManagerStatic::CreateManagerStatic(), DeferredInit(), GetCallQueue(), GetModToBeReported(), GetUApi(), GlobalsInit(), CachedObjectsArrays::Init(), CachedObjectsParams::Init(), Component::Init(), Debug::Init(), BleedChanceData::InitBleedChanceData(), IsKindOf(), LoadingScreen(), m_AimLoggingEnabled, m_Backlit, m_callQueue, m_CharClassNames, m_ConnectFromJoin, m_DayZProfileOptions, m_dragQueue, m_early_access_dialog_accepted, m_IsConnecting, m_IsStressTest, m_keyboard_handler, m_loading, m_LoginTime, m_MissionState, m_postUpdateQueue, m_ReportModded, m_timerQueue, m_updateQueue, MISSION_STATE_GAME, path, UAInputAPI::PresetSelect(), RefreshMouseCursorVisibility(), and SetMainMenuWorld().
Referenced by IsMissionMainMenu().
|
inlineprivate |
Definition at line 1103 of file dayzgame.c.
References GetInput(), GetMenuDefaultCharacterData(), AbstractSoundScene::GetMusicVolume(), PPEManagerStatic::GetPPEManager(), AbstractSoundScene::GetRadioVolume(), GetSoundScene(), AbstractSoundScene::GetSoundVolume(), AbstractSoundScene::GetSpeechExVolume(), GetUserFOVFromConfig(), AbstractSoundScene::GetVOIPVolume(), GameOptions::Initialize(), m_UserFOV, m_volume_music, m_volume_radio, m_volume_sound, m_volume_speechEX, m_volume_VOIP, and Input::UpdateConnectedInputDeviceList().
Referenced by DayZGame().
Definition at line 3379 of file dayzgame.c.
References SEffectManager::PlaySound(), EffectSound::SetAutodestroy(), Vector(), x, and y.
Referenced by OnRPC().
|
protected |
|
inlineprotected |
Definition at line 2193 of file dayzgame.c.
References m_IntroMenu.
Referenced by Connect(), CreateTitleScreen(), GamepadCheck(), MainMenuLaunch(), and SelectGamepad().
|
private |
Destroy player info and disconnect.
|
private |
Disconnects from current multiplayer session.
|
inlineprotected |
Definition at line 2701 of file dayzgame.c.
References NotificationSystem::AddNotification(), NotificationSystem::DEFAULT_TIME_DISPLAYED, DisconnectSessionForce(), g_Game, GamepadCheck(), OnlineServices::GetBiosUser(), GetGameState(), MainMenuLaunch(), 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().
|
inlineprotected |
Definition at line 2689 of file dayzgame.c.
References DisconnectSessionEx().
Referenced by Connect(), and TryConnect().
|
private |
Delevoper only: Dump all script allocations.
|
inlineprivate |
Definition at line 1369 of file dayzgame.c.
References g_Game, m_early_access_dialog_accepted, 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 |
Enable/disable VoN for target player.
| player | in question |
| enable | sets if player can use VoN |
|
private |
|
inlineprotected |
Definition at line 1977 of file dayzgame.c.
References GetUIManager(), m_LoginQueue, and MENU_LOGIN_QUEUE.
Referenced by UpdateLoginQueue().
|
inlineprotected |
Definition at line 1983 of file dayzgame.c.
References GetUIManager(), m_LoginTimeScreen, 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.
|
inlineprotected |
Definition at line 3493 of file dayzgame.c.
References vector::Distance(), g_Game, AmmoTypesAPI::GetExplosionParticleID(), Math::InverseLerp(), Math::Lerp(), m_AmmoShakeParams, and ParticleManager().
Referenced by ExplosionEffectsEx().
|
inlineprotected |
Definition at line 3470 of file dayzgame.c.
References NoiseSystem::AddNoiseTarget(), ExplosionEffects(), g_Game, HitInfo::GetAmmoType(), GetNoiseSystem(), HitInfo::GetPosition(), HitInfo::GetSurface(), HitInfo::GetSurfaceNoiseMultiplier(), HitInfo::GetSurfaceNormal(), IsServer(), HitInfo::IsWater(), and m_NoiseParams.
|
private |
|
inlineprotected |
Definition at line 3614 of file dayzgame.c.
References NoiseSystem::AddNoiseTarget(), ConfigGetFloat(), ImpactMaterials::EvaluateImpactEffectEx(), g_Game, GetNoiseSystem(), IsServer(), vector::Length(), m_NoiseParams, SurfaceGetNoiseMultiplier(), and vector::Zero.
|
inlineprotected |
Definition at line 2435 of file dayzgame.c.
References CreateTitleScreen(), DeleteTitleScreen(), g_Game, GetID(), GetInput(), GetUIManager(), Input::GetUserGamepad(), GetUserManager(), Input::IdentifyGamepad(), m_IntroMenu, MENU_TITLE_SCREEN, and SelectUser().
Referenced by ConnectLaunch(), DisconnectSessionEx(), MissionLaunch(), and SelectUser().
|
inlineprotected |
Definition at line 1588 of file game.c.
References m_AnalyticsManagerClient.
|
inlineprotected |
Definition at line 1583 of file game.c.
References m_AnalyticsManagerServer.
Returns average framerate over last n frames.
| nFrames | The number of frames to compute average of, up to 64. |
Referenced by GetFPSStats().
|
inlineprivate |
Definition at line 1351 of file dayzgame.c.
References m_Backlit.
|
inlineprotected |
Definition at line 3930 of file dayzgame.c.
References m_BillboardSetHandler.
|
inlineprivate |
Definition at line 1198 of file dayzgame.c.
References m_callQueue.
Referenced by CancelLoginTimeCountdown(), DayZGame(), OnEvent(), OnLoginTimeEvent(), OnRespawnEvent(), OnRPC(), OnUpdate(), and UpdateInputDeviceDisconnectWarning().
|
inlineprotected |
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: g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Refresh"); // calls "Refresh" function on "this" with no arguments
g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "Show", new Param1<bool>(true)); // calls "Show" function on "this" with one bool argument
g_Game.GetCallQueue(CALL_CATEGORY_GUI).Call(this, "SetPos", new Param2<float, float>(0.2, 0.5)); // calls "SetPos" function on "this" with two float arguments
Definition ppeconstants.c:68 |
Definition at line 3862 of file dayzgame.c.
References m_ConnectedInputDeviceList.
|
protected |
Return DLC service (service for entitlement keys for unlock content).
|
private |
|
private |
|
inlineprotected |
Definition at line 3826 of file dayzgame.c.
References GameOptions::GetOptionByType().
|
inlineprotected |
Definition at line 3816 of file dayzgame.c.
References m_EVValue.
|
inlineprotected |
Definition at line 2139 of file dayzgame.c.
References m_DatabaseID.
|
private |
Returns current daytime on server.
|
inlineprotected |
Definition at line 2950 of file dayzgame.c.
References m_DeltaTime.
|
private |
Gets current debug draw mode.
|
private |
Get list of all debug draw modes.
|
private |
Get list of all debug modes.
|
inlineprivate |
|
inlineprotected |
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.
|
inlineprotected |
Definition at line 3850 of file dayzgame.c.
References m_FoodDecayModifier.
Referenced by IsFoodDecayEnabled().
|
inlineprotected |
Definition at line 3762 of file dayzgame.c.
References GameConstants::DZPLAYER_CAMERA_FOV_EYEZOOM, GameConstants::DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW, GetUserFOV(), and Math::Min().
|
private |
Returns average FPS of last 16 frames.
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. |
Definition at line 902 of file game.c.
References GetAvgFPS(), GetMaxFPS(), and GetMinFPS().
|
inlineprivate |
Definition at line 1331 of file dayzgame.c.
References m_GameState.
Referenced by DisconnectSessionEx(), OnEvent(), OnMPConnectionLostEvent(), and TryConnect().
Returns the largest height difference between the given positions.
Definition at line 1192 of file game.c.
References SurfaceRoadY(), and y.
Gets the server address.
(from client)
Referenced by Connect(), OnEvent(), RefreshCurrentServerInfo(), and TryConnect().
|
private |
Gets the server data.
(from client)
|
private |
Gets the server name.
(from client)
|
inlineprotected |
|
private |
Referenced by CanDisplayMouseCursor(), DeferredInit(), GamepadCheck(), SelectUser(), and UpdateInputDeviceDisconnectWarning().
|
private |
|
private |
Returns current framerate.
Definition at line 2604 of file dayzgame.c.
References m_Visited, and string::Split().
|
private |
|
inlineprivate |
Definition at line 1341 of file dayzgame.c.
References m_LoadState.
Referenced by OnInitialize(), SelectGamepad(), SelectUser(), and TryConnect().
|
protected |
|
protected |
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 GetMenuDefaultCharacterData().
|
inlineprotected |
Definition at line 1568 of file game.c.
References g_Game, GetMenuData(), m_CharacterData, and MenuData::RequestGetDefaultCharacterData().
Referenced by DeferredInit(), and StoreLoginDataPrepare().
Returns minimum framerate over last n frames.
| nFrames | The number of frames to find minimum of, up to 64. |
Referenced by GetFPSStats().
|
private |
|
inlineprivate |
Definition at line 1193 of file dayzgame.c.
References m_MissionFolderPath.
|
inlineprivate |
Definition at line 1188 of file dayzgame.c.
References m_MissionPath.
|
inlineprivate |
Definition at line 1239 of file dayzgame.c.
References m_MissionState.
Get name of the p3d file of the given class name.
| class | name of the desired object |
Definition at line 488 of file game.c.
References class_name, g_Game, string::Get(), string::Length(), and string::Substring().
|
private |
Referenced by DayZGame().
|
inlineprotected |
Definition at line 3878 of file dayzgame.c.
References m_CursorDesiredVisibilityScript.
|
private |
Referenced by CloseCombatEffects(), ExplosionEffectsEx(), and FirearmEffects().
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 |
|
private |
Returns list of all objects in sphere "radius" around position "pos".
| pos | |
| radius | |
| objects | output array |
|
private |
Referenced by OnEvent(), OnRespawnEvent(), and OnUpdate().
|
inlineprivate |
Definition at line 948 of file game.c.
References GetPlayers().
|
inlineprotected |
Definition at line 3720 of file dayzgame.c.
References m_PlayerName.
|
protected |
|
private |
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 "..." |
References name.
|
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 |
Referenced by GetPlayerByIndex().
|
private |
Returns the direction where the mouse points, from the camera view.
|
inlineprivate |
Definition at line 1208 of file dayzgame.c.
References m_postUpdateQueue.
Referenced by OnPostUpdate().
|
inlineprotected |
|
inlineprotected |
Definition at line 3821 of file dayzgame.c.
References m_PreviousEVValue.
|
inlineprotected |
Definition at line 2430 of file dayzgame.c.
References m_PreviousGamepad.
|
inlineprivate |
Definition at line 1251 of file dayzgame.c.
References m_DayZProfileOptions.
Referenced by GetProfileOptionBool().
|
inlineprivate |
Definition at line 1256 of file dayzgame.c.
References GetProfileOption().
|
inlineprivate |
Definition at line 1271 of file dayzgame.c.
References m_DayZProfileOptions.
Referenced by GetProfileOptionDefaultBool().
|
inlineprivate |
Definition at line 1276 of file dayzgame.c.
References GetProfileOptionDefault().
|
inlineprivate |
Definition at line 1286 of file dayzgame.c.
References m_DayZProfileOptions.
|
inlineprivate |
Definition at line 1281 of file dayzgame.c.
References m_DayZProfileOptions.
|
inlineprivate |
Definition at line 1266 of file dayzgame.c.
References m_DayZProfileOptions.
|
inlineprivate |
Definition at line 1261 of file dayzgame.c.
References m_DayZProfileOptions.
|
inlineprivate |
Definition at line 1311 of file dayzgame.c.
References m_DayZProfileOptions.
Gets string from profile variable.
| name | of the variable |
| value | output value |
References name.
|
private |
Gets array of strings from profile variable.
| name | of the variable |
| values | output values usage: g_Game.GetProfileStringList("lastInventory", lastInventoryArray);
|
References name.
Referenced by 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.
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.
|
private |
Referenced by DeferredInit().
|
protected |
API for surface detection.
Definition at line 1234 of file game.c.
References ConfigGetText().
Returns tilt of the ground on the given position in degrees, so you can use this value to rotate any item according to terrain.
Definition at line 1216 of file game.c.
References g_Game, vector::VectorToAngles(), and x.
|
private |
Returns current time from start of the game.
|
protected |
returns mission time in milliseconds
|
inlineprivate |
|
inlineprotected |
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 CheckDialogs(), Connect(), EnterLoginQueue(), EnterLoginTime(), GamepadCheck(), IsInventoryOpen(), LoadProgressUpdate(), OnLoginTimeEvent(), OnRespawnEvent(), RefreshMouseCursorVisibility(), SelectGamepad(), SetDatabaseID(), UpdateInputDeviceDisconnectWarning(), and UpdateLoginQueue().
|
inlineprivate |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
Definition at line 3751 of file dayzgame.c.
References Class::CastTo(), and GameOptions::GetOptionByType().
Referenced by DeferredInit(), and SelectGamepad().
|
protected |
Referenced by ConnectLaunch(), GamepadCheck(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), OnLoginTimeEvent(), SelectGamepad(), and SelectUser().
|
private |
Get voice level of VoN (on both client and server) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2).
Get the nearest water or object surface under a point, ignoring land (without the fake wave that's on top of the real wave).
Get the nearest water or object surface under a point, ignoring land (with the fake wave that's on top of the real wave).
|
protected |
Returns weather controller object.
Referenced by OnUpdate().
|
private |
Referenced by CreateTitleScreen().
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 |
Definition at line 1213 of file dayzgame.c.
References m_YieldDataInitInvoker.
|
private |
Clear the gizmo.
|
private |
Clear all gizmos.
Returned index is invalid if any other Gizmo function is called.
|
private |
Return the number of gizmos.
Return the instance passed in for the gizmo.
Return the tracker passed in for the gizmo.
|
private |
Applies impulses to set the position when dynamic, otherwise sets the transform in the physics scene.
Tracker for 'GizmoFind' is the passed in object
|
private |
|
private |
Scripted controls, requires the following methods to be implemented in the class void Gizmo_SetWorldTransform(vector[4] transform, bool finalize) void Gizmo_GetWorldTransform(vector[4] transform).
Tracker for 'GizmoFind' is the passed in instance
|
inlineprivate |
Definition at line 1123 of file dayzgame.c.
References GetCEApi(), m_FoodDecayModifier, m_IsWorldWetTempUpdateEnabled, MIN, and ObjectSpawnerHandler::OnGameplayDataHandlerLoad().
Referenced by DayZGame().
|
private |
|
inlineprotected |
Definition at line 3710 of file dayzgame.c.
References m_OriginalCharactersCount.
|
protected |
Initialization of damage effects.
|
inlineprotected |
Definition at line 2119 of file dayzgame.c.
References NotificationSystem::InitInstance(), and m_Notifications.
Referenced by OnInitialize().
|
inlineprivate |
Definition at line 1321 of file dayzgame.c.
References m_AimLoggingEnabled.
|
private |
Returns if the application is focused on PC, returns true always on console.
Referenced by RefreshMouseCursorVisibility().
|
protected |
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
|
protected |
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 otherwise
|
protected |
|
protected |
Referenced by OnUpdate().
|
inlineprotected |
Definition at line 3404 of file dayzgame.c.
References m_IsConnecting.
|
protected |
|
inlineprotected |
Definition at line 1152 of file game.c.
References IsServer(), and m_DebugMonitorEnabled.
|
protected |
Robust check which is preferred than the above, as it is valid much sooner.
Referenced by CGame().
|
inlinestaticprotected |
Definition at line 1136 of file game.c.
References OnlineServices::IsGameActive().
|
inlineprotected |
Definition at line 3845 of file dayzgame.c.
References GetFoodDecayModifier().
|
private |
Returns whether user is currently in a voice party (currently only supported on xbox).
|
inlineprivate |
Definition at line 1357 of file dayzgame.c.
References GetUIManager(), and MENU_INVENTORY.
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 Definition at line 1412 of file game.c.
References ConfigGetFullPath(), and string::ToLower().
Referenced by DayZGame().
|
inlineprotected |
Definition at line 2798 of file dayzgame.c.
References m_IsCtrlHolding.
|
inlineprotected |
|
private |
Returns whether mic is currently capturing audio from user.
|
inlineprotected |
Returns true when current mission is Main Menu.
Definition at line 1563 of file game.c.
References DayZGame(), and g_Game.
|
protected |
Referenced by CGame(), and OnUpdate().
|
private |
Returns the state of the buffer for network inputs (UAInterface).
|
inlineprotected |
Definition at line 3730 of file dayzgame.c.
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.
|
protected |
Referenced by CloseCombatEffects(), ExplosionEffectsEx(), FirearmEffects(), and IsDebugMonitor().
|
inlineprivate |
Definition at line 1316 of file dayzgame.c.
References m_IsStressTest.
Checks if the surface is digable.
Definition at line 1229 of file game.c.
References ConfigGetInt().
Checks if the surface is fertile.
Definition at line 1240 of file game.c.
References ConfigGetInt().
Definition at line 2648 of file dayzgame.c.
References m_Visited.
|
inlineprotected |
Definition at line 3840 of file dayzgame.c.
References m_IsWorldWetTempUpdateEnabled.
|
inlineprotected |
Definition at line 2222 of file dayzgame.c.
References GetCLIParam(), GetUserManager(), BiosUserManager::ParseJoinAsync(), SetGameState(), and SetLoadState().
Referenced by OnInitialize().
|
inlineprotected |
Definition at line 3464 of file dayzgame.c.
References m_CharClassNames.
|
inlineprotected |
|
inlineprotected |
Definition at line 3430 of file dayzgame.c.
References PPEManagerStatic::GetPPEManager(), IsLoading(), m_loading, m_LoadState, and UpdateInputDeviceDisconnectWarning().
Referenced by OnEvent().
|
inlineprotected |
Definition at line 2010 of file dayzgame.c.
References GetUIManager(), m_loading, PROGRESS_FINISH, PROGRESS_PROGRESS, PROGRESS_START, PROGRESS_UPDATE, and UIManager::ScreenFadeOut().
Referenced by OnEvent().
|
private |
Returns actual storage version - loading.
|
inlineprotected |
Definition at line 1910 of file dayzgame.c.
References CancelLoginTimeCountdown(), m_LoginTime, and m_LoginTimeScreen.
Referenced by CancelLoginTimeCountdown(), OnLoginTimeEvent(), and OnRespawnEvent().
|
protected |
|
protected |
Logout methods.
|
inlineprotected |
Definition at line 2272 of file dayzgame.c.
References DeleteTitleScreen(), GetMainMenuWorld(), BiosUserManager::GetTitleInitiator(), GetUserManager(), BiosUserManager::SelectUserEx(), SetGameState(), SetLoadState(), and StartRandomCutscene().
Referenced by DisconnectSessionEx(), and OnInitialize().
|
inlineprotected |
Definition at line 2291 of file dayzgame.c.
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 OnRPC().
|
protected |
set night vission parameters (set to zero when to disable it)
| lightIntensityMul | multiplicator of lights intensity |
| noiseIntensity | intensity of noise PP |
|
private |
|
private |
References name.
References name.
References name.
Returns is object inherited from parent class name.
bool is object inherited from parent class name Definition at line 1465 of file game.c.
References ConfigGetObjectFullPath(), and string::ToLower().
RemoteObjectTreeCreate - postponed registration of network object tree (and creation of remote objects). do not use if not sure what you do.
|
inlineprotected |
Definition at line 2058 of file dayzgame.c.
References RefreshMouseCursorVisibility().
|
inlineprivate |
|
inlineprotected |
Definition at line 2052 of file dayzgame.c.
References Math::Randomize().
|
inlineprivate |
|
inlineprotected |
Definition at line 1761 of file dayzgame.c.
References g_Game, and Hud::SetConnectivityStatIcon().
Referenced by SetConnectivityStatState().
|
inlineprotected |
Definition at line 2064 of file dayzgame.c.
References RefreshMouseCursorVisibility().
|
inlineprivate |
|
inlineprotected |
Definition at line 2941 of file dayzgame.c.
References m_IsCtrlHolding, m_IsLeftAltHolding, m_IsRightAltHolding, and m_IsWinHolding.
|
inlineprivate |
Definition at line 1444 of file dayzgame.c.
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, m_ConnectFromJoin, StatsEventSpawnedData::m_DaytimeHour, m_FirstConnect, StatsEventSpawnedData::m_Lifetime, m_loading, m_LoginTimeScreen, m_Notifications, StatsEventSpawnedData::m_Population, StatsEventSpawnedData::m_Position, StatsEventDisconnectedData::m_Reason, mission, MPConnectionLostEventTypeID, MPSessionEndEventTypeID, MPSessionFailEventTypeID, MPSessionPlayerReadyEventTypeID, MPSessionStartEventTypeID, 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.
|
inlineprivate |
Definition at line 1232 of file dayzgame.c.
|
inlineprotected |
Definition at line 2070 of file dayzgame.c.
References AutoTestLaunch(), ConnectLaunch(), CreateTitleScreen(), GetCLIParam(), GetHUDBrightnessSetting(), GetLoadState(), GetProfileStringList(), InitNotifications(), JoinLaunch(), m_Visited, MainMenuLaunch(), MissionLaunch(), PartyLaunch(), ParticleList::PreloadParticles(), RegisterProfilesOptions(), and SetHudBrightness().
|
inlineprivate |
|
inlineprotected |
Definition at line 2804 of file dayzgame.c.
References GetGizmoApi(), GetMission(), GizmoApi::GetSpaceMode(), GizmoApi::GetTransformMode(), m_IsCtrlHolding, m_IsLeftAltHolding, m_IsRightAltHolding, m_keyboard_handler, mission, RequestExit(), GizmoApi::SetSpaceMode(), and GizmoApi::SetTransformMode().
|
inlineprivate |
|
inlineprotected |
Definition at line 2886 of file dayzgame.c.
References GetMission(), m_IsCtrlHolding, m_IsLeftAltHolding, m_IsRightAltHolding, m_IsWinHolding, m_keyboard_handler, and mission.
|
inlineprivate |
|
inlineprotected |
Definition at line 1872 of file dayzgame.c.
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CancelLoginQueue(), UIManager::CloseAll(), EnterLoginTime(), GetCallQueue(), UIManager::GetMenu(), GetMission(), GetUIManager(), BiosUserManager::GetUserDatabaseIdAsync(), GetUserManager(), LoginTimeCountdown(), m_LoginTime, m_LoginTimeScreen, and UIManager::ShowScriptedMenu().
Referenced by OnEvent().
|
inlineprotected |
Definition at line 2921 of file dayzgame.c.
References GetMission(), and mission.
|
inlineprivate |
|
inlineprotected |
Definition at line 2931 of file dayzgame.c.
References GetMission(), and mission.
|
inlineprivate |
|
inlineprotected |
Definition at line 1989 of file dayzgame.c.
References GetGameState(), SetConnectivityStatState(), and OnlineServices::SetMultiplayState().
Referenced by OnEvent().
Definition at line 3043 of file dayzgame.c.
References CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, GetMission(), GetPostUpdateQueue(), ScriptInvoker::Invoke(), m_loading, m_LoginTimeScreen, mission, and Hud::Update().
|
inlineprotected |
Definition at line 1955 of file dayzgame.c.
References CancelLoginTimeCountdown(), m_LoginTimeScreen, and StoreLoginDataPrepare().
Referenced by OnEvent().
|
inlineprotected |
Definition at line 3528 of file dayzgame.c.
References ECE_DYNAMIC_PERSISTENCY, g_Game, ProjectileStoppedInfo::GetAmmoType(), and ProjectileStoppedInfo::GetPos().
|
inlineprotected |
Definition at line 3574 of file dayzgame.c.
References ARROW_PIERCE_DEPTH, ECE_DYNAMIC_PERSISTENCY, ECE_KEEPHEIGHT, g_Game, ObjectCollisionInfo::GetComponentIndex(), ObjectCollisionInfo::GetHitObj(), ObjectCollisionInfo::GetHitObjPos(), ObjectCollisionInfo::GetHitObjRot(), and vector::Normalize().
|
inlineprotected |
Definition at line 3549 of file dayzgame.c.
References ARROW_PIERCE_DEPTH, ECE_DYNAMIC_PERSISTENCY, ECE_KEEPHEIGHT, g_Game, and vector::Normalize().
|
inlineprotected |
Definition at line 1927 of file dayzgame.c.
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), UIManager::CloseAll(), EnterLoginTime(), GetCallQueue(), UIManager::GetMenu(), GetPlayer(), GetUIManager(), LoginTimeCountdown(), m_LoginTime, m_LoginTimeScreen, and DayZPlayer::StopDeathDarkeningEffect().
Referenced by OnEvent().
|
inlineprotected |
Definition at line 3086 of file dayzgame.c.
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(), DelayedMidAirDetonation(), vector::DistanceSq(), ErrorEx, Event_OnRPC, g_Game, GetCallQueue(), PlayerIdentityBase::GetPlainId(), CrashSoundSets::GetSoundSetByHash(), Math::InverseLerp(), m_ArtySound, m_BillboardSetHandler, m_CrashSound, 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, MIN_ARTY_SOUND_RANGE, MutePlayer(), CfgGameplayHandler::OnRPC(), CfgPlayerRestrictedAreaHandler::OnRPC(), UndergroundAreaLoader::OnRPC(), ParticleManager(), SEffectManager::PlaySound(), Serializer::Read(), EffectSound::SetAutodestroy(), Math::Sqrt(), and vector::Zero.
|
inlineprivate |
Definition at line 2956 of file dayzgame.c.
References CALL_CATEGORY_GAMEPLAY, CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, g_Game, DiagMenu::GetBool(), GetCallQueue(), GetDragQueue(), PlayerIdentityBase::GetInputThrottle(), GetMission(), PlayerIdentityBase::GetOutputThrottle(), PlayerIdentityBase::GetPingAct(), PlayerIdentityBase::GetPingAvg(), GetPlayer(), GetTimerQueue(), GetUpdateQueue(), GetWeather(), ScriptInvoker::Invoke(), IsClient(), IsMultiplayer(), m_DeltaTime, m_IsConnecting, m_loading, m_LoginTimeScreen, m_Notifications, mission, SEffectManager::OnUpdate(), ScriptCallQueue::Tick(), NotificationSystem::Update(), UpdateLoginQueue(), and WorldData::UpdateWeatherEffects().
|
protected |
|
protected |
|
protected |
override inventory light
| diffuse | directional light |
| ambient | ambient light |
| ground | ground light |
| dir | direction of light, Vector(0,0,1) is from camera |
|
inlineprotected |
Definition at line 2258 of file dayzgame.c.
References g_Game, GetCLIParam(), GetMainMenuWorld(), BiosUserManager::ParsePartyAsync(), SetGameState(), SetLoadState(), and StartRandomCutscene().
Referenced by OnInitialize().
|
private |
Starts mission (equivalent for SQF playMission). You MUST use double slash \.
References path.
Referenced by AutoTestLaunch(), MissionLaunch(), 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.
References name.
|
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.
References name.
|
inlineprotected |
Definition at line 2655 of file dayzgame.c.
References OnlineServices::GetCurrentServerInfo(), GetHostAddress(), m_ConnectAddress, and m_ConnectPort.
|
inlineprotected |
Handles app active-ness
Fallback, just in-case
Definition at line 3902 of file dayzgame.c.
References CanDisplayMouseCursor(), GetUIManager(), IsAppActive(), m_CursorDesiredVisibilityScript, 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 |
|
inlineprivate |
Definition at line 1143 of file dayzgame.c.
References ADMIN_CHAT_MSG, DIRECT_CHAT_MSG, ENABLE_BLEEDINGINDICATION, GAME_CHAT_MSG, HUD_BRIGHTNESS, m_DayZProfileOptions, 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 |
Definition at line 1393 of file dayzgame.c.
References CreateMission(), m_MissionPath, 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.
|
private |
RemoteObjectDelete - deletes only remote object (unregisters from network). do not use if not sure what you do.
|
private |
Remove player from reconnect cache.
| uid | of the player |
|
inlineprotected |
Definition at line 1832 of file dayzgame.c.
References m_Notifications.
|
inlinestaticprivate |
Definition at line 1346 of file dayzgame.c.
References m_ReportModded.
|
private |
Sets exit code and quits in the right moment.
Referenced by AutoTestLaunch(), and OnKeyPress().
|
private |
Sets exit code and restart in the right moment.
|
protected |
|
inlineprivate |
Definition at line 1164 of file dayzgame.c.
References m_DayZProfileOptions.
Referenced by SelectGamepad().
|
protected |
|
protected |
|
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);
g_Game.RPC(player, RPC_LOW_BLOOD_PRESSURE_EFFECT, params);
// or shortcut
g_Game.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;
}
}
}
override void OnRPC(PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) Definition dayzgame.c:3086 Definition playerbaseclient.c:2 proto bool Read(void value_in) |
Not actually an RPC, as it will send it only to yourself.
|
private |
see CGame.RPC
|
private |
Saves profile on disk.
Referenced by AddVisitedServer().
|
private |
Returns actual storage version - saving.
|
private |
|
inlineprotected |
Definition at line 2485 of file dayzgame.c.
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 |
|
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 |
|
inlineprotected |
Definition at line 2338 of file dayzgame.c.
References g_Game, GamepadCheck(), Input::GetGamepadUser(), GetInput(), GetLoadState(), BiosUserManager::GetSelectedUser(), GetUserManager(), 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 |
Server config parsing. Returns 0 if not found.
References name.
|
inlineprotected |
Returns true when connecting to server.
Definition at line 3399 of file dayzgame.c.
References m_IsConnecting.
|
inlineprivate |
Definition at line 1750 of file dayzgame.c.
References m_ConnectivityStatsStates, and OnConnectivityStatChange().
Referenced by OnEvent(), and OnMPConnectionLostEvent().
|
inlineprotected |
Definition at line 2144 of file dayzgame.c.
References UIManager::GetMenu(), GetUIManager(), m_DatabaseID, and UIScriptedMenu::Refresh().
|
inlineprotected |
Definition at line 1147 of file game.c.
References m_DebugMonitorEnabled.
|
private |
Set debug draw mode.
Set specific debug mode.
|
protected |
Sets custom camera camera EV. range: -50.0..50.0? //TODO.
Referenced by SetEVValue().
|
inlineprotected |
Definition at line 3809 of file dayzgame.c.
References m_EVValue, m_PreviousEVValue, and SetEVUser().
|
inlineprivate |
Definition at line 1326 of file dayzgame.c.
References m_GameState.
Referenced by ConnectLaunch(), DisconnectSessionEx(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), PartyLaunch(), and TryConnect().
|
inlineprotected |
Definition at line 3778 of file dayzgame.c.
Referenced by OnInitialize().
|
inlineprotected |
Definition at line 3416 of file dayzgame.c.
References m_keyboard_handler.
|
inlineprivate |
Definition at line 1336 of file dayzgame.c.
References m_LoadState.
Referenced by ConnectLaunch(), DisconnectSessionEx(), JoinLaunch(), MainMenuLaunch(), MissionLaunch(), OnEvent(), PartyLaunch(), SelectGamepad(), and SelectUser().
|
protected |
|
protected |
Referenced by DayZGame().
|
inlineprivate |
Called from C++.
Definition at line 1172 of file dayzgame.c.
References m_MissionFolderPath, m_MissionPath, and path.
|
inlineprivate |
Definition at line 1245 of file dayzgame.c.
References m_MissionState.
|
inlineprotected |
Definition at line 3871 of file dayzgame.c.
References m_CursorDesiredVisibilityScript, and RefreshMouseCursorVisibility().
|
inlineprotected |
Definition at line 3725 of file dayzgame.c.
References m_IsNewCharacter.
|
inlineprotected |
Definition at line 3715 of file dayzgame.c.
References m_PlayerName, and name.
Referenced by SelectGamepad().
|
private |
|
inlineprotected |
Definition at line 2425 of file dayzgame.c.
References m_PreviousGamepad.
|
inlineprivate |
Definition at line 1291 of file dayzgame.c.
References m_DayZProfileOptions.
Referenced by SetProfileOptionBool().
|
inlineprivate |
Definition at line 1296 of file dayzgame.c.
References SetProfileOption().
|
inlineprivate |
Definition at line 1306 of file dayzgame.c.
References m_DayZProfileOptions.
|
inlineprivate |
Definition at line 1301 of file dayzgame.c.
References m_DayZProfileOptions.
|
private |
Sets array of strings to profile variable.
| name | of the variable |
| values | to set |
References name.
Referenced by AddVisitedServer().
|
inlineprotected |
Enable/disable VoN effect (only on server).
| player | in question |
| voice | effect (VoiceEffectMumbling = 1, VoiceEffectExtortion = 2, VoiceEffectObstruction = 4) |
| enable | or disable effect |
|
private |
Set voice level of VoN (only on client) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1, VoiceLevelShout = 2).
| level | of voice |
|
inlineprotected |
Definition at line 2201 of file dayzgame.c.
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().
|
inlineprotected |
Definition at line 1967 of file dayzgame.c.
References GetMenuDefaultCharacterData(), ScriptReadWriteContext::GetWriteContext(), MenuDefaultCharacterData::SerializeCharacterData(), and StoreLoginData().
Referenced by OnPreloadEvent().
|
protected |
Referenced by CloseCombatEffects(), and FirearmEffects().
|
protected |
|
protected |
|
protected |
|
protected |
Get current sea wave height.
|
protected |
Get max sea wave height.
Returns: Y position the surface was found.
References x.
|
protected |
References x.
Referenced by GetHighestSurfaceYDifference().
|
protected |
Referenced by SurfaceUnderObjectCorrectedLiquid().
|
protected |
Referenced by SurfaceUnderObjectByBoneCorrectedLiquid().
|
inlineprotected |
Definition at line 1266 of file game.c.
References CorrectLiquidType(), and SurfaceUnderObjectByBone().
|
inlineprotected |
Definition at line 1256 of file game.c.
References CorrectLiquidType(), and SurfaceUnderObject().
|
protected |
Referenced by SurfaceUnderObjectExCorrectedLiquid().
|
inlineprotected |
Definition at line 1261 of file game.c.
References CorrectLiquidType(), and SurfaceUnderObjectEx().
|
inlineprotected |
Definition at line 2550 of file dayzgame.c.
References Connect(), ConnectFromCLI(), DisconnectSessionForce(), DisconnectSessionScript(), GetGameState(), GetHostAddress(), GetLoadState(), OnlineServices::GetSession(), m_ConnectAddress, m_ConnectPort, SetGameState(), ErrorModuleHandler::ThrowError(), and TryConnect().
Referenced by TryConnect().
|
inlineprotected |
Definition at line 2206 of file dayzgame.c.
References Input::AreAllAllowedInputDevicesActive(), ScriptCallQueue::Call(), CALL_CATEGORY_GUI, GetCallQueue(), GetInput(), GetUIManager(), m_ShouldShowControllerDisconnect, and MENU_WARNING_INPUTDEVICE_DISCONNECT.
Referenced by LoadingHide(), and OnEvent().
|
inlineprotected |
Display login queue position dialog
manually update static login queue dialog
Definition at line 1838 of file dayzgame.c.
References UIManager::CloseAll(), EnterLoginQueue(), UIManager::GetLoginQueuePosition(), UIManager::GetMenu(), GetMission(), GetUIManager(), m_LoginQueue, and UIManager::ShowScriptedMenu().
Referenced by OnUpdate().
Referenced by UpdatePathgraphRegionByObject().
|
inlineprotected |
Definition at line 1272 of file game.c.
References UpdatePathgraphRegion(), and Vector().
|
private |
Updates spectator position on server = position of network bubble.
| position |
|
inlineprotected |
Definition at line 3705 of file dayzgame.c.
References GetMission(), and Mission::UpdateVoiceLevelWidgets().
|
protected |
Definition at line 3546 of file dayzgame.c.
Referenced by OnProjectileStoppedInObject(), and OnProjectileStoppedInTerrain().
|
staticprivate |
Definition at line 970 of file dayzgame.c.
Referenced by OnRPC().
|
private |
|
private |
Definition at line 942 of file dayzgame.c.
Referenced by DayZGame(), and IsAimLogEnabled().
|
staticprivate |
Definition at line 968 of file dayzgame.c.
Referenced by ExplosionEffects().
|
private |
Definition at line 19 of file game.c.
Referenced by CGame(), and GetAnalyticsClient().
|
private |
Definition at line 18 of file game.c.
Referenced by CGame(), and GetAnalyticsServer().
|
private |
Definition at line 981 of file dayzgame.c.
Referenced by OnRPC().
|
protected |
Definition at line 899 of file dayzgame.c.
Referenced by AutoTestLaunch().
|
private |
Definition at line 972 of file dayzgame.c.
Referenced by DayZGame(), and GetBacklit().
|
protected |
Definition at line 893 of file dayzgame.c.
Referenced by GetBillboardHandler(), and OnRPC().
|
private |
Definition at line 920 of file dayzgame.c.
Referenced by DayZGame(), and GetCallQueue().
|
private |
Definition at line 20 of file game.c.
Referenced by GetMenuDefaultCharacterData().
Definition at line 974 of file dayzgame.c.
Referenced by CreateDefaultPlayer(), CreateRandomPlayer(), DayZGame(), and ListAvailableCharacters().
|
protected |
Definition at line 2131 of file dayzgame.c.
Referenced by Connect(), ConnectFromCLI(), ConnectFromJoin(), ConnectFromServerBrowser(), RefreshCurrentServerInfo(), and TryConnect().
Definition at line 975 of file dayzgame.c.
Referenced by GetConnectedInputDeviceList().
|
private |
Definition at line 947 of file dayzgame.c.
Referenced by ConnectFromCLI(), ConnectFromJoin(), ConnectFromServerBrowser(), DayZGame(), and OnEvent().
|
private |
Definition at line 918 of file dayzgame.c.
|
private |
Definition at line 902 of file dayzgame.c.
Referenced by ClearConnectivityStates(), and SetConnectivityStatState().
|
protected |
Definition at line 2134 of file dayzgame.c.
Referenced by Connect(), ConnectFromCLI(), and ConnectFromServerBrowser().
|
protected |
Definition at line 2132 of file dayzgame.c.
Referenced by Connect(), ConnectFromCLI(), ConnectFromJoin(), ConnectFromServerBrowser(), RefreshCurrentServerInfo(), and TryConnect().
|
protected |
Definition at line 2133 of file dayzgame.c.
Referenced by Connect(), and ConnectFromServerBrowserEx().
|
private |
Definition at line 978 of file dayzgame.c.
Referenced by OnRPC().
|
private |
Definition at line 949 of file dayzgame.c.
Referenced by GetMouseCursorDesiredVisibility(), RefreshMouseCursorVisibility(), and SetMouseCursorDesiredVisibility().
|
protected |
Definition at line 2129 of file dayzgame.c.
Referenced by GetDatabaseID(), and SetDatabaseID().
|
private |
Definition at line 925 of file dayzgame.c.
Referenced by DayZGame(), GetProfileOption(), GetProfileOptionDefault(), GetProfileOptionDefaultFloat(), GetProfileOptionDefaultInt(), GetProfileOptionFloat(), GetProfileOptionInt(), GetProfileOptionMap(), RegisterProfilesOptions(), ResetProfileOptions(), SetProfileOption(), SetProfileOptionFloat(), and SetProfileOptionInt().
|
private |
Definition at line 10 of file game.c.
Referenced by IsDebugMonitor(), and SetDebugMonitorEnabled().
|
private |
Definition at line 953 of file dayzgame.c.
Referenced by GetDeltaT(), and OnUpdate().
|
private |
Definition at line 923 of file dayzgame.c.
Referenced by DayZGame(), and GetDragQueue().
|
private |
Definition at line 926 of file dayzgame.c.
Referenced by DayZGame(), and EarlyAccessDialog().
|
private |
Definition at line 962 of file dayzgame.c.
Referenced by GetCurrentEVValue(), and SetEVValue().
|
protected |
Definition at line 910 of file dayzgame.c.
Referenced by OnEvent().
|
private |
Definition at line 938 of file dayzgame.c.
Referenced by GetFoodDecayModifier(), and GlobalsInit().
|
protected |
Definition at line 2126 of file dayzgame.c.
|
protected |
Definition at line 907 of file dayzgame.c.
Referenced by GetGameState(), and SetGameState().
|
protected |
Definition at line 2125 of file dayzgame.c.
Referenced by CreateTitleScreen(), DeleteTitleScreen(), and GamepadCheck().
|
private |
Definition at line 946 of file dayzgame.c.
Referenced by DayZGame(), IsConnecting(), OnUpdate(), and SetConnecting().
|
private |
Definition at line 931 of file dayzgame.c.
Referenced by IsLeftCtrlDown(), OnDeviceReset(), OnKeyPress(), and OnKeyRelease().
|
private |
Definition at line 937 of file dayzgame.c.
|
private |
Definition at line 933 of file dayzgame.c.
Referenced by OnDeviceReset(), OnKeyPress(), and OnKeyRelease().
|
private |
Definition at line 945 of file dayzgame.c.
Referenced by IsNewCharacter(), and SetNewCharacter().
|
private |
Definition at line 934 of file dayzgame.c.
Referenced by OnDeviceReset(), OnKeyPress(), and OnKeyRelease().
|
private |
Definition at line 941 of file dayzgame.c.
Referenced by DayZGame(), and IsStressTest().
|
private |
Definition at line 932 of file dayzgame.c.
Referenced by OnDeviceReset(), and OnKeyRelease().
|
private |
Definition at line 936 of file dayzgame.c.
Referenced by GlobalsInit(), and IsWorldWetTempUpdateEnabled().
|
private |
Definition at line 927 of file dayzgame.c.
Referenced by DayZGame(), OnKeyPress(), OnKeyRelease(), and SetKeyboardHandle().
|
protected |
Definition at line 913 of file dayzgame.c.
Referenced by CheckDialogs(), DayZGame(), IsLoading(), LoadingHide(), LoadingShow(), LoadProgressUpdate(), OnEvent(), OnPostUpdate(), and OnUpdate().
|
protected |
Definition at line 908 of file dayzgame.c.
Referenced by GetLoadState(), LoadingHide(), and SetLoadState().
|
private |
Definition at line 915 of file dayzgame.c.
Referenced by CancelLoginQueue(), EnterLoginQueue(), and UpdateLoginQueue().
|
private |
Definition at line 916 of file dayzgame.c.
Referenced by DayZGame(), LoginTimeCountdown(), OnLoginTimeEvent(), and OnRespawnEvent().
|
private |
Definition at line 914 of file dayzgame.c.
Referenced by CancelLoginTimeCountdown(), EnterLoginTime(), LoginTimeCountdown(), OnEvent(), OnLoginTimeEvent(), OnPostUpdate(), OnPreloadEvent(), OnRespawnEvent(), and OnUpdate().
|
private |
Definition at line 928 of file dayzgame.c.
|
private |
Definition at line 930 of file dayzgame.c.
Referenced by GetMissionFolderPath(), and SetMissionPath().
|
private |
Definition at line 929 of file dayzgame.c.
Referenced by GetMissionPath(), ReloadMission(), and SetMissionPath().
|
private |
Definition at line 904 of file dayzgame.c.
Referenced by DayZGame(), GetMissionState(), and SetMissionState().
|
staticprivate |
Definition at line 984 of file dayzgame.c.
Referenced by CloseCombatEffects(), ExplosionEffectsEx(), and FirearmEffects().
|
protected |
Definition at line 909 of file dayzgame.c.
Referenced by AddVoiceNotification(), InitNotifications(), OnEvent(), OnUpdate(), and RemoveVoiceNotification().
|
private |
Definition at line 943 of file dayzgame.c.
Referenced by InitCharacterMenuDataInfo().
|
private |
Definition at line 944 of file dayzgame.c.
Referenced by GetPlayerGameName(), and SetPlayerGameName().
|
private |
Definition at line 922 of file dayzgame.c.
Referenced by DayZGame(), and GetPostUpdateQueue().
|
protected |
Definition at line 2127 of file dayzgame.c.
|
private |
Definition at line 961 of file dayzgame.c.
Referenced by GetPreviousEVValue(), and SetEVValue().
|
private |
Definition at line 950 of file dayzgame.c.
Referenced by GetPreviousGamepad(), and SetPreviousGamepad().
|
staticprivate |
Definition at line 940 of file dayzgame.c.
Referenced by DayZGame(), and ReportModded().
|
private |
Definition at line 948 of file dayzgame.c.
Referenced by ShouldShowControllerDisconnect(), and UpdateInputDeviceDisconnectWarning().
|
staticprivate |
Definition at line 985 of file dayzgame.c.
|
private |
Definition at line 919 of file dayzgame.c.
Referenced by DayZGame(), and GetTimerQueue().
|
private |
Definition at line 921 of file dayzgame.c.
Referenced by DayZGame(), and GetUpdateQueue().
|
private |
Definition at line 951 of file dayzgame.c.
Referenced by DeferredInit(), GetUserFOV(), and SetUserFOV().
|
protected |
Definition at line 2137 of file dayzgame.c.
Referenced by AddVisitedServer(), GetLastVisitedServer(), IsVisited(), and OnInitialize().
|
private |
Definition at line 957 of file dayzgame.c.
Referenced by DeferredInit().
|
private |
Definition at line 959 of file dayzgame.c.
Referenced by DeferredInit().
|
private |
Definition at line 955 of file dayzgame.c.
Referenced by DeferredInit().
|
private |
Definition at line 956 of file dayzgame.c.
Referenced by DeferredInit().
|
private |
Definition at line 958 of file dayzgame.c.
Referenced by DeferredInit().
|
private |
Definition at line 924 of file dayzgame.c.
Referenced by GetYieldDataInitInvoker().
|
protected |
Definition at line 2136 of file dayzgame.c.
Referenced by AddVisitedServer().
|
private |
Definition at line 982 of file dayzgame.c.
Referenced by OnRPC().
|
protected |
Definition at line 897 of file dayzgame.c.
|
protected |
Definition at line 896 of file dayzgame.c.
Referenced by DayZGame().
|
protected |
Definition at line 895 of file dayzgame.c.
|
private |
Definition at line 901 of file dayzgame.c.
Referenced by ClearConnectivityStates().