DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ EEInit()

void Entity::EEInit ( )
inlineprotected

Called upon object creation.

См. определение в файле EntityAI.c строка 895

896 {
897 if (GetInventory())
898 {
902 for ( int i = 0; i < GetInventory().AttachmentCount(); i++ )
903 {
904 EntityAI attachment = GetInventory().GetAttachmentFromIndex( i );
905 if ( attachment )
906 {
907 if ( attachment.GetInventory().GetCargo() )
908 {
909 m_AttachmentsWithCargo.Insert( attachment );
910 }
911
912 if ( attachment.GetInventory().GetAttachmentSlotsCount() > 0 )
913 {
914 m_AttachmentsWithAttachments.Insert( attachment );
915 }
916 }
917 }
918 }
919
921
922 if (CanHaveTemperature() && GetGame().IsServer())
924 }
ref array< EntityAI > m_AttachmentsWithCargo
Определения EntityAI.c:119
void InitTemperature()
Определения EntityAI.c:2239
ref array< EntityAI > m_AttachmentsWithAttachments
Определения EntityAI.c:120
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
Определения EntityAI.c:202
void MaxLifetimeRefreshCalc()
Calculates if the max lifetime is higher than refresher frequency (i.e. gets kept alive by refresher)
Определения EntityAI.c:349
bool CanHaveTemperature()
returns true used on selected items that have a temperature effect and can processes temperature chan...
Определения EntityAI.c:3796
proto native EntityAI GetAttachmentFromIndex(int index)
void EEInit()
Определения Inventory.c:843
proto native int AttachmentCount()
Returns count of attachments attached to this item.
proto native CGame GetGame()

Перекрестные ссылки CanHaveTemperature(), EntityAI(), GetGame(), GetInventory(), InitTemperature(), m_AttachmentsWithAttachments, m_AttachmentsWithCargo и MaxLifetimeRefreshCalc().