DIFF

class TentBaseSource

TentBase ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 2

void ~TentBase()

Constants 19

const int OPENING_0 = 1
const int OPENING_1 = 2
const int OPENING_2 = 4
const int OPENING_3 = 8
const int OPENING_4 = 16
const int OPENING_5 = 32
const int OPENING_6 = 64
Referenced by LargeTent.LargeTent()
const int OPENING_7 = 128
Referenced by LargeTent.LargeTent()
const int OPENING_8 = 256
const int OPENING_9 = 512
const int OPENING_10 = 1024
const int OPENING_11 = 2048
const int OPENING_12 = 4096
const int OPENING_13 = 8192
const int OPENING_14 = 16384
const int OPENING_15 = 32768
const float MAX_PLACEMENT_HEIGHT_DIFF = 1.5
Referenced by CanBePlaced()

Members 15

protected int m_StateLocal = -1
protected bool m_IsEntrance
Referenced by IsManipulatedEntrance(), ManipulateEntrance(), Pack()
Show 2 more, Pitch(), and ResetToggle()
protected bool m_IsWindow
Referenced by IsManipulatedWindow(), ManipulateWindow(), Pack()
Show 2 more, Pitch(), and ResetToggle()
protected bool m_IsToggle
Referenced by Pack(), Pitch(), ResetToggle()
Show 1 more, ToggleAnimation()
protected bool m_IsBeingPacked = false
protected int m_OpeningMaskLocal = -1
protected CamoNet m_CamoNet
protected vector m_HalfExtents

The Y value contains a heightoffset and not the halfextent !!!

protected ref EffectSound m_DeployLoopSound

DEPRECATED

Methods 77

override string GetInvulnerabilityTypeString()
override bool HasProxyParts()
override bool CanProxyObstructSelf()

prevents showing cargo when outside the tent geometry

override bool IsItemTent()
override bool CanBeRepairedByCrafting()
override bool CanDisplayCargo()
References m_State, and PACKED
override bool CanDisplayAttachmentCategory(string category_name)
References m_State, and PACKED
override bool CanDisplayAttachmentSlot(int slot_id)
References m_State, and PACKED
override int GetMeleeTargetType()
override void OnStoreSave(ParamsWriteContext ctx)
override void RefreshPhysics()
References Pack(), ItemBase.RefreshPhysics(), TryPitch()
Show 2 more, m_State, and PITCHED
override void OnVariablesSynchronized()
void HideAllAnimationsAndProxyPhysics(bool hide_animations = true, bool hide_physics = true)
Referenced by Pack(), and Pitch()
bool ConditionIntoInventory(EntityAI player)
override bool IsTakeable()
override bool CanPutIntoHands(EntityAI parent)
override bool CanPutInCargo(EntityAI parent)
override bool CanRemoveFromCargo(EntityAI parent)
override bool CanRemoveFromHands(EntityAI parent)
bool ConditionOutOfHands(EntityAI player)
override bool CanBeRepairedToPristine()
int GetStateLocal()
References m_StateLocal
bool CanAttach(ItemBase item)
override bool IsIgnoredByConstruction()
protected void TryPitch(bool update_navmesh, bool init = false)
void Refresh()
Referenced by Pack(), and Pitch()
void ResetToggle()
Referenced by ToggleAnimation()
void ManipulateEntrance()
References m_IsEntrance
Referenced by ToggleAnimation()
void ManipulateWindow()
References m_IsWindow
Referenced by ToggleAnimation()
bool IsManipulatedEntrance()
References m_IsEntrance
bool IsManipulatedWindow()
References m_IsWindow
void HandleCamoNetAttachment(bool hide)
void AnimateCamonetToggle(ToggleAnimations toggle)
Referenced by ToggleAnimation()
void AnimateCamonetByOpeningSelection(string opening_selection)
string GetSoundOpen()
string GetSoundClose()
string GetSoundOpenWindow()
string GetSoundCloseWindow()
bool HasClutterCutter()
Referenced by OnStoreLoad()
string GetClutterCutter()
Referenced by OnStoreLoad()
void DestroyClutterCutter()
Referenced by ~TentBase(), and Pack()
override bool IsDeployable()
override void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")
override void SetActions()
override int GetDamageSystemVersionChange()
override bool CanReceiveItemIntoCargo(EntityAI item)
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override bool CanLoadAttachment(EntityAI attachment)
override bool CanBePlaced(Man player, vector position)
void SetIsBeingPacked(bool isBeingPacked)
void PlayDeployLoopSound()

DEPRECATED

void StopDeployLoopSound()

DEPRECATED

void SoundTentOpenPlay()
void SoundTentClosePlay()
void SoundTentOpenWindowPlay()
void SoundTentCloseWindowPlay()