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

◆ RemovePlantEx()

void RemovePlantEx ( vector pos)
private

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

542 {
543 if ( g_Game && g_Game.IsServer() )
544 {
546
548 {
549 ItemBase item = ItemBase.Cast( g_Game.CreateObjectEx( "PlantMaterial", pos, ECE_PLACE_ON_SURFACE ) );
551 }
552
553 RemoveSlot();
554 }
555 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
DayZGame g_Game
Определения DayZGame.c:3942
void UnlockFromParent()
Unlocks this item from its attachment slot of its parent.
Определения ItemBase.c:5755
void RemoveSlot()
Определения PlantBase.c:640
float m_CurrentPlantMaterialQuantity
Определения PlantBase.c:23
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88

Перекрестные ссылки ECE_PLACE_ON_SURFACE, g_Game, m_CurrentPlantMaterialQuantity, RemoveSlot(), ItemBase::SetQuantity() и UnlockFromParent().