DayZ 1.24
|
Topics | |
Diag menu API definition | |
Enumerations | |
enum | ShapeType { BBOX , LINE , SPHERE , CYLINDER , DIAMOND , PYRAMID } |
enum | ShapeFlags { NOZBUFFER , NOZWRITE , WIREFRAME , TRANSP , DOUBLESIDE , ONCE , NOOUTLINE , BACKFACE , NOCULL , VISIBLE , ADDITIVE } |
enum | CollisionFlags |
Variables | |
enum ShapeType | ErrorEx |
Destroy | |
Methods regarding automatic cleanup | |
void | SetAutodestroy (bool auto_destroy) |
Sets whether Effect automatically cleans up when it stops. | |
bool | IsAutodestroy () |
Get whether Effect automatically cleans up when it stops. | |
bool | IsPendingDeletion () |
Get whether the Effect is queued up for being cleaned up. | |
bool | CanDestroy () |
Get whether the Effect can be destroyed right now. | |
void | SetEnableEventFrame (bool enable) |
Enable Event_OnFrameUpdate for the effect. | |
Enumerator | |
---|---|
BBOX | |
LINE | |
SPHERE | |
CYLINDER | |
DIAMOND | |
PYRAMID |
|
protected |
|
static |
Referenced by CreateMatrix().
Definition at line 173 of file EnDebug.c.
References CreateLines(), vector::Normalize(), and vector::Perpend().
|
static |
Definition at line 192 of file EnDebug.c.
References CreateLines(), vector::Normalize(), vector::Perpend(), and Vector().
|
static |
|
static |
Referenced by CreateArrow(), and CreateBridgeArrow().
|
static |
Cleans up the Effect, including unregistering if needed.
Cleans up the Effect, including unregistering if needed.
Definition at line 207 of file Effect.c.
References CALL_CATEGORY_GAMEPLAY, DestroyDamageTriggerEx(), SEffectManager::DestroyEffect(), GetGame(), IsPendingDeletion(), m_IsPendingDeletion, OnTriggerDestroyed(), and Stop().
Referenced by EntityLightSource::CheckLifetime(), EntityLightSource::HandleBrightnessFadeing(), EntityLightSource::HandleRadiusFadeing(), and ~AreaDamageManager().
|
protected |
Get whether Effect automatically cleans up when it stops.
bool
Whether Effect automatically cleans up when it stops Definition at line 240 of file Effect.c.
References m_IsAutodestroy.
|
protected |
Get whether the Effect is queued up for being cleaned up.
bool
Whether the Effect is queued up for being cleaned up Definition at line 249 of file Effect.c.
References m_IsPendingDeletion.
Referenced by Destroy(), and Entity::IsSetForDeletion().
Sets whether Effect automatically cleans up when it stops.
auto_destroy | bool Whether Effect automatically cleans up when it stops |
Definition at line 231 of file Effect.c.
References m_IsAutodestroy.
Enable Event_OnFrameUpdate for the effect.
Definition at line 270 of file Effect.c.
References Event_OnFrameUpdate(), and SEffectManager::Event_OnFrameUpdate.
Referenced by EffEngineSmoke::EffEngineSmoke(), EffectSound::UpdateEvents(), and ~Effect().
proto native void SetFlags | ( | ShapeFlags | flags | ) |
Set the world position of the Effect.
pos | vector The world position for the Effect |
Definition at line 420 of file Effect.c.
References m_Position.
Referenced by Particle::AddAsChild(), EntityLightSource::AttachOnObject(), ScriptedWidgetEventHandler::CreateFollowedObject(), DynamicArea_Flare::EOnFrame(), DayZSpectator::EOnFrame(), ScriptedWidgetEventHandler::GetPosition(), EntityLightSource::HandleDancingShadows(), PointLightBase::OnFrameLightSource(), OnPlacementComplete(), ManBase::OnStoreLoad(), ItemBase::PlaceOnGround(), SetCurrentPosition(), TrapSpawnBase::SetupTrap(), SetupTrapPlayer(), ItemBase::SetupTrapPlayer(), Particle::StopParticle(), and UnlockServer().
Referenced by And(), ScriptedWidgetEventHandler::Apply(), Assert(), EntityLightSource::AttachOnMemoryPoint(), Entity::AttemptDestructionBehaviour(), WeaponParticlesBase::CheckParticleOverride(), SEffectManager::Cleanup(), ConstructData(), EmoteConstructor::ConstructEmotes(), CreateBleedingEffect(), Particle::CreateParticleEffect(), ParticleSource::CreateParticleEffect(), CreateParticleEx(), ParticleSource::CreateParticleEx(), CreditsLoader::CreateTestJson(), Weapon::CreateWeaponWithAmmo(), StaminaHandler::DepleteStamina(), ParticleSource::DestroyParticleEffect(), array< Class T >::DifferentAtPosition(), Effect(), SEffectManager::EffectRegister(), EmoteBase::EmoteFBStanceCheck(), ParticleSource::EOnFrame(), MenuDefaultCharacterData::EquipDefaultCharacter(), ImpactMaterials::EvaluateImpactEffect(), Math::Factorial(), Ammunition_Base::GetAmmoWeightByBulletType(), FireworksLauncher::GetColorSequence(), GetControlMappingInfo(), UIScriptedMenu::GetControlMappingInfo(), DayZPlayerCameraBase::GetCurrentSightInfo(), HitDirectionEffectBase::GetCurrentType(), Weapon_Base::GetCylinderRotation(), CreditsLoader::GetData(), DlcDataLoader::GetData(), UndergroundAreaLoader::GetData(), EffectAreaLoader::GetData(), UIScriptedMenu::GetData(), JsonMissionLoaderData::GetData(), FireworksLauncherClientEvent::GetExplParticleFromSequence(), AnniversaryFireworksLauncherClientEvent::GetExplParticleFromSequence(), GetLastClientMessage(), GetLastServerMessage(), GetLightPosition(), GetMemoryPointPosition(), Weapon::GetMuzzleStates(), ParticleList::GetParticleID(), ParticleList::GetParticleIDByName(), ParticleList::GetParticlePath(), GameplayEffectsData::GetProbabilities(), DayZProfilesOptions::GetProfileOptionDefaultBool(), DayZProfilesOptions::GetProfileOptionDefaultFloat(), DayZProfilesOptions::GetProfileOptionDefaultInt(), GetStringVariant(), Hologram::Hologram(), ScriptedWidgetEventHandler::Init(), Init(), BleedChanceData::InitInfectedChanceMap(), BleedChanceData::InitMeleeChanceMap(), Interact(), Hologram::IsBehindObstacle(), IsFacingFireplace(), IsParticlePlaying(), JsonFileLoader< Class T >::JsonLoadData(), JsonFileLoader< Class T >::JsonLoadFile(), LoadConfig(), ScriptedWidgetEventHandler::LoadContentList(), CfgGameplayHandler::LoadData(), PlayerSpawnHandler::LoadData(), UIScriptedMenu::LoadData(), ScriptedWidgetEventHandler::LoadFilters(), NotificationSystem::LoadNotificationData(), LoadPlayerAttachmentIndexes(), AmmoTypesAPI::MagazineTypeToAmmoType(), WeaponParticlesBase::OnActivate(), ParticleSource::OnCheckAutoDelete(), MissionBase::OnClientNewEvent(), OnErrorThrown(), ActionDigInStash::OnFinishProgressServer(), OnFinishProgressServer(), ActionUnrestrainTargetHands::OnFinishProgressServer(), OnInit(), CfgGameplayHandler::OnRPC(), UndergroundAreaLoader::OnRPC(), CGame::OnRPC(), ParticleSource::OnToDelete(), Or(), EffectArea::PlaceParticles(), PlayEmote(), SEffectManager::PlayOnObject(), PlayParticle(), DestructionEffectBase::PlayParticle(), PlayParticleEx(), IEntity::PlaySoundSetAtMemoryPoint(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::RandomizeFSMStateEx(), InventoryLocation::ReadFromContext(), GameplayEffectsData::RegisterData(), ParticleList::RegisterParticle(), ResetParticle(), RestartParticle(), TFModule::Run(), array::Run(), UIScriptedMenu::SaveData(), ScriptedWidgetEventHandler::SaveFilters(), Entity::SetAttachmentExclusionMaskSlot(), ManBase::SetHairLevelToHide(), FireworksLauncherClientEvent::SetupLight(), AnniversaryFireworksLauncherClientEvent::SetupLight(), ItemOptics::ShowReddot(), EffectSound::SoundError(), Weapon::SpawnAttachedMagazine(), ObjectSpawnerHandler::SpawnObjects(), SpawnDataConverter::SpawnObjects(), SEffectManager::Stop(), StopParticle(), ClientData::SyncEvent_PreprocessPlayerList(), EnProfilerTests::TestFuncCountData(), ScriptedWidgetEventHandler::TutorialKeybinds(), UnregisterEntrance(), UnregisterPanel(), ParticleSource::UpdateState(), ValidateMuzzleArray(), EffectParticle::ValidateStart(), and WeaponParticlesBase::WeaponParticlesBase().