![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Data Structures | |
| class | array< Class T > |
| class | Class |
| Super root of all classes in Enforce script. More... | |
| class | EnScript |
| class | Managed |
| TODO doc. More... | |
| class | map< Class TKey, Class TValue > |
| Associative array template usage: More... | |
| class | NonSerialized |
| TODO doc. More... | |
| class | Obsolete |
| Marks method as obsolete. More... | |
| class | ScriptModule |
| Module containing compiled scripts. More... | |
| class | set< Class T > |
Functions | |
| void | EnScript () |
| void | Obsolete (string msg="") |
| void | ~EnScript () |
| void | ~ScriptModule () |
| proto native MapIterator | Begin () |
| proto volatile int | Call (Class inst, string function, void parm) |
| 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 | |
| proto volatile int | CallFunction (Class inst, string function, out void returnVal, void parm) |
| 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! | |
| proto volatile int | CallFunctionParams (Class inst, string function, out void returnVal, Class parms) |
| static proto Class | Cast (Class from) |
| Try to safely down-cast base class to child class. | |
| static proto bool | CastTo (out Class to, Class from) |
| Try to safely down-cast base class to child class. | |
| proto native owned external string | ClassName () |
| Returns name of class-type. | |
| proto native void | Clear () |
| Destroyes all elements of the array and sets the Count to 0. | |
| proto native void | Clear () |
| Clears the hash map. | |
| proto native void | Clear () |
| proto bool | Contains (TKey key) |
| Returns if map contains element with given key. | |
| proto int | Copy (notnull array< T > from) |
| Copes contents of from array to this array. | |
| proto int | Copy (map< TKey, TValue > from) |
| proto int | Copy (set< T > from) |
| proto void | copyarray (void destArray, void srcArray) |
| proto native int | Count () |
| O(1) complexity. | |
| proto native int | Count () |
| proto native int | Count () |
| void | Debug () |
| Print all elements in array. | |
| void | Debug () |
| int | DifferentAtPosition (array< T > pOtherArray) |
| Returns an index where 2 arrays start to differ from each other. | |
| proto native MapIterator | End () |
| proto int | Find (T value) |
| Tries to find the first occurance of given value in the array. | |
| proto bool | Find (TKey key, out TValue val) |
| Search for an element with the given key. | |
| proto int | Find (T value) |
| Tries to find the first occurance of given value in the set. | |
| proto T | Get (int n) |
| proto TValue | Get (TKey key) |
| Search for an element with the given key. | |
| proto T | Get (int n) |
| static proto int | GetClassVar (Class inst, string varname, int index, out void result) |
| Dynamic read of variable value by its name. | |
| string | GetDebugName () |
| proto TValue | GetElement (int index) |
| Return the i:th element in the map. | |
| proto TValue | GetIteratorElement (MapIterator it) |
| proto TKey | GetIteratorKey (MapIterator it) |
| proto TKey | GetKey (int i) |
| Return the i:th element key in the map. | |
| array< TKey > | GetKeyArray () |
| TKey | GetKeyByValue (TValue value) |
| bool | GetKeyByValueChecked (TValue value, out TKey key) |
| T | GetRandomElement () |
| Returns a random element of array. | |
| int | GetRandomIndex () |
| Returns a random index of array. | |
| array< TValue > | GetValueArray () |
| proto volatile void | Idle () |
| Yiels execution to other threads and then it continues. | |
| proto int | Init (T init[]) |
| proto int | Init (T init[]) |
| proto int | Insert (T value) |
| Inserts element at the end of array. | |
| proto bool | Insert (TKey key, TValue value) |
| Insert new element into hash map. | |
| proto int | Insert (T value) |
| Inserts element at the end of array. | |
| void | InsertAll (notnull array< T > from) |
| Inserts all elements from array. | |
| void | InsertArray (array< T > other) |
| proto int | InsertAt (T value, int index) |
| Inserts element at certain position and moves all elements behind this position by one. | |
| proto int | InsertAt (T value, int index) |
| Inserts element at certain position and moves all elements behind this position by one. | |
| void | InsertSet (set< T > other) |
| void | Invert () |
| proto native external bool | IsInherited (typename type) |
| Returns true when instance is of the type, or inherited one. | |
| bool | IsValidIndex (int index) |
| proto native int | KillThread (Class owner, string name) |
| Kills thread. | |
| static proto native ScriptModule | LoadScript (ScriptModule parentModule, string scriptFile, bool listing) |
| Do load script and create ScriptModule for it. | |
| int | MoveIndex (int curr_index, int move_number) |
| Returns a index in array moved by specific number. | |
| proto native MapIterator | Next (MapIterator it) |
| void | Obsolete (string msg="") |
| proto int | ParseString (string input, out string tokens[]) |
| Parses string into array of tokens returns number of tokens. | |
| proto int | ParseStringEx (inout string input, string token) |
| Parses one token from input string. | |
| Obsolete Managed | PrintString (string s) |
| Helper for printing out string expression. Example: PrintString("Hello " + var);. | |
| proto native void | Release () |
| proto native void | Remove (int index) |
| Removes element from array. | |
| proto void | Remove (TKey key) |
| Removes element with given key. | |
| proto native void | Remove (int index) |
| Removes element from array, but retain all elements ordered. | |
| proto void | RemoveElement (int i) |
| Removes i:th element with given key. | |
| void | RemoveItem (T value) |
| void | RemoveItem (T value) |
| void | RemoveItems (set< T > other) |
| void | RemoveItemUnOrdered (T value) |
| proto native void | RemoveOrdered (int index) |
| Removes element from array, but retain all elements ordered. | |
| bool | ReplaceKey (TKey old_key, TKey new_key) |
| proto native void | Reserve (int newSize) |
| Resizes the array to given size internally. | |
| proto native void | Resize (int newSize) |
| Resizes the array to given size. | |
| proto void | reversearray (void param_array) |
| static proto bool | SafeCastType (Class type, out Class to, Class from) |
| This function is for internal script usage. | |
| proto void | Set (int n, T value) |
| Sets n-th element to given value. | |
| proto void | Set (TKey key, TValue value) |
| Sets value of element with given key. | |
| static proto int | SetClassVar (Class inst, string varname, int index, void input) |
| Dynamic write to variable by its name. | |
| static proto int | SetVar (out void var, string value) |
| Sets variable value by value in string. | |
| void | ShuffleArray () |
| proto native void | Sort (bool reverse=false) |
| Sorts elements of array, depends on underlaying type. | |
| proto void | Sort (void param_array[], int num) |
| Sorts static array of integers(ascendically) / floats(ascendically) / strings(alphabetically). | |
| static | StaticGetType (typename t) |
| Returns typename of class even without a variable or instance. | |
| proto static external | StaticType () |
| Returns typename of object's reference. | |
| string | String (string s) |
| Helper for passing string expression to functions with void parameter. Example: Print(String("Hello " + var));. | |
| proto native void | Swap (notnull array< T > other) |
| Swaps the contents of this and other arrays. | |
| proto native void | Swap (set< T > other) |
| void | SwapItems (int item1_index, int item2_index) |
| proto owned string | ThreadFunction (Class owner, string name, int backtrace, out int linenumber) |
| Debug function. | |
| proto external string | ToString () |
| proto native external | Type () |
| Returns typename of object's class. | |
| static proto void | Watch (void var, int flags) |
| Debug tool for watching certain variable. | |
Variables | |
| string | m_Msg |
| string | m_Msg |
| class array< Class T > | PrintString |
float ftime; The deltaTime since last frame float FLT_MAX; The maximum value for float float FLT_MIN; The minimum value for float | typedef int MapIterator |
Definition at line 810 of file enscript.c.
| typedef array<bool> TBoolArray |
Definition at line 715 of file enscript.c.
| typedef array<Class> TClassArray |
Definition at line 716 of file enscript.c.
| typedef map<Class, Class> TClassClassMap |
Definition at line 995 of file enscript.c.
| typedef map<Class, float> TClassFloatMap |
Definition at line 992 of file enscript.c.
| typedef map<Class, int> TClassIntMap |
Definition at line 993 of file enscript.c.
| typedef map<Class, Managed> TClassManagedMap |
Definition at line 996 of file enscript.c.
| typedef map<Class, ref Managed> TClassManagedRefMap |
Definition at line 997 of file enscript.c.
Definition at line 805 of file enscript.c.
| typedef map<Class, string> TClassStringMap |
Definition at line 994 of file enscript.c.
| typedef map<Class, typename> TClassTypenameMap |
Definition at line 998 of file enscript.c.
| typedef map<Class, vector> TClassVectorMap |
Definition at line 999 of file enscript.c.
| typedef array<float> TFloatArray |
Definition at line 713 of file enscript.c.
Definition at line 803 of file enscript.c.
Definition at line 714 of file enscript.c.
| typedef map<int, Class> TIntClassMap |
Definition at line 977 of file enscript.c.
| typedef map<int, float> TIntFloatMap |
Definition at line 974 of file enscript.c.
| typedef map<int, int> TIntIntMap |
Definition at line 975 of file enscript.c.
| typedef map<int, Managed> TIntManagedMap |
Definition at line 978 of file enscript.c.
| typedef map<int, ref Managed> TIntManagedRefMap |
Definition at line 979 of file enscript.c.
Definition at line 804 of file enscript.c.
| typedef map<int, string> TIntStringMap |
Definition at line 976 of file enscript.c.
| typedef map<int, typename> TIntTypenameMap |
Definition at line 980 of file enscript.c.
| typedef map<int, vector> TIntVectorMap |
Definition at line 981 of file enscript.c.
| typedef array<Managed> TManagedArray |
Definition at line 717 of file enscript.c.
| typedef map<Managed, Class> TManagedClassMap |
Definition at line 1013 of file enscript.c.
| typedef map<Managed, float> TManagedFloatMap |
Definition at line 1010 of file enscript.c.
| typedef map<Managed, int> TManagedIntMap |
Definition at line 1011 of file enscript.c.
| typedef map<Managed, Managed> TManagedManagedMap |
Definition at line 1014 of file enscript.c.
| typedef map<Managed, ref Managed> TManagedManagedRefMap |
Definition at line 1015 of file enscript.c.
| typedef array<ref Managed> TManagedRefArray |
Definition at line 718 of file enscript.c.
| typedef map<ref Managed, Class> TManagedRefClassMap |
Definition at line 1022 of file enscript.c.
| typedef map<ref Managed, float> TManagedRefFloatMap |
Definition at line 1019 of file enscript.c.
| typedef map<ref Managed, int> TManagedRefIntMap |
Definition at line 1020 of file enscript.c.
| typedef map<ref Managed, Managed> TManagedRefManagedMap |
Definition at line 1023 of file enscript.c.
| typedef map<ref Managed, ref Managed> TManagedRefManagedRefMap |
Definition at line 1024 of file enscript.c.
| typedef set<ref Managed> TManagedRefSet |
Definition at line 807 of file enscript.c.
| typedef map<ref Managed, string> TManagedRefStringMap |
Definition at line 1021 of file enscript.c.
| typedef map<ref Managed, typename> TManagedRefTypenameMap |
Definition at line 1025 of file enscript.c.
| typedef map<ref Managed, vector> TManagedRefVectorMap |
Definition at line 1026 of file enscript.c.
| typedef set<Managed> TManagedSet |
Definition at line 806 of file enscript.c.
| typedef map<Managed, string> TManagedStringMap |
Definition at line 1012 of file enscript.c.
| typedef map<Managed, typename> TManagedTypenameMap |
Definition at line 1016 of file enscript.c.
| typedef map<Managed, vector> TManagedVectorMap |
Definition at line 1017 of file enscript.c.
| typedef array<string> TStringArray |
Definition at line 712 of file enscript.c.
| typedef map<string, Class> TStringClassMap |
Definition at line 986 of file enscript.c.
| typedef map<string, float> TStringFloatMap |
Definition at line 983 of file enscript.c.
| typedef map<string, int> TStringIntMap |
Definition at line 984 of file enscript.c.
| typedef map<string, Managed> TStringManagedMap |
Definition at line 987 of file enscript.c.
| typedef map<string, ref Managed> TStringManagedRefMap |
Definition at line 988 of file enscript.c.
| typedef set<string> TStringSet |
Definition at line 802 of file enscript.c.
| typedef map<string, string> TStringStringMap |
Definition at line 985 of file enscript.c.
| typedef map<string, typename> TStringTypenameMap |
Definition at line 989 of file enscript.c.
| typedef map<string, vector> TStringVectorMap |
Definition at line 990 of file enscript.c.
| typedef array<typename> TTypenameArray |
Definition at line 720 of file enscript.c.
| typedef map<typename, Class> TTypeNameClassMap |
Definition at line 1004 of file enscript.c.
| typedef map<typename, float> TTypeNameFloatMap |
Definition at line 1001 of file enscript.c.
| typedef map<typename, int> TTypeNameIntMap |
Definition at line 1002 of file enscript.c.
| typedef map<typename, Managed> TTypeNameManagedMap |
Definition at line 1005 of file enscript.c.
| typedef map<typename, ref Managed> TTypeNameManagedRefMap |
Definition at line 1006 of file enscript.c.
| typedef set<typename> TTypenameSet |
Definition at line 808 of file enscript.c.
| typedef map<typename, string> TTypeNameStringMap |
Definition at line 1003 of file enscript.c.
| typedef map<typename, typename> TTypeNameTypenameMap |
Definition at line 1007 of file enscript.c.
| typedef map<typename, vector> TTypeNameVectorMap |
Definition at line 1008 of file enscript.c.
| typedef array<vector> TVectorArray |
Definition at line 719 of file enscript.c.
script representation for C++ RTTI types
Definition at line 127 of file enscript.c.
|
inlineprivate |
Definition at line 168 of file enscript.c.
Definition at line 362 of file enscript.c.
References m_Msg.
|
inlineprivate |
Definition at line 169 of file enscript.c.
|
private |
|
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 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!
!!!
|
private |
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 ConnectionLost::ConnectionLost(), DamageDealtEffect::DamageDealtEffect(), DayZIntroScene::DayZIntroScene(), DayZPlayerImplementAiming::DayZPlayerImplementAiming(), FlashbangEffect::FlashbangEffect(), AbortWeaponEvent(), ActionAnimateCarSelection::ActionCondition(), ActionAnimateSeats::ActionCondition(), ActionBuryBody::ActionCondition(), ActionCarDoors::ActionCondition(), ActionCarDoorsOutside::ActionCondition(), ActionCarHornBase::ActionCondition(), ActionClapBearTrapWithThisItem::ActionCondition(), ActionCloseDoors::ActionCondition(), ActionCondition(), ActionCoverHeadTarget::ActionCondition(), ActionDefibrilateBase::ActionCondition(), ActionDigGardenPlot::ActionCondition(), ActionDigInStash::ActionCondition(), ActionDisinfectPlant::ActionCondition(), ActionEatFruit::ActionCondition(), ActionEnterLadder::ActionCondition(), ActionFillGeneratorTank::ActionCondition(), ActionFillObject::ActionCondition(), ActionGagTarget::ActionCondition(), ActionGetInTransport::ActionCondition(), ActionHarvestCrops::ActionCondition(), ActionLockDoors::ActionCondition(), ActionLockedDoors::ActionCondition(), ActionOpen::ActionCondition(), ActionOpenDoors::ActionCondition(), ActionPickupChicken::ActionCondition(), ActionRefuelTorch::ActionCondition(), ActionRemovePlant::ActionCondition(), ActionRemoveSeed::ActionCondition(), ActionRepairShelter::ActionCondition(), ActionRepairTent::ActionCondition(), ActionRepairTentPart::ActionCondition(), ActionShaveTarget::ActionCondition(), ActionSwitchLights::ActionCondition(), ActionSwitchSeats::ActionCondition(), ActionToggleNVMode::ActionCondition(), ActionUncoverHeadTarget::ActionCondition(), ActionUngagTarget::ActionCondition(), ActionUnlockDoors::ActionCondition(), ActionUnlockShippingContainer::ActionCondition(), ActionViewBinoculars::ActionCondition(), ActionViewOptics::ActionCondition(), ActionZoomIn::ActionCondition(), ActionZoomOut::ActionCondition(), ActionWorldCraft::ActionConditionContinue(), CatchingContextTrapsBase::AdjustBaitItemChance(), UIScriptedMenu::Apply(), ApplyDrynessToItemEx(), ActionGetOutTransport::ApplyJumpOutDmg(), ApplyWetnessToItem(), ManBase::BrokenLegForceProne(), ButtonHighlight(), ButtonNormal(), CAContinuousEmptyMagazine::CalcAndSetQuantity(), CAContinuousTransferQuantity::CalcAndSetQuantity(), PluginBase::CalculateHealth(), ManBase::CalculateVisibilityForAI(), DayZPlayer::CameraHandler(), WeaponManager::CanAttachMagazine(), DayZPlayer::CanClimb(), Attachments::CanCombineAmmo(), VicinitySlotsContainer::CanCombineAmmo(), AttachmentCategoriesContainer::CanDisplayAnyCategory(), RecipeBase::CanDo(), RepairWithLeatherSewingKit::CanDo(), RepairWithSewingKit::CanDo(), RepairWithTireKit::CanDo(), ActionEmptyMagazine::CanEmpty(), ItemBase::CanLoadAttachment(), ActionLoadMagazine::CanLoadMagazine(), UIScriptedMenu::CanOpenMenu(), CanPlayEmote(), ItemBase::CanReceiveAttachment(), WeaponManager::CanSwapMagazine(), TrapBase::CauseVictimToStartLimping(), ScriptedWidgetEventHandler::CheckForActionWidgetOverrides(), ManBase::CheckForBurlap(), ManBase::CheckForGag(), ScriptedWidgetEventHandler::ColorRed(), ScriptedWidgetEventHandler::ColorWhite(), BreakLongWoodenStick::CopyOldPropertiesToNew(), CopyOldPropertiesToNew(), TorchLambda::CopyOldPropertiesToNew(), UnboxLambda::CopyOldPropertiesToNew(), ActionFishingNewCB::CreateActionComponent(), ActionFishingNew::CreateAndSetupActionCallback(), ActionRepositionPluggedItem::CreateAndSetupActionCallback(), ActionTakeArrowToHands::CreateAndSetupActionCallback(), ActionTakeHybridAttachmentToHands::CreateAndSetupActionCallback(), ActionTakeItemToHands::CreateAndSetupActionCallback(), ActionTakeMaterialToHands::CreateAndSetupActionCallback(), AnimatedActionBase::CreateAndSetupActionCallback(), CreateAndSetupActionCallback(), MissionBase::CreateCharacter(), PlayerSpawnHandler::CreateChildItem(), CreateDamageTriggerEx(), CreateEmoteCallback(), CreateOrgan(), Car::CreateSoundForAnimationSource(), CreateTrigger(), Hologram::CreateTrigger(), Car::DamageCrew(), DayZPlayerCameraBase::DayZPlayerCameraIronsights(), InventoryActionHandler::DeactiveAction(), DeferredWeaponFailed(), ActionDefibrilateBase::DefibrillateServer(), StaminaHandler::DepleteStaminaEx(), CatchingContextFishingBase::DeserializeData(), CatchingContextTrapsBase::DeserializeData(), ActionDismantlePart::DismantleCondition(), Hud::DisplayBadge(), Hud::DisplayNotifier(), Hud::DisplayPresence(), Hud::DisplayStance(), Hud::DisplayTendencyNormal(), RecipeBase::Do(), RepairWithLeatherSewingKit::Do(), RepairWithSewingKit::Do(), RepairWithTireKit::Do(), ClosableContainer::DraggingOverHeader(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), ManBase::DropAllItems(), ActionDeployBase::DropDuringPlacing(), ManBase::EEItemIntoHands(), Mask_Base::EEItemLocationChanged(), ManBase::EEItemOutOfHands(), InventoryItemSuper::EEKilled(), EffectRadial(), Trigger::EOnEnter(), Trigger::EOnLeave(), AreaDamageTriggerBase::EOnTouch(), Hologram::EvaluateCollision(), ActionFishingNew::EvaluateFishingResult(), VicinityItemManager::ExcludeFromContainer_Phase1(), VicinityItemManager::ExcludeFromContainer_Phase2(), VicinityItemManager::ExcludeFromContainer_Phase3(), CAContinuousCraft::Execute(), CAContinuousFertilizeGardenSlot::Execute(), CAContinuousMineWood::Execute(), CAContinuousRepeatStartEngine::Execute(), CAContinuousTransferQuantity::Execute(), CAContinuousWaterPlant::Execute(), FloatingCrossHair(), GameplayEffectsDataImage(), CatchingContextFishingRodAction::GenerateResult(), GenerateResult(), GestureMenuItem(), ActionTargetsCursor::GetActionManager(), GetActionManager(), ScriptedWidgetEventHandler::GetActionManager(), FishingRod_Base_New::GetActionWidgetOverride(), ActionMountBarbedWire::GetBarbedWire(), CarScript::GetCarDoorsState(), HandsContainer::GetCombinationFlags(), ItemManager::GetCombinationFlags(), ScriptedWidgetEventHandler::GetCrosshairPosition(), ActionTargetsCursor::GetItemCargoCount(), ActionTargetsCursor::GetItemHealth(), ActionTargetsCursor::GetItemQuantity(), QuantityConversions::GetItemQuantity(), QuantityConversions::GetItemQuantity(), QuantityConversions::GetItemQuantityMax(), QuantityConversions::GetItemQuantityText(), GetLocalProperties(), GetMeleeTarget(), CAContinuousMineRock::GetMiningData(), CAContinuousMineWood::GetMiningData(), InventoryItem::GetNumberOfItems(), ActionHarvestCrops::GetPlantSlot(), ActionTargetsCursor::GetPlayer(), GetPlayer(), ScriptedWidgetEventHandler::GetPlayer(), DeveloperTeleport::GetPlayerRootForTeleporting(), ScriptedWidgetEventHandler::GetRadioFrequency(), Managed::GetRequester(), ActionWorldCraft::GetText(), CGame::GetUserFOVFromConfig(), WeaponDebug::GetWeaponInHands(), BotGuardBase::GuardCondition(), HandEventBase(), HeadGear_Base::HandleAttachedToHead(), DayZPlayer::HandleDeath(), BaseBuildingBase::HandleDropAttachment(), HandleDropCartridge(), Car::HandleEngineSound(), HandleInventory(), PlayerSpawnHandler::HandleNewItem(), HandlePlayerBody(), HandleStoreCartridge(), HandleWeaponEvents(), DayZPlayer::HandleWeapons(), QuantityConversions::HasItemQuantity(), Hud::Init(), Init(), ScriptedWidgetEventHandler::Init(), UIScriptedMenu::Init(), Hud::InitBadgesAndNotifiers(), PPEMatClassParameterCommandData::InitDefaults(), IsAuthoritative(), IsEntityBehindEntityInAngle(), EntityAI::IsIgnoredObject(), HumanCommandVehicle::IsObjectIgnoredOnGettingOut(), IsOwner(), IsProxy(), VONManager::IsVoiceThresholdMinimum(), ActionUncoverHeadTarget::IsWearingBurlap(), IsWearingBurlap(), ActionUngagSelf::IsWearingGag(), ActionUngagTarget::IsWearingGag(), ManBase::IsWearingSplint(), ItemBase::ItemFall(), LoadingScreen(), ActionLockDoors::LockDoor(), UIScriptedMenu::MarkSelected(), DayZCreature::ModCommandHandlerBefore(), ModifierBase(), ActionWorldCraft::OnActionInfoUpdate(), ActionContinuousBase::OnAnimationEvent(), AKS74U::OnDebugSpawn(), Aug_Base::OnDebugSpawn(), B95_base::OnDebugSpawn(), CarScript::OnDebugSpawn(), CivilianBelt::OnDebugSpawn(), Container_Base::OnDebugSpawn(), CZ550_Base::OnDebugSpawn(), Derringer_Base::OnDebugSpawn(), FishingRod_Base_New::OnDebugSpawn(), Flaregun::OnDebugSpawn(), HelmetBase::OnDebugSpawn(), HipPack_ColorBase::OnDebugSpawn(), ItemBase::OnDebugSpawn(), Izh43Shotgun_Base::OnDebugSpawn(), LongHorn_Base::OnDebugSpawn(), MilitaryBelt::OnDebugSpawn(), Mosin9130_Base::OnDebugSpawn(), Mp133Shotgun_Base::OnDebugSpawn(), PlateCarrierVest::OnDebugSpawn(), R12_Base::OnDebugSpawn(), Repeater::OnDebugSpawn(), Rifle_Base::OnDebugSpawn(), RifleSingleShot_Base::OnDebugSpawn(), RifleSingleShotManual_Base::OnDebugSpawn(), VSS_Base::OnDebugSpawn(), Weapon_Base::OnDebugSpawn(), Winchester70_Base::OnDebugSpawn(), AttachmentCategoriesRow::OnDropReceivedFromHeader(), ActionFishingNew::OnEnd(), ActionViewOptics::OnEndAnimationLoopClient(), ActionViewOptics::OnEndAnimationLoopServer(), ActionViewOptics::OnEndClient(), ActionCarHornLong::OnEndInput(), ActionContinuousBase::OnEndInput(), ActionFishingNew::OnEndInput(), ActionAnimateCarSelection::OnEndServer(), ActionCollectBloodSelf::OnEndServer(), ActionCollectBloodTarget::OnEndServer(), ActionCollectSampleSelf::OnEndServer(), ActionCollectSampleTarget::OnEndServer(), ActionViewOptics::OnEndServer(), ActionZoomIn::OnEndServer(), ActionZoomOut::OnEndServer(), OnEntry(), WeaponFire::OnEntry(), WeaponStartAction::OnEntry(), WeaponStateBase::OnEntry(), CGame::OnEvent(), MissionBase::OnEvent(), OnEvent(), ActionLockedDoors::OnExecute(), ActionAttachWheels::OnExecuteClient(), ActionAttachWheels::OnExecuteServer(), ActionClapBearTrapWithThisItem::OnExecuteServer(), ActionEmptyMagazine::OnExecuteServer(), ActionLoadMagazine::OnExecuteServer(), ActionRefuelTorch::OnExecuteServer(), ActionSwitchLights::OnExecuteServer(), WeaponStartAction::OnExit(), ActionFishingNew::OnFinishProgress(), ActionDefibrilateSelf::OnFinishProgressClient(), ActionDefibrilateTarget::OnFinishProgressClient(), ActionFillObject::OnFinishProgressClient(), ActionBreakLongWoodenStick::OnFinishProgressServer(), ActionCoverHeadSelf::OnFinishProgressServer(), ActionCoverHeadTarget::OnFinishProgressServer(), ActionDefibrilateSelf::OnFinishProgressServer(), ActionFillObject::OnFinishProgressServer(), ActionGagSelf::OnFinishProgressServer(), ActionGagTarget::OnFinishProgressServer(), ActionRepairPart::OnFinishProgressServer(), ActionRepairShelter::OnFinishProgressServer(), ActionRepairTent::OnFinishProgressServer(), ActionShaveTarget::OnFinishProgressServer(), ActionStripCarrierVest::OnFinishProgressServer(), ActionUngagSelf::OnFinishProgressServer(), ActionUngagTarget::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), OnFinishProgressServer(), Barrel_ColorBase::OnFreezeStateChangeServer(), OnFreezeStateChangeServer(), SymptomBase::OnInit(), ItemBase::OnInventoryEnter(), DummyItem::OnItemLocationChanged(), Weapon::OnItemLocationChanged(), HandsContainer::OnPerformCombination(), Icon::OnPerformCombination(), EntityPlacementCallback::OnQuery(), ManBase::OnQuickBarSingleUse(), TrapBase::OnServerSteppedOn(), EntityPlacementCallback::OnSetup(), OnShow(), ActionFishingNew::OnSignalEnd(), CAContinuousRepeatFishing::OnSignalEnd(), ActionFishingNew::OnSignalStart(), CAContinuousRepeatFishing::OnSignalStart(), ActionSwitchSeats::OnStart(), ActionViewOptics::OnStartAnimationLoopClient(), ActionViewOptics::OnStartAnimationLoopServer(), ActionAnimateCarSelection::OnStartServer(), ActionCloseDoors::OnStartServer(), ActionGetOutTransport::OnStartServer(), ActionOpenDoors::OnStartServer(), ActionPullBodyFromTransport::OnStartServer(), PPERequester_GameplayBase::OnStop(), InventoryItem::OnStoreLoad(), UngagSelfLambda::OnSuccess(), OnUpdate(), WeaponFireMultiMuzzle::OnUpdate(), WeaponStartAction::OnUpdate(), WeaponStateBase::OnUpdate(), Car::OnVehicleJumpOutServer(), ItemBase::OnWasAttached(), ItemOptics::OnWasAttached(), ItemBase::OnWasDetached(), ItemOptics::OnWasDetached(), Icon::PerformCombination(), Hologram::PlaceEntity(), ManBase::PredictiveSwapEntities(), ProcessItemHierarchyRecursive(), DayZPlayer::ProcessWeaponEvent(), RandomizeSignalValues(), ActionFishingNew::ReadFromContext(), VicinityItemManager::RefreshVicinityItems(), GameplayEffectsData::RegisterData(), PPEClassBase::RegisterParameterColorEx(), PPEClassBase::RegisterParameterScalarFloatEx(), ManBase::ReloadWeapon(), ManBase::RemoveAllItems(), ItemBase::RemoveCookingAudioVisuals(), RemoveSplint(), ActionRepairTent::RepairDamageTransfer(), CatchingResultBase::RollChanceSeeded(), RollNextResultChance(), SelectStoreCartridge(), ActionBase::SendMessageToClient(), InventoryActionHandler::SetAction(), ActionTargetsCursor::SetActionWidget(), ScriptedWidgetEventHandler::SetActionWidget(), Weapon_Base::SetAttachmentsHealth(), ManBase::SetContaminatedEffectEx(), DayZIntroScenePC::SetInitPostprocesses(), DayZIntroSceneXbox::SetInitPostprocesses(), ActionTargetsCursor::SetInteractActionIcon(), ScriptedWidgetEventHandler::SetInteractActionIcon(), ActionTargetsCursor::SetItemDesc(), ScriptedWidgetEventHandler::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(), ActionFishingNew::SetupAction(), ActionWorldCraft::SetupAction(), ScriptedWidgetEventHandler::SetValue(), Hud::SetWalkieTalkieText(), ScriptedWidgetEventHandler::SetWeaponModeAndZeroing(), ScriptedWidgetEventHandler::SetWeaponQuantity(), SoftSkillManagerDebug(), ActionSortAmmoPile::SortAmmo(), Car::SpawnAdditionalItems(), CarchingResultFishingAction::SpawnAndSetup(), CatchingResultTrapBase::SpawnAndSetup(), PlayerSpawnHandler::SpawnComplexChildrenItems(), PluginBase::SpawnEntityOnCursorDir(), PluginBase::SpawnEntityOnGroundPatternGrid(), PluginBase::SpawnEntityOnGroundPos(), PlayerSpawnHandler::SpawnSimpleChildrenItems(), ActionEnterLadder::Start(), StopCooling(), SwitchPreset(), SyncAnimState(), ClosableContainer::TakeAsAttachment(), HandsContainer::TakeAsAttachment(), DeveloperTeleport::TeleportAtCursor(), DeveloperTeleport::TeleportAtCursorEx(), ScriptedWidgetEventHandler::TextMapUpdateWidget(), PluginDayzPlayerDebug_Weapons::Tick(), TransferEntityVariables(), ActionUnlockShippingContainer::TranslateLockSelectionIntoDoorIdx(), DayZPlayer::TriggerPullPlayerOutOfVehicle(), Managed::TrySpawnNextDrop(), ActionUncoverHeadBase::UncoverHead(), ActionUnlockDoors::UnlockDoor(), ActionUnlockShippingContainer::UnlockDoor(), GameplayEffectsData::Update(), Hud::UpdateBloodName(), UIScriptedMenu::UpdateItemInfoQuantity(), MissionBase::UpdatePlayersStats(), UniversalTemperatureSourceLambdaBaseImpl::UpdateVicinityTemperatureRecursive(), UniversalTemperatureSourceLambdaBaseImpl::WarmAndCoolItemsInVicinity(), ActionFishingNew::WriteToContext(), ActionMountBarbedWire::WriteToContext(), ActionRepairCarPart::WriteToContext(), ActionRepairPart::WriteToContext(), ActionRepairTent::WriteToContext(), ActionRepairTentPart::WriteToContext(), and ActionRepairVehiclePartBase::WriteToContext().
|
private |
Returns name of class-type.
| inst | Class |
string class-type Referenced by GetDebugName().
|
private |
Destroyes all elements of the array and sets the Count to 0.
The underlying memory of the array is not freed.
|
private |
Clears the hash map.
|
private |
|
private |
Returns if map contains element with given key.
Referenced by ReplaceKey().
Copes contents of from array to this array.
|
private |
| proto void copyarray | ( | void | destArray, |
| void | srcArray ) |
|
private |
O(1) complexity.
|
private |
|
private |
|
inlineprivate |
Print all elements in array.
void Definition at line 548 of file enscript.c.
|
inlineprivate |
Definition at line 790 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 690 of file enscript.c.
|
private |
|
private |
Tries to find the first occurance of given value in the array.
Referenced by RemoveItem(), and RemoveItemUnOrdered().
|
private |
Search for an element with the given key.
| key | The key of the element to find |
| val | result is stored to val |
|
private |
Tries to find the first occurance of given value in the set.
Referenced by RemoveItem().
|
private |
|
private |
Search for an element with the given key.
| key | The key of the element to find |
|
private |
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! |
|
inlineprivate |
Definition at line 39 of file enscript.c.
References ClassName().
|
private |
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 |
Referenced by GetValueArray().
|
private |
|
private |
|
private |
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 |
Referenced by GetKeyArray(), GetKeyByValue(), and GetKeyByValueChecked().
|
inlineprivate |
Definition at line 910 of file enscript.c.
|
inlineprivate |
Definition at line 939 of file enscript.c.
References Count, GetElement(), and GetKey().
|
inlineprivate |
Definition at line 954 of file enscript.c.
References Count, GetElement(), and GetKey().
|
inlineprivate |
Returns a random element of array.
int Random element of array Definition at line 586 of file enscript.c.
References Get(), and GetRandomIndex().
|
inlineprivate |
Returns a random index of array.
If Count is 0, return index is -1 .
int Random index of array Definition at line 567 of file enscript.c.
References Count, and Math::RandomInt().
Referenced by GetRandomElement(), and ShuffleArray().
|
inlineprivate |
Definition at line 919 of file enscript.c.
References Count, and GetElement().
| proto volatile void Idle | ( | ) |
Yiels execution to other threads and then it continues.
Obsolete...
|
private |
Inserts element at the end of array.
| value | Element to be inserted |
Referenced by InsertAll(), and InsertArray().
|
private |
Insert new element into hash map.
| key | Key of element to be inserted. |
| value | Data of element to be inserted. |
|
private |
Inserts element at the end of array.
| value | Element to be inserted |
Referenced by InsertSet().
|
inlineprivate |
Inserts all elements from array.
| from | array<T> array from which all elements will be added arr1.Insert( "Dave" );
arr1.Insert( "Mark" );
arr1.Insert( "John" );
arr2.Insert( "Sarah" );
arr2.Insert( "Cate" );
arr1.InsertAll(arr2);
for ( int i = 0; i < arr1.Count(); i++ )
{
Print( arr1.Get(i) );
}
delete arr2;
delete arr1;
>> "Dave"
>> "Mark"
>> "John"
>> "Sarah"
>> "Cate"
|
Definition at line 449 of file enscript.c.
References Insert().
|
inlineprivate |
Definition at line 598 of file enscript.c.
References Insert().
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() |
|
inlineprivate |
Definition at line 761 of file enscript.c.
References Insert().
|
inlineprivate |
Definition at line 608 of file enscript.c.
Returns true when instance is of the type, or inherited one.
| type | Class type |
bool true when 'clType' is the same as 'type', or inherited one. Definition at line 522 of file enscript.c.
References Count.
Kills thread.
| owner | Can be NULL for global threads. |
| name | Name of the first function on stack |
int ??? References name.
|
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 636 of file enscript.c.
References Count.
|
private |
| void Obsolete | ( | string | msg = "" | ) |
Definition at line 371 of file enscript.c.
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 339 of file enscript.c.
|
private |
|
private |
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 |
|
private |
Removes element with given key.
|
private |
Removes element from array, but retain all elements ordered.
| index | Index of element to be removed |
|
private |
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 |
|
inlineprivate |
Definition at line 502 of file enscript.c.
References Find(), and RemoveOrdered().
|
inlineprivate |
Definition at line 771 of file enscript.c.
References Find(), and Remove().
Referenced by RemoveItems().
|
inlineprivate |
Definition at line 780 of file enscript.c.
References RemoveItem().
|
inlineprivate |
Definition at line 512 of file enscript.c.
|
private |
Removes element from array, but retain all elements ordered.
It's slower than Remove
| index | Index of element to be removed |
Referenced by RemoveItem().
|
inlineprivate |
Definition at line 928 of file enscript.c.
References Contains(), Get(), Remove(), and Set().
|
private |
Resizes the array to given size internally.
Is used for optimization purposes when the approx. size is known beforehand
|
private |
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).
| proto void reversearray | ( | void | param_array | ) |
This function is for internal script usage.
|
private |
Sets n-th element to given value.
|
private |
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.
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! |
int Returns true(1) when success Sets variable value by value in string.
| [out] | var | |
| value |
|
inlineprivate |
Definition at line 670 of file enscript.c.
References Count, GetRandomIndex(), and SwapItems().
|
private |
Sorts elements of array, depends on underlaying type.
| proto void Sort | ( | void | param_array[], |
| int | num ) |
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().
|
inlinestaticprivate |
Returns typename of class even without a variable or instance.
typename class-type Definition at line 73 of file enscript.c.
|
staticprivate |
Helper for passing string expression to functions with void parameter. Example: Print(String("Hello " + var));.
Definition at line 339 of file enscript.c.
Referenced by ScriptConsoleEnfScriptTab::Add(), ScriptConsoleOutputTab::Add(), CalculateLinePointFade(), Hud::DisplayNotifier(), Hud::DisplayTendencyNormal(), Hud::DisplayTendencyTemp(), Hud::InitBadgesAndNotifiers(), ScriptedWidgetEventHandler::Remove(), and ScriptedWidgetEventHandler::Show().
|
private |
Swaps the contents of this and other arrays.
Does not involve copying of the elements.
|
private |
Definition at line 591 of file enscript.c.
Referenced by ShuffleArray().
|
private |
|
private |
|
staticprivate |
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 | string m_Msg |
Definition at line 370 of file enscript.c.
|
private |
Definition at line 361 of file enscript.c.
Referenced by Obsolete().
Referenced by RecoilBase::ApplyMouseOffset(), RemotePlayerDamageDebug::Debug(), StatDebugObject::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().