Data Structures | |
class | string |
Functions | |
proto native int | ToInt () |
Converts string to integer. | |
proto native int | HexToInt () |
Converts string to integer. | |
proto native float | ToFloat () |
Converts string to float. | |
proto vector | ToVector () |
Returns a vector from a string. | |
vector | BeautifiedToVector () |
Convert beautified string into a vector. | |
proto native int | ToAscii () |
Converts string's first character to ASCII code. | |
proto native | ToType () |
Returns internal type representation. Can be used in runtime, or cached in variables and used for faster inheritance checking. | |
static proto string | ToString (void var, bool type=false, bool name=false, bool quotes=true) |
Return string representation of variable. | |
proto string | Substring (int start, int len) |
Substring of 'str' from 'start' position 'len' number of characters. | |
string | SubstringInverted (string string_to_split, int position_start, int position_end) |
Inverted SubString. This deletes everything in between position_start and position_end. | |
proto string | SubstringUtf8 (int startChar, int len) |
Substring of 'str' from 'startChar' position 'len' number of characters for UTF8 strings with multibyte chars. | |
proto int | Replace (string sample, string replace) |
Replace all occurrances of 'sample' in 'str' by 'replace'. | |
proto int | ToLower () |
Changes string to lowercase. Returns length. | |
proto int | ToUpper () |
Changes string to uppercase. Returns length. | |
proto native int | Length () |
Returns length of string. | |
proto native int | LengthUtf8 () |
Returns number of characters in UTF8 string. | |
proto native int | Hash () |
Returns hash of string. | |
proto native int | IndexOf (string sample) |
Finds 'sample' in 'str'. Returns -1 when not found. | |
proto native int | LastIndexOf (string sample) |
Finds last 'sample' in 'str'. Returns -1 when not found. | |
proto native int | IndexOfFrom (int start, string sample) |
Finds 'sample' in 'str' from 'start' position. Returns -1 when not found. | |
bool | Contains (string sample) |
Returns true if sample is substring of string. | |
proto string | Trim () |
Returns trimmed string with removed leading and trailing whitespaces. | |
proto int | TrimInPlace () |
Removes leading and trailing whitespaces in string. Returns length. | |
proto int | ParseStringEx (out string token) |
Parses one token from input string. Result is put into token string, and type of token is returned. Input string is left-truncated by the resulting token length. | |
proto int | ParseString (out string tokens[]) |
Parses string into array of tokens returns number of tokens. | |
void | Split (string sample, out array< string > output) |
Splits string into array of strings separated by 'sample'. | |
static string | Join (string separator, notnull TStringArray tokens) |
proto string | Get (int index) |
Gets n-th character from string. | |
proto void | Set (int index, string input) |
Sets the n-th character in string with the input, replacing previous value. | |
proto void | Insert (int index, string input) |
Inserts a string into the n-th index, increasing the string length by the size of the input. | |
static proto string | Format (string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) |
Gets n-th character from string. | |
Variables | |
static const string | Empty |
|
inlineprivate |
Convert beautified string into a vector.
vec | beautified string |
vector
resulting vector References string::Replace(), and string::ToVector().
Returns true if sample is substring of string.
sample | string Finding string expression |
bool
true if sample is substring of string Referenced by ActionCreateIndoorFireplace::ActionCondition(), ActionCreateIndoorOven::ActionCondition(), ActionPlaceFireplaceIndoor::ActionCondition(), ActionPlaceOvenIndoor::ActionCondition(), BaseBuildingBase::CanDisplayAttachmentCategory(), CarScript::CanDisplayAttachmentCategory(), BaseBuildingBase::CanDisplayAttachmentSlot(), ScriptConsoleSoundsTab::ChangeFilter(), ScriptConsoleItemsTab::ChangeFilter(), BaseBuildingBase::CheckLevelVerticalDistance(), BaseBuildingBase::CheckSlotVerticalDistance(), AttachmentsOutOfReach::CreateAttachmentPosition(), CreateMission(), DisplayActions(), DropNonUsableMaterialsServer(), ItemBase::EEHealthLevelChanged(), Edible_Base::EEItemLocationChanged(), UIPopupScript::FindInHierarchy(), ScriptConsoleConfigTab::FindInHierarchy(), CheckLocalisationPlugin::FindTexts(), ItemBase::FullyBuild(), Debug::GetFiltredConfigClasses(), UIScriptedMenu::GetFiltredConfigClasses(), UIScriptedMenu::GetFiltredSceneObjects(), SpookyEventBase::GetMatchingSurfacePos(), ActionTargetsCursor::GetOnScreenPosition(), GUIAction_SetValue(), ItemBase::HandleItemFalling(), IsEntityOnWaterSurface(), Land_WarheadStorage_PowerStation::OnAnimationPhaseStarted(), PluginFileHandler::ParseToValueBool(), ScriptConsoleItemsTab::PreprocessFilterText(), ScriptConsoleConfigTab::RenderVariables(), ScriptConsoleSoundsTab::ScriptConsoleSoundsTab(), PluginBase::SpawnFromClipboard(), ObjectSpawnerHandler::SpawnObject(), ScriptConsoleGeneralTab::TextToNumbersArray(), ItemBase::ToggleAnimation(), ActionUnlockShippingContainer::TranslateLockSelectionIntoDoorIdx(), and ObjectSpawnerHandler::ValidatePath().
|
staticprivate |
Gets n-th character from string.
index | character index |
string
character on index-th position in string Referenced by Add(), Category(), Car::CheckContactCache(), CGame::Connect(), EffectAreaLoader::CreateZones(), ItemBase::EEItemAttached(), ItemBase::EEItemDetached(), FailureText(), FullTimeData::FormatedAsTimestamp(), FullTimeData::FormatedNonZero(), FullTimeData::FormatedWithZero(), ActionTargetsCursor::GetActionDesc(), ActionDigInStash::GetAdminLogMessage(), GetAdminLogMessage(), ActionMountBarbedWire::GetAdminLogMessage(), ActionUnmountBarbedWire::GetAdminLogMessage(), ErrorProperties::GetClientMessage(), GetColorString(), GetComponentNamesFromDamageZone(), GetDamageZoneMap(), UndergroundAreaLoader::GetData(), EffectParticle::GetDebugName(), EffectSound::GetDebugName(), ConstructionActionData::GetDialNumberText(), QuantityConversions::GetItemQuantityText(), TentBase::GetMaterialPath(), ParticleList::GetParticleFullPath(), InputUtils::GetRichtextButtonIconFromInputAction(), ErrorProperties::GetServerMessage(), ErrorHandlerModule::GetSimpleMessage(), array::GetTestEx(), GPSReceiver::GPSReceiver(), HandleError(), Weapon_Base::HideBullet(), Entity::InitDamageZoneDisplayNameMapping(), LandMineTrap(), ScriptConsoleItemsTab::ListItemRelatedActions(), CfgGameplayHandler::LoadData(), CfgPlayerRestrictedAreaHandler::LoadData(), Debug::LogMessage(), Weapon_Base::OnFire(), Play(), Hologram::RefreshVisual(), ParticleList::RegisterParticle(), TFModule::Result(), ActionTargetsCursor::SetItemDesc(), LoginScreenBase::SetTime(), UIScriptedMenu::SetTime(), ScriptedWidgetEventHandler::SetWeaponModeAndZeroing(), ScriptedWidgetEventHandler::SetWeaponQuantity(), Weapon_Base::ShowBullet(), Tag(), TripwireTrap(), and UIScriptedMenu::UpdateControlsElements().
Gets n-th character from string.
index | character index |
string
character on index-th position in string Referenced by UIPopupScript::ClearHierarchy(), ItemBase::ConvertAttSlotToPlantSlot(), DialNextNumber(), UIPopupScript::ExpandHierarchy(), UIPopupScript::FindInHierarchy(), FireworksLauncherClientEvent::FireworksLauncherClientEvent(), PluginFileHandler::GetAllSubParametersInArrayString(), PluginBase::GetBaseClassPath(), PluginBase::GetBaseClassPathRecursive(), PluginBase::GetConfig(), ConstructionActionData::GetDialNumberText(), PluginFileHandler::GetLastLine(), CGame::GetModelName(), PluginBase::GetName(), PluginBase::GetNameByID(), OptionSelectorBase::GetStringValue(), ScriptedWidgetEventHandler::GetValueString(), ScriptedWidgetEventHandler::Highlight(), OptionSelectorSliderSetup::IsValidEditboxValue(), ScriptConsoleCameraTab::IsValidEditboxValue(), PluginFileHandler::LoadParameter(), PluginFileHandler::LoadSubParameter(), Debug::LogArrayInt(), Debug::LogArrayString(), OrderedAltitudeNumbersPosition(), OrderedPositionNumbersFromGridCoords(), PluginBase::PlayerKilled(), ScriptedWidgetEventHandler::Select(), ShuffleLock(), ScriptConsoleGeneralTab::TextToNumbersArray(), UIScriptedMenu::UpdateDisconnectTexts(), ItemBase::UpdatePhysics(), HudDebugWinBase::UpdateValues(), and ItemBase::UpdateVisuals().
|
private |
Returns hash of string.
Referenced by ArrowManagerPlayer::AddArrowTypeToHash(), Capture(), DayZPlayerTypeStepSoundLookupTable::DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeStepSoundLookupTableImpl(), DayZPlayerTypeVoiceSoundLookupTable::DayZPlayerTypeVoiceSoundLookupTableImpl(), GetActionTable(), GetBuilder(), GetDamageDisplayName(), GetImpactTable(), GetInstance(), UIScriptedMenu::GetWidgetCombinedHash(), SoundLookupTable::LoadTable(), DayZPlayer::OnStepEvent(), EntityAI::ProcessImpactSoundEx(), DayZPlayer::ProcessVoiceEvent(), RegisterItem(), CrashSoundSets::RegisterSoundSet(), RegisterSoundSetMap(), CatchYieldBank::RegisterYieldItem(), ArrowManagerPlayer::Save(), SetupProbabilityArray(), ActionBase::Start(), and CatchYieldBank::UnregisterYieldItem().
|
private |
Converts string to integer.
Referenced by CfgGameplayHandler::GetHitIndicationIndicatorColor().
Finds 'sample' in 'str'. Returns -1 when not found.
sample | string Finding string |
int
- Returns position where sample
starts, or -1 when sample
not found Referenced by PluginBase::ContainsFirstClass(), PluginBase::GetConfig(), ServerBrowserHelperFunctions::GetMapDisplayName(), Chemlight_ColorBase::GetMaterialForDamageState(), PluginBase::GetPlayerPrefix(), PluginConfigHandler::GetSceneList(), ItemBase::GetSlotIndexBySelection(), PluginFileHandler::GetTextType(), ScriptedWidgetEventHandler::GetValueString(), DebugPrint::IsDebugLog(), DebugPrint::IsStackTrace(), UIScriptedMenu::OnClick(), ScriptConsoleConfigTab::OnClick(), BotStateBase::OnUpdate(), PluginFileHandler::ParseParam(), PluginFileHandler::ParseText(), PluginFileHandler::ParseTextToArray(), PluginFileHandler::ParseTextToParameter(), OpenDirPlugin::Run(), DayZTool::RunDayZBat(), DebugPrint::TrimDebugLog(), and DebugPrint::TrimStackTrace().
Finds 'sample' in 'str' from 'start' position. Returns -1 when not found.
start | int Start from position |
sample | string Finding string expression |
int
- Length of string s
Referenced by PluginBase::GetBaseClassPathCombined(), ActionUnmountBarbedWire::GetZoneSelection(), PluginFileHandler::ParseTextToArray(), PluginFileHandler::ParseToValueArray(), OpenDirPlugin::Run(), DayZTool::RunDayZBat(), and CGame::SetMissionPath().
Inserts a string into the n-th index, increasing the string length by the size of the input.
index | index to insert at |
input | string value to insert with |
Referenced by ActionBuildPart::ActionConditionContinue(), ActionBuildShelter::ActionConditionContinue(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::GetHierarchyPath(), ScriptedWidgetEventHandler::LoadEntries(), ActionBuildPart::OnFinishProgressServer(), PluginFileHandler::ParseTextToArray(), and string::Split().
|
inlinestaticprivate |
Referenced by PluginBase::GetBaseClasses().
Finds last 'sample' in 'str'. Returns -1 when not found.
sample | string Finding string |
int
- Returns position where sample
starts, or -1 when sample
not found Referenced by ParticleList::RegisterParticleByFullPath().
|
private |
Returns length of string.
Referenced by ActionEnterLadder::ActionCondition(), ScriptedWidgetEventHandler::AddEx(), JsonObject::AddString(), Car::CanReachSeatFromDoors(), UIScriptedMenu::ConnectLastSession(), ManBase::Consume(), PluginBase::ContainsFirstClass(), AttachmentsOutOfReach::CreateAttachmentPosition(), WrittenNoteData::DepleteWritingImplement(), DialNextNumber(), WeaponStateBase::DropBullet(), DropNonUsableMaterialsServer(), ScriptedWidgetEventHandler::FillInfo(), FireworksLauncherClientEvent::FireworksLauncherClientEvent(), PluginBase::GetBaseClassPath(), PluginBase::GetConfig(), PluginBase::GetConfigRecursive(), ConstructionActionData::GetDialNumberText(), ScriptedWidgetEventHandler::GetFilterOptionsPC(), FireplaceIndoor::GetFirePointIndex(), FireplaceBase::GetFirePointIndex(), JsonObject::GetJson(), CGame::GetModelName(), PluginBase::GetOnlyChildPath(), ItemBase::GetSlotIndexByAttachmentSlot(), ItemBase::GetSlotIndexBySelection(), PluginFileHandler::GetTextType(), ScriptedWidgetEventHandler::GetValueString(), ActionUnmountBarbedWire::GetZoneSelection(), PoweredOptic_Base::InitRangeFinderData(), InsertAtPos(), IsComponentInSelection(), IsPingInRange(), PluginFileHandler::IsTextArray(), OptionSelectorSliderSetup::IsValidEditboxValue(), ScriptConsoleCameraTab::IsValidEditboxValue(), UIScriptedMenu::OnClick(), ActionCarDoors::OnEnd(), CGame::OnEvent(), DayZPlayer::OnStepEvent(), OrderedAltitudeNumbersPosition(), OrderedPositionNumbersFromGridCoords(), PluginFileHandler::ParseText(), PluginFileHandler::ParseTextToArray(), PluginFileHandler::ParseTextToParameter(), PluginFileHandler::ParseToValueArray(), PluginFileHandler::ParseToValueString(), WeaponStateBase::PushBulletToChamber(), WeaponStateBase::PushBulletToInternalMagazine(), ParticleList::RegisterParticleByFullPath(), OpenDirPlugin::Run(), DayZTool::RunDayZBat(), SanitizeString(), Debug::SaveLog(), Hud::SetCursorIcon(), ActionTargetsCursor::SetItemDesc(), ScriptedWidgetEventHandler::SetType(), ShuffleLock(), string::SubstringInverted(), ScriptConsoleGeneralTab::TextToNumbersArray(), ToStringLen(), DebugPrint::TrimDebugLog(), HudDebugWinBase::Update(), and ValueToBar().
|
private |
Returns number of characters in UTF8 string.
int
- Number of characters in UTF8 string Parses string into array of tokens returns number of tokens.
[out] | tokens | array [] Parsed string in array |
int
Number of tokens Parses one token from input string. Result is put into token string, and type of token is returned. Input string is left-truncated by the resulting token length.
[out] | token | string Founded string token |
int
Type of token Token types: 0 - error, no token 1 - defined token (special characters etc. . / * ) 2 - quoted string. Quotes are removed -> TODO 3 - alphabetic string 4 - number 5 - end of line -> TODO
Replace all occurrances of 'sample' in 'str' by 'replace'.
sample | string to search in str |
replace | string which replace sample in str |
int
- number of occurrances of 'sample' in 'str' Referenced by PluginFileHandler::AddNewLine(), Surface::AllowedWaterSurface(), string::BeautifiedToVector(), PluginConfigHandler::DecodeInitScript(), PluginConfigHandler::EncodeInitScript(), PluginFileHandler::GetAllLines(), ScriptConsoleItemsTab::PreprocessFilterText(), ParticleList::RegisterParticleByFullPath(), SVNBlamePlugin::Run(), SVNDiffPlugin::Run(), OpenDirPlugin::Run(), SVNShowLogPlugin::Run(), ResavePlugin::RunCommandline(), DayZTool::RunDayZBat(), ScriptConsoleEnfScriptTab::RunEnscript(), and CfgGameplayHandler::ValidateItems().
Sets the n-th character in string with the input, replacing previous value.
index | index to be replaced |
input | single non-terminated character value to replace with |
Referenced by ItemBase::GardenBase().
Splits string into array of strings separated by 'sample'.
sample | string Strings separator |
TStringArray
Array with strings References string::Insert(), and string::Substring().
Referenced by JsonObject::AddString(), DisplayActions(), UIPopupScript::FindInHierarchy(), ScriptConsoleConfigTab::FindInHierarchy(), ScriptedWidgetEventHandler::GenerateValidIP(), PluginBase::GetBaseClasses(), PluginBase::GetConfig(), GetServersResultRow::GetIP(), CGame::GetLastVisitedServer(), PluginFileHandler::GetParameterString(), PluginFileHandler::GetSubParameterInArrayString(), ServerBrowserTab::GetTimeOfDayEnum(), ServerBrowserTabConsolePages::LoadExtraEntries(), ScriptConsoleConfigTab::OnClick(), OnGUI_AnimEvents(), ParseData(), PluginFileHandler::ParseTextToArray(), PluginFileHandler::ParseToValueArray(), PasteValues(), ScriptConsoleSoundsTab::PrepareFilters(), ScriptConsoleItemsTab::PrepareFilters(), DayZPlayer::ProcessAttachmentEvent(), ScriptConsoleConfigTab::RenderVariables(), ScriptedWidgetEventHandler::SetTime(), ScriptedWidgetEventHandler::SetTimeIcon(), and PluginBase::SpawnFromClipboard().
Substring of 'str' from 'start' position 'len' number of characters.
start | Position in str |
len | Count of characters |
string
- Substring of str
Referenced by ActionEnterLadder::ActionCondition(), TentBase::AnimateCamonetByOpeningSelection(), TentBase::AnimateCamonetToggle(), PluginBase::ContainsFirstClass(), AttachmentsOutOfReach::CreateAttachmentPosition(), PluginBase::GetBaseClassPathCombined(), PluginBase::GetConfig(), PluginBase::GetConfigRecursive(), ScriptedWidgetEventHandler::GetFilterOptionsPC(), FireplaceIndoor::GetFirePointIndex(), FireplaceBase::GetFirePointIndex(), Chemlight_ColorBase::GetMaterialForDamageState(), CGame::GetModelName(), PluginBase::GetOnlyChildPath(), PluginBase::GetPlayerPrefix(), PluginConfigHandler::GetSceneList(), ItemBase::GetSlotIndexByAttachmentSlot(), ItemBase::GetSlotIndexBySelection(), PluginFileHandler::GetTextType(), ScriptedWidgetEventHandler::GetValueString(), ActionUnmountBarbedWire::GetZoneSelection(), TentBase::HandleCamoNetAttachment(), InsertAtPos(), IsPingInRange(), PluginFileHandler::IsTextArray(), UIScriptedMenu::OnClick(), ScriptConsoleConfigTab::OnClick(), PluginFileHandler::ParseText(), PluginFileHandler::ParseTextToArray(), PluginFileHandler::ParseTextToParameter(), PluginFileHandler::ParseToValueArray(), PluginFileHandler::ParseToValueString(), ParticleList::RegisterParticleByFullPath(), OpenDirPlugin::Run(), DayZTool::RunDayZBat(), SanitizeString(), CGame::SetMissionPath(), string::Split(), string::SubstringInverted(), ScriptConsoleGeneralTab::TextToNumbersArray(), ActionUnlockShippingContainer::TranslateLockSelectionIntoDoorIdx(), DebugPrint::TrimDebugLog(), and HudDebugWinBase::Update().
|
inlineprivate |
Inverted SubString. This deletes everything in between position_start and position_end.
References string::Length(), and string::Substring().
Substring of 'str' from 'startChar' position 'len' number of characters for UTF8 strings with multibyte chars.
startChar | Position in str . |
len | Count of characters |
string
- Substring of str
with startChar
character and len
characters
|
private |
Converts string's first character to ASCII code.
str | String for convert to ASCII code |
ascii
code int
.
|
private |
Converts string to float.
float
- Converted string
in
float. Referenced by ScriptedWidgetEventHandler::GetInterpTime(), PluginFileHandler::GetParameterFloat(), GUIAction_SetValue(), ScriptConsoleCameraTab::IsValidEditboxValue(), OnGUI_CommandsEdit(), PluginFileHandler::ParseToValueFloat(), DayZProfilesOptions::RegisterProfileOptionFloat(), DayZProfilesOptions::ResetOptionsFloat(), and ScriptConsoleGeneralTab::TextToNumbersArray().
|
private |
Converts string to integer.
Referenced by CGame::ConnectFromCLI(), DialNextNumber(), ItemBase::EvaluateCatch(), ScriptedWidgetEventHandler::FillInfo(), ItemManager::GetDefaultOpenStateHands(), ScriptedWidgetEventHandler::GetFilterOptionsPC(), FireplaceIndoor::GetFirePointIndex(), FireplaceBase::GetFirePointIndex(), PluginFileHandler::GetParameterBool(), PluginFileHandler::GetParameterInt(), ItemBase::GetSlotIndexByAttachmentSlot(), ItemBase::GetSlotIndexBySelection(), GUIAction_SetValue(), IsPingInRange(), OptionSelectorSliderSetup::IsValidEditboxValue(), OnGUI_CommandsEdit(), ServerBrowserTab::OnLoadServersAsyncPC(), OrderedAltitudeNumbersPosition(), OrderedPositionNumbersFromGridCoords(), PluginFileHandler::ParseToValueInt(), ScriptedWidgetEventHandler::ProcessIntoIPAddress(), DayZProfilesOptions::RegisterProfileOptionInt(), DayZProfilesOptions::ResetOptionsInt(), ScriptedWidgetEventHandler::SetType(), ShuffleLock(), and ActionUnlockShippingContainer::TranslateLockSelectionIntoDoorIdx().
|
private |
Changes string to lowercase. Returns length.
int
- Length of changed string Referenced by AnalyticsRegisterStat(), AnalyticsSetState(), BleedingSourcesManagerBase::AttemptAddBleedingSourceBySelection(), Entity::CacheSkinningBloodInfectionChance(), BaseBuildingBase::CanDisplayAttachmentCategory(), CarScript::CanDisplayAttachmentCategory(), BaseBuildingBase::CanDisplayAttachmentSlot(), ItemBase::CanToggleAnimations(), ScriptConsoleSoundsTab::ChangeFilter(), ScriptConsoleItemsTab::ChangeFilter(), BaseBuildingBase::CheckSlotVerticalDistance(), AttachmentsOutOfReach::CreateAttachmentPosition(), PluginConfigHandler::CustomLocationsAdd(), PluginConfigHandler::CustomLocationsRemove(), DisplayActions(), DropNonUsableMaterialsServer(), ItemBase::EEHealthLevelChanged(), ItemBase::EEItemDetached(), UIPopupScript::FindInHierarchy(), ScriptConsoleConfigTab::FindInHierarchy(), GetComponentIndex(), PluginBase::GetConfig(), PluginBase::GetConfigRecursive(), GetDamageZoneFromComponentName(), Debug::GetFiltredConfigClasses(), UIScriptedMenu::GetFiltredConfigClasses(), UIScriptedMenu::GetFiltredSceneObjects(), PluginConfigHandler::GetLocationsData(), IEntity::GetLODByName(), ServerBrowserHelperFunctions::GetMapDisplayName(), LOD::GetSelectionByName(), Car::GetSelectionFromAnimSource(), ServerBrowserHelperFunctions::GetServerMapImagePath(), ItemBase::GetSlotIndexBySelection(), GUIAction_SetValue(), ItemBase::HideAllAnimationsAndProxyPhysics(), MissionBaseWorld::InitialiseWorldData(), IsComponentInSelection(), CGame::IsKindOf(), CGame::ObjectIsKindOf(), ActionMountBarbedWire::OnFinishProgressServer(), DynamicMusicPlayerRegistry::PreloadData(), ScriptConsoleSoundsTab::PrepareFilters(), ScriptConsoleItemsTab::PrepareFilters(), ScriptConsoleConfigTab::RenderVariables(), ScriptConsoleItemsTab::SelectPreset(), AutoTestFixture::SetWorldName(), ItemBase::ToggleAnimation(), ItemBase::UpdateAllSelections(), and ItemBase::UpdatePhysics().
|
staticprivate |
Return string representation of variable.
Referenced by HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Abort(), CGame::AddInventoryJunctureEx(), AnimatedActionBase::Do(), AnimatedActionBase::End(), ComponentEnergyManager::Event_OnAwake(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindAbortDestinationState(), ItemBase::GardenBase(), AntibioticsMdfr::GetDebugText(), ChelationMdfr::GetDebugText(), DisinfectionMdfr::GetDebugText(), EpinephrineMdfr::GetDebugText(), ImmunityBoost::GetDebugText(), MorphineMdfr::GetDebugText(), PainKillersMdfr::GetDebugText(), AntibioticsMdfr::GetDebugTextSimple(), CharcoalMdfr::GetDebugTextSimple(), ChelationMdfr::GetDebugTextSimple(), DisinfectionMdfr::GetDebugTextSimple(), Hologram::Hologram(), ActionBaseCB::Interrupt(), ComponentEnergyManager::IsSelectionAPlug(), PluginFileHandler::LoadConfigFile(), PluginConfigHandler::LoadSceneObjects(), Debug::LogArrayInt(), OnActionEnd(), PluginFileHandler::ParseParam(), PluginBase::PlayerKilled(), PrintElements(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessEvent(), PluginConfigHandler::SaveSceneObjects(), PluginLocalProfile::SceneSave(), ActionBase::SetupAction(), OFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), FSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Terminate(), ToStringLen(), UpdatePlayerStatus(), and ComponentEnergyManager::UpdateSelections().
|
private |
Returns internal type representation. Can be used in runtime, or cached in variables and used for faster inheritance checking.
typename
Type of class Referenced by ArrowManagerPlayer::AddArrowTypeToHash(), ComponentsBank::CreateComponent(), CreateParticle(), ImpactMaterials::EvaluateImpactEffect(), AmmoEffects::GetAmmoEffectTypename(), PluginBase::GetModuleType(), PluginBase::OnKeyPress(), PluginBase::OnMouse(), PluginManager::RegisterPlugin(), ImpactMaterials::RegisterSurface(), and PluginManager::UnregisterPlugin().
|
private |
Changes string to uppercase. Returns length.
int
- Length of changed string Referenced by ScriptedWidgetEventHandler::AddEx(), HandsPreview::CreateNewIcon(), ServerBrowserHelperFunctions::GetMapDisplayName(), ScriptedWidgetEventHandler::SetItemDesc(), and ActionTargetsCursor::SetItemDesc().
|
private |
Returns a vector from a string.
vector
Converted s as vector Referenced by string::BeautifiedToVector(), UIScriptedMenu::OnClick(), and SceneObject::SetPositionAsString().
|
private |
Returns trimmed string with removed leading and trailing whitespaces.
string
- Trimmed string Referenced by PluginBase::GetOnlyChildPath(), ScriptConsoleConfigTab::OnClick(), PluginFileHandler::ParseText(), PluginFileHandler::ParseTextToParameter(), ScriptConsoleSoundsTab::PrepareFilters(), ScriptConsoleItemsTab::PrepareFilters(), and PluginBase::SpawnFromClipboard().
|
private |
Removes leading and trailing whitespaces in string. Returns length.
int
- Count of chars Referenced by ScriptedWidgetEventHandler::GetValueString().
|
staticprivate |
Referenced by WeaponStateBase::AcquireCartridgeFromMagazine(), ActionTuneFrequencyOnGround::ActionTuneFrequencyOnGround(), ScriptedWidgetEventHandler::GetActionDesc(), GetArmSoundset(), Entity::GetDebugText(), GetDisarmSoundset(), PluginBase::GetFileName(), PluginBase::GetSubFolderName(), ActionBase::GetTargetName(), PlayerSpawnPresetComplexChildrenType::IsValid(), Debug::LogMessage(), WeaponStateBase::OnEntry(), ActionCloseBarrel::OnExecuteServer(), ActionOpenBarrel::OnExecuteServer(), WeaponStateBase::OnExit(), TerritoryFlag::OnSpawnByObjectSpawner(), OnStartServer(), PlayerSpawnHandler::SpawnDiscreteSlotItemSet(), StopAmbientSound(), DebugPrint::TrimStackTrace(), UIScriptedMenu::UpdateDisconnectTexts(), and ReplaceItemWithNewLambdaBase::WantCreateNewEntity().