Global functions

283 global function(s) in the client realm.

Signature
static void MPDisplayNarrationEventEntry(string text, float duration, Color color)RTTI global
static PlayerPuppet? GetPlayer(ScriptGameInstance gameInstance)RTTI global
static bool UnicodeStringLessThan(string str, string str2)RTTI global
static string ModifierTypeToString(game.StatModifierType type)RTTI global
static ent.RagdollActivationRequestEvent? CreateForceRagdollNoPowerPoseEvent(CName debugSourceName)RTTI global
static bool PreviewConfig_DisableTurrets()RTTI global
static void KillAll_NonExec(ScriptGameInstance gameInstance, PlayerPuppet player, string radiusStr)RTTI global
static string BoolToString(bool value)RTTI global
static float ExpF(float a)RTTI global
static float AngleNormalize(float a)RTTI global
static List StrSplit(string str, string divider, bool includeEmpty)RTTI global
static game.TargetSearchQuery TSQ_EnemyNPC()RTTI global
static void Debug_WeaponSpread_Set(ScriptGameInstance gameInstance, bool useCircularDistribution, bool useEvenDistribution, int rowCount, int projectilesPerShot)RTTI global
static string StrUpper(string str)RTTI global
static void IntToInt8()RTTI global
static void GetQueryMask()RTTI global
static string GetPlatformShortName()RTTI global
static ent.EntityID EMPTY_ENTITY_ID()RTTI global
static void Trace()RTTI global
static game.InventoryItemData EmptyInventoryItemData()RTTI global
static bool ProcessCompareInt(EComparisonType comparator, int valA, int valB)RTTI global
static void MPDisplayWarningMessage(float duration, string message, bool display)RTTI global
static float CosF(float a)RTTI global
static void GetQueryMaskNONE()RTTI global
static int CeilF(float a)RTTI global
static string GetLocalizedItemNameByString(CName hashKey)RTTI global
static bool ProcessCompare(EComparisonType comparator, float valA, float valB)RTTI global
static int RandRange(int min, int max)RTTI global
static string GetLocalizedTextGanderDepened(string textKey, bool variantIsFemale)RTTI global
static ScriptGameInstance GetGameInstance()RTTI global
static bool ReportFailure(string message)RTTI global
static void MPEquipWeapon(game.ItemID itemID, int QuickslotID)RTTI global
static string StrBeforeFirst(string str, string match)RTTI global
static void AIInstantiateObject()RTTI global
static void DebugDevices(ScriptGameInstance gameInstance, bool shouldDebug)RTTI global
static ent.RagdollActivationRequestEvent? CreateRagdollActivationRequestEvent(ent.ragdoll.ActivationRequestType activationType, CName filterDataOverride, bool applyPowerPose, bool applyMomentum, CName debugSourceName)RTTI global
static void InitializeScripts()RTTI global
static float AngleApproach(float target, float cur, float step)RTTI global
static void RepResetTimeDilation()RTTI global
static float StringToFloat(string value, float defValue)RTTI global
static int StrFindFirst(string str, string match)RTTI global
static void SendInputHintData(ScriptGameInstance context, bool show, game.ui.InputHintData data, CName targetHintContainer)RTTI global
static float ModF(float a, float b)RTTI global
static CName StringToName(string str)RTTI global
static bool CanLog()RTTI global
static bool GetLookAtStatus(anim.LookAtStatus status, float currentStatus)RTTI global
static string ColorToHexString(Color value)RTTI global
static bool IsNodeRefDefined(NodeRef id)RTTI global
static world.GlobalNodeRef ResolveNodeRefWithEntityID(NodeRef id, ent.EntityID context)RTTI global
static string GetLocalizedTextByKey(CName hashKey)RTTI global
static float RandRangeF(float min, float max)RTTI global
static bool CompareArrayNameContents(CName[] arr1, CName[] arr2)RTTI global
static game.ActionAnimationSlideParams GetActionAnimationSlideParams(game.data.AIActionSlideData_Record slideRecord)RTTI global
static bool IsServer()RTTI global
static void LogChannel()RTTI global
static int StrCmp(string str, string with, int length, bool noCase)RTTI global
static bool IsLanguageVoicePackInstalled(CName language)RTTI global
static void Kill_NonExec(ScriptGameInstance gi, PlayerPuppet player)RTTI global
static int[] ArraySortReverse(int[] arr)RTTI global
static bool IsMultiplayer()RTTI global
static void GetQueryMaskAll()RTTI global
static bool BasicAvailabilityTest(ScriptableDeviceComponentPS device)RTTI global
static string StrLeft(string str, int length)RTTI global
static void DebugBreak()RTTI global
static void RequestInstallLanguagePackDialog(CName language)RTTI global
static void LogWarning()RTTI global
static bool StrEndsWith(string str, string match)RTTI global
static void RepDecreaseGlobalTimeDilation()RTTI global
static string FloatToString(float value)RTTI global
static void PropagateDebugHitInformations(game.HitDetectionDebugFrameData[] hitDebugInfos)RTTI global
static bool IsFriendlyTowardsPlayer(WeakHandle<game.Object> objectt)RTTI global
static game.TargetSearchFilter TSF_All(game.targeting.SystemSearchFilterMaskValue mask)RTTI global
static float RandPerlinNoiseF(int seed, float offset)RTTI global
static game.bb.AllScriptDefinitions? GetAllBlackboardDefs()RTTI global
static string GetLocalizedText(string textKey)RTTI global
static int PocketRadioRestrictionCount()RTTI global
static float LerpAngleF(float alpha, float a, float b)RTTI global
static void GameTimeIntervalContainsTime()RTTI global
static string StrLower(string str)RTTI global
static float MaxF(float a, float b)RTTI global
static float AbsF(float a)RTTI global
static game.TargetSearchFilter TSF_Or(game.TargetSearchFilter tsf1, game.TargetSearchFilter tsf2, game.TargetSearchFilter tsf3, game.TargetSearchFilter tsf4)RTTI global
static string IntToString(int value)RTTI global
static game.TargetSearchFilter TSF_NPC()RTTI global
static long GetDamageSystemLogFlags()RTTI global
static bool GetGameObjectFromEntityReference(game.EntityReference reference, ScriptGameInstance gameInstance, WeakHandle<game.Object> target)RTTI global
static bool IsStringNumber(string value)RTTI global
static game.DelayID GetInvalidDelayID()RTTI global
static void ApplyStatPoolModifier(ScriptGameInstance gi, string statPoolTypeString, float rangeBegin, float rangeEnd, float startDelay, float valuePerSec, bool delayOnChange, game.StatPoolModificationTypes statPoolModType)RTTI global
static int RandDifferent(int lastValue, int range)RTTI global
static int GetItemTypeFromContext(AIbehaviorScriptExecutionContext context)RTTI global
static int UnicodeStringCompare(string str, string str2)RTTI global
static float HalfPi()RTTI global
static game.TargetSearchFilter TSF_EnemyNPC()RTTI global
static float SqrtF(float a)RTTI global
static EPreventionHeatStage IntToEPreventionHeatStage(int index)RTTI global
static string VectorToString(Vector4 vec)RTTI global
static CName GetRadioStationLocalizedName(uint radioStation)RTTI global
static float ReinterpretIntAsFloat(int a)RTTI global
static float MinF(float a, float b)RTTI global
static bool StrSplitFirst(string str, string divider, string left, string right)RTTI global
static ink.WidgetPath BuildWidgetPath(CName[] names)RTTI global
static float RandF()RTTI global
static game.TelemetryInventoryItem ToTelemetryInventoryItem(game.InventoryItemData inventoryItemData)RTTI global
static void FTLogWarning(string value)RTTI global
static game.TargetSearchQuery TSQ_ALL()RTTI global
static int GetFact(ScriptGameInstance game, CName factName)RTTI global
static game.InventoryItemData ToInventoryItemData(WeakHandle<game.Object> owner, game.ItemID itemID)RTTI global
static float LogF(float a)RTTI global
static void GetFixedEntityIdsFromSpawnerEntityID(ent.EntityID entityID, CName[] communityEntryNames, ScriptGameInstance gameInstance, ent.EntityID[] outEntityIds)RTTI global
static string NoTrailZeros(string str)RTTI global
static float RandNoiseF(int seed, float max, float min)RTTI global
static void RefreshSettings()RTTI global
static game.TargetSearchQuery TSQ_NPC()RTTI global
static string StrChar(int i)RTTI global
static bool StrSplitLast(string str, string divider, string left, string right)RTTI global
static uint GetInvalidVisionBlockerID()RTTI global
static CName[] GetNotSavableClasses()RTTI global
static void EquipPickableItemOnClient(game.ItemID itemID, int quickSlotID)RTTI global
static int Max(int a, int b)RTTI global
static TDBID StatsEffectsEnumToTDBID(int statsEffectsEnum)RTTI global
static float RoundTo(float f, int decimall)RTTI global
static game.TelemetryEnemy ToTelemetryEnemy(WeakHandle<game.Object> target)RTTI global
static float AtanF(float a, float b)RTTI global
static void ServerAddPingTarget(game.PingEntry pingEntry)RTTI global
static void ParseNodeRef()RTTI global
static void DebugGiveHotkeys(ScriptGameInstance gameInstance)RTTI global
static void Rand()RTTI global
static sense.VisionBlockerTypeFlags GetIgnoredVisionBlockerTypes(ScriptGameInstance game, game.StatsObjectID objID)RTTI global
static float Pi()RTTI global
static long EnumGetMax(CName type)RTTI global
static void GetGameObjectsFromSpawnerEntityID(ent.EntityID entityID, CName[] communityEntryNames, ScriptGameInstance gameInstance, game.Object[] outGameObjects)RTTI global
static void ActivateTickForTransformAnimator(ent.EntityID entityID, CName componentName, bool activate)RTTI global
static int Abs(int a)RTTI global
static void MPDisplayOnscreenMessage(float duration, string message, bool display)RTTI global
static ink.WidgetsSet? SelectWidgets(ink.Widget widget, ink.SelectionRule selectionRule, string param)RTTI global
static game.TargetSearchFilter TSF_Any(game.targeting.SystemSearchFilterMaskValue mask)RTTI global
static float GetLookAtLimitDistanceValue(anim.LookAtLimitDistanceType limitType)RTTI global
static long EnumValueFromName(CName enumName, CName enumValue)RTTI global
static int RoundF(float a)RTTI global
static EulerAngles GetOppositeRotation180(EulerAngles rot)RTTI global
static void Log()RTTI global
static ink.anim.PlaybackOptions GetAnimOptionsInfiniteLoop(ink.anim.LoopType loopType)RTTI global
static void UseProfiler()RTTI global
static int CalcSeed(IScriptable objectt)RTTI global
static float GetLookAtLimitDegreesValue(anim.LookAtLimitDegreesType limitType)RTTI global
static string StrMid(string str, int first, int length)RTTI global
static int Min(int a, int b)RTTI global
static void PvdClientConnect(string server)RTTI global
static void ProgressMultipleAchievementsImpl(ScriptGameInstance gameInstance, string achievementId, string achievementCount, string baseProgressString, string intervalString)RTTI global
static bool IsHostileTowardsPlayer(WeakHandle<game.Object> objectt)RTTI global
static bool IsClient()RTTI global
static string StrBeforeLast(string str, string match)RTTI global
static RectF GetScreenPosition(WeakHandle<ink.Widget> widget)RTTI global
static bool GetImmortality(game.Object gameObject, game.GodModeType type)RTTI global
static void IntToUint64()RTTI global
static game.TargetSearchFilter TSF_Not(game.targeting.SystemSearchFilterMaskValue mask)RTTI global
static float SqrF(float a)RTTI global
static float AngleNormalize180(float a)RTTI global
static void RepTeleportPlayer(WeakHandle<game.Object> player, Vector3 pos, EulerAngles rot)RTTI global
static int StrLen(string str)RTTI global
static bool IsStringValid(string n)RTTI global
static void ArraySortInts()RTTI global
static string EnumValueToString(string enumStr, long enumValue)RTTI global
static world.GlobalNodeRef ResolveNodeRef(NodeRef id, world.GlobalNodeRef context)RTTI global
static void RepDecreasePlayerTimeDilation()RTTI global
static void Uint64ToString()RTTI global
static void MPChangeMessageBoxValues(game.PopupData data, game.PopupSettings settings, bool visible)RTTI global
static float ProportionalClampF(float inMin, float inMax, float v, float outMin, float outMax)RTTI global
static string FloatToStringPrec(float value, int precision)RTTI global
static long EnumGetMin(CName type)RTTI global
static bool StringToBool(string s)RTTI global
static bool IsNameValid(CName n)RTTI global
static bool StrBeginsWith(string str, string match)RTTI global
static void Uint64ToInt()RTTI global
static string SpaceFill(string str, int length, ESpaceFillMode mode, string fillChar)RTTI global
static RectF GetFilledUV(Vector2 containerSize, Vector2 contentSize)RTTI global
static ent.RagdollApplyImpulseEvent? CreateRagdollApplyImpulseEvent(Vector4 worldPos, Vector4 imuplseVal, float influenceRadius)RTTI global
static float TanF(float a)RTTI global
static bool UnicodeStringEqual(string str, string str2)RTTI global
static Vector2 GetDisplaySize(Vector2 wrapperSize, Vector2 frameSize)RTTI global
static void SortHandleWithValueArray(script.OptimizationsHandleWithValue[] arr)RTTI global
static string StrReplace(string str, string match, string with)RTTI global
static bool IsEntityInInteriorArea(WeakHandle<ent.Entity> entity)RTTI global
static bool Compare(ECompareOp comparator, int val1, int val2)RTTI global
static bool IsFinal()RTTI global
static void DumpClassHierarchy()RTTI global
static void AIReleaseObject()RTTI global
static string StrFrontToLower(string str)RTTI global
static float PowF(float a, float x)RTTI global
static float AsinF(float a)RTTI global
static int FloorF(float a)RTTI global
static WeakHandle<vehicle.BaseObject> GetMountedVehicle(game.Object objectt)RTTI global
static void LogChannelWarning()RTTI global
static int StringToInt(string value, int defValue)RTTI global
static float SinF(float a)RTTI global
static bool FloatIsEqual(float f, float to)RTTI global
static bool UnicodeStringLessThanEqual(string str, string str2)RTTI global
static string StringToHex(string str, uint lineLength)RTTI global
static bool IsFastForwardPossibleInVehicle(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTI global
static int UnicodeLength(string str)RTTI global
static string StrReplaceAll(string str, string match, string with)RTTI global
static CName EnumValueToName(CName enumName, long enumValue)RTTI global
static void LoadResourceAsync()RTTI global
static float ClampF(float v, float min, float max)RTTI global
static int[] ArraySort(int[] arr)RTTI global
static void ArmouryEquipWeapon(game.ItemID itemID, int QuickslotID)RTTI global
static float Rad2Deg(float rad)RTTI global
static string LocKeyToString(CName hashKey)RTTI global
static void LogError()RTTI global
static bool SetFactValue(ScriptGameInstance game, CName factName, int factCount)RTTI global
static void RepIncreasePlayerTimeDilation()RTTI global
static bool StrContains(string str, string subStr)RTTI global
static PlayerPuppet? GetMainPlayer(ScriptGameInstance gameInstance)RTTI global
static game.PersistentID CreatePersistentID(ent.EntityID entityID, CName componentName)RTTI global
static void RepIncreaseGlobalTimeDilation()RTTI global
static long EnumValueFromString(string enumStr, string enumValue)RTTI global
static float Deg2Rad(float deg)RTTI global
static void LogChannelError()RTTI global
static void RepToggleGamePause()RTTI global
static void PreloadGameEffectAttackResources(game.data.Attack_GameEffect_Record attackRecord, game.EffectSystem effectSystem)RTTI global
static string GetCaptionTagsFromArray(game.interactions.ChoiceCaptionPart[] argList)RTTI global
static game.TelemetryDamage ToTelemetryDamage(game.events.DamageReceivedEvent evt)RTTI global
static float AcosF(float a)RTTI global
static void FTLogError(string value)RTTI global
static bool AddFact(ScriptGameInstance game, CName factName, int factCount)RTTI global
static bool IsHost()RTTI global
static void MPReplicateComboAttack(Vector4 position, WeakHandle<game.Object> instigator)RTTI global
static int StrFindLast(string str, string match)RTTI global
static bool AreDebugContextsEnabled()RTTI global
static ent.RagdollDisableEvent? CreateDisableRagdollEvent(CName debugSourceName)RTTI global
static string GOGRewardSystemErrorToDisplayString(game.OnlineSystemErrors error)RTTI global
static int Clamp(int v, int min, int max)RTTI global
static float SgnF(float a)RTTI global
static void SwitchPlayerImmortalityMode(ScriptGameInstance gi, game.cheatsystem.Flag cheat)RTTI global
static game.TargetSearchFilter TSF_Quickhackable()RTTI global
static float GetLookAtTransitionSpeed(anim.LookAtStyle style)RTTI global
static string StrAfterLast(string str, string match)RTTI global
static void DebugNPCs_NonExec(ScriptGameInstance gi, string durationStr, string radiusStr, string moveWithPlayerStr)RTTI global
static ent.RagdollActivationRequestEvent? CreateForceRagdollWithCustomFilterDataEvent(CName customFilterData, CName debugSourceName)RTTI global
static game.TargetSearchFilter TSF_And(game.TargetSearchFilter tsf1, game.TargetSearchFilter tsf2, game.TargetSearchFilter tsf3, game.TargetSearchFilter tsf4)RTTI global
static game.EntityReference CreateEntityReference(string nodeRefString, CName[] communityEntryNames)RTTI global
static int RoundFEx(float a)RTTI global
static CName GetRadioStationCurrentTrackName(CName radioReceiverStationName)RTTI global
static void AT_AddATID(WeakHandle<ink.Widget> widget, string atid)RTTI global
static void ReleaseGameEffectAttackResources(game.data.Attack_GameEffect_Record attackRecord, game.EffectSystem effectSystem)RTTI global
static void Int8ToInt()RTTI global
static float AngleDistance(float target, float current)RTTI global
static void PvdFileDumpConnect(string filePath)RTTI global
static string GetLocalizedItemNameByCName(CName hashKey)RTTI global
static bool IsNoInputIconsModeEnabled()RTTI global
static string NameToString(CName n)RTTI global
static game.TelemetryDamageDealt ToTelemetryDamageDealt(game.events.DamageReceivedEvent evt, game.TelemetryDamageSituation situation, float distance, float time)RTTI global
static game.TelemetryDamage ToTelemetryDamage(game.events.TargetDamageEvent evt)RTTI global
static int RoundMath(float f)RTTI global
static void AIInstantiatePrototype()RTTI global
static bool EnsureFailure(string message)RTTI global
static anim.LookAtLimits GetLookAtLimits(anim.LookAtLimitDegreesType softLimitDegreesType, anim.LookAtLimitDegreesType hardLimitDegreesType, anim.LookAtLimitDistanceType hardLimitDistanceType, anim.LookAtLimitDegreesType backLimitDegreesType)RTTI global
static int GetPSGeneratorVersion()RTTI global
static bool IsSingleplayer()RTTI global
static string StrAfterFirst(string str, string match)RTTI global
static game.PersistentState? SpawnVirtualPS(ScriptGameInstance game, ent.EntityID entityID, CName componentName, CName psClassName)RTTI global
static void GetFixedEntityIdsFromEntityReference(game.EntityReference puppetRef, ScriptGameInstance gameInstance, ent.EntityID[] outEntityIds)RTTI global
static ent.RagdollActivationRequestEvent? CreateForceRagdollEvent(CName debugSourceName)RTTI global
static void SetDefaultStatPoolModifiers(ScriptGameInstance gi, string statPoolTypeString, game.StatPoolModificationTypes statPoolModType)RTTI global
static void ArraySortStrings()RTTI global
static bool IsEP1()RTTI global
static game.SimpleScreenMessage NoScreenMessage()RTTI global
static string GetLocalizedTextGanderDepenedByKey(CName hashKey, bool variantIsFemale)RTTI global
static game.Object? GetPlayerObject(ScriptGameInstance gameInstance)RTTI global
static string StrFrontToUpper(string str)RTTI global
static game.TelemetryDamageDealt ToTelemetryDamageDealt(game.events.TargetDamageEvent evt, game.TelemetryDamageSituation situation, float distance, float time)RTTI global
static void RepEnableCheatOnPlayer(WeakHandle<game.Object> player, uint cheat, bool enable)RTTI global
static ulong StringToUint64(string value, ulong defValue)RTTI global
static bool CanChangeAttitudeRelationFor(CName groupName)RTTI global
static string StrRight(string str, int length)RTTI global
static void TraceToString()RTTI global
static float LerpF(float alpha, float a, float b, bool clamp)RTTI global
static void FTLog(string value)RTTI global
static bool CompareF(ECompareOp comparator, float val1, float val2)RTTI global
static void ArraySortFloats()RTTI global
static void LoadResource()RTTI global
static game.TelemetryDamage ToTelemetryDamage(game.damage.AttackData attackData)RTTI global