DayZ 1.24
|
Classes | |
class | Class |
Super root of all classes in Enforce script. More... | |
class | Managed |
TODO doc. More... | |
class | NonSerialized |
TODO doc. More... | |
class | ScriptModule |
Module containing compiled scripts. More... | |
class | EnScript |
class | array< Class T > |
class | set< Class T > |
class | map< Class TKey, Class TValue > |
Associative array template usage: More... | |
float
ftime; The deltaTime since last frame float
FLT_MAX; The maximum value for float float
FLT_MIN; The minimum value for float Definition at line 762 of file EnScript.c.
Definition at line 669 of file EnScript.c.
Definition at line 670 of file EnScript.c.
Definition at line 945 of file EnScript.c.
Definition at line 942 of file EnScript.c.
Definition at line 943 of file EnScript.c.
Definition at line 946 of file EnScript.c.
Definition at line 947 of file EnScript.c.
Definition at line 944 of file EnScript.c.
Definition at line 948 of file EnScript.c.
Definition at line 949 of file EnScript.c.
Definition at line 667 of file EnScript.c.
Definition at line 927 of file EnScript.c.
Definition at line 924 of file EnScript.c.
Definition at line 925 of file EnScript.c.
Definition at line 928 of file EnScript.c.
Definition at line 929 of file EnScript.c.
Definition at line 926 of file EnScript.c.
Definition at line 930 of file EnScript.c.
Definition at line 931 of file EnScript.c.
Definition at line 671 of file EnScript.c.
Definition at line 963 of file EnScript.c.
Definition at line 960 of file EnScript.c.
Definition at line 961 of file EnScript.c.
Definition at line 964 of file EnScript.c.
Definition at line 965 of file EnScript.c.
Definition at line 672 of file EnScript.c.
Definition at line 972 of file EnScript.c.
Definition at line 969 of file EnScript.c.
Definition at line 970 of file EnScript.c.
Definition at line 973 of file EnScript.c.
Definition at line 974 of file EnScript.c.
Definition at line 759 of file EnScript.c.
Definition at line 971 of file EnScript.c.
Definition at line 975 of file EnScript.c.
Definition at line 976 of file EnScript.c.
Definition at line 758 of file EnScript.c.
Definition at line 962 of file EnScript.c.
Definition at line 966 of file EnScript.c.
Definition at line 967 of file EnScript.c.
Definition at line 666 of file EnScript.c.
Definition at line 936 of file EnScript.c.
Definition at line 933 of file EnScript.c.
Definition at line 934 of file EnScript.c.
Definition at line 937 of file EnScript.c.
Definition at line 938 of file EnScript.c.
Definition at line 754 of file EnScript.c.
Definition at line 935 of file EnScript.c.
Definition at line 939 of file EnScript.c.
Definition at line 940 of file EnScript.c.
Definition at line 674 of file EnScript.c.
Definition at line 954 of file EnScript.c.
Definition at line 951 of file EnScript.c.
Definition at line 952 of file EnScript.c.
Definition at line 955 of file EnScript.c.
Definition at line 956 of file EnScript.c.
Definition at line 760 of file EnScript.c.
Definition at line 953 of file EnScript.c.
Definition at line 957 of file EnScript.c.
Definition at line 958 of file EnScript.c.
Definition at line 673 of file EnScript.c.
script representation for C++ RTTI types
Definition at line 127 of file EnScript.c.
dynamic call of function when inst == NULL, it's global function call, otherwise it's method of class returns true, when success The call creates new thread, so it's legal to use sleep/wait
|
private |
dynamic call of function when inst == NULL, it's global function call, otherwise it's method of class returns true, when success The call do not create new thread!!!!
Referenced by CallQueueContext::CallParams().
|
private |
Referenced by CallQueueContext::CallParams().
Try to safely down-cast base class to child class.
Try to safely down-cast base class to child class.
bool
true when 'from' is not null and cast successfull, false when casting is not valid or 'from' is null Referenced by AbortWeaponEvent(), ActionCarHornBase::ActionCondition(), ActionBuryBody::ActionCondition(), ActionCoverHeadTarget::ActionCondition(), ActionDigGardenPlot::ActionCondition(), ActionDigInStash::ActionCondition(), ActionCondition(), ActionDisinfectPlant::ActionCondition(), ActionEatFruit::ActionCondition(), ActionFertilizeSlot::ActionCondition(), ActionFillGeneratorTank::ActionCondition(), ActionFillObject::ActionCondition(), ActionGagTarget::ActionCondition(), ActionLockDoors::ActionCondition(), ActionRefuelTorch::ActionCondition(), ActionRepairShelter::ActionCondition(), ActionRepairTent::ActionCondition(), ActionRepairTentPart::ActionCondition(), ActionShaveTarget::ActionCondition(), ActionUncoverHeadTarget::ActionCondition(), ActionUngagTarget::ActionCondition(), ActionUnlockDoors::ActionCondition(), ActionViewBinoculars::ActionCondition(), ActionViewOptics::ActionCondition(), ActionDefibrilateBase::ActionCondition(), ActionCloseDoors::ActionCondition(), ActionEnterLadder::ActionCondition(), ActionGetInTransport::ActionCondition(), ActionHarvestCrops::ActionCondition(), ActionOpenDoors::ActionCondition(), ActionPickupChicken::ActionCondition(), ActionRemovePlant::ActionCondition(), ActionRemoveSeed::ActionCondition(), ActionAnimateCarSelection::ActionCondition(), ActionAnimateSeats::ActionCondition(), ActionCarDoors::ActionCondition(), ActionCarDoorsOutside::ActionCondition(), ActionSwitchLights::ActionCondition(), ActionClapBearTrapWithThisItem::ActionCondition(), ActionToggleNVMode::ActionCondition(), ActionZoomIn::ActionCondition(), ActionZoomOut::ActionCondition(), ActionStopEngine::ActionCondition(), ActionSwitchSeats::ActionCondition(), UIScriptedMenu::Apply(), Environment::ApplyDrynessToItemEx(), ApplyJumpOutDmg(), Environment::ApplyWetnessToItem(), Environment::BodyPartHeatProperties(), ManBase::BrokenLegForceProne(), CAContinuousEmptyMagazine::CalcAndSetQuantity(), CAContinuousTransferQuantity::CalcAndSetQuantity(), PluginBase::CalculateHealth(), ManBase::CalculateVisibilityForAI(), DayZPlayer::CameraHandler(), WeaponManager::CanAttachMagazine(), DayZPlayer::CanClimb(), Attachments::CanCombineAmmo(), VicinitySlotsContainer::CanCombineAmmo(), AttachmentCategoriesContainer::CanDisplayAnyCategory(), RecipeBase::CanDo(), ActionEmptyMagazine::CanEmpty(), ItemBase::CanLoadAttachment(), ActionLoadMagazine::CanLoadMagazine(), CanPlayEmote(), ItemBase::CanReceiveAttachment(), WeaponManager::CanSwapMagazine(), TrapBase::CauseVictimToStartLimping(), ScriptedWidgetEventHandler::CheckForActionWidgetOverrides(), ManBase::CheckForBurlap(), ManBase::CheckForGag(), ActionTargetsCursor::CheckRefresherFlagVisibility(), ScriptedWidgetEventHandler::ColorRed(), ScriptedWidgetEventHandler::ColorWhite(), ConnectionLost::ConnectionLost(), BreakLongWoodenStick::CopyOldPropertiesToNew(), UnboxLambda::CopyOldPropertiesToNew(), CopyOldPropertiesToNew(), TorchLambda::CopyOldPropertiesToNew(), CreateAndSetupActionCallback(), ActionRepositionPluggedItem::CreateAndSetupActionCallback(), ActionTakeArrowToHands::CreateAndSetupActionCallback(), ActionTakeHybridAttachmentToHands::CreateAndSetupActionCallback(), ActionTakeItemToHands::CreateAndSetupActionCallback(), ActionTakeMaterialToHands::CreateAndSetupActionCallback(), AnimatedActionBase::CreateAndSetupActionCallback(), MissionBase::CreateCharacter(), PlayerSpawnHandler::CreateChildItem(), CreateDamageTriggerEx(), CreateEmoteCallback(), CreateOrgan(), Hologram::CreateTrigger(), CreateTrigger(), EffectArea::CreateTrigger(), EffectAreaLoader::CreateZones(), DamageCrew(), DamageDealtEffect::DamageDealtEffect(), DayZIntroScene::DayZIntroScene(), DayZPlayerCameraBase::DayZPlayerCameraIronsights(), DayZPlayerImplementAiming::DayZPlayerImplementAiming(), InventoryActionHandler::DeactiveAction(), DeferredWeaponFailed(), ActionDefibrilateBase::DefibrillateServer(), StaminaHandler::DepleteStamina(), ActionDismantlePart::DismantleCondition(), Hud::DisplayBadge(), Hud::DisplayNotifier(), Hud::DisplayPresence(), Hud::DisplayStance(), Hud::DisplayTendencyNormal(), RecipeBase::Do(), ClosableContainer::DraggingOverHeader(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), ManBase::DropAllItems(), ActionDeployBase::DropDuringPlacing(), ManBase::EEItemIntoHands(), Mask_Base::EEItemLocationChanged(), InventoryItemSuper::EEKilled(), EffectRadial(), Trigger::EOnEnter(), Trigger::EOnLeave(), AreaDamageTriggerBase::EOnTouch(), Hologram::EvaluateCollision(), VicinityItemManager::ExcludeFromContainer_Phase1(), VicinityItemManager::ExcludeFromContainer_Phase2(), VicinityItemManager::ExcludeFromContainer_Phase3(), CAContinuousFertilizeGardenSlot::Execute(), CAContinuousMineWood::Execute(), CAContinuousRepeatStartEngine::Execute(), CAContinuousTransferQuantity::Execute(), CAContinuousWaterPlant::Execute(), CAContinuousWaterSlot::Execute(), FlashbangEffect::FlashbangEffect(), FloatingCrossHair(), GameplayEffectsDataImage(), GestureMenuItem(), ActionTargetsCursor::GetActionManager(), ScriptedWidgetEventHandler::GetActionManager(), GetActionManager(), CarScript::GetCarDoorsState(), HandsContainer::GetCombinationFlags(), ItemManager::GetCombinationFlags(), ScriptedWidgetEventHandler::GetCrosshairPosition(), QuantityConversions::GetItemQuantity(), QuantityConversions::GetItemQuantity(), ActionTargetsCursor::GetItemQuantity(), QuantityConversions::GetItemQuantityMax(), QuantityConversions::GetItemQuantityText(), GetMeleeTarget(), CAContinuousMineRock::GetMiningData(), CAContinuousMineWood::GetMiningData(), InventoryItem::GetNumberOfItems(), ActionHarvestCrops::GetPlantSlot(), ActionTargetsCursor::GetPlayer(), ScriptedWidgetEventHandler::GetPlayer(), GetPlayer(), ScriptedWidgetEventHandler::GetRadioFrequency(), Managed::GetRequester(), ActionWorldCraft::GetText(), CGame::GetUserFOVFromConfig(), WeaponDebug::GetWeaponInHands(), HandEventBase(), DayZPlayer::HandleDeath(), BaseBuildingBase::HandleDropAttachment(), HandleDropCartridge(), HandleEngineSound(), HandleInventory(), PlayerSpawnHandler::HandleNewItem(), HandlePlayerBody(), HandleStoreCartridge(), HandleWeaponEvents(), DayZPlayer::HandleWeapons(), QuantityConversions::HasItemQuantity(), UIScriptedMenu::Init(), Init(), ScriptedWidgetEventHandler::Init(), Hud::Init(), Hud::InitBadgesAndNotifiers(), PPEMatClassParameterCommandData::InitDefaults(), IsAuthoritative(), IsEntityBehindEntityInAngle(), EntityAI::IsIgnoredObject(), HumanCommandVehicle::IsObjectIgnoredOnGettingOut(), IsOwner(), IsProxy(), VONManager::IsVoiceThresholdMinimum(), IsWearingBurlap(), ActionUncoverHeadTarget::IsWearingBurlap(), ActionUngagSelf::IsWearingGag(), ActionUngagTarget::IsWearingGag(), ManBase::IsWearingSplint(), LoadingScreen(), ActionLockDoors::LockDoor(), UIScriptedMenu::MarkSelected(), DayZCreature::ModCommandHandlerBefore(), ModifierBase(), ActionWorldCraft::OnActionInfoUpdate(), AKS74U::OnDebugSpawn(), Aug_Base::OnDebugSpawn(), Weapon_Base::OnDebugSpawn(), B95_base::OnDebugSpawn(), CZ550_Base::OnDebugSpawn(), RifleSingleShot_Base::OnDebugSpawn(), Mosin9130_Base::OnDebugSpawn(), Repeater::OnDebugSpawn(), Winchester70_Base::OnDebugSpawn(), Izh43Shotgun_Base::OnDebugSpawn(), Mp133Shotgun_Base::OnDebugSpawn(), VSS_Base::OnDebugSpawn(), CivilianBelt::OnDebugSpawn(), HelmetBase::OnDebugSpawn(), HipPack_ColorBase::OnDebugSpawn(), MilitaryBelt::OnDebugSpawn(), PlateCarrierVest::OnDebugSpawn(), Container_Base::OnDebugSpawn(), ItemBase::OnDebugSpawn(), CarScript::OnDebugSpawn(), AttachmentCategoriesRow::OnDropReceivedFromHeader(), ActionViewOptics::OnEndAnimationLoopClient(), ActionViewOptics::OnEndAnimationLoopServer(), ActionViewOptics::OnEndClient(), ActionContinuousBase::OnEndInput(), ActionViewOptics::OnEndServer(), ActionCollectBloodSelf::OnEndServer(), ActionCollectBloodTarget::OnEndServer(), ActionCollectSampleSelf::OnEndServer(), ActionCollectSampleTarget::OnEndServer(), OnEndServer(), ActionAnimateCarSelection::OnEndServer(), ActionZoomIn::OnEndServer(), ActionZoomOut::OnEndServer(), WeaponStateBase::OnEntry(), WeaponStartAction::OnEntry(), WeaponFire::OnEntry(), OnEntry(), CGame::OnEvent(), OnEvent(), MissionBase::OnEvent(), ActionAttachWheels::OnExecuteClient(), ActionEmptyMagazine::OnExecuteServer(), ActionLoadMagazine::OnExecuteServer(), ActionRefuelTorch::OnExecuteServer(), OnExecuteServer(), ActionSwitchLights::OnExecuteServer(), ActionAttachWheels::OnExecuteServer(), ActionClapBearTrapWithThisItem::OnExecuteServer(), ActionStopEngine::OnExecuteServer(), ActionFillObject::OnFinishProgressClient(), ActionDefibrilateSelf::OnFinishProgressClient(), ActionDefibrilateTarget::OnFinishProgressClient(), ActionBreakLongWoodenStick::OnFinishProgressServer(), ActionCoverHeadSelf::OnFinishProgressServer(), ActionCoverHeadTarget::OnFinishProgressServer(), OnFinishProgressServer(), ActionDigWorms::OnFinishProgressServer(), ActionFillObject::OnFinishProgressServer(), ActionGagSelf::OnFinishProgressServer(), ActionGagTarget::OnFinishProgressServer(), ActionRepairPart::OnFinishProgressServer(), ActionRepairShelter::OnFinishProgressServer(), ActionRepairTent::OnFinishProgressServer(), ActionShaveTarget::OnFinishProgressServer(), ActionStripCarrierVest::OnFinishProgressServer(), ActionUngagSelf::OnFinishProgressServer(), ActionUngagTarget::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), ActionDefibrilateSelf::OnFinishProgressServer(), SymptomBase::OnInit(), ItemBase::OnInventoryEnter(), Weapon::OnItemLocationChanged(), Icon::OnPerformCombination(), HandsContainer::OnPerformCombination(), EntityPlacementCallback::OnQuery(), ManBase::OnQuickBarSingleUse(), TrapBase::OnServerSteppedOn(), EntityPlacementCallback::OnSetup(), OnShow(), OnStart(), ActionViewOptics::OnStartAnimationLoopClient(), ActionViewOptics::OnStartAnimationLoopServer(), ActionCloseDoors::OnStartServer(), OnStartServer(), ActionOpenDoors::OnStartServer(), ActionPullBodyFromTransport::OnStartServer(), ActionAnimateCarSelection::OnStartServer(), PPERequester_GameplayBase::OnStop(), InventoryItem::OnStoreLoad(), UngagSelfLambda::OnSuccess(), WeaponStartAction::OnUpdate(), OnUpdate(), WeaponFireMultiMuzzle::OnUpdate(), WeaponStateBase::OnUpdate(), ItemOptics::OnWasAttached(), HeadGear_Base::OnWasAttached(), ItemBase::OnWasAttached(), ItemOptics::OnWasDetached(), ItemBase::OnWasDetached(), Icon::PerformCombination(), Hologram::PlaceEntity(), ManBase::PredictiveSwapEntities(), DayZPlayer::ProcessWeaponEvent(), VicinityItemManager::RefreshVicinityItems(), GameplayEffectsData::RegisterData(), PPEClassBase::RegisterParameterColorEx(), PPEClassBase::RegisterParameterScalarFloatEx(), ManBase::ReloadWeapon(), ManBase::RemoveAllItems(), RemoveSplint(), ActionRepairTent::RepairDamageTransfer(), SelectStoreCartridge(), SendMessageToClient(), InventoryActionHandler::SetAction(), ActionTargetsCursor::SetActionWidget(), ScriptedWidgetEventHandler::SetActionWidget(), Weapon_Base::SetAttachmentsHealth(), ManBase::SetContaminatedEffectEx(), DayZIntroScenePC::SetInitPostprocesses(), DayZIntroSceneXbox::SetInitPostprocesses(), ActionTargetsCursor::SetInteractActionIcon(), ScriptedWidgetEventHandler::SetInteractActionIcon(), ScriptedWidgetEventHandler::SetItemDesc(), ActionTargetsCursor::SetItemDesc(), ActionTargetsCursor::SetItemHealth(), ScriptedWidgetEventHandler::SetItemHealth(), ActionTargetsCursor::SetItemQuantity(), ScriptedWidgetEventHandler::SetItemQuantity(), ScriptedWidgetEventHandler::SetRadioFrequency(), Hud::SetStamina(), CAContinuousCraft::Setup(), CAContinuousDisinfectPlant::Setup(), CAContinuousEmptyMagazine::Setup(), CAContinuousFertilizeGardenSlot::Setup(), CAContinuousFill::Setup(), CAContinuousFish::Setup(), CAContinuousLoadMagazine::Setup(), CAContinuousTransferQuantity::Setup(), CAContinuousWaterPlant::Setup(), CAContinuousWaterSlot::Setup(), ActionWorldCraft::SetupAction(), ScriptedWidgetEventHandler::SetValue(), Hud::SetWalkieTalkieText(), ScriptedWidgetEventHandler::SetWeaponModeAndZeroing(), ScriptedWidgetEventHandler::SetWeaponQuantity(), SoftSkillManagerDebug(), ActionSortAmmoPile::SortAmmo(), SpawnAdditionalItems(), PlayerSpawnHandler::SpawnComplexChildrenItems(), PluginBase::SpawnEntityOnCursorDir(), PluginBase::SpawnEntityOnGroundPatternGrid(), PluginBase::SpawnEntityOnGroundPos(), PlayerSpawnHandler::SpawnSimpleChildrenItems(), ActionEnterLadder::Start(), ActionSwitchSeats::Start(), SwitchPreset(), SyncAnimState(), HandsContainer::TakeAsAttachment(), ClosableContainer::TakeAsAttachment(), DeveloperTeleport::TeleportAtCursor(), DeveloperTeleport::TeleportAtCursorEx(), ScriptedWidgetEventHandler::TextMapUpdateWidget(), PluginDayzPlayerDebug_Weapons::Tick(), DayZPlayer::TriggerPullPlayerOutOfVehicle(), Managed::TrySpawnNextDrop(), ActionUncoverHeadBase::UncoverHead(), ActionUnlockDoors::UnlockDoor(), ScriptedWidgetEventHandler::Update(), GameplayEffectsData::Update(), Hud::UpdateBloodName(), UIScriptedMenu::UpdateItemInfoQuantity(), MissionBase::UpdatePlayersStats(), ActionRepairCarChassis::WriteToContext(), WriteToContext(), ActionRepairPart::WriteToContext(), ActionRepairTent::WriteToContext(), and ActionRepairTentPart::WriteToContext().
Destroyes all elements of the array and sets the Count to 0. The underlying memory of the array is not freed.
Returns if map contains element with given key.
Copes contents of from
array to this array.
O(1) complexity.
Print all elements in array.
void
Definition at line 516 of file EnScript.c.
Definition at line 742 of file EnScript.c.
Returns an index where 2 arrays start to differ from each other.
int
Index from where arrays differ Definition at line 647 of file EnScript.c.
|
inlineprivate |
Definition at line 168 of file EnScript.c.
Tries to find the first occurance of given value in the array.
value
if found, -1 otherwise Tries to find the first occurance of given value in the set.
value
if found, -1 otherwise Search for an element with the given key.
key | The key of the element to find |
val | result is stored to val |
Search for an element with the given key.
key | The key of the element to find |
|
staticprivate |
Dynamic read of variable value by its name.
inst | When inst == NULL, it's for global variable, otherwise it's class member | |
index | Is index when variable is array | |
[out] | result | Variable must be of the same type! |
int
true when success
|
inlineprivate |
Return the i:th element in the map. Note: This operation is O(n) complexity. Use with care!
index | The position of the element in the map |
Return the i:th element key in the map. Note: This operation is O(n) complexity. Use with care!
i | The position of the element key in the map |
Definition at line 862 of file EnScript.c.
References Count.
Definition at line 889 of file EnScript.c.
References Count, and GetElement().
|
inlineprivate |
Definition at line 904 of file EnScript.c.
References Count, and GetElement().
Returns a random element of array.
int
Random element of array Definition at line 552 of file EnScript.c.
References Get().
Returns a random index of array. If Count is 0, return index is -1 .
int
Random index of array Definition at line 535 of file EnScript.c.
References Count, and Math::RandomInt().
Inserts element at the end of array.
value | Element to be inserted |
Inserts element at the end of array.
value | Element to be inserted |
Insert new element into hash map.
key | Key of element to be inserted. |
value | Data of element to be inserted. |
Inserts all elements from array.
from | array<T> array from which all elements will be added |
Definition at line 424 of file EnScript.c.
Inserts element at certain position and moves all elements behind this position by one.
value | Element to be inserted |
index | Position at which element is inserted. Must be less than Array::GetCardinality() |
Inserts element at certain position and moves all elements behind this position by one.
value | Element to be inserted |
index | Position at which element is inserted. Must be less than Array::GetCardinality() |
Definition at line 573 of file EnScript.c.
Kills thread.
owner | Can be NULL for global threads. |
name | Name of the first function on stack |
int
???
|
staticprivate |
Do load script and create ScriptModule for it.
parentModule | Module |
scriptFile | Script path |
listing | ?? |
ScriptModule
Loaded scripted module Returns a index in array moved by specific number.
int
Moved index in this array Definition at line 601 of file EnScript.c.
References Count.
|
private |
Parses string into array of tokens returns number of tokens.
input | string String for parse | |
[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.
[in,out] | input | string String for parse\ Output is without founded token |
[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
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition at line 344 of file EnScript.c.
References Print().
Referenced by RecoilBase::ApplyMouseOffset(), StatDebugObject::Debug(), RemotePlayerDamageDebug::Debug(), DebugDamage(), WeaponDebug::DrawLineOfFireCameraHybrid(), PluginRecipesManagerBase::GenerateHumanReadableRecipeList(), GetPlugin(), PluginFileHandler::LoadConfigFile(), ScriptedWidgetEventHandler::OnDoubleClick(), ScriptedWidgetEventHandler::OnDrag(), ScriptedWidgetEventHandler::OnDraggingOver(), ScriptedWidgetEventHandler::OnDrop(), ScriptedWidgetEventHandler::OnDropReceived(), ScriptedWidgetEventHandler::OnMouseButtonDown(), ScriptedWidgetEventHandler::OnMouseButtonUp(), ScriptedWidgetEventHandler::OnMouseEnter(), OnRPC(), PluginBase::OnSpawnErrorReport(), PluginRecipesManagerBase::PrintCache(), PluginBase::PrintedDebug(), PrintElements(), HandsContainer::ShowActionMenuCombine(), ManBase::ShowUnconsciousScreen(), and RecoilBase::Update().
Removes element from array. The empty position is replaced by last element, so removal is quite fast but do not retain order.
index | Index of element to be removed |
Removes element from array, but retain all elements ordered.
index | Index of element to be removed |
Removes element with given key.
Removes i:th element with given key. Note: This operation is O(n) complexity. Use with care!
i | The position of the element key in the map |
Definition at line 474 of file EnScript.c.
Definition at line 725 of file EnScript.c.
References Remove().
Definition at line 732 of file EnScript.c.
Definition at line 482 of file EnScript.c.
References Remove().
Removes element from array, but retain all elements ordered. It's slower than Remove
index | Index of element to be removed |
Definition at line 878 of file EnScript.c.
Resizes the array to given size internally. Is used for optimization purposes when the approx. size is known beforehand
Resizes the array to given size. If the newSize
is lower than current Count overflowing objects are destroyed. If the newSize
is higher than current Count missing elements are initialized to zero (null).
This function is for internal script usage.
Sets value of element with given key. If element with key not exists, it is created. Note: creating new elements is faster using Insert function.
|
staticprivate |
Dynamic write to variable by its name.
inst | when inst == NULL, it's for global variable, otherwise it's class member |
varname | |
index | Is index when variable is array |
input | Input variable must be of the same type! |
Sets variable value by value in string.
[out] | var | |
value |
Definition at line 629 of file EnScript.c.
References Count.
Sorts elements of array, depends on underlaying type.
Sorts static array of integers(ascendically) / floats(ascendically) / strings(alphabetically)
param_array | array Array to sort |
num | int How many items will be sorted in array |
void
Referenced by ActionConstructor::ConstructActions(), and EmoteConstructor::ConstructEmotes().
Returns typename of class even without a variable or instance.
typename
class-type Definition at line 73 of file EnScript.c.
Helper for passing string expression to functions with void parameter. Example: Print(String("Hello " + var));.
Definition at line 338 of file EnScript.c.
Referenced by ScriptConsoleEnfScriptTab::Add(), ScriptConsoleOutputTab::Add(), Hud::DisplayNotifier(), Hud::DisplayTendencyNormal(), Hud::DisplayTendencyTemp(), Hud::InitBadgesAndNotifiers(), ScriptedWidgetEventHandler::Remove(), and ScriptedWidgetEventHandler::Show().
Swaps the contents of this and other
arrays. Does not involve copying of the elements.
Debug function. Returns current function on stack of the thread.
owner | Can be NULL for global threads |
name | Name of the first function on stack |
backtrace | ??? |
linenumber | ??? |
string
??? Debug tool for watching certain variable. Invokes debugger whenever is variable used.
var | Certain variable for watching |
flags | = 1 means it will break even when not modified |
void
|
inlineprivate |
Definition at line 169 of file EnScript.c.
|
private |